brcm47xx: fix parts of the cache code that were not covered by the kmap_coherent...
[openwrt.git] / target / linux / adm5120-2.6 / patches / 008-adm5120_hardware_swab.patch
index a71dba2..6b0fe55 100644 (file)
@@ -9,7 +9,7 @@
 +static __inline__ __attribute_const__ __u16 ___adm5120__swab16(__u16 x)
 +{
 +      __asm__ (
 +static __inline__ __attribute_const__ __u16 ___adm5120__swab16(__u16 x)
 +{
 +      __asm__ (
-+      "       sw      %2, 0xC8(%1)                    \n"
++      "       sh      %2, 0xCA(%1)                    \n"
 +      "       lhu     %0, 0xCC(%1)                    \n"
 +      : "=r" (x)
 +      : "r" (0xB2000000), "r" (x));
 +      "       lhu     %0, 0xCC(%1)                    \n"
 +      : "=r" (x)
 +      : "r" (0xB2000000), "r" (x));
This page took 0.021339 seconds and 4 git commands to generate.