diff options
author | Andrew Morton <akpm@osdl.org> | 2004-03-01 07:07:16 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-03-01 07:07:16 -0800 |
commit | b7d83b8c6b0c303d2770c5d5d23b180d8aeccee7 (patch) | |
tree | 7ca061ea7246c073f13371e28de2ec06a6c5cad9 /scripts | |
parent | 5d5c8930b939f1c7838172001e76461978e8c114 (diff) | |
download | history-b7d83b8c6b0c303d2770c5d5d23b180d8aeccee7.tar.gz |
[PATCH] scripts/modpost warning
From: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
I need the following patch to kill a warning (__endian() may be unused)
when cross-compiling m68k kernels on an ia32 box.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/modpost.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/modpost.h b/scripts/modpost.h index 13eafa4e43ccf..2890845dad3e6 100644 --- a/scripts/modpost.h +++ b/scripts/modpost.h @@ -31,7 +31,7 @@ #if KERNEL_ELFDATA != HOST_ELFDATA -static void __endian(const void *src, void *dest, unsigned int size) +static inline void __endian(const void *src, void *dest, unsigned int size) { unsigned int i; for (i = 0; i < size; i++) |