diff options
author | Mark Rutland <[email protected]> | 2022-11-17 12:09:01 +0000 |
---|---|---|
committer | Will Deacon <[email protected]> | 2022-11-18 14:36:47 +0000 |
commit | c8c384d7b397991584de4ed074541a54809cdd52 (patch) | |
tree | 8b1dbba0fe30def2463cd31e7da2e42e203ba96a /lib/mpi/mpi-sub-ui.c | |
parent | f0c4d9fc9cc9462659728d168387191387e903cc (diff) |
arm64: remove current_top_of_stack()
We no longer use current_top_of_stack() on arm64, so it can be removed.
We introduced current_top_of_stack() for STACKLEAK in commit:
0b3e336601b82c6a ("arm64: Add support for STACKLEAK gcc plugin")
... then we figured out the intended semantics were unclear, and
reworked it in commit:
e85094c31ddb794a ("arm64: stackleak: fix current_top_of_stack()")
... then we removed the only user in commit:
0cfa2ccd285d98ad ("stackleak: rework stack high bound handling")
Given that it's no longer used, and it's very easy to misuse, this patch
removes current_top_of_stack(). For the moment, on_thread_stack() is
left where it is as moving it will change some header dependencies.
There should be no functional change as a result of this patch.
Signed-off-by: Mark Rutland <[email protected]>
Cc: Catalin Marinas <[email protected]>
Cc: Kees Cook <[email protected]>
Cc: Will Deacon <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Reviewed-by: Mark Brown <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions