diff -prauN pgcl-2.5.68-1C/include/asm-i386/fixmap.h pgcl-2.5.68-1D/include/asm-i386/fixmap.h --- pgcl-2.5.68-1C/include/asm-i386/fixmap.h 2003-04-27 13:09:31.000000000 -0700 +++ pgcl-2.5.68-1D/include/asm-i386/fixmap.h 2003-04-27 14:13:23.000000000 -0700 @@ -57,7 +57,7 @@ enum fixed_addresses { * leave a hole of exactly PAGE_SIZE at the top for CONFIG_HIGHMEM * this makes things easier on core code; the math works out funny */ - FIX_HOLE = PAGE_MMUCOUNT > 1 ? PAGE_MMUCOUNT - 2 : 0, + FIX_HOLE = PAGE_MMUCOUNT > 1 ? PAGE_MMUCOUNT - 1 : 0, #ifdef CONFIG_HIGHMEM FIX_KMAP_BEGIN, /* reserved pte's for temporary kernel mappings */ FIX_KMAP_END = FIX_KMAP_BEGIN+((KM_TYPE_NR*NR_CPUS+1)*PAGE_MMUCOUNT)-1, diff -prauN pgcl-2.5.68-1C/include/asm-i386/pci.h pgcl-2.5.68-1D/include/asm-i386/pci.h --- pgcl-2.5.68-1C/include/asm-i386/pci.h 2003-04-19 19:49:19.000000000 -0700 +++ pgcl-2.5.68-1D/include/asm-i386/pci.h 2003-04-27 14:16:31.000000000 -0700 @@ -67,13 +67,13 @@ pci_dac_page_to_dma(struct pci_dev *pdev static __inline__ struct page * pci_dac_dma_to_page(struct pci_dev *pdev, dma64_addr_t dma_addr) { - return pfn_to_page(dma_addr >> PAGE_SHIFT); + return pfn_to_page(dma_addr >> MMUPAGE_SHIFT); } static __inline__ unsigned long pci_dac_dma_to_offset(struct pci_dev *pdev, dma64_addr_t dma_addr) { - return (dma_addr & ~PAGE_MASK); + return dma_addr & ~PAGE_MASK; } static __inline__ void