processor.h (4f2c0a4acffbec01079c28f839422e64ddeff004) processor.h (8d4a142904f07765b7c7c46abf71f811a0811987)
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2/*
3 * OpenRISC Linux
4 *
5 * Linux architectural port borrowing liberally from similar works of
6 * others. All original copyrights apply as per the original source
7 * declaration.
8 *

--- 59 unchanged lines hidden (view full) ---

68
69
70#define KSTK_EIP(tsk) (task_pt_regs(tsk)->pc)
71#define KSTK_ESP(tsk) (task_pt_regs(tsk)->sp)
72
73
74void start_thread(struct pt_regs *regs, unsigned long nip, unsigned long sp);
75unsigned long __get_wchan(struct task_struct *p);
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2/*
3 * OpenRISC Linux
4 *
5 * Linux architectural port borrowing liberally from similar works of
6 * others. All original copyrights apply as per the original source
7 * declaration.
8 *

--- 59 unchanged lines hidden (view full) ---

68
69
70#define KSTK_EIP(tsk) (task_pt_regs(tsk)->pc)
71#define KSTK_ESP(tsk) (task_pt_regs(tsk)->sp)
72
73
74void start_thread(struct pt_regs *regs, unsigned long nip, unsigned long sp);
75unsigned long __get_wchan(struct task_struct *p);
76void show_registers(struct pt_regs *regs);
76
77#define cpu_relax() barrier()
78
79#endif /* __ASSEMBLY__ */
80#endif /* __ASM_OPENRISC_PROCESSOR_H */
77
78#define cpu_relax() barrier()
79
80#endif /* __ASSEMBLY__ */
81#endif /* __ASM_OPENRISC_PROCESSOR_H */