[ARM] 3802/1: S3C24XX: PM tidy up cache flushing
authorBen Dooks <ben-linux@fluff.org>
Fri, 15 Sep 2006 23:04:23 +0000 (00:04 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 25 Sep 2006 09:25:21 +0000 (10:25 +0100)
commit58095d7f39edc919cd3c63c6109ad282e7085da1
treed0e7f7ef1a5a4b68dafbbc8e83eb57abd581bb83
parent1e582fc73781da47eddd90c75bf97f191e4f450f
[ARM] 3802/1: S3C24XX: PM tidy up cache flushing

Change to using flush_cache_all() in pm.c and
also remove the need to flush the cache in the
PM code.

This changes the sleep.S code to have an entry
to store the registers for resume, and then a
second entry (after the caches are cleaned)
to do the suspend and resume.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-s3c2410/pm.c
arch/arm/mach-s3c2410/pm.h
arch/arm/mach-s3c2410/sleep.S