Re: [PATCH 2/3] powerpc: refactoring BUG/WARN macros

2019-11-25 Thread Michael Ellerman
On Mon, 2019-08-19 at 13:06:30 UTC, Christophe Leroy wrote: > BUG(), WARN() and friends are using a similar inline > assembly to implement various traps with various flags. > > Lets refactor via a new BUG_ENTRY() macro. > > Signed-off-by: Christophe Leroy Applied to powerpc next, thanks. https

[PATCH 2/3] powerpc: refactoring BUG/WARN macros

2019-08-19 Thread Christophe Leroy
BUG(), WARN() and friends are using a similar inline assembly to implement various traps with various flags. Lets refactor via a new BUG_ENTRY() macro. Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/bug.h | 41 +++-- 1 file changed, 15 insertion