]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
fs: fat: Fix cache align error message in fatwrite
authorNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Tue, 8 Apr 2014 02:12:46 +0000 (11:12 +0900)
committerTom Rini <trini@ti.com>
Mon, 12 May 2014 19:19:45 +0000 (15:19 -0400)
commit8abd053cf07a1e4264d59c671e05a602fc7a31ad
treecba2570aa1881b8ef1471117fee1c8398117122a
parent8e2615752ee6d5daf8ce2e1e599a0512750f24b9
fs: fat: Fix cache align error message in fatwrite

Use of malloc of do_fat_write() causes cache error on ARM v7 platforms.
Perhaps, the same problem will occur at any other CPUs.
This replaces malloc with memalign to fix cache buffer alignment.

Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Signed-off-by: Yoshiyuki Ito <yoshiyuki.ito.ub@renesas.com>
Tested-by: Hector Palacios <hector.palacios@digi.com>
fs/fat/fat_write.c