diff options
| author | Christoph Hellwig <[email protected]> | 2008-10-15 22:02:05 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2008-10-16 11:21:33 -0700 |
| commit | f7a5000f7a8924e9c5fad1801616601d6dc65a17 (patch) | |
| tree | 82bd7f554378b26fe23707a3755359787b252574 /tools/perf/scripts/python | |
| parent | f7ad160b49c49dc9cd383b9184c6fa4a9b4f7ebb (diff) | |
compat: move cp_compat_stat to common code
struct stat / compat_stat is the same on all architectures, so
cp_compat_stat should be, too.
Turns out it is, except that various architectures have slightly and some
high2lowuid/high2lowgid or the direct assignment instead of the
SET_UID/SET_GID that expands to the correct one anyway.
This patch replaces the arch-specific cp_compat_stat implementations with
a common one based on the x86-64 one.
Signed-off-by: Christoph Hellwig <[email protected]>
Acked-by: David S. Miller <[email protected]> [ sparc bits ]
Acked-by: Kyle McMartin <[email protected]> [ parisc bits ]
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions