[PATCH v3 5/9] powerpc: Use preempt_model_str().

Sebastian Andrzej Siewior bigeasy at linutronix.de
Mon Feb 10 21:59:49 AEDT 2025


On 2025-02-08 13:05:57 [+0530], Shrikanth Hegde wrote:
> 
> 
> On 2/4/25 13:52, Sebastian Andrzej Siewior wrote:
> > Use preempt_model_str() instead of manually conducting the preemption
> > model. Use pr_emerg() instead of printk() to pass a loglevel.
> 
> even on powerpc, i see __die ends up calling show_regs_print_info().
> Why print it twice?

Thank you for noticing. I did remove it on other architectures, I
somehow missed it here. Will remove it from from the arch code.

Sebastian


More information about the Linuxppc-dev mailing list