diff options
author | Ran Xiaokai <[email protected]> | 2021-11-08 18:35:22 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2021-11-09 10:02:52 -0800 |
commit | ba1f70ddd1809c03660ddcfb757e1c1ced8b676d (patch) | |
tree | 93b3633ae001b74a97a45ba02c5ca37808bd0a78 /scripts/gdb/linux/utils.py | |
parent | 10a6de19cad6efb9b49883513afb810dc265fca2 (diff) |
kernel/fork.c: unshare(): use swap() to make code cleaner
Use swap() instead of reimplementing it.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Ran Xiaokai <[email protected]>
Cc: Gabriel Krisman Bertazi <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Eric W. Biederman <[email protected]>
Cc: Jens Axboe <[email protected]>
Cc: Alexey Gladkov <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions