]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commiteaca33df44c0d00bc12b16e72b728ade25adf14d
treee825e325d2b398cd14bccb1ed77a3007c63bd888
parentdbab288be47ddc84ad52ff926ea1a0efd33acb57
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