aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorGavin Shan <[email protected]>2020-03-02 13:03:40 +1100
committerCatalin Marinas <[email protected]>2020-03-17 18:31:10 +0000
commitd22b115cbfbb7e4a938f9eb6ea77da9ecac3df5a (patch)
tree2e4ca8ff5ad224435ba01a6ad8490ce93269db58 /lib/test_overflow.c
parent24b2cce91f47d19fcc5a2c4c60dbabbd0e30adf1 (diff)
arm64/kernel: Simplify __cpu_up() by bailing out early
The function __cpu_up() is invoked to bring up the target CPU through the backend, PSCI for example. The nested if statements won't be needed if we bail out early on the following two conditions where the status won't be checked. The code looks simplified in that case. * Error returned from the backend (e.g. PSCI) * The target CPU has been marked as onlined Signed-off-by: Gavin Shan <[email protected]> Signed-off-by: Catalin Marinas <[email protected]> Reviewed-by: Mark Rutland <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions