]> bbs.cooldavid.org Git - net-next-2.6.git/commit
sparc: Kill user copy check code.
authorDavid S. Miller <davem@davemloft.net>
Mon, 9 Aug 2010 07:45:46 +0000 (00:45 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Aug 2010 07:45:46 +0000 (00:45 -0700)
commit4cb6066af9ee58ddba58a63cc77b324ac21add75
tree4159489e6d6e3c7160f6dd2103992a163eded1a7
parentb11287e8c5b2797b86351f6db0fcd9ff99b20bab
sparc: Kill user copy check code.

For whatever reason GCC isn't able to figure things out in
the control flow (in particular when min() and max() expressions
are involved) on sparc as well as it can on x86.

So lots of useless incorrect user copy warnings get spewed and the
full-on compile failure mode of the user copy checks were never usable
on sparc at all.

People can debug these kinds of problems on x86.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/Kconfig.debug
arch/sparc/include/asm/uaccess_32.h
arch/sparc/include/asm/uaccess_64.h