diff options
Diffstat (limited to '')
-rw-r--r-- | arch/mips/lib/bswapdi.c | 4 | ||||
-rw-r--r-- | arch/mips/lib/bswapsi.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/arch/mips/lib/bswapdi.c b/arch/mips/lib/bswapdi.c index fcef74084492..1d020e1c96a0 100644 --- a/arch/mips/lib/bswapdi.c +++ b/arch/mips/lib/bswapdi.c @@ -2,6 +2,9 @@ #include <linux/export.h> #include <linux/compiler.h> +/* To silence -Wmissing-prototypes. */ +unsigned long long __bswapdi2(unsigned long long u); + unsigned long long notrace __bswapdi2(unsigned long long u) { return (((u) & 0xff00000000000000ull) >> 56) | @@ -13,5 +16,4 @@ unsigned long long notrace __bswapdi2(unsigned long long u) (((u) & 0x000000000000ff00ull) << 40) | (((u) & 0x00000000000000ffull) << 56); } - EXPORT_SYMBOL(__bswapdi2); diff --git a/arch/mips/lib/bswapsi.c b/arch/mips/lib/bswapsi.c index 22d8e4f6d66e..02d9df489197 100644 --- a/arch/mips/lib/bswapsi.c +++ b/arch/mips/lib/bswapsi.c @@ -2,6 +2,9 @@ #include <linux/export.h> #include <linux/compiler.h> +/* To silence -Wmissing-prototypes. */ +unsigned int __bswapsi2(unsigned int u); + unsigned int notrace __bswapsi2(unsigned int u) { return (((u) & 0xff000000) >> 24) | @@ -9,5 +12,4 @@ unsigned int notrace __bswapsi2(unsigned int u) (((u) & 0x0000ff00) << 8) | (((u) & 0x000000ff) << 24); } - EXPORT_SYMBOL(__bswapsi2); |