Skip to content

Commit

Permalink
[ARM] 4169/1: S3C2410: align to a cache line
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Matt Reimer authored and Russell King committed Feb 12, 2007
1 parent 6fb9c4f commit 4b210fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-s3c2410/sleep.S
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4b210fa

Please sign in to comment.