pte_t * pte = pte_alloc_kernel(&init_mm, pmd, vaddr); 
pte_t * pte = pte_alloc_kernel(pmd, vaddr); 
static inline int map_pmd_uncached(pmd_t * pmd, unsigned long vaddr,		unsigned long size, unsigned long *paddr_ptr){	unsigned long end;	unsigned long orig_vaddr = vaddr;	vaddr &= ~PGDIR_MASK;	end = vaddr + size;	if (end > PGDIR_SIZE)		end = PGDIR_SIZE;	do {		pte_t * pte = pte_alloc_kernel(&init_mm, pmd, vaddr);		if (!pte)			return -ENOMEM;		if (map_pte_uncached(pte, orig_vaddr, end - vaddr, paddr_ptr))			return -ENOMEM;		vaddr = (vaddr + PMD_SIZE) & PMD_MASK;		orig_vaddr += PMD_SIZE;		pmd++;	} while (vaddr < end);	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/872fec16d9a0ed3b75b8893aa217e49cca575ee5/pci-dma.c/buggy/arch/parisc/kernel/pci-dma.c