summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Pitre <nicolas.pitre@linaro.org>2015-04-28 20:51:36 +0200
committerNicolas Pitre <nicolas.pitre@linaro.org>2015-05-06 17:46:15 +0200
commit1c2c7d51c8101ab3c5d8585713d2dcd52d77d33e (patch)
tree9d49feaa6fa12fa1bcf00213c55a7677fa9b393b
parentARM: MCPM: make internal helpers private to the core code (diff)
downloadlinux-1c2c7d51c8101ab3c5d8585713d2dcd52d77d33e.tar.xz
linux-1c2c7d51c8101ab3c5d8585713d2dcd52d77d33e.zip
ARM: MCPM: add references to the available documentation in the code
Signed-off-by: Nicolas Pitre <nico@linaro.org> Acked-by: Dave Martin <Dave.Martin@arm.com>
-rw-r--r--arch/arm/common/mcpm_entry.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/common/mcpm_entry.c b/arch/arm/common/mcpm_entry.c
index c5fe2e33e6c3..492467587c58 100644
--- a/arch/arm/common/mcpm_entry.c
+++ b/arch/arm/common/mcpm_entry.c
@@ -20,6 +20,11 @@
#include <asm/cputype.h>
#include <asm/suspend.h>
+/*
+ * The public API for this code is documented in arch/arm/include/asm/mcpm.h.
+ * For a comprehensive description of the main algorithm used here, please
+ * see Documentation/arm/cluster-pm-race-avoidance.txt.
+ */
struct sync_struct mcpm_sync;