Commit b0101c19 authored by Andrew Morton's avatar Andrew Morton Committed by David S. Miller

[SPARC64]: Make ___arch_swapXp() take a const pointer.

Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarDavid S. Miller <davem@redhat.com>
parent 5de57587
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
#ifdef __GNUC__ #ifdef __GNUC__
static __inline__ __u16 ___arch__swab16p(__u16 *addr) static __inline__ __u16 ___arch__swab16p(const __u16 *addr)
{ {
__u16 ret; __u16 ret;
...@@ -17,7 +17,7 @@ static __inline__ __u16 ___arch__swab16p(__u16 *addr) ...@@ -17,7 +17,7 @@ static __inline__ __u16 ___arch__swab16p(__u16 *addr)
return ret; return ret;
} }
static __inline__ __u32 ___arch__swab32p(__u32 *addr) static __inline__ __u32 ___arch__swab32p(const __u32 *addr)
{ {
__u32 ret; __u32 ret;
...@@ -27,7 +27,7 @@ static __inline__ __u32 ___arch__swab32p(__u32 *addr) ...@@ -27,7 +27,7 @@ static __inline__ __u32 ___arch__swab32p(__u32 *addr)
return ret; return ret;
} }
static __inline__ __u64 ___arch__swab64p(__u64 *addr) static __inline__ __u64 ___arch__swab64p(const __u64 *addr)
{ {
__u64 ret; __u64 ret;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment