blackfin: sync data in blackfin write buffer
[~shefty/rdma-dev.git] / arch / blackfin / include / asm / uaccess.h
index 461bb542e2e8e9c40d3f07118a62f91f62447815..57701c3b8a591b35b60d88807c1d1f479b018423 100644 (file)
@@ -191,6 +191,7 @@ copy_to_user(void __user *to, const void *from, unsigned long n)
                memcpy((void __force *)to, from, n);
        else
                return n;
                memcpy((void __force *)to, from, n);
        else
                return n;
+       SSYNC();
        return 0;
 }
 
        return 0;
 }