commit | 8224ca195874525533665bbcd23b6da1e575aa4d | [log] [tgz] |
---|---|---|
author | Haavard Skinnemoen <hskinnemoen@atmel.com> | Fri Apr 27 14:21:47 2007 +0200 |
committer | Haavard Skinnemoen <hskinnemoen@atmel.com> | Fri Apr 27 14:21:47 2007 +0200 |
tree | 2d3e170f3fd58c2ec39d33136059eaf12a94e53f | |
parent | a4022b0d6005b117a985cec64559e048981a4244 [diff] |
[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>