]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-sh/system.h
futex: get_futex_key, get_key_refs and drop_key_refs
[linux-2.6-omap-h63xx.git] / include / asm-sh / system.h
index b1e42e7f998b5639a41f57281a35d1d89c7c1ab6..127af304865febb1d5605412b5c17bfddc7c9624 100644 (file)
@@ -7,7 +7,9 @@
  */
 
 #include <linux/irqflags.h>
+#include <linux/compiler.h>
 #include <asm/types.h>
+#include <asm/ptrace.h>
 
 /*
  *     switch_to() should switch tasks to task nr n, first
@@ -254,6 +256,8 @@ static inline unsigned long __cmpxchg(volatile void * ptr, unsigned long old,
                                    (unsigned long)_n_, sizeof(*(ptr))); \
   })
 
+extern void die(const char *str, struct pt_regs *regs, long err) __attribute__ ((noreturn));
+
 extern void *set_exception_table_vec(unsigned int vec, void *handler);
 
 static inline void *set_exception_table_evt(unsigned int evt, void *handler)