File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -172,22 +172,14 @@ static void dump_kernel_instr(const char *lvl, struct pt_regs *regs)
172
172
printk ("%sCode: %s\n" , lvl , str );
173
173
}
174
174
175
- #ifdef CONFIG_PREEMPT
176
- #define S_PREEMPT " PREEMPT"
177
- #elif defined(CONFIG_PREEMPT_RT )
178
- #define S_PREEMPT " PREEMPT_RT"
179
- #else
180
- #define S_PREEMPT ""
181
- #endif
182
-
183
175
#define S_SMP " SMP"
184
176
185
177
static int __die (const char * str , long err , struct pt_regs * regs )
186
178
{
187
179
static int die_counter ;
188
180
int ret ;
189
181
190
- pr_emerg ("Internal error: %s: %016lx [#%d]" S_PREEMPT S_SMP "\n" ,
182
+ pr_emerg ("Internal error: %s: %016lx [#%d] " S_SMP "\n" ,
191
183
str , err , ++ die_counter );
192
184
193
185
/* trap and error numbers are mostly meaningless on ARM */
You can’t perform that action at this time.
0 commit comments