more debug output
[linux-2.4.git] / include / asm-cris / smplock.h
1 #ifndef __ASM_CRIS_SMPLOCK_H
2 #define __ASM_CRIS_SMPLOCK_H
3
4 /*
5  * This file is subject to the terms and conditions of the GNU General Public
6  * License.  See the file "COPYING" in the main directory of this archive
7  * for more details.
8  */
9
10 #include <linux/config.h>
11
12 #ifndef CONFIG_SMP
13
14 #define lock_kernel()                           do { } while(0)
15 #define unlock_kernel()                         do { } while(0)
16 #define release_kernel_lock(task, cpu, depth)   ((depth) = 1)
17 #define reacquire_kernel_lock(task, cpu, depth) do { } while(0)
18
19 #else
20
21 #error "We do not support SMP on CRIS"
22
23 #endif
24
25 #endif