diff options
author | David S. Miller <davem@davemloft.net> | 2012-05-24 13:41:58 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-05-24 13:41:58 -0700 |
commit | c5389831cda3b38a56606a348a537a1332f2d729 (patch) | |
tree | 1df9f89d287af436be4bd405e50dd3c1d48d354e /lib/Kconfig | |
parent | 2922585b93294d47172a765115e0dbc1bfe1be19 (diff) | |
download | op-kernel-dev-c5389831cda3b38a56606a348a537a1332f2d729.zip op-kernel-dev-c5389831cda3b38a56606a348a537a1332f2d729.tar.gz |
sparc: Fix user_addr_max() definition.
We need to use TASK_SIZE because for 64-bit tasks the value
of STACK_TOP actually sits in the middle of the address space
so we'll get false-negatives.
Adjust the TASK_SIZE definition on sparc64 to accomodate this,
in the context in which user_addr_max() is used we have the
test_thread_flag() definition available but not the one for
test_tsk_thread_flag().
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/Kconfig')
0 files changed, 0 insertions, 0 deletions