x86: move switch_to macro to system.h
authorGlauber de Oliveira Costa <gcosta@redhat.com>
Wed, 30 Jan 2008 12:31:08 +0000 (13:31 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:31:08 +0000 (13:31 +0100)
commit0a3b4d151a8e57f50ce5a12c7ea5ec9965cf0b5a
treed052ba5e4b35484a78d613d3af42e4026b2fc192
parent833d8469b102365f427f7791e79ec1843ff5f164
x86: move switch_to macro to system.h

This patch moves the switch_to() macro to system.h

As those macros are fundamentally different between i386 and x86_64,
they are enclosed around an ifdef.

Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/asm-x86/system.h
include/asm-x86/system_32.h
include/asm-x86/system_64.h