HPTE lhpte; 
hpte_t lhpte; int secondary = 0; 
static long iSeries_hpte_insert(unsigned long hpte_group, unsigned long va,			 unsigned long prpn, int secondary,			 unsigned long hpteflags, int bolted, int large){	long slot;	HPTE lhpte;	/*	 * The hypervisor tries both primary and secondary.	 * If we are being called to insert in the secondary,	 * it means we have already tried both primary and secondary,	 * so we return failure immediately.	 */	if (secondary)		return -1;	iSeries_hlock(hpte_group);	slot = HvCallHpt_findValid(&lhpte, va >> PAGE_SHIFT);	BUG_ON(lhpte.dw0.dw0.v);	if (slot == -1)	{ /* No available entry found in either group */		iSeries_hunlock(hpte_group);		return -1;	}	if (slot < 0) {		/* MSB set means secondary group */		secondary = 1;		slot &= 0x7fffffffffffffff;	}	lhpte.dw1.dword1      = 0;	lhpte.dw1.dw1.rpn     = physRpn_to_absRpn(prpn);	lhpte.dw1.flags.flags = hpteflags;	lhpte.dw0.dword0      = 0;	lhpte.dw0.dw0.avpn    = va >> 23;	lhpte.dw0.dw0.h       = secondary;	lhpte.dw0.dw0.bolted  = bolted;	lhpte.dw0.dw0.v       = 1;	/* Now fill in the actual HPTE */	HvCallHpt_addValidate(slot, secondary, &lhpte);	iSeries_hunlock(hpte_group);	return (secondary << 3) | (slot & 7);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/96e2844999f99878fc5b03b81ccaa60580005b81/iSeries_htab.c/clean/arch/ppc64/kernel/iSeries_htab.c