linux-mips
[Top] [All Lists]

[PATCH] Include cacheflush.h in uncache.c

To: linux-mips@linux-mips.org
Subject: [PATCH] Include cacheflush.h in uncache.c
From: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Date: Thu, 12 Jul 2007 00:55:40 +0900 (JST)
Cc: ralf@linux-mips.org
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
This fixes this sparse warning:

arch/mips/lib/uncached.c:38:22: warning: symbol 'run_uncached' was not 
declared. Should it be static?

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
---
diff --git a/arch/mips/lib/uncached.c b/arch/mips/lib/uncached.c
index 2388f7f..58d14f4 100644
--- a/arch/mips/lib/uncached.c
+++ b/arch/mips/lib/uncached.c
@@ -12,6 +12,7 @@
 
 #include <asm/addrspace.h>
 #include <asm/bug.h>
+#include <asm/cacheflush.h>
 
 #ifndef CKSEG2
 #define CKSEG2 CKSSEG

<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH] Include cacheflush.h in uncache.c, Atsushi Nemoto <=