URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
[/] [or1k/] [tags/] [LINUX_2_4_26_OR32/] [linux/] [linux-2.4/] [include/] [linux/] [smp_lock.h] - Rev 1765
Compare with Previous | Blame | View Log
#ifndef __LINUX_SMPLOCK_H #define __LINUX_SMPLOCK_H #include <linux/config.h> #ifndef CONFIG_SMP #define lock_kernel() do { } while(0) #define unlock_kernel() do { } while(0) #define release_kernel_lock(task, cpu) do { } while(0) #define reacquire_kernel_lock(task) do { } while(0) #define kernel_locked() 1 #else #include <asm/smplock.h> #endif /* CONFIG_SMP */ #endif