ia64/xen-unstable

changeset 15420:9b9815e29638

[IA64] cleanup: remove unused code.

Signed-off-by: Tristan Gingold <tgingold@free.fr>
author Alex Williamson <alex.williamson@hp.com>
date Mon Jul 02 10:12:18 2007 -0600 (2007-07-02)
parents 962f22223817
children 4d6cdebfb173
files xen/arch/ia64/xen/ivt.S
line diff
     1.1 --- a/xen/arch/ia64/xen/ivt.S	Mon Jul 02 10:10:32 2007 -0600
     1.2 +++ b/xen/arch/ia64/xen/ivt.S	Mon Jul 02 10:12:18 2007 -0600
     1.3 @@ -371,16 +371,6 @@ ENTRY(dkey_miss)
     1.4  	FAULT_OR_REFLECT(7)
     1.5  END(dkey_miss)
     1.6  
     1.7 -	
     1.8 -#define SAVE_MIN_COVER_DONE	DO_SAVE_MIN(,mov r30=cr.ifs,)
     1.9 -
    1.10 -// same as dispatch_break_fault except cover has already been done
    1.11 -GLOBAL_ENTRY(dispatch_slow_hyperprivop)
    1.12 -	SAVE_MIN_COVER_DONE
    1.13 -	;;
    1.14 -	br.sptk.many dispatch_break_fault_post_save
    1.15 -END(dispatch_slow_hyperprivop)
    1.16 -
    1.17  	.org ia64_ivt+0x2000
    1.18  //////////////////////////////////////////////////////////////////////////
    1.19  // 0x2000 Entry 8 (size 64 bundles) Dirty-bit (54)
    1.20 @@ -737,7 +727,6 @@ END(break_fault)
    1.21  ENTRY(interrupt)
    1.22  	DBG_FAULT(12)
    1.23  	mov r31=pr		// prepare to save predicates
    1.24 -	;;
    1.25  	mov r30=cr.ivr		// pass cr.ivr as first arg
    1.26  	// FIXME: this is a hack... use cpuinfo.ksoftirqd because its
    1.27  	// not used anywhere else and we need a place to stash ivr and
    1.28 @@ -745,7 +734,6 @@ ENTRY(interrupt)
    1.29  	movl r29=THIS_CPU(cpu_info)+IA64_CPUINFO_KSOFTIRQD_OFFSET
    1.30  	;;
    1.31  	st8 [r29]=r30
    1.32 -	;;
    1.33  	movl r28=slow_interrupt
    1.34  	;;
    1.35  	mov r29=rp
    1.36 @@ -806,7 +794,6 @@ dispatch_break_fault_post_save:
    1.37  	movl r14=ia64_leave_kernel
    1.38  	;;
    1.39  	mov rp=r14
    1.40 -//	br.sptk.many ia64_prepare_handle_break	// TODO: why commented out?
    1.41      	br.call.sptk.many b6=ia64_handle_break
    1.42  END(dispatch_break_fault)
    1.43  
    1.44 @@ -998,7 +985,6 @@ ENTRY(dispatch_privop_fault)
    1.45  	movl r14=ia64_leave_kernel
    1.46  	;;
    1.47  	mov rp=r14
    1.48 -//	br.sptk.many ia64_prepare_handle_privop  // TODO: why commented out?
    1.49       	br.call.sptk.many b6=ia64_handle_privop
    1.50  END(dispatch_privop_fault)
    1.51  
    1.52 @@ -1126,27 +1112,7 @@ END(general_exception)
    1.53  // 0x5500 Entry 25 (size 16 bundles) Disabled FP-Register (35)
    1.54  ENTRY(disabled_fp_reg)
    1.55  	DBG_FAULT(25)
    1.56 -#if 0				// TODO: can this be removed?
    1.57 -	mov r20=pr
    1.58 -	movl r16=0x2000000000000000
    1.59 -	movl r17=0x2000000000176b60
    1.60 -	mov r18=cr.iip
    1.61 -	mov r19=rr[r16]
    1.62 -	movl r22=0xe95d0439
    1.63 -	;;
    1.64 -	mov pr=r0,-1
    1.65 -	;;
    1.66 -	cmp.eq p6,p7=r22,r19
    1.67 -	;;
    1.68 -	(p6) cmp.eq p8,p9=r17,r18
    1.69 -	(p8) br.sptk.few floating_panic
    1.70 -	;;
    1.71 -	mov pr=r20,-1
    1.72 -	;;
    1.73 -#endif
    1.74  	FAULT_OR_REFLECT(25)
    1.75 -//floating_panic:		// TODO: can this be removed?
    1.76 -//	br.sptk.many floating_panic
    1.77  	;;
    1.78  	rsm psr.dfh		// ensure we can access fph
    1.79  	;;