arm64: sdei: Mark sdei stack helper functions as static
authorWill Deacon <will.deacon@arm.com>
Tue, 31 Jul 2018 11:02:18 +0000 (12:02 +0100)
committerWill Deacon <will.deacon@arm.com>
Tue, 31 Jul 2018 11:08:22 +0000 (12:08 +0100)
commiteab1cecc1223378fee700ab6acebf0f39fa6da81
tree0bb9895b26b2429db45b7fc6b0f647c926f20416
parente401b7c2c69008ad2fcdc154f7c5421281c90042
arm64: sdei: Mark sdei stack helper functions as static

The SDEI stack helper functions are only used by _on_sdei_stack() and
refer to symbols (e.g. sdei_stack_normal_ptr) that are only defined if
CONFIG_VMAP_STACK=y.

Mark these functions as static, so we don't run into errors at link-time
due to references to undefined symbols. Stick all the parameters onto
the same line whilst we're passing through.

Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/kernel/sdei.c