Skip to content

Commit

Permalink
ARM: 8248/1: pm: remove outdated comment
Browse files Browse the repository at this point in the history
As of commit abda1bd __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>
  • Loading branch information
Brian Norris authored and Russell King committed Jan 21, 2015
1 parent 67c2b9c commit 35997a2
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions arch/arm/kernel/suspend.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 35997a2

Please sign in to comment.