diff options
author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2017-06-28 16:58:07 +0200 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2017-06-29 11:33:15 +0100 |
commit | f0cda7e6dc5893b4b4daa3440512fc1226bc983f (patch) | |
tree | bff7d36673771f1704435fc9abb96a75b0ec87f7 /kernel/signal.c | |
parent | c0d109de4c0ca365a2bd180e2e65501196fa8ef4 (diff) | |
download | linux-f0cda7e6dc5893b4b4daa3440512fc1226bc983f.tar.bz2 |
arm64: fix endianness annotation in acpi_parking_protocol.c
Here both variables 'cpu_id' and 'entry_point' are read via
read[lq]_relaxed(), from a little-endian annotated pointer
and then used as a native endian value.
This is correct since the read[lq]() family of function
internally do a little-to-native endian conversion.
But in this case, it is wrong to declare these variable as
little-endian since there are native ones.
Fix this by changing the declaration of these variables
as 'u32' or 'u64' instead of '__le32' / '__le64'.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'kernel/signal.c')
0 files changed, 0 insertions, 0 deletions