summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2014-04-16 00:09:04 (GMT)
committerRalf Baechle <ralf@linux-mips.org>2014-05-21 09:12:53 (GMT)
commit5160d45dd2f6e72e40f79e3dc77daa7a8337685b (patch)
tree9a39ed6489543e66406daa2ec45f0fd4208a407d
parente7e9cae5db78030abc73fd3daa93f7cc005177db (diff)
downloadlinux-5160d45dd2f6e72e40f79e3dc77daa7a8337685b.tar.xz
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>
-rw-r--r--arch/mips/include/asm/branch.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/include/asm/branch.h b/arch/mips/include/asm/branch.h
index c842e7d..d109e34 100644
--- a/arch/mips/include/asm/branch.h
+++ b/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>