summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Shi <alex.shi@linaro.org>2016-11-10 22:03:13 +0800
committerAlex Shi <alex.shi@linaro.org>2016-11-10 22:03:13 +0800
commitecad39540a66997b642907e2f939a9f662471a9f (patch)
tree67b8e86369fde5f9d77dd135b2f39203b639bead
parent1714a3e139090705a0bd862a8b7bba930181cfbd (diff)
arm64:cpufeature ARM64_NCAPS is the indicator of last feature
commit d2d693d1ba7d set the NCAPS before ARM64_WORKAROUND_CAVIUM_27456 that would lead to this feature out of tracking. This commit fixs this problem Signed-off-by: Alex Shi <alex.shi@linaro.org>
-rw-r--r--arch/arm64/include/asm/cpufeature.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm64/include/asm/cpufeature.h b/arch/arm64/include/asm/cpufeature.h
index 876fe0622204..672783a7fa3b 100644
--- a/arch/arm64/include/asm/cpufeature.h
+++ b/arch/arm64/include/asm/cpufeature.h
@@ -34,8 +34,8 @@
#define ARM64_HAS_UAO 9
#define ARM64_ALT_PAN_NOT_UAO 10
-#define ARM64_NCAPS 11
-#define ARM64_WORKAROUND_CAVIUM_27456 12
+#define ARM64_WORKAROUND_CAVIUM_27456 11
+#define ARM64_NCAPS 12
#ifndef __ASSEMBLY__