x86: entry_64.S: factor out save_paranoid and paranoid_exit
commite2f6bc25b98dbb10d809ee50262b43fcae67840a
authorAlexander van Heukelum <heukelum@mailshack.com>
Fri, 21 Nov 2008 15:43:18 +0000 (21 16:43 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 21 Nov 2008 18:02:55 +0000 (21 19:02 +0100)
tree20cb125af2bd27ed255a91436af7fe2da33388ff
parentc002a1e6b6b6f07ae04e68987054bf1f2150ae48
x86: entry_64.S: factor out save_paranoid and paranoid_exit

Impact: cleanup, shrink kernel image size

Also expand the paranoid_exit0 macro into nmi_exit inside the
nmi stub in the case of enabled irq-tracing.

This gives a few hundred bytes code size reduction.

Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/entry_64.S