2016-10-19 00:45+0100, James Hogan: > 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 <james.hogan@xxxxxxxxxx> > Cc: Paolo Bonzini <pbonzini@xxxxxxxxxx> > Cc: "Radim Krčmář" <rkrcmar@xxxxxxxxxx> > Cc: Ralf Baechle <ralf@xxxxxxxxxxxxxx> > Cc: linux-mips@xxxxxxxxxxxxxx > Cc: kvm@xxxxxxxxxxxxxxx > --- We'd like to have this patch in 4.9-rc2 and I see it in kvm-mips/next. Would you prefer to send a pull request? (I can apply it directly just as well.) Thanks.