[PATCH 1/5] x86: Nuke the supervisor_stack field in i386 thread_info

From: Steven Rostedt
Date: Thu Feb 06 2014 - 09:44:46 EST

From: Steven Rostedt <srostedt@xxxxxxxxxx>

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.

Link: http://lkml.kernel.org/r/20110806012353.546183789@xxxxxxxxxxx

Acked-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
Cc: Brian Gerst <brgerst@xxxxxxxxx>
Cc: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>
Cc: H. Peter Anvin <hpa@xxxxxxxxx>
Cc: Ingo Molnar <mingo@xxxxxxx>
Signed-off-by: Steven Rostedt <rostedt@xxxxxxxxxxx>
arch/x86/include/asm/thread_info.h | 1 -
1 file changed, 1 deletion(-)

diff --git a/arch/x86/include/asm/thread_info.h b/arch/x86/include/asm/thread_info.h
index 3ba3de4..e012ed0 100644
--- a/arch/x86/include/asm/thread_info.h
+++ b/arch/x86/include/asm/thread_info.h
@@ -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];
unsigned int sig_on_uaccess_error:1;
unsigned int uaccess_err:1; /* uaccess failed */

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/