diff options
author | Tobin C. Harding <me@tobin.cc> | 2018-01-29 04:33:49 +0100 |
---|---|---|
committer | Tobin C. Harding <me@tobin.cc> | 2018-04-07 00:50:34 +0200 |
commit | 5eb0da0568a241f72732eb2143538fb14879a52c (patch) | |
tree | 720254a6a378c39737ada94f27eec7c49cd7c6b7 /mm/swapfile.c | |
parent | leaking_addresses: use system command to get arch (diff) | |
download | linux-5eb0da0568a241f72732eb2143538fb14879a52c.tar.xz linux-5eb0da0568a241f72732eb2143538fb14879a52c.zip |
leaking_addresses: add is_arch() wrapper subroutine
Currently there is duplicate code when checking the architecture type.
We can remove the duplication by implementing a wrapper function
is_arch().
Implement and use wrapper function is_arch().
Signed-off-by: Tobin C. Harding <me@tobin.cc>
Diffstat (limited to 'mm/swapfile.c')
0 files changed, 0 insertions, 0 deletions