]> git.baikalelectronics.ru Git - kernel.git/commit
[IA64] ia64/pv_ops/pv_cpu_ops: fix _IA64_REG_IP case.
authorIsaku Yamahata <yamahata@valinux.co.jp>
Tue, 18 Nov 2008 10:19:50 +0000 (19:19 +0900)
committerTony Luck <tony.luck@intel.com>
Thu, 20 Nov 2008 21:41:20 +0000 (13:41 -0800)
commit630e7920b18db193fce6740995ed3ddfadf3f8bd
treee141f994b5040f34a2ec4d7b9666677bbab6cca4
parentc6b0cb966bba3a92a48761f955bc064044ede03d
[IA64] ia64/pv_ops/pv_cpu_ops: fix _IA64_REG_IP case.

pv_cpu_ops.getreg(_IA64_REG_IP) returned constant.
But the returned ip valued should be the one in the caller, not of the callee.
This patch fixes that.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/include/asm/intrinsics.h
arch/ia64/include/asm/paravirt_privop.h
arch/ia64/kernel/paravirt.c