From 3ae07c431618feb013b346aa1b3d3124fa6e2039 Mon Sep 17 00:00:00 2001 From: Aron Griffis Date: Tue, 17 Oct 2006 00:28:15 -0400 Subject: [PATCH] --- yaml --- r: 39852 b: refs/heads/master c: ffc45571dfb4b70e7eda8d97f64a05f5e5a992ac h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/include/asm-ia64/io.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 20814a3f9b2a..5521cd7611be 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 3bbe486b361b317ac7103378ed3d1aab4779715e +refs/heads/master: ffc45571dfb4b70e7eda8d97f64a05f5e5a992ac diff --git a/trunk/include/asm-ia64/io.h b/trunk/include/asm-ia64/io.h index 43bfff6c6b87..855c30af72a9 100644 --- a/trunk/include/asm-ia64/io.h +++ b/trunk/include/asm-ia64/io.h @@ -417,6 +417,8 @@ __writeq (unsigned long val, volatile void __iomem *addr) # define outl_p outl #endif +# ifdef __KERNEL__ + extern void __iomem * ioremap(unsigned long offset, unsigned long size); extern void __iomem * ioremap_nocache (unsigned long offset, unsigned long size); @@ -430,8 +432,6 @@ iounmap (volatile void __iomem *addr) #define dmi_iounmap(x,l) iounmap(x) #define dmi_alloc(l) kmalloc(l, GFP_ATOMIC) -# ifdef __KERNEL__ - /* * String version of IO memory access ops: */