diff options
| author | Andrew Morton <akpm@osdl.org> | 2004-06-24 20:27:24 -0700 |
|---|---|---|
| committer | David S. Miller <davem@nuts.davemloft.net> | 2004-06-24 20:27:24 -0700 |
| commit | b0101c19f4bad6a0406ca061944a68dd453ac20f (patch) | |
| tree | 961df5796e2cb1b281d546fdca4883e13a55a0a1 /include | |
| parent | 5de575871da0837cfa80fbbad6a7624a783000d3 (diff) | |
[SPARC64]: Make ___arch_swapXp() take a const pointer.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@redhat.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/asm-sparc64/byteorder.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/asm-sparc64/byteorder.h b/include/asm-sparc64/byteorder.h index f8c370d26b3a..c69b08af5fe0 100644 --- a/include/asm-sparc64/byteorder.h +++ b/include/asm-sparc64/byteorder.h @@ -7,7 +7,7 @@ #ifdef __GNUC__ -static __inline__ __u16 ___arch__swab16p(__u16 *addr) +static __inline__ __u16 ___arch__swab16p(const __u16 *addr) { __u16 ret; @@ -17,7 +17,7 @@ static __inline__ __u16 ___arch__swab16p(__u16 *addr) return ret; } -static __inline__ __u32 ___arch__swab32p(__u32 *addr) +static __inline__ __u32 ___arch__swab32p(const __u32 *addr) { __u32 ret; @@ -27,7 +27,7 @@ static __inline__ __u32 ___arch__swab32p(__u32 *addr) return ret; } -static __inline__ __u64 ___arch__swab64p(__u64 *addr) +static __inline__ __u64 ___arch__swab64p(const __u64 *addr) { __u64 ret; |
