Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c065d061 authored by Todd Kjos's avatar Todd Kjos
Browse files

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: default avatarTodd Kjos <tkjos@google.com>
parent 4c8fb327
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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)
{