mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-06 11:54:14 -04:00
Revert "ANDROID: declare sp_in_global outside of CONFIG_FRAME_POINTER"
This reverts commit 3818981c333235449aa71c20848b175571a0c1cb. Breaks 64-bit riscv builds in kernelci Bug: 393656515 Change-Id: Ia980771e1895e2360a7e9ec6eca8ff495123bdd7 Signed-off-by: Todd Kjos <tkjos@google.com>
This commit is contained in:
parent
4c8fb32758
commit
c065d06153
1 changed files with 2 additions and 2 deletions
|
|
@ -12,8 +12,6 @@
|
|||
#include <linux/stacktrace.h>
|
||||
#include <linux/ftrace.h>
|
||||
|
||||
register unsigned long sp_in_global __asm__("sp");
|
||||
|
||||
#ifdef CONFIG_FRAME_POINTER
|
||||
|
||||
struct stackframe {
|
||||
|
|
@ -21,6 +19,8 @@ struct stackframe {
|
|||
unsigned long ra;
|
||||
};
|
||||
|
||||
register unsigned long sp_in_global __asm__("sp");
|
||||
|
||||
void notrace walk_stackframe(struct task_struct *task, struct pt_regs *regs,
|
||||
bool (*fn)(unsigned long, void *), void *arg)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue