Re: [PATCH] powerpc/irq: don't use current_stack_pointer() in do_IRQ()

2019-12-12 Thread Christophe Leroy
Le 12/12/2019 à 13:51, Christoph Hellwig a écrit : Why can't current_stack_pointer be turned into an inline function using inline assembly? That would reduce the overhead for all callers. In the old days, it was a macro, and it was changed into an assembly function by commit https://git.

Re: [PATCH] powerpc/irq: don't use current_stack_pointer() in do_IRQ()

2019-12-12 Thread Christoph Hellwig
Why can't current_stack_pointer be turned into an inline function using inline assembly? That would reduce the overhead for all callers.