diff options
author | Christophe Leroy <christophe.leroy@csgroup.eu> | 2021-11-29 18:49:37 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-12-09 22:41:20 +1100 |
commit | 3261d99adba269a024d0e55737beeedec5eba00e (patch) | |
tree | 6d6d0a96b58b2f1a4312f95b0357dc5764078626 /arch/powerpc/kernel/setup_32.c | |
parent | 37eb7ca91b692e8e49e7dd50158349a6c8fb5b09 (diff) | |
download | lwn-3261d99adba269a024d0e55737beeedec5eba00e.tar.gz lwn-3261d99adba269a024d0e55737beeedec5eba00e.zip |
powerpc/inst: Refactor ___get_user_instr()
PPC64 version of ___get_user_instr() can be used for PPC32 as well,
by simply disabling the suffix part with IS_ENABLED(CONFIG_PPC64).
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/1f0ede830ccb33a659119a55cb590820c27004db.1638208156.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'arch/powerpc/kernel/setup_32.c')
0 files changed, 0 insertions, 0 deletions