x86/asm/entry/64: Use smaller instructions
authorDenys Vlasenko <dvlasenk@redhat.com>
Wed, 25 Mar 2015 17:18:15 +0000 (18:18 +0100)
committerIngo Molnar <mingo@kernel.org>
Fri, 27 Mar 2015 08:57:06 +0000 (09:57 +0100)
commit47eb582e702880c302036d17341c7ea1a7dc2a53
treec352a279091b6aa20988f5c681f375cdafe39a7b
parent146b2b097d7a322b64b88a927fc5d870fc79a60b
x86/asm/entry/64: Use smaller instructions

The $AUDIT_ARCH_X86_64 parameter to syscall_trace_enter_phase1/2
is a 32-bit constant, loading it with 32-bit MOV produces 5-byte
insn instead of 10-byte MOVABS one.

Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Cc: Alexei Starovoitov <ast@plumgrid.com>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Will Drewry <wad@chromium.org>
Link: http://lkml.kernel.org/r/1427303896-24023-3-git-send-email-dvlasenk@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/entry_64.S