diff options
author | Stefan Roese | 2016-11-22 16:14:23 +0100 |
---|---|---|
committer | Joe Hershberger | 2016-12-08 10:36:22 -0600 |
commit | c7ac15388ec92e7c46924dee067c7253603dd01c (patch) | |
tree | 2d6f3b0a85fb16b389d677b8c92ccc0fd3aa3533 /include/bootcount.h | |
parent | bead08800a2f054a90849e0c244022013fbe0196 (diff) |
net: usb: r8152: Use ALLOC_CACHE_ALIGN_BUFFER() to allocate the buffers
Testing on theadorable (Armada XP) has shown, that using this driver
results in many cache misaligned warning, such as:
CACHE: Misaligned operation at range [7fabd8fc, 7fabd900]
This patch now uses the ALLOC_CACHE_ALIGN_BUFFER() macro to allocate the
buffers on a cache aligned boundary. This fixes all warnings seen on the
Armada XP platform.
Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Ted Chen <tedchen@realtek.com>
Cc: Joe Hershberger <joe.hershberger@ni.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'include/bootcount.h')
0 files changed, 0 insertions, 0 deletions