Skip to content
Commit 77253c50 authored by Stefan Herbrechtsmeier's avatar Stefan Herbrechtsmeier Committed by Tom Rini
Browse files

spl: fit: Allocate buffers aligned to cache line size



Allocate memory for buffers at a cache-line boundary to avoid
misaligned buffer address for subsequent reads. This avoids an
additional sector-based memory copy in the fat file system driver:

FAT: Misaligned buffer address (...)

Signed-off-by: default avatarStefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
parent c0facda1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment