x86/uaccess: Move thread_info::addr_limit to thread_struct
struct thread_info is a legacy mess. To prepare for its partial removal, move thread_info::addr_limit out. As an added benefit, this way is simpler. Signed-off-by:Andy Lutomirski <luto@kernel.org> Cc: Borislav Petkov <bp@alien8.de> Cc: Brian Gerst <brgerst@gmail.com> Cc: Denys Vlasenko <dvlasenk@redhat.com> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Josh Poimboeuf <jpoimboe@redhat.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Link: http://lkml.kernel.org/r/15bee834d09402b47ac86f2feccdf6529f9bc5b0.1468527351.git.luto@kernel.org Signed-off-by:
Ingo Molnar <mingo@kernel.org>
Showing
- arch/x86/include/asm/checksum_32.h 1 addition, 2 deletionsarch/x86/include/asm/checksum_32.h
- arch/x86/include/asm/processor.h 10 additions, 7 deletionsarch/x86/include/asm/processor.h
- arch/x86/include/asm/thread_info.h 0 additions, 7 deletionsarch/x86/include/asm/thread_info.h
- arch/x86/include/asm/uaccess.h 3 additions, 3 deletionsarch/x86/include/asm/uaccess.h
- arch/x86/kernel/asm-offsets.c 3 additions, 1 deletionarch/x86/kernel/asm-offsets.c
- arch/x86/lib/copy_user_64.S 4 additions, 4 deletionsarch/x86/lib/copy_user_64.S
- arch/x86/lib/csum-wrappers_64.c 1 addition, 0 deletionsarch/x86/lib/csum-wrappers_64.c
- arch/x86/lib/getuser.S 10 additions, 10 deletionsarch/x86/lib/getuser.S
- arch/x86/lib/putuser.S 5 additions, 5 deletionsarch/x86/lib/putuser.S
- arch/x86/lib/usercopy_64.c 1 addition, 1 deletionarch/x86/lib/usercopy_64.c
- drivers/pnp/isapnp/proc.c 1 addition, 1 deletiondrivers/pnp/isapnp/proc.c
- lib/bitmap.c 1 addition, 1 deletionlib/bitmap.c
Please register or sign in to comment