diff options
author | Tony Luck <tony.luck@intel.com> | 2010-02-08 13:42:17 -0500 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2010-02-08 13:42:17 -0500 |
commit | 32974ad4907cdde6c9de612cd1b2ee0568fb9409 (patch) | |
tree | 46d883f7f4fb3f4a5cee8ec9eb2c6b4939d7ae10 /arch/ia64/xen | |
parent | 6339204ecc2aa2067a99595522de0403f0854bb8 (diff) |
[IA64] Remove COMPAT_IA32 support
This has been broken since May 2008 when Al Viro killed altroot support.
Since nobody has complained, it would appear that there are no users of
this code (A plausible theory since the main OSVs that support ia64 prefer
to use the IA32-EL software emulation).
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64/xen')
-rw-r--r-- | arch/ia64/xen/hypercall.S | 5 | ||||
-rw-r--r-- | arch/ia64/xen/xen_pv_ops.c | 16 |
2 files changed, 0 insertions, 21 deletions
diff --git a/arch/ia64/xen/hypercall.S b/arch/ia64/xen/hypercall.S index e32dae444dd6..08847aa12583 100644 --- a/arch/ia64/xen/hypercall.S +++ b/arch/ia64/xen/hypercall.S | |||
@@ -58,11 +58,6 @@ __HCALL2(xen_ptcga, HYPERPRIVOP_PTC_GA) | |||
58 | __HCALL2(xen_set_rr, HYPERPRIVOP_SET_RR) | 58 | __HCALL2(xen_set_rr, HYPERPRIVOP_SET_RR) |
59 | __HCALL2(xen_set_kr, HYPERPRIVOP_SET_KR) | 59 | __HCALL2(xen_set_kr, HYPERPRIVOP_SET_KR) |
60 | 60 | ||
61 | #ifdef CONFIG_IA32_SUPPORT | ||
62 | __HCALL0(xen_get_eflag, HYPERPRIVOP_GET_EFLAG) | ||
63 | __HCALL1(xen_set_eflag, HYPERPRIVOP_SET_EFLAG) // refer SDM vol1 3.1.8 | ||
64 | #endif /* CONFIG_IA32_SUPPORT */ | ||
65 | |||
66 | GLOBAL_ENTRY(xen_set_rr0_to_rr4) | 61 | GLOBAL_ENTRY(xen_set_rr0_to_rr4) |
67 | mov r8=r32 | 62 | mov r8=r32 |
68 | mov r9=r33 | 63 | mov r9=r33 |
diff --git a/arch/ia64/xen/xen_pv_ops.c b/arch/ia64/xen/xen_pv_ops.c index 5e2270a999fa..8adc6a14272a 100644 --- a/arch/ia64/xen/xen_pv_ops.c +++ b/arch/ia64/xen/xen_pv_ops.c | |||
@@ -301,11 +301,6 @@ static void xen_setreg(int regnum, unsigned long val) | |||
301 | case _IA64_REG_AR_KR0 ... _IA64_REG_AR_KR7: | 301 | case _IA64_REG_AR_KR0 ... _IA64_REG_AR_KR7: |
302 | xen_set_kr(regnum - _IA64_REG_AR_KR0, val); | 302 | xen_set_kr(regnum - _IA64_REG_AR_KR0, val); |
303 | break; | 303 | break; |
304 | #ifdef CONFIG_IA32_SUPPORT | ||
305 | case _IA64_REG_AR_EFLAG: | ||
306 | xen_set_eflag(val); | ||
307 | break; | ||
308 | #endif | ||
309 | case _IA64_REG_AR_ITC: | 304 | case _IA64_REG_AR_ITC: |
310 | xen_set_itc(val); | 305 | xen_set_itc(val); |
311 | break; | 306 | break; |
@@ -332,11 +327,6 @@ static unsigned long xen_getreg(int regnum) | |||
332 | case _IA64_REG_PSR: | 327 | case _IA64_REG_PSR: |
333 | res = xen_get_psr(); | 328 | res = xen_get_psr(); |
334 | break; | 329 | break; |
335 | #ifdef CONFIG_IA32_SUPPORT | ||
336 | case _IA64_REG_AR_EFLAG: | ||
337 | res = xen_get_eflag(); | ||
338 | break; | ||
339 | #endif | ||
340 | case _IA64_REG_AR_ITC: | 330 | case _IA64_REG_AR_ITC: |
341 | res = xen_get_itc(); | 331 | res = xen_get_itc(); |
342 | break; | 332 | break; |
@@ -710,9 +700,6 @@ extern unsigned long xen_getreg(int regnum); | |||
710 | 700 | ||
711 | __DEFINE_FUNC(getreg, | 701 | __DEFINE_FUNC(getreg, |
712 | __DEFINE_GET_REG(PSR, PSR) | 702 | __DEFINE_GET_REG(PSR, PSR) |
713 | #ifdef CONFIG_IA32_SUPPORT | ||
714 | __DEFINE_GET_REG(AR_EFLAG, EFLAG) | ||
715 | #endif | ||
716 | 703 | ||
717 | /* get_itc */ | 704 | /* get_itc */ |
718 | "mov r2 = " __stringify(_IA64_REG_AR_ITC) "\n" | 705 | "mov r2 = " __stringify(_IA64_REG_AR_ITC) "\n" |
@@ -789,9 +776,6 @@ __DEFINE_FUNC(setreg, | |||
789 | ";;\n" | 776 | ";;\n" |
790 | "(p6) br.cond.spnt xen_set_itc\n" | 777 | "(p6) br.cond.spnt xen_set_itc\n" |
791 | 778 | ||
792 | #ifdef CONFIG_IA32_SUPPORT | ||
793 | __DEFINE_SET_REG(AR_EFLAG, SET_EFLAG) | ||
794 | #endif | ||
795 | __DEFINE_SET_REG(CR_TPR, SET_TPR) | 779 | __DEFINE_SET_REG(CR_TPR, SET_TPR) |
796 | __DEFINE_SET_REG(CR_EOI, EOI) | 780 | __DEFINE_SET_REG(CR_EOI, EOI) |
797 | 781 | ||