diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-02-20 17:32:28 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-02-20 18:09:44 -0500 |
commit | d951734654f76a370a89b4e531af9b765bd13541 (patch) | |
tree | fff6f0097d2ddd5b8f533f5e48a7978a5f9c5257 /arch/x86/mm/fault.c | |
parent | c3731c68668325abddee8665018c74c7156a57be (diff) |
x86, mm: rename TASK_SIZE64 => TASK_SIZE_MAX
Impact: cleanup
Rename TASK_SIZE64 to TASK_SIZE_MAX, and provide the
define on 32-bit too. (mapped to TASK_SIZE)
This allows 32-bit code to make use of the (former-) TASK_SIZE64
symbol as well, in a clean way.
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/mm/fault.c')
-rw-r--r-- | arch/x86/mm/fault.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/mm/fault.c b/arch/x86/mm/fault.c index 9c2dc5d79531..6fa9f175cba3 100644 --- a/arch/x86/mm/fault.c +++ b/arch/x86/mm/fault.c | |||
@@ -963,7 +963,7 @@ static int fault_in_kernel_space(unsigned long address) | |||
963 | #ifdef CONFIG_X86_32 | 963 | #ifdef CONFIG_X86_32 |
964 | return address >= TASK_SIZE; | 964 | return address >= TASK_SIZE; |
965 | #else | 965 | #else |
966 | return address >= TASK_SIZE64; | 966 | return address >= TASK_SIZE_MAX; |
967 | #endif | 967 | #endif |
968 | } | 968 | } |
969 | 969 | ||