diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1999-10-21 00:23:04 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1999-10-21 00:23:04 +0000 |
commit | 7ff64273bcea5c51a389ce1766e3765eff9a51f7 (patch) | |
tree | dea2a2fbaeb41657d4a99b1f18a42c22464cb20b /include/asm-mips/semaphore-helper.h | |
parent | 3c230e92ef761debb676d8790010c30230415f90 (diff) |
Move various headers into a SGI specific subdirectory. These files
need to be at the same place for MIPS32 and MIPS64. Make the semaphore
code actually compile.
Diffstat (limited to 'include/asm-mips/semaphore-helper.h')
-rw-r--r-- | include/asm-mips/semaphore-helper.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/asm-mips/semaphore-helper.h b/include/asm-mips/semaphore-helper.h index 824bcb49f..557dfe2eb 100644 --- a/include/asm-mips/semaphore-helper.h +++ b/include/asm-mips/semaphore-helper.h @@ -1,4 +1,4 @@ -/* $Id: semaphore-helper.h,v 1.5 1999/08/13 17:07:27 harald Exp $ +/* $Id: semaphore-helper.h,v 1.6 1999/10/20 21:10:58 ralf Exp $ * * SMP- and interrupt-safe semaphores helper functions. * @@ -78,7 +78,7 @@ static inline int waking_non_zero_trylock(struct semaphore *sem) return ret; } -#else +#else /* CONFIG_CPU_HAS_LLSC */ static inline int waking_non_zero(struct semaphore *sem) @@ -218,4 +218,6 @@ waking_non_zero_trylock(struct semaphore *sem) return 0; } +#endif /* CONFIG_CPU_HAS_LLSC */ + #endif /* _ASM_SEMAPHORE_HELPER_H */ |