]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
ARM: OMAP: Add write memory barriers to OMAP2 clock code
authorJuha Yrjola <juha.yrjola@solidboot.com>
Tue, 5 Sep 2006 17:59:30 +0000 (20:59 +0300)
committerJuha Yrjola <juha.yrjola@solidboot.com>
Tue, 5 Sep 2006 17:59:30 +0000 (20:59 +0300)
commit7e6a688822b1c82e925a3ed461aba34b7faa60d9
treed7deaf7ea48ac3131cbcce862e1fdc10870f5a85
parentb121da1e324862c6ac1d7a99e49fd434991a487c
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>
arch/arm/mach-omap2/clock.c