]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
sparc64: Kill annoying warning when building compat_binfmt_elf.o
authorDavid S. Miller <davem@davemloft.net>
Sun, 2 Nov 2008 07:15:38 +0000 (00:15 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 2 Nov 2008 07:15:38 +0000 (00:15 -0700)
commita1995a6599044076e2e13512ffbcecc49865e63e
tree518787fbb30628f36c439b0377b8ce0c06459ab3
parente68f0aee89ebb93aaeedf064e0291d3c19520f7e
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: David S. Miller <davem@davemloft.net>
arch/sparc/include/asm/processor_64.h