replace x86_read/write_per_cpu with a common function.
authorGlauber de Oliveira Costa <gcosta@redhat.com>
Wed, 30 Jan 2008 12:32:11 +0000 (13:32 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:32:11 +0000 (13:32 +0100)
commitbfd074e05bdb69652d24ebc60b126899174ca788
tree15aa99e121bb6945cc6b1566c1b901de62f11f46
parent53fd13cff04ce27ff3e8d3eb7e5ad4f56b580f2f
replace x86_read/write_per_cpu with a common function.

x86_read_per_cpu() and its writeish sister are not present in x86_64. So in
this patch, we replace them with __get_cpu_var(), which is present in both

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>
arch/x86/kernel/paravirt.c