]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/xen.git/commitdiff
spinlock: shrink struct lock_debug
authorJennifer Herbert <jennifer.herbert@citrix.com>
Fri, 29 Jan 2016 16:52:23 +0000 (17:52 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 29 Jan 2016 16:52:23 +0000 (17:52 +0100)
Reduce the size of struct lock_debug so increases in other lock
structures don't increase the size of struct domain too much.

Signed-off-by: Jennifer Herbert <jennifer.herbert@citrix.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
xen/include/xen/spinlock.h

index 8b2590f516d1ac03f1b49512f29000e8f562c22c..22c4fc2b2236ea972bac1d3dae82794f66258a3c 100644 (file)
@@ -8,7 +8,7 @@
 
 #ifndef NDEBUG
 struct lock_debug {
-    int irq_safe; /* +1: IRQ-safe; 0: not IRQ-safe; -1: don't know yet */
+    s16 irq_safe; /* +1: IRQ-safe; 0: not IRQ-safe; -1: don't know yet */
 };
 #define _LOCK_DEBUG { -1 }
 void spin_debug_enable(void);