aboutsummaryrefslogtreecommitdiffstats
path: root/mm/swap.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2011-01-17 21:21:14 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2011-01-17 12:39:07 -0800
commitcf78859f520f8275318f47d7864f4459d940cb6b (patch)
tree43568b265a89800274b782c9c0506c486525e4cb /mm/swap.c
parentMerge branch 'next-devicetree' of git://git.secretlab.ca/git/linux-2.6 (diff)
downloadlinux-dev-cf78859f520f8275318f47d7864f4459d940cb6b.tar.xz
linux-dev-cf78859f520f8275318f47d7864f4459d940cb6b.zip
xfs: Do not name variables "panic"
On platforms that call panic() inside their BUG() macro (m68k/sun3, and all platforms that don't set HAVE_ARCH_BUG), compilation fails with: | fs/xfs/support/debug.c: In function ‘xfs_cmn_err’: | fs/xfs/support/debug.c:92: error: called object ‘panic’ is not a function as the local variable "panic" conflicts with the "panic()" function. Rename the local variable to resolve this. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/swap.c')
0 files changed, 0 insertions, 0 deletions