]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-x86/irqflags_32.h
store __setup_str_* in a more compact way
[linux-2.6-omap-h63xx.git] / include / asm-x86 / irqflags_32.h
index eff8585cb741f777b91c518c63666d59d3a6d4a2..d058b04e0083a2e1aa02f59b6ea6c42987188f8a 100644 (file)
@@ -160,4 +160,17 @@ static inline int raw_irqs_disabled(void)
 # define TRACE_IRQS_OFF
 #endif
 
+#ifdef CONFIG_DEBUG_LOCK_ALLOC
+# define LOCKDEP_SYS_EXIT                      \
+       pushl %eax;                             \
+       pushl %ecx;                             \
+       pushl %edx;                             \
+       call lockdep_sys_exit;                  \
+       popl %edx;                              \
+       popl %ecx;                              \
+       popl %eax;
+#else
+# define LOCKDEP_SYS_EXIT
+#endif
+
 #endif