[PATCH] sparc: fix compile failure in kgdb_64.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



To fix:

  CC      arch/sparc/kernel/kgdb_64.o
 arch/sparc/kernel/kgdb_64.c: In function 'smp_kgdb_capture_client':
 arch/sparc/kernel/kgdb_64.c:121: error: implicit declaration of function 'flushw_all'
 make[2]: *** [arch/sparc/kernel/kgdb_64.o] Error 1

Signed-off-by: Paul Gortmaker <paul.gortmaker@xxxxxxxxxxxxx>
---

[tested on linux-next; presumably caused by the asm/system.h split]

diff --git a/arch/sparc/kernel/kgdb_64.c b/arch/sparc/kernel/kgdb_64.c
index 768290a..e916169 100644
--- a/arch/sparc/kernel/kgdb_64.c
+++ b/arch/sparc/kernel/kgdb_64.c
@@ -8,6 +8,7 @@
 #include <linux/ftrace.h>
 
 #include <asm/kdebug.h>
+#include <asm/cacheflush.h>
 #include <asm/ptrace.h>
 #include <asm/irq.h>
 
-- 
1.7.9.1

--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux