- Stephen Rothwell: APM updates
[davej-history.git] / include / linux / smp_lock.h
blobd1bb03872447a153a3945488b705b19c6ac5fe2d
1 #ifndef __LINUX_SMPLOCK_H
2 #define __LINUX_SMPLOCK_H
4 #include <linux/config.h>
6 #ifndef CONFIG_SMP
8 #define lock_kernel() do { } while(0)
9 #define unlock_kernel() do { } while(0)
10 #define release_kernel_lock(task, cpu) do { } while(0)
11 #define reacquire_kernel_lock(task) do { } while(0)
12 #define kernel_locked() 1
14 #else
16 #include <asm/smplock.h>
18 #endif /* CONFIG_SMP */
20 #endif