aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/gcc-common.h
diff options
context:
space:
mode:
authorJames Hogan <[email protected]>2016-10-18 23:24:27 +0000
committerJames Hogan <[email protected]>2016-10-18 23:37:05 +0000
commitd852b5f35e84e60c930589eeb14a6df21ea9b1cb (patch)
tree932c22ccbace3d9d74728e2d9d60224e116bcd34 /scripts/gcc-plugins/gcc-common.h
parentLinux 4.9-rc1 (diff)
downloadkernel-d852b5f35e84e60c930589eeb14a6df21ea9b1cb.tar.gz
kernel-d852b5f35e84e60c930589eeb14a6df21ea9b1cb.zip
KVM: MIPS: Add missing uaccess.h include
MIPS KVM uses user memory accessors but mips.c doesn't directly include uaccess.h, so include it now. This wasn't too much of a problem before v4.9-rc1 as asm/module.h included asm/uaccess.h, however since commit 29abfbd9cbba ("mips: separate extable.h, switch module.h to it") this is no longer the case. This resulted in build failures when trace points were disabled, as trace/define_trace.h includes trace/trace_events.h only ifdef TRACEPOINTS_ENABLED, which goes on to include asm/uaccess.h via a couple of other headers. Fixes: 29abfbd9cbba ("mips: separate extable.h, switch module.h to it") Signed-off-by: James Hogan <[email protected]> Cc: Paolo Bonzini <[email protected]> Cc: "Radim Krčmář" <[email protected]> Cc: Ralf Baechle <[email protected]> Cc: [email protected] Cc: [email protected]
Diffstat (limited to 'scripts/gcc-plugins/gcc-common.h')
0 files changed, 0 insertions, 0 deletions