diff options
author | Artur Paszkiewicz <[email protected]> | 2017-04-19 10:48:06 +0200 |
---|---|---|
committer | Shaohua Li <[email protected]> | 2017-04-20 09:41:45 -0700 |
commit | fc6d2a3ca59d5656d5b0ac3b25ecf493e4614abd (patch) | |
tree | bbddb54fc1a0f813da7c2962981ee233819a4951 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 835d89e92fa77b6a1effea3db80202e1ffec413a (diff) |
uapi: fix linux/raid/md_p.h userspace compilation error
Use __le32 and __le64 instead of u32 and u64.
This fixes klibc build error:
In file included from /klibc/usr/klibc/../include/sys/md.h:30:0,
from /klibc/usr/kinit/do_mounts_md.c:19:
/linux-next/usr/include/linux/raid/md_p.h:414:51: error: 'u32' undeclared here (not in a function)
(PPL_HEADER_SIZE - PPL_HDR_RESERVED - 4 * sizeof(u32) - sizeof(u64))
Reported-by: Greg Thelen <[email protected]>
Reported-by: Nigel Croxon <[email protected]>
Tested-by: Greg Thelen <[email protected]>
Signed-off-by: Artur Paszkiewicz <[email protected]>
Signed-off-by: Shaohua Li <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions