Loading include/asm-sh/rwsem.h +5 −1 Original line number Diff line number Diff line /* * include/asm-ppc/rwsem.h: R/W semaphores for SH using the stuff * include/asm-sh/rwsem.h: R/W semaphores for SH using the stuff * in lib/rwsem.c. */ #ifndef _ASM_SH_RWSEM_H #define _ASM_SH_RWSEM_H #ifndef _LINUX_RWSEM_H #error "please don't include asm/rwsem.h directly, use linux/rwsem.h instead" #endif #ifdef __KERNEL__ #include <linux/list.h> #include <linux/spinlock.h> Loading Loading
include/asm-sh/rwsem.h +5 −1 Original line number Diff line number Diff line /* * include/asm-ppc/rwsem.h: R/W semaphores for SH using the stuff * include/asm-sh/rwsem.h: R/W semaphores for SH using the stuff * in lib/rwsem.c. */ #ifndef _ASM_SH_RWSEM_H #define _ASM_SH_RWSEM_H #ifndef _LINUX_RWSEM_H #error "please don't include asm/rwsem.h directly, use linux/rwsem.h instead" #endif #ifdef __KERNEL__ #include <linux/list.h> #include <linux/spinlock.h> Loading