X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=arch%2Fsparc%2Fmm%2Fiommu.c;h=35384cb60b210108f19d1536827de71ccd8b56e6;hb=e8c29c839b5c9f6704c7105e1248b476e8f4c04e;hp=28f96f27c7683e1201d5ca6e53409e391594aff4;hpb=5497e7b8967118ee45f8ef2d301fce919a35d660;p=cascardo%2Flinux.git diff --git a/arch/sparc/mm/iommu.c b/arch/sparc/mm/iommu.c index 28f96f27c768..35384cb60b21 100644 --- a/arch/sparc/mm/iommu.c +++ b/arch/sparc/mm/iommu.c @@ -27,6 +27,8 @@ #include #include +#include "mm_32.h" + /* * This can be sized dynamically, but we will do this * only when we have a guidance about actual I/O pressures. @@ -37,9 +39,6 @@ #define IOMMU_NPTES (IOMMU_WINSIZE/PAGE_SIZE) /* 64K PTEs, 256KB */ #define IOMMU_ORDER 6 /* 4096 * (1<<6) */ -/* srmmu.c */ -extern int viking_mxcc_present; -extern int flush_page_for_dma_global; static int viking_flush; /* viking.S */ extern void viking_flush_page(unsigned long page);