summary refs log tree commit diff
path: root/mm/ioremap.c
diff options
context:
space:
mode:
authorJens Wiklander <jens.wiklander@linaro.org>2021-07-21 16:30:28 +0200
committerJens Wiklander <jens.wiklander@linaro.org>2021-10-18 11:44:23 +0200
commitc51a564a5b48355f30309b84cdffe3f96d1ae0d3 (patch)
tree2dd51d153a652e9d6a03558bfe968f580961c6d9 /mm/ioremap.c
parent4602c5842f649da2fbd2cea3560af750cfbd59e3 (diff)
downloadlinux-c51a564a5b48355f30309b84cdffe3f96d1ae0d3.tar.gz
optee: isolate smc abi
Isolate the ABI based on raw SMCs. Code specific to the raw SMC ABI is
moved into smc_abi.c. This makes room for other ABIs with a clear
separation.

The driver changes to use module_init()/module_exit() instead of
module_platform_driver(). The platform_driver_register() and
platform_driver_unregister() functions called directly to keep the same
behavior. This is needed because module_platform_driver() is based on
module_driver() which can only be used once in a module.

A function optee_rpc_cmd() is factored out from the function
handle_rpc_func_cmd() to handle the ABI independent part of RPC
processing.

This patch is not supposed to change the driver behavior, it's only a
matter of reorganizing the code.

Reviewed-by: Sumit Garg <sumit.garg@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Diffstat (limited to 'mm/ioremap.c')
0 files changed, 0 insertions, 0 deletions