aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/intel/pmt/class.c
diff options
context:
space:
mode:
authorAda Couprie Diaz <[email protected]>2025-07-07 11:41:09 +0000
committerWill Deacon <[email protected]>2025-07-08 12:27:42 +0000
commita8b8cce9d96d65dfe3d89abf02033151f8b7d670 (patch)
tree9fedbcfcffdd668040aec442ba2b89344e267641 /drivers/platform/x86/intel/pmt/class.c
parentarm64: debug: split bkpt32 exception entry (diff)
downloadkernel-a8b8cce9d96d65dfe3d89abf02033151f8b7d670.tar.gz
kernel-a8b8cce9d96d65dfe3d89abf02033151f8b7d670.zip
arm64: debug: remove debug exception registration infrastructure
Now that debug exceptions are handled individually and without the need for dynamic registration, remove the unused registration infrastructure. This removes the external caller for `debug_exception_enter()` and `debug_exception_exit()`. Make them static again and remove them from the header. Remove `early_brk64()` as it has been made redundant by (arm64: debug: split brk64 exception entry) and is not used anymore. Note : in `early_brk64()` `bug_brk_handler()` is called unconditionally as a fall-through, but now `call_break_hook()` only calls it if the immediate matches. This does not change the behaviour in early boot, as if `bug_brk_handler()` was called on a non-BUG immediate it would return DBG_HOOK_ERROR anyway, which `call_break_hook()` will do if no immediate matches. Remove `trap_init()`, as it would be empty and a weak definition already exists in `init/main.c`. Signed-off-by: Ada Couprie Diaz <[email protected]> Tested-by: Luis Claudio R. Goncalves <[email protected]> Reviewed-by: Will Deacon <[email protected]> Acked-by: Mark Rutland <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions