From: Al Viro Date: Fri, 3 Feb 2006 07:06:42 +0000 (-0500) Subject: [PATCH] iomap_copy fallout (m68k) X-Git-Tag: MMI-PSA29.97-13-9~51906^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ad6b97fc929e5844bfd1d708ab1d74d131d7960d;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git [PATCH] iomap_copy fallout (m68k) added __raw_writel(), sanitized include order in iomap_copy.c Signed-off-by: Al Viro --- diff --git a/include/asm-m68k/raw_io.h b/include/asm-m68k/raw_io.h index 5439bcaa57c6..811ccd25d4a6 100644 --- a/include/asm-m68k/raw_io.h +++ b/include/asm-m68k/raw_io.h @@ -336,6 +336,7 @@ static inline void raw_outsw_swapw(volatile u16 __iomem *port, const u16 *buf, : "d0", "a0", "a1", "d6"); } +#define __raw_writel raw_outl #endif /* __KERNEL__ */ diff --git a/lib/iomap_copy.c b/lib/iomap_copy.c index a6b1e271d53c..351045f4f63c 100644 --- a/lib/iomap_copy.c +++ b/lib/iomap_copy.c @@ -15,8 +15,8 @@ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */ -#include #include +#include /** * __iowrite32_copy - copy data to MMIO space, in 32-bit units