linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / include / asm-um / ptrace-generic.h
index a36f537..46599ac 100644 (file)
@@ -8,6 +8,7 @@
 
 #ifndef __ASSEMBLY__
 
+#include "linux/config.h"
 
 #define pt_regs pt_regs_subarch
 #define show_regs show_regs_subarch
@@ -27,7 +28,7 @@ struct pt_regs {
        union uml_pt_regs regs;
 };
 
-#define EMPTY_REGS { .regs = EMPTY_UML_PT_REGS }
+#define EMPTY_REGS { regs : EMPTY_UML_PT_REGS }
 
 #define PT_REGS_IP(r) UPT_IP(&(r)->regs)
 #define PT_REGS_SP(r) UPT_SP(&(r)->regs)
@@ -59,9 +60,17 @@ extern void show_regs(struct pt_regs *regs);
 extern void send_sigtrap(struct task_struct *tsk, union uml_pt_regs *regs,
                         int error_code);
 
-extern int arch_copy_tls(struct task_struct *new);
-extern void clear_flushed_tls(struct task_struct *task);
-
 #endif
 
 #endif
+
+/*
+ * Overrides for Emacs so that we follow Linus's tabbing style.
+ * Emacs will notice this stuff at the end of the file and automatically
+ * adjust the settings for this buffer only.  This must remain at the end
+ * of the file.
+ * ---------------------------------------------------------------------------
+ * Local variables:
+ * c-file-style: "linux"
+ * End:
+ */