aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/filelayout/filelayoutdev.c
diff options
context:
space:
mode:
authorGeorge Spelvin <[email protected]>2014-05-07 21:05:52 +0000
committerH. Peter Anvin <[email protected]>2014-05-07 21:14:44 +0000
commit14262d67fe348018af368a07430fbc06eadeabb1 (patch)
tree2bb6357876a66c4a588d6937115c0b4e83f6fba7 /fs/nfs/filelayout/filelayoutdev.c
parentx86/reboot: Add reboot quirk for Certec BPC600 (diff)
downloadkernel-14262d67fe348018af368a07430fbc06eadeabb1.tar.gz
kernel-14262d67fe348018af368a07430fbc06eadeabb1.zip
x86-64, build: Fix stack protector Makefile breakage with 32-bit userland
If you are using a 64-bit kernel with 32-bit userland, then scripts/gcc-x86_64-has-stack-protector.sh invokes 32-bit gcc with -mcmodel=kernel, which produces: <stdin>:1:0: error: code model 'kernel' not supported in the 32 bit mode and trips the "broken compiler" test at arch/x86/Makefile:120. There are several places a fix is possible, but the following seems cleanest. (But it's minimal; it would also be possible to factor out a bunch of stuff from the two branches of the if.) Signed-off-by: George Spelvin <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Cc: <[email protected]> # v3.14 Signed-off-by: H. Peter Anvin <[email protected]>
Diffstat (limited to 'fs/nfs/filelayout/filelayoutdev.c')
0 files changed, 0 insertions, 0 deletions