Something went wrong. Try again.
Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Something went wrong. Try again.
1234567891011121314151617181920/* SPDX-License-Identifier: GPL-2.0 *//* * Stack trace functions. * * Copyright 2018, Murilo Opsfelder Araujo, IBM Corporation. */
#ifndef _ASM_POWERPC_STACKTRACE_H#define _ASM_POWERPC_STACKTRACE_H
void show_user_instructions(struct pt_regs *regs);
static __always_inline bool on_thread_stack(void){ return !(((unsigned long)(current->stack) ^ current_stack_pointer) & ~(THREAD_SIZE - 1));}
#endif /* _ASM_POWERPC_STACKTRACE_H */