BUILD_BUG_ON(1); 
BUG_ON(1); 
get_iost_entry(unsigned long iopt_base, unsigned long io_address, unsigned page_size){	unsigned long ps;	unsigned long iostep;	unsigned long nnpt;	unsigned long shift;	switch (page_size) {	case 0x1000000:		ps = IOST_PS_16M;		nnpt = 0;  /* one page per segment */		shift = 5; /* segment has 16 iopt entries */		break;	case 0x100000:		ps = IOST_PS_1M;		nnpt = 0;  /* one page per segment */		shift = 1; /* segment has 256 iopt entries */		break;	case 0x10000:		ps = IOST_PS_64K;		nnpt = 0x07; /* 8 pages per io page table */		shift = 0;   /* all entries are used */		break;	case 0x1000:		ps = IOST_PS_4K;		nnpt = 0x7f; /* 128 pages per io page table */		shift = 0;   /* all entries are used */		break;	default: /* not a known compile time constant */		BUILD_BUG_ON(1);		break;	}	iostep = iopt_base +			 /* need 8 bytes per iopte */			(((io_address / page_size * 8)			 /* align io page tables on 4k page boundaries */				 << shift) 			 /* nnpt+1 pages go into each iopt */				 & ~(nnpt << 12));	nnpt++; /* this seems to work, but the documentation is not clear		   about wether we put nnpt or nnpt-1 into the ioste bits.		   In theory, this can't work for 4k pages. */	return mk_ioste(IOST_VALID_MASK			| (iostep & IOST_PT_BASE_MASK)			| ((nnpt << 5) & IOST_NNPT_MASK)			| (ps & IOST_PS_MASK));}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/40ef8cbc6d360e564573eb19582249c35d8ba330/bpa_iommu.c/buggy/arch/ppc64/kernel/bpa_iommu.c