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>
这个提交包含在:
Ingo Molnar
2009-02-20 23:32:28 +01:00
父节点 c3731c6866
当前提交 d951734654
修改 4 个文件,包含 9 行新增8 行删除

查看文件

@@ -963,7 +963,7 @@ static int fault_in_kernel_space(unsigned long address)
#ifdef CONFIG_X86_32
return address >= TASK_SIZE;
#else
return address >= TASK_SIZE64;
return address >= TASK_SIZE_MAX;
#endif
}