diff options
| author | H. Peter Anvin <[email protected]> | 2014-06-06 21:30:37 +0000 |
|---|---|---|
| committer | H. Peter Anvin <[email protected]> | 2014-06-06 21:54:54 +0000 |
| commit | bdfb9bcc25005d06a9c301830bdeb7ca5a0b6ef7 (patch) | |
| tree | 4598169d540d42653e4dbd320473cb3ea1f6592c /tools/perf/scripts/python/futex-contention.py | |
| parent | Merge branch 'x86/vdso' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/... (diff) | |
| download | kernel-bdfb9bcc25005d06a9c301830bdeb7ca5a0b6ef7.tar.gz kernel-bdfb9bcc25005d06a9c301830bdeb7ca5a0b6ef7.zip | |
x86, vdso: Use <tools/le_byteshift.h> for littleendian access
There are no standard functions for littleendian data (unlike
bigendian data.) Thus, use <tools/le_byteshift.h> to access
littleendian data members. Those are fairly inefficient, but it
doesn't matter for this purpose (and can be optimized later.) This
avoids portability problems.
Reported-by: Andrew Morton <[email protected]>
Signed-off-by: H. Peter Anvin <[email protected]>
Tested-by: Andy Lutomirski <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions
