summaryrefslogtreecommitdiffstats
path: root/arch/arm/common
diff options
context:
space:
mode:
authorNicolas Pitre <nicolas.pitre@linaro.org>2015-04-28 14:51:36 -0400
committerNicolas Pitre <nicolas.pitre@linaro.org>2015-05-06 11:46:15 -0400
commit1c2c7d51c8101ab3c5d8585713d2dcd52d77d33e (patch)
tree9d49feaa6fa12fa1bcf00213c55a7677fa9b393b /arch/arm/common
parent7cc8b991cdc985aaa73bf9c429c810cd442fb74d (diff)
downloadlinux-1c2c7d51c8101ab3c5d8585713d2dcd52d77d33e.tar.gz
linux-1c2c7d51c8101ab3c5d8585713d2dcd52d77d33e.tar.bz2
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>
Diffstat (limited to 'arch/arm/common')
-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;