Skip to content
Commit a1995a65 authored by David S. Miller's avatar David S. Miller
Browse files

sparc64: Kill annoying warning when building compat_binfmt_elf.o



GCC warns because some tests against 32-bit values never evaluate to
true due to how TASK_SIZE is defined.

I always wanted to mimick powerpc's definition of TASK_SIZE, which
is simply TASK_SIZE_OF(current) and that also fixes the warning.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e68f0aee
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment