summaryrefslogtreecommitdiff
path: root/arch/alpha/include
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2012-08-05 01:53:26 +0400
committerArnd Bergmann <arnd@arndb.de>2012-10-03 23:21:06 +0400
commit720fb1976d38bccf910d477c2df364948abdb359 (patch)
treed47e7fba85d80961a80ce4f01ae4427baac30bde /arch/alpha/include
parenta0d271cbfed1dd50278c6b06bead3d00ba0a88f9 (diff)
downloadlinux-720fb1976d38bccf910d477c2df364948abdb359.tar.xz
asm-generic: xor: mark static functions as __maybe_unused
The asm-generic/xor.h header file is nasty and defines static functions that are not inline. The header file is include by the ARM version of asm/xor.h, which uses some but not all of the symbols defined there. Marking the extraneous functions as __maybe_unused lets gcc drop them without complaining. Without this patch, building iop13xx_defconfig results in: include/asm-generic/xor.h:696:34: warning: 'xor_block_8regs_p' defined but not used [-Wunused-variable] include/asm-generic/xor.h:704:34: warning: 'xor_block_32regs_p' defined but not used [-Wunused-variable] Signed-off-by: Arnd Bergmann <arnd@arndb.de> Cc: Herbert Xu <herbert@gondor.apana.org.au> Cc: Dan Williams <dan.j.williams@gmail.com> Cc: Neil Brown <neilb@suse.de>
Diffstat (limited to 'arch/alpha/include')
0 files changed, 0 insertions, 0 deletions