x86: put get_kernel_rpl in a common location
authorGlauber de Oliveira Costa <gcosta@redhat.com>
Wed, 30 Jan 2008 12:31:09 +0000 (13:31 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:31:09 +0000 (13:31 +0100)
commitcef189508b2f043fdc2e354645803b6ce004aac3
tree1d5ebb5e1ef7ff3d8de1299949dff0328f0f31d9
parenteee3af4a2c83a97fff107ddc445d9df6fded9ce4
x86: put get_kernel_rpl in a common location

This macro is useful for both i386 and x86_64, so put it in a common
location, where both arches can grab it.

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/segment.h
include/asm-x86/segment_32.h