diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2005-07-14 11:57:16 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2005-10-29 14:31:53 -0400 |
commit | e01402b115cccb6357f956649487aca2c6f7fbba (patch) | |
tree | 256e14f8d2762de98b992219b1a47e8f56b4b0da /include/asm-mips/system.h | |
parent | 86071b637db7baf599df26fdf820dce2fc55ca9f (diff) |
More AP / SP bits for the 34K, the Malta bits and things. Still wants
a little polishing.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips/system.h')
-rw-r--r-- | include/asm-mips/system.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-mips/system.h b/include/asm-mips/system.h index 36f34d8ddfac..384f0bd854c4 100644 --- a/include/asm-mips/system.h +++ b/include/asm-mips/system.h | |||
@@ -431,6 +431,10 @@ static inline unsigned long __cmpxchg(volatile void * ptr, unsigned long old, | |||
431 | 431 | ||
432 | #define cmpxchg(ptr,old,new) ((__typeof__(*(ptr)))__cmpxchg((ptr), (unsigned long)(old), (unsigned long)(new),sizeof(*(ptr)))) | 432 | #define cmpxchg(ptr,old,new) ((__typeof__(*(ptr)))__cmpxchg((ptr), (unsigned long)(old), (unsigned long)(new),sizeof(*(ptr)))) |
433 | 433 | ||
434 | extern void set_handler (unsigned long offset, void *addr, unsigned long len); | ||
435 | extern void set_uncached_handler (unsigned long offset, void *addr, unsigned long len); | ||
436 | extern void *set_vi_handler (int n, void *addr); | ||
437 | extern void *set_vi_srs_handler (int n, void *addr, int regset); | ||
434 | extern void *set_except_vector(int n, void *addr); | 438 | extern void *set_except_vector(int n, void *addr); |
435 | extern void per_cpu_trap_init(void); | 439 | extern void per_cpu_trap_init(void); |
436 | 440 | ||