]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: OMAP: Add write memory barriers to OMAP2 clock code
authorJuha Yrjola <juha.yrjola@solidboot.com>
Mon, 25 Sep 2006 09:41:37 +0000 (12:41 +0300)
committerTony Lindgren <tony@atomide.com>
Mon, 25 Sep 2006 09:41:37 +0000 (12:41 +0300)
commitb12fb1b2b6f2fb9473f56af26c2ad330930cce20
treee825e325d2b398cd14bccb1ed77a3007c63bd888
parentdf9c4645090401ce5fcea38265ca1aa555e4cca7
ARM: OMAP: Add write memory barriers to OMAP2 clock code

After adjusting clock parameters, OMAP2 CPUs need a memory
barrier to make sure the changes go into effect immediately.
Otherwise bad things will happen if we try to access the
peripheral whose clock is just being enabled.

Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/clock.c