x86: Nuke the supervisor_stack field in i386 thread_info
authorSteven Rostedt <srostedt@redhat.com>
Thu, 6 Feb 2014 14:41:28 +0000 (09:41 -0500)
committerH. Peter Anvin <hpa@linux.intel.com>
Fri, 7 Mar 2014 00:56:54 +0000 (16:56 -0800)
Nothing references the supervisor_stack in the thread_info field,
and it does not exist in x86_64. To make the two more the same,
it is being removed.

Acked-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Brian Gerst <brgerst@gmail.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Link: http://lkml.kernel.org/r/20110806012353.546183789@goodmis.org
Link: http://lkml.kernel.org/r/20140206144321.203619611@goodmis.org
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/include/asm/thread_info.h

index e1940c0..b7aa975 100644 (file)
@@ -36,7 +36,6 @@ struct thread_info {
        unsigned long           previous_esp;   /* ESP of the previous stack in
                                                   case of nested (IRQ) stacks
                                                */
-       __u8                    supervisor_stack[0];
 #endif
        unsigned int            sig_on_uaccess_error:1;
        unsigned int            uaccess_err:1;  /* uaccess failed */