diff options
| author | Eric Biggers <[email protected]> | 2020-03-08 03:27:01 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2020-03-14 10:55:08 +0000 |
| commit | fba616a49fe8929f4b4066f4384039db274cb73e (patch) | |
| tree | a94d214f728ba0993696b30d1982399a2a11334b /tools/perf/scripts/python/sctop.py | |
| parent | PM: hibernate: fix docs for ioctls that return loff_t via pointer (diff) | |
| download | kernel-fba616a49fe8929f4b4066f4384039db274cb73e.tar.gz kernel-fba616a49fe8929f4b4066f4384039db274cb73e.zip | |
PM / hibernate: Remove unnecessary compat ioctl overrides
Since the SNAPSHOT_GET_IMAGE_SIZE, SNAPSHOT_AVAIL_SWAP_SIZE, and
SNAPSHOT_ALLOC_SWAP_PAGE ioctls produce an loff_t result, and loff_t is
always 64-bit even in the compat case, there's no reason to have the
special compat handling for these ioctls. Just remove this unneeded
code so that these ioctls call into snapshot_ioctl() directly, doing
just the compat_ptr() conversion on the argument.
(This unnecessary code was also causing a KMSAN false positive.)
Signed-off-by: Eric Biggers <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions
