patch-2.3.46 linux/arch/ia64/kernel/pci-dma.c
Next file: linux/arch/m68k/atari/joystick.c
Previous file: linux/arch/i386/mm/init.c
Back to the patch index
Back to the overall index
- Lines: 22
- Date:
Mon Feb 14 15:34:21 2000
- Orig file:
v2.3.45/linux/arch/ia64/kernel/pci-dma.c
- Orig date:
Sun Feb 13 19:29:03 2000
diff -u --recursive --new-file v2.3.45/linux/arch/ia64/kernel/pci-dma.c linux/arch/ia64/kernel/pci-dma.c
@@ -17,21 +17,6 @@
#include <asm/io.h>
-/* Pure 2^n version of get_order */
-extern __inline__ unsigned long
-get_order (unsigned long size)
-{
- unsigned long order = ia64_fls(size - 1) + 1;
-
- printk ("get_order: size=%lu, order=%lu\n", size, order);
-
- if (order > PAGE_SHIFT)
- order -= PAGE_SHIFT;
- else
- order = 0;
- return order;
-}
-
void *
pci_alloc_consistent (struct pci_dev *hwdev, size_t size, dma_addr_t *dma_handle)
{
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)