]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-x86/unwind.h
sysdev: Convert the x86 mce tolerant sysdev attribute to generic attribute
[linux-2.6-omap-h63xx.git] / include / asm-x86 / unwind.h
index 7e4d7ad5520809336fba6b9327016cb3987f96c5..8b064bd9c5535fa741c404b6e202445a8a9a003b 100644 (file)
@@ -1,5 +1,13 @@
-#ifdef CONFIG_X86_32
-# include "unwind_32.h"
-#else
-# include "unwind_64.h"
-#endif
+#ifndef _ASM_X86_UNWIND_H
+#define _ASM_X86_UNWIND_H
+
+#define UNW_PC(frame) ((void)(frame), 0UL)
+#define UNW_SP(frame) ((void)(frame), 0UL)
+#define UNW_FP(frame) ((void)(frame), 0UL)
+
+static inline int arch_unw_user_mode(const void *info)
+{
+       return 0;
+}
+
+#endif /* _ASM_X86_UNWIND_H */