]> err.no Git - linux-2.6/commit
[AVR32] Fix compile error with gcc 4.1
authorHaavard Skinnemoen <hskinnemoen@atmel.com>
Fri, 27 Apr 2007 12:21:47 +0000 (14:21 +0200)
committerHaavard Skinnemoen <hskinnemoen@atmel.com>
Fri, 27 Apr 2007 12:21:47 +0000 (14:21 +0200)
commit8224ca195874525533665bbcd23b6da1e575aa4d
tree2d3e170f3fd58c2ec39d33136059eaf12a94e53f
parenta4022b0d6005b117a985cec64559e048981a4244
[AVR32] Fix compile error with gcc 4.1

gcc 4.1 doesn't seem to like const variables as inline assembly
outputs. Drop support for reading 64-bit values using get_user() so
that we can use an unsigned long to hold the result regardless of the
actual size. This should be safe since many architectures, including
i386, doesn't support reading 64-bit values with get_user().

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
include/asm-avr32/uaccess.h