From: Greg Kroah-Hartman Date: Thu, 17 Dec 2009 00:01:47 +0000 (-0800) Subject: another .32 patch X-Git-Tag: v2.6.27.42~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0607ff8007a0e098491543ea90d5652ae53983ca;p=thirdparty%2Fkernel%2Fstable-queue.git another .32 patch --- diff --git a/queue-2.6.32/implement-early_io-re-un-map-for-ia64.patch b/queue-2.6.32/implement-early_io-re-un-map-for-ia64.patch new file mode 100644 index 00000000000..b4310a5cb26 --- /dev/null +++ b/queue-2.6.32/implement-early_io-re-un-map-for-ia64.patch @@ -0,0 +1,59 @@ +From cd7bcf32d42b15891620b3f1387a00178b54291a Mon Sep 17 00:00:00 2001 +From: Luck, Tony +Date: Mon, 14 Dec 2009 20:00:36 +0000 +Subject: implement early_io{re,un}map for ia64 + +From: Luck, Tony + +commit cd7bcf32d42b15891620b3f1387a00178b54291a upstream. + +Needed for commit 2c992208 ("intel-iommu: Detect DMAR in hyperspace at +probe time.) to build on IA64. + +Signed-off-by: Tony Luck +Signed-off-by: David Woodhouse +Signed-off-by: Greg Kroah-Hartman + +--- + arch/ia64/include/asm/io.h | 2 ++ + arch/ia64/mm/ioremap.c | 11 +++++++++++ + 2 files changed, 13 insertions(+) + +--- a/arch/ia64/include/asm/io.h ++++ b/arch/ia64/include/asm/io.h +@@ -424,6 +424,8 @@ __writeq (unsigned long val, volatile vo + extern void __iomem * ioremap(unsigned long offset, unsigned long size); + extern void __iomem * ioremap_nocache (unsigned long offset, unsigned long size); + extern void iounmap (volatile void __iomem *addr); ++extern void __iomem * early_ioremap (unsigned long phys_addr, unsigned long size); ++extern void early_iounmap (volatile void __iomem *addr, unsigned long size); + + /* + * String version of IO memory access ops: +--- a/arch/ia64/mm/ioremap.c ++++ b/arch/ia64/mm/ioremap.c +@@ -22,6 +22,12 @@ __ioremap (unsigned long phys_addr) + } + + void __iomem * ++early_ioremap (unsigned long phys_addr, unsigned long size) ++{ ++ return __ioremap(phys_addr); ++} ++ ++void __iomem * + ioremap (unsigned long phys_addr, unsigned long size) + { + void __iomem *addr; +@@ -102,6 +108,11 @@ ioremap_nocache (unsigned long phys_addr + EXPORT_SYMBOL(ioremap_nocache); + + void ++early_iounmap (volatile void __iomem *addr, unsigned long size) ++{ ++} ++ ++void + iounmap (volatile void __iomem *addr) + { + if (REGION_NUMBER(addr) == RGN_GATE) diff --git a/queue-2.6.32/series b/queue-2.6.32/series index bc78a3e33c4..a9b8ea0dde3 100644 --- a/queue-2.6.32/series +++ b/queue-2.6.32/series @@ -148,3 +148,4 @@ intel-iommu-fix-oops-with-intel_iommu-igfx_off.patch intel-iommu-ignore-page-table-validation-in-pass-through-mode.patch netfilter-xtables-document-minimal-required-version.patch perf_event-fix-incorrect-range-check-on-cpu-number.patch +implement-early_io-re-un-map-for-ia64.patch