[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)
commit93fe10b670a7a6a1dc9649c7860f452dc7bbbb9d
treee141f994b5040f34a2ec4d7b9666677bbab6cca4
parentd5964107763d7155e9bea658098a337507b3e928
[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