summaryrefslogtreecommitdiffstats
path: root/lib/nmi_backtrace.c
diff options
context:
space:
mode:
authorLuc Van Oostenryck II2017-10-02 21:33:35 +0200
committerRussell King2017-10-12 12:18:19 +0200
commit6042b8c7c08cad7a8bdc0456c619ae941962b40a (patch)
tree85306a91c06d3168c20a469f2af00c8a6837e47b /lib/nmi_backtrace.c
parentARM: 8700/1: nommu: always reserve address 0 away (diff)
downloadkernel-qcow2-linux-6042b8c7c08cad7a8bdc0456c619ae941962b40a.tar.gz
kernel-qcow2-linux-6042b8c7c08cad7a8bdc0456c619ae941962b40a.tar.xz
kernel-qcow2-linux-6042b8c7c08cad7a8bdc0456c619ae941962b40a.zip
ARM: 8701/1: fix sparse flags for build on 64bit machines
By default sparse uses the characteristics of the build machine to infer things like the wordsize. This is fine when doing native builds but for ARM it's, I suspect, very rarely the case and if the build are done on a 64bit machine we get a bunch of warnings like: 'cast truncates bits from constant value (... becomes ...)' Fix this by adding the -m32 flags for sparse. Reported-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com> Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'lib/nmi_backtrace.c')
0 files changed, 0 insertions, 0 deletions