mirror of
https://github.com/torvalds/linux.git
synced 2026-06-06 21:45:45 +02:00
Revert "ANDROID: arm64: debug-monitors: export break hook APIs"
This reverts commit 210d9157b6.
Well, most of that commit, all except the register_kernel_break_hook
export, as that was actually being used. All of the other symbol
exports were not being used at all, so they did not need to be exported.
Bug: 169899018
Bug: 157965270
Cc: Jonglin Lee <jonglin@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Ib00df5822901ed81f4ec5147e63e37589eeee793
This commit is contained in:
parent
cc51dcbc60
commit
72b1f9fd16
|
|
@ -283,13 +283,11 @@ void register_user_break_hook(struct break_hook *hook)
|
||||||
{
|
{
|
||||||
register_debug_hook(&hook->node, &user_break_hook);
|
register_debug_hook(&hook->node, &user_break_hook);
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL_GPL(register_user_break_hook);
|
|
||||||
|
|
||||||
void unregister_user_break_hook(struct break_hook *hook)
|
void unregister_user_break_hook(struct break_hook *hook)
|
||||||
{
|
{
|
||||||
unregister_debug_hook(&hook->node);
|
unregister_debug_hook(&hook->node);
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL_GPL(unregister_user_break_hook);
|
|
||||||
|
|
||||||
void register_kernel_break_hook(struct break_hook *hook)
|
void register_kernel_break_hook(struct break_hook *hook)
|
||||||
{
|
{
|
||||||
|
|
@ -301,7 +299,6 @@ void unregister_kernel_break_hook(struct break_hook *hook)
|
||||||
{
|
{
|
||||||
unregister_debug_hook(&hook->node);
|
unregister_debug_hook(&hook->node);
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL_GPL(unregister_kernel_break_hook);
|
|
||||||
|
|
||||||
static int call_break_hook(struct pt_regs *regs, unsigned int esr)
|
static int call_break_hook(struct pt_regs *regs, unsigned int esr)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user