浏览代码

sparc: Fix even more fallout from system.h split.

jump_label.c needs asm/cacheflush.h to get flushi().
kgdb_64.c needs asm/cacheflush.h to get flushw_all().

Signed-off-by: David S. Miller <davem@davemloft.net>
David S. Miller 13 年之前
父节点
当前提交
8befc9f23c
共有 2 个文件被更改,包括 3 次插入0 次删除
  1. 2 0
      arch/sparc/kernel/jump_label.c
  2. 1 0
      arch/sparc/kernel/kgdb_64.c

+ 2 - 0
arch/sparc/kernel/jump_label.c

@@ -6,6 +6,8 @@
 #include <linux/jump_label.h>
 #include <linux/memory.h>
 
+#include <asm/cacheflush.h>
+
 #ifdef HAVE_JUMP_LABEL
 
 void arch_jump_label_transform(struct jump_entry *entry,

+ 1 - 0
arch/sparc/kernel/kgdb_64.c

@@ -7,6 +7,7 @@
 #include <linux/kdebug.h>
 #include <linux/ftrace.h>
 
+#include <asm/cacheflush.h>
 #include <asm/kdebug.h>
 #include <asm/ptrace.h>
 #include <asm/irq.h>