]> git.hungrycats.org Git - linux/commitdiff
[SPARC]: Kill GFP_DMA in iommu code.
authorPete Zaitcev <zaitcev@redhat.com>
Sun, 2 Mar 2003 16:33:24 +0000 (08:33 -0800)
committerDavid S. Miller <davem@nuts.ninka.net>
Sun, 2 Mar 2003 16:33:24 +0000 (08:33 -0800)
arch/sparc/mm/iommu.c

index 1aefe5f9bbb3ab1f61049daac9e5e5b036037bcb..ebcef957e453e7030b32dd5d6ddd5ef4097817ff 100644 (file)
@@ -112,7 +112,7 @@ iommu_init(int iommund, struct sbus_bus *sbus)
        for (i = 6; i < 9; i++)
                if ((1 << (i + PAGE_SHIFT)) == ptsize)
                        break;
-        tmp = __get_free_pages(GFP_DMA, i);
+        tmp = __get_free_pages(GFP_KERNEL, i);
        if (!tmp) {
                prom_printf("Could not allocate iopte of size 0x%08x\n", ptsize);
                prom_halt();