]> git.karo-electronics.de Git - linux-beck.git/blobdiff - arch/x86/include/asm/processor.h
x86/asm/64: Rename thread_struct's fs and gs to fsbase and gsbase
[linux-beck.git] / arch / x86 / include / asm / processor.h
index 9264476f3d578e8fa346411aad4900e85afcb41a..9251aa9627216c3a58dbd46efd1b1ca9298d6331 100644 (file)
@@ -388,9 +388,16 @@ struct thread_struct {
        unsigned long           ip;
 #endif
 #ifdef CONFIG_X86_64
-       unsigned long           fs;
+       unsigned long           fsbase;
+       unsigned long           gsbase;
+#else
+       /*
+        * XXX: this could presumably be unsigned short.  Alternatively,
+        * 32-bit kernels could be taught to use fsindex instead.
+        */
+       unsigned long fs;
+       unsigned long gs;
 #endif
-       unsigned long           gs;
 
        /* Save middle states of ptrace breakpoints */
        struct perf_event       *ptrace_bps[HBP_NUM];