commit | 13d4ea097d18b419ad2a2b696063d44bf59acec0 | [log] [tgz] |
---|---|---|
author | Andy Lutomirski <[email protected]> | Thu Jul 14 13:22:57 2016 -0700 |
committer | Ingo Molnar <[email protected]> | Fri Jul 15 10:26:30 2016 +0200 |
tree | 099cb3a4ee73be56742d6abcd3d5e2bdd541f65b | |
parent | 2a53ccbc0de1b1950aeedd24680f7eca65c86ff5 [diff] [blame] |
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 <[email protected]> Cc: Borislav Petkov <[email protected]> Cc: Brian Gerst <[email protected]> Cc: Denys Vlasenko <[email protected]> Cc: H. Peter Anvin <[email protected]> Cc: Josh Poimboeuf <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Link: http://lkml.kernel.org/r/15bee834d09402b47ac86f2feccdf6529f9bc5b0.1468527351.git.luto@kernel.org Signed-off-by: Ingo Molnar <[email protected]>
diff --git a/lib/bitmap.c b/lib/bitmap.c index c66da50..eca8808 100644 --- a/lib/bitmap.c +++ b/lib/bitmap.c
@@ -14,9 +14,9 @@ #include <linux/bug.h> #include <linux/kernel.h> #include <linux/string.h> +#include <linux/uaccess.h> #include <asm/page.h> -#include <asm/uaccess.h> /* * bitmaps provide an array of bits, implemented using an an