]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6ed939ece685b38b960543d3989c7425909088a7
tree15aa99e121bb6945cc6b1566c1b901de62f11f46
parentb168eda189c2d573aa434368f7bc4c713545e25c
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