aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/uaccess.h
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2019-03-06 19:09:08 +0100
committerIngo Molnar <mingo@kernel.org>2019-04-03 09:39:46 +0200
commit4fc0f0e9471ec573ab2d44e7f462d996d614536e (patch)
tree3c973eefcbf1cde7b61fb5aec5d2a1c4673218bb /arch/x86/include/asm/uaccess.h
parentx86/nospec, objtool: Introduce ANNOTATE_IGNORE_ALTERNATIVE (diff)
downloadlinux-dev-4fc0f0e9471ec573ab2d44e7f462d996d614536e.tar.xz
linux-dev-4fc0f0e9471ec573ab2d44e7f462d996d614536e.zip
x86/uaccess, xen: Suppress SMAP warnings
drivers/xen/privcmd.o: warning: objtool: privcmd_ioctl()+0x1414: call to hypercall_page() with UACCESS enabled Some Xen hypercalls allow parameter buffers in user land, so they need to set AC=1. Avoid the warning for those cases. Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Juergen Gross <jgross@suse.com> Cc: Borislav Petkov <bp@alien8.de> Cc: Josh Poimboeuf <jpoimboe@redhat.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: andrew.cooper3@citrix.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/include/asm/uaccess.h')
0 files changed, 0 insertions, 0 deletions