diff options
author | Abhilash Kesavan <a.kesavan@samsung.com> | 2011-03-25 11:45:19 +0300 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2011-04-14 08:19:49 +0400 |
commit | 96cfb97dd4474da6f3c30b2bfbe2286e5554fc97 (patch) | |
tree | c76878a34f0b40e3ea547e91fd6eba32da45d8a2 /arch/arm/plat-samsung/pm-check.c | |
parent | dc5b966214cdbc4000f1da03a231952a701ebe6f (diff) | |
download | linux-96cfb97dd4474da6f3c30b2bfbe2286e5554fc97.tar.xz |
ARM: SAMSUNG: Fix build failure in PM CRC check code
This patch fixes build error that occurs on enabling the Samsung
specific PM CRC check code. Missed removing this reference of
s3c_sleep_save_phys during move to generic cpu suspend/resume
support.
Signed-off-by: Abhilash Kesavan <a.kesavan@samsung.com>
Cc: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/plat-samsung/pm-check.c')
-rw-r--r-- | arch/arm/plat-samsung/pm-check.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/plat-samsung/pm-check.c b/arch/arm/plat-samsung/pm-check.c index e4baf76f374a..6b733fafe7cd 100644 --- a/arch/arm/plat-samsung/pm-check.c +++ b/arch/arm/plat-samsung/pm-check.c @@ -164,7 +164,6 @@ static inline int in_region(void *ptr, int size, void *what, size_t whatsz) */ static u32 *s3c_pm_runcheck(struct resource *res, u32 *val) { - void *save_at = phys_to_virt(s3c_sleep_save_phys); unsigned long addr; unsigned long left; void *stkpage; @@ -192,11 +191,6 @@ static u32 *s3c_pm_runcheck(struct resource *res, u32 *val) goto skip_check; } - if (in_region(ptr, left, save_at, 32*4 )) { - S3C_PMDBG("skipping %08lx, has save block in\n", addr); - goto skip_check; - } - /* calculate and check the checksum */ calc = crc32_le(~0, ptr, left); |