ia64/xen-unstable

changeset 18877:e97216802360

IA64: quieten PV fp fault/trap handler.

Now fp fault/trap is handled correctly except the case fpswa
returns error. So quieten the handler.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
author Isaku Yamahata <yamahata@valinux.co.jp>
date Fri Dec 12 10:43:39 2008 +0900 (2008-12-12)
parents 09c467481a44
children 559809738237
files xen/arch/ia64/xen/faults.c
line diff
     1.1 --- a/xen/arch/ia64/xen/faults.c	Fri Dec 12 10:36:23 2008 +0900
     1.2 +++ b/xen/arch/ia64/xen/faults.c	Fri Dec 12 10:43:39 2008 +0900
     1.3 @@ -349,8 +349,9 @@ handle_fpu_swa(int fp_fault, struct pt_r
     1.4  
     1.5  	if (ret.status) {
     1.6  		PSCBX(current, fpswa_ret) = ret;
     1.7 -		printk("%s(%s): fp_emulate() returned %ld\n",
     1.8 -		       __FUNCTION__, fp_fault ? "fault" : "trap", ret.status);
     1.9 +		gdprintk(XENLOG_ERR, "%s(%s): fp_emulate() returned %ld\n",
    1.10 +			 __FUNCTION__, fp_fault ? "fault" : "trap",
    1.11 +			 ret.status);
    1.12  	}
    1.13  
    1.14  	return ret.status;
    1.15 @@ -695,14 +696,12 @@ ia64_handle_reflection(unsigned long ifa
    1.16  			vcpu_increment_iip(v);
    1.17  			return;
    1.18  		}
    1.19 -		printk("ia64_handle_reflection: handling FP fault\n");
    1.20  		vector = IA64_FP_FAULT_VECTOR;
    1.21  		break;
    1.22  	case 33:
    1.23  		status = handle_fpu_swa(0, regs, isr);
    1.24  		if (!status)
    1.25  			return;
    1.26 -		printk("ia64_handle_reflection: handling FP trap\n");
    1.27  		vector = IA64_FP_TRAP_VECTOR;
    1.28  		break;
    1.29  	case 34: