浏览代码

MIPS: branch: Make inclusion of <asm/branch.h> safe.

It was relying on other headers having been included before.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle 11 年之前
父节点
当前提交
5160d45dd2
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      arch/mips/include/asm/branch.h

+ 2 - 0
arch/mips/include/asm/branch.h

@@ -8,6 +8,8 @@
 #ifndef _ASM_BRANCH_H
 #define _ASM_BRANCH_H
 
+#include <asm/cpu-features.h>
+#include <asm/mipsregs.h>
 #include <asm/ptrace.h>
 #include <asm/inst.h>