Re: [PATCH 15/15] replace x86_read/write_per_cpu with a common function.

2007-12-20 Thread H. Peter Anvin
Glauber de Oliveira Costa wrote: 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 Eventually we'd like to use something closer to the i386 code for x86_64, obviously... -hpa -- To

[PATCH 15/15] replace x86_read/write_per_cpu with a common function.

2007-12-20 Thread Glauber de Oliveira Costa
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 <[EMAIL PROTECTED]> --- arch/x86/kernel/paravirt.c | 10 +- 1 files changed, 5 insertions(+),

[PATCH 15/15] replace x86_read/write_per_cpu with a common function.

2007-12-20 Thread Glauber de Oliveira Costa
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 [EMAIL PROTECTED] --- arch/x86/kernel/paravirt.c | 10 +- 1 files changed, 5 insertions(+), 5

Re: [PATCH 15/15] replace x86_read/write_per_cpu with a common function.

2007-12-20 Thread H. Peter Anvin
Glauber de Oliveira Costa wrote: 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 Eventually we'd like to use something closer to the i386 code for x86_64, obviously... -hpa -- To