From: Russell King <rmk+kernel@arm.linux.org.uk>
Date: Thu, 23 Jun 2011 21:00:20 +0000 (+0100)
Subject: ARM: pm: proc-v7: fix missing struct processor pointers for suspend code
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7a0ee92b4a510bc2dd026333f90031e883e0cde0;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git

ARM: pm: proc-v7: fix missing struct processor pointers for suspend code

Add the missing suspend/resume pointers for the suspend code.  This
is needed when building for multiple CPUs.

Tested-by: Kevin Hilman <khilman@ti.com>
Acked-by: Jean Pihet <j-pihet@ti.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
---

diff --git a/arch/arm/mm/proc-v7.S b/arch/arm/mm/proc-v7.S
index 3c3867850a30..e27c011a759c 100644
--- a/arch/arm/mm/proc-v7.S
+++ b/arch/arm/mm/proc-v7.S
@@ -418,9 +418,9 @@ ENTRY(v7_processor_functions)
 	.word	cpu_v7_dcache_clean_area
 	.word	cpu_v7_switch_mm
 	.word	cpu_v7_set_pte_ext
-	.word	0
-	.word	0
-	.word	0
+	.word	cpu_v7_suspend_size
+	.word	cpu_v7_do_suspend
+	.word	cpu_v7_do_resume
 	.size	v7_processor_functions, . - v7_processor_functions
 
 	.section ".rodata"