ANDROID: arm64: restore start_backtrace() notrace and NOKPROBE_SYMBOL

While 5.15.27 LTS merge, the change of below patch might be omitted.
- 1921d1fd0e ("arm64: Mark start_backtrace() notrace and NOKPROBE_SYMBOL")

To correct the patch, we need to recover the NOKPROBE_SYMBOL macro along
with EXPORT_SYMBOL_GPL macro that was added by below patch.

- b7ca6bc390 ("ANDROID: arm64: stacktrace: export start_backtrace symbol")

Bug: 227151759
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
Change-Id: I2e4cf0654c6bd65a8ad606709642a27cdc5b2f72
(recover commit from 1921d1fd0e)
This commit is contained in:
Chanho Park
2022-03-28 20:11:01 +09:00
parent 3450010a05
commit deef3f1bd7

View File

@@ -55,6 +55,7 @@ notrace void start_backtrace(struct stackframe *frame, unsigned long fp,
frame->prev_fp = 0;
frame->prev_type = STACK_TYPE_UNKNOWN;
}
NOKPROBE_SYMBOL(start_backtrace);
EXPORT_SYMBOL_GPL(start_backtrace);
/*