Re: [PATCH 1/3] powerpc/32s: Change mfsrin() into a static inline function

2021-02-10 Thread Michael Ellerman
On Sat, 6 Feb 2021 11:47:26 + (UTC), Christophe Leroy wrote: > mfsrin() is a macro. > > Change in into an inline function to avoid conflicts in KVM > and make it more evolutive. Applied to powerpc/next. [1/3] powerpc/32s: Change mfsrin() into a static inline function https://git.kernel

[PATCH 1/3] powerpc/32s: Change mfsrin() into a static inline function

2021-02-06 Thread Christophe Leroy
mfsrin() is a macro. Change in into an inline function to avoid conflicts in KVM and make it more evolutive. Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/reg.h| 11 --- arch/powerpc/kvm/book3s_emulate.c | 4 2 files changed, 8 insertions(+), 7 deletions(-) dif