aboutsummaryrefslogtreecommitdiff
path: root/include/aarch64/arch.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/aarch64/arch.h')
-rw-r--r--include/aarch64/arch.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/aarch64/arch.h b/include/aarch64/arch.h
index 3e67282..a41e82b 100644
--- a/include/aarch64/arch.h
+++ b/include/aarch64/arch.h
@@ -78,7 +78,7 @@
#define CNTCR_EN (1 << 0)
#define CNTCR_HDBG (1 << 1)
-#define CNTCR_FCREQ(x) (1 << (8 + (x)))
+#define CNTCR_FCREQ(x) ((x) << 8)
/*******************************************************************************
* System register bit definitions