]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[ARM] 4169/1: S3C2410: align to a cache line
authorMatt Reimer <mreimer@vpop.net>
Mon, 12 Feb 2007 20:00:32 +0000 (21:00 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 12 Feb 2007 20:58:06 +0000 (20:58 +0000)
Align the code to the start of the next cache line, rather than the start of the next 256-byte page.

(On i386 and ARM, the ".align" assembler directive takes its first argument as the number of low-order bits that must be zero, not the number of words comprising a cache line.)

Supercedes patch 4166.

Signed-off-by: Matt Reimer <mreimer@vpop.net>
Acked-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-s3c2410/sleep.S

index 9179a1024588359b32bb58158a5f6bc1caeaf9b5..637aaba653901a23f640edfdfa7c2569c0a41c93 100644 (file)
@@ -59,7 +59,7 @@ ENTRY(s3c2410_cpu_suspend)
        b       s3c2410_do_sleep        @
 
        @@ align next bit of code to cache line
-       .align  8
+       .align  5
 s3c2410_do_sleep:
        streq   r7, [ r4 ]                      @ SDRAM sleep command
        streq   r8, [ r5 ]                      @ SDRAM power-down config