summaryrefslogtreecommitdiff
path: root/target/linux/octeon/patches/001-handle_removal_h_constraint.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/octeon/patches/001-handle_removal_h_constraint.patch')
-rw-r--r--target/linux/octeon/patches/001-handle_removal_h_constraint.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/octeon/patches/001-handle_removal_h_constraint.patch b/target/linux/octeon/patches/001-handle_removal_h_constraint.patch
index b0ec076..ea19508 100644
--- a/target/linux/octeon/patches/001-handle_removal_h_constraint.patch
+++ b/target/linux/octeon/patches/001-handle_removal_h_constraint.patch
@@ -11,8 +11,8 @@ Signed-off-by: David Daney <ddaney@caviumnetworks.com>
--- a/arch/mips/include/asm/compiler.h
+++ b/arch/mips/include/asm/compiler.h
-@@ -26,4 +26,11 @@ typedef u64 uintx_t;
- #endif
+@@ -16,4 +16,11 @@
+ #define GCC_REG_ACCUM "accum"
#endif
+#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)