mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
Blackfin arch: use the [CS]SYNC() macros which include anomaly workarounds rather than __builtin_bfin_[cs]sync()
Signed-off-by: Mike Frysinger <[email protected]> Signed-off-by: Bryan Wu <[email protected]>
This commit is contained in:
parent
60e9356d77
commit
d5148ffa60
6 changed files with 15 additions and 15 deletions
|
|
@ -65,7 +65,7 @@ static __inline__ void bfin_write_VR_CTL(unsigned int val)
|
|||
bfin_write32(SIC_IWR, IWR_ENABLE(0));
|
||||
|
||||
bfin_write16(VR_CTL, val);
|
||||
__builtin_bfin_ssync();
|
||||
SSYNC();
|
||||
|
||||
local_irq_save(flags);
|
||||
asm("IDLE;");
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ static __inline__ void bfin_write_VR_CTL(unsigned int val)
|
|||
bfin_write32(SIC_IWR, IWR_ENABLE(0));
|
||||
|
||||
bfin_write16(VR_CTL, val);
|
||||
__builtin_bfin_ssync();
|
||||
SSYNC();
|
||||
|
||||
local_irq_save(flags);
|
||||
asm("IDLE;");
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ static __inline__ void bfin_write_VR_CTL(unsigned int val)
|
|||
bfin_write32(SIC_IWR2, 0);
|
||||
|
||||
bfin_write16(VR_CTL, val);
|
||||
__builtin_bfin_ssync();
|
||||
SSYNC();
|
||||
|
||||
local_irq_save(flags);
|
||||
asm("IDLE;");
|
||||
|
|
|
|||
|
|
@ -67,7 +67,7 @@ static __inline__ void bfin_write_VR_CTL(unsigned int val)
|
|||
bfin_write32(SICA_IWR1, 0);
|
||||
|
||||
bfin_write16(VR_CTL, val);
|
||||
__builtin_bfin_ssync();
|
||||
SSYNC();
|
||||
|
||||
local_irq_save(flags);
|
||||
asm("IDLE;");
|
||||
|
|
|
|||
Loading…
Reference in a new issue