e = -EBUSY; break;  
static int sn_hwperf_map_err(int hwperf_err){	int e;	switch(hwperf_err) {	case SN_HWPERF_OP_OK:		e = 0;		break;	case SN_HWPERF_OP_NOMEM:		e = -ENOMEM;		break;	case SN_HWPERF_OP_NO_PERM:		e = -EPERM;		break;	case SN_HWPERF_OP_IO_ERROR:		e = -EIO;		break;	case SN_HWPERF_OP_BUSY:	case SN_HWPERF_OP_RECONFIGURE:		e = -EAGAIN;		break;	case SN_HWPERF_OP_INVAL:	default:		e = -EINVAL;		break;	}	return e;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/4a5c13c7eb0d55bfd2cf3100c55f1e3d8df37576/sn_hwperf.c/buggy/arch/ia64/sn/kernel/sn2/sn_hwperf.c