summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorBrian Norris <computersforpeace@gmail.com>2014-12-13 04:06:22 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2015-01-21 15:58:57 +0000
commit35997a231021d603ddc73e1abfbe4f76d63f23b2 (patch)
tree79ab8095c4b581949d2b7389ac0a5a72e5f28cd6 /arch/arm
parent67c2b9cb30f561325b010e046b7bbe2a327e69a0 (diff)
downloadtalos-obmc-linux-35997a231021d603ddc73e1abfbe4f76d63f23b2.tar.gz
talos-obmc-linux-35997a231021d603ddc73e1abfbe4f76d63f23b2.zip
ARM: 8248/1: pm: remove outdated comment
As of commit abda1bd5f4e04054ce083c298fcd68a743e9df03 __cpu_suspend() takes only 2 arguments, and those arguments are passed by the platform code. This comment thus makes no sense, as cpu_suspend() is not actually hiding any arguments. Signed-off-by: Brian Norris <computersforpeace@gmail.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/kernel/suspend.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/kernel/suspend.c b/arch/arm/kernel/suspend.c
index 2835d35234ca..9a2f882a0a2d 100644
--- a/arch/arm/kernel/suspend.c
+++ b/arch/arm/kernel/suspend.c
@@ -14,10 +14,6 @@ extern int __cpu_suspend(unsigned long, int (*)(unsigned long), u32 cpuid);
extern void cpu_resume_mmu(void);
#ifdef CONFIG_MMU
-/*
- * Hide the first two arguments to __cpu_suspend - these are an implementation
- * detail which platform code shouldn't have to know about.
- */
int cpu_suspend(unsigned long arg, int (*fn)(unsigned long))
{
struct mm_struct *mm = current->active_mm;
OpenPOWER on IntegriCloud