]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/rtas: move syscall filter setup into separate function
authorNathan Lynch <nathanl@linux.ibm.com>
Thu, 8 Apr 2021 14:06:29 +0000 (09:06 -0500)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 14 Apr 2021 13:04:16 +0000 (23:04 +1000)
commit02b28d0ff5ebf2d90e8672b1d227f32d91d98112
treed34421b23ef54df9bb614f8030d1d8e0c5ede569
parent2e85c2c99554944a7df162fdd20bd6715d089dde
powerpc/rtas: move syscall filter setup into separate function

Reduce conditionally compiled sections within rtas_initialize() by
moving the filter table initialization into its own function already
guarded by CONFIG_PPC_RTAS_FILTER. No behavior change intended.

Signed-off-by: Nathan Lynch <nathanl@linux.ibm.com>
Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Acked-by: Andrew Donnellan <ajd@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210408140630.205502-5-nathanl@linux.ibm.com
arch/powerpc/kernel/rtas.c