aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-blackfin
diff options
context:
space:
mode:
authorMike Frysinger <michael.frysinger@analog.com>2007-07-24 23:57:42 -0400
committerBryan Wu <bryan.wu@analog.com>2007-07-24 23:57:42 -0400
commitd5148ffa600e6a655b458bedc593020e0574f967 (patch)
treee53d7e8c7e18eef3d4fe3077b3f68005d16f9bf0 /include/asm-blackfin
parent60e9356d770ca3622fe5e84680b78fc376e53fbf (diff)
Blackfin arch: use the [CS]SYNC() macros which include anomaly workarounds rather than __builtin_bfin_[cs]sync()
Signed-off-by: Mike Frysinger <michael.frysinger@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Diffstat (limited to 'include/asm-blackfin')
-rw-r--r--include/asm-blackfin/mach-bf533/cdefBF532.h2
-rw-r--r--include/asm-blackfin/mach-bf537/cdefBF534.h2
-rw-r--r--include/asm-blackfin/mach-bf548/cdefBF54x_base.h2
-rw-r--r--include/asm-blackfin/mach-bf561/cdefBF561.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/include/asm-blackfin/mach-bf533/cdefBF532.h b/include/asm-blackfin/mach-bf533/cdefBF532.h
index 74f967b235e2..67a6dc49c521 100644
--- a/include/asm-blackfin/mach-bf533/cdefBF532.h
+++ b/include/asm-blackfin/mach-bf533/cdefBF532.h
@@ -65,7 +65,7 @@ static __inline__ void bfin_write_VR_CTL(unsigned int val)
65 bfin_write32(SIC_IWR, IWR_ENABLE(0)); 65 bfin_write32(SIC_IWR, IWR_ENABLE(0));
66 66
67 bfin_write16(VR_CTL, val); 67 bfin_write16(VR_CTL, val);
68 __builtin_bfin_ssync(); 68 SSYNC();
69 69
70 local_irq_save(flags); 70 local_irq_save(flags);
71 asm("IDLE;"); 71 asm("IDLE;");
diff --git a/include/asm-blackfin/mach-bf537/cdefBF534.h b/include/asm-blackfin/mach-bf537/cdefBF534.h
index 84e58fa73dce..5dab41fb9c75 100644
--- a/include/asm-blackfin/mach-bf537/cdefBF534.h
+++ b/include/asm-blackfin/mach-bf537/cdefBF534.h
@@ -57,7 +57,7 @@ static __inline__ void bfin_write_VR_CTL(unsigned int val)
57 bfin_write32(SIC_IWR, IWR_ENABLE(0)); 57 bfin_write32(SIC_IWR, IWR_ENABLE(0));
58 58
59 bfin_write16(VR_CTL, val); 59 bfin_write16(VR_CTL, val);
60 __builtin_bfin_ssync(); 60 SSYNC();
61 61
62 local_irq_save(flags); 62 local_irq_save(flags);
63 asm("IDLE;"); 63 asm("IDLE;");
diff --git a/include/asm-blackfin/mach-bf548/cdefBF54x_base.h b/include/asm-blackfin/mach-bf548/cdefBF54x_base.h
index cdf29e75ea59..10475bbfc7dd 100644
--- a/include/asm-blackfin/mach-bf548/cdefBF54x_base.h
+++ b/include/asm-blackfin/mach-bf548/cdefBF54x_base.h
@@ -60,7 +60,7 @@ static __inline__ void bfin_write_VR_CTL(unsigned int val)
60 bfin_write32(SIC_IWR2, 0); 60 bfin_write32(SIC_IWR2, 0);
61 61
62 bfin_write16(VR_CTL, val); 62 bfin_write16(VR_CTL, val);
63 __builtin_bfin_ssync(); 63 SSYNC();
64 64
65 local_irq_save(flags); 65 local_irq_save(flags);
66 asm("IDLE;"); 66 asm("IDLE;");
diff --git a/include/asm-blackfin/mach-bf561/cdefBF561.h b/include/asm-blackfin/mach-bf561/cdefBF561.h
index 73d4d65249cd..2efcd2c663ab 100644
--- a/include/asm-blackfin/mach-bf561/cdefBF561.h
+++ b/include/asm-blackfin/mach-bf561/cdefBF561.h
@@ -67,7 +67,7 @@ static __inline__ void bfin_write_VR_CTL(unsigned int val)
67 bfin_write32(SICA_IWR1, 0); 67 bfin_write32(SICA_IWR1, 0);
68 68
69 bfin_write16(VR_CTL, val); 69 bfin_write16(VR_CTL, val);
70 __builtin_bfin_ssync(); 70 SSYNC();
71 71
72 local_irq_save(flags); 72 local_irq_save(flags);
73 asm("IDLE;"); 73 asm("IDLE;");