diff options
author | Isaku Yamahata <yamahata@valinux.co.jp> | 2008-11-18 11:19:50 +0100 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2008-11-20 22:41:20 +0100 |
commit | 93fe10b670a7a6a1dc9649c7860f452dc7bbbb9d (patch) | |
tree | e141f994b5040f34a2ec4d7b9666677bbab6cca4 /arch/ia64/kernel/paravirt.c | |
parent | [IA64] remove duplicate include iommu.h (diff) | |
download | linux-93fe10b670a7a6a1dc9649c7860f452dc7bbbb9d.tar.xz linux-93fe10b670a7a6a1dc9649c7860f452dc7bbbb9d.zip |
[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>
Diffstat (limited to '')
-rw-r--r-- | arch/ia64/kernel/paravirt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/kernel/paravirt.c b/arch/ia64/kernel/paravirt.c index de35d8e8b7d2..9f14c16f6369 100644 --- a/arch/ia64/kernel/paravirt.c +++ b/arch/ia64/kernel/paravirt.c @@ -130,7 +130,7 @@ ia64_native_getreg_func(int regnum) unsigned long res = -1; switch (regnum) { CASE_GET_REG(GP); - CASE_GET_REG(IP); + /*CASE_GET_REG(IP);*/ /* returned ip value shouldn't be constant */ CASE_GET_REG(PSR); CASE_GET_REG(TP); CASE_GET_REG(SP); |