]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/smp_lock.h
Quicklists for page table pages
[linux-2.6-omap-h63xx.git] / include / linux / smp_lock.h
index b63ce70140931e4f07079f50447b08de8bd63fcd..cf715a40d833909e9ce04d6bea75a4f7656d2ee2 100644 (file)
@@ -1,12 +1,10 @@
 #ifndef __LINUX_SMPLOCK_H
 #define __LINUX_SMPLOCK_H
 
-#include <linux/config.h>
+#ifdef CONFIG_LOCK_KERNEL
 #include <linux/sched.h>
 #include <linux/spinlock.h>
 
-#ifdef CONFIG_LOCK_KERNEL
-
 #define kernel_locked()                (current->lock_depth >= 0)
 
 extern int __lockfunc __reacquire_kernel_lock(void);