diff options
| author | Guenter Roeck <[email protected]> | 2015-08-01 06:59:29 -0700 |
|---|---|---|
| committer | Samuel Ortiz <[email protected]> | 2017-04-01 23:52:25 +0200 |
| commit | 2eee74b7e2a496dea49847c36fd09320505f45b7 (patch) | |
| tree | 9f88ab8a8e57399e7153c32772939ce63808cd43 /tools/perf/scripts/python/bin | |
| parent | d916d923724d59cde99ee588f15eec59dd863bbd (diff) | |
NFC: nxp-nci: Include unaligned.h instead of access_ok.h
Directly including access_ok.h can result in the following compile errors
if an architecture such as ia64 does not support direct unaligned accesses.
include/linux/unaligned/access_ok.h:7:19: error:
redefinition of 'get_unaligned_le16'
include/linux/unaligned/le_struct.h:6:19: note:
previous definition of 'get_unaligned_le16' was here
include/linux/unaligned/access_ok.h:12:19: error:
redefinition of 'get_unaligned_le32'
include/linux/unaligned/le_struct.h:11:19: note:
previous definition of 'get_unaligned_le32' was here
Include asm/unaligned.h instead and let the architecture decide which
access functions to use.
Cc: Clément Perrochaud <[email protected]>
Cc: Samuel Ortiz <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
Signed-off-by: Samuel Ortiz <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions