hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/arch/sh/include/asm/processor_32.h
....@@ -8,19 +8,12 @@
88
99 #ifndef __ASM_SH_PROCESSOR_32_H
1010 #define __ASM_SH_PROCESSOR_32_H
11
-#ifdef __KERNEL__
1211
1312 #include <linux/compiler.h>
1413 #include <linux/linkage.h>
1514 #include <asm/page.h>
1615 #include <asm/types.h>
1716 #include <asm/hw_breakpoint.h>
18
-
19
-/*
20
- * Default implementation of macro that returns current
21
- * instruction pointer ("program counter").
22
- */
23
-#define current_text_addr() ({ void *pc; __asm__("mova 1f, %0\n.align 2\n1:":"=z" (pc)); pc; })
2417
2518 /* Core Processor Version Register */
2619 #define CCN_PVR 0xff000030
....@@ -177,7 +170,7 @@
177170 #define thread_saved_pc(tsk) (tsk->thread.pc)
178171
179172 void show_trace(struct task_struct *tsk, unsigned long *sp,
180
- struct pt_regs *regs);
173
+ struct pt_regs *regs, const char *loglvl);
181174
182175 #ifdef CONFIG_DUMP_CODE
183176 void show_code(struct pt_regs *regs);
....@@ -209,5 +202,4 @@
209202 }
210203 #endif
211204
212
-#endif /* __KERNEL__ */
213205 #endif /* __ASM_SH_PROCESSOR_32_H */