Re: [PATCH] PowerPC: kernel: compiling issue, make additional room in exception vector area
From: Chen Gang <hidden>
Date: 2013-04-25 09:05:53
Also in:
lkml
From: Chen Gang <hidden>
Date: 2013-04-25 09:05:53
Also in:
lkml
On 2013年04月25日 17:00, Michael Neuling wrote:
quoted
quoted
Signed-off-by: Chen Gang <redacted> --- arch/powerpc/include/asm/kvm_asm.h | 2 +- arch/powerpc/kernel/exceptions-64s.S | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-)diff --git a/arch/powerpc/include/asm/kvm_asm.h b/arch/powerpc/include/asm/kvm_asm.h index b9dd382..2c65bae 100644 --- a/arch/powerpc/include/asm/kvm_asm.h +++ b/arch/powerpc/include/asm/kvm_asm.h@@ -86,7 +86,7 @@ #define BOOK3S_INTERRUPT_PROGRAM 0x700 #define BOOK3S_INTERRUPT_FP_UNAVAIL 0x800 #define BOOK3S_INTERRUPT_DECREMENTER 0x900 -#define BOOK3S_INTERRUPT_HV_DECREMENTER 0x980 +#define BOOK3S_INTERRUPT_HV_DECREMENTER 0x988This is hardwird in the architecture.. you can't just move it
OK, thank you, I need continue to fix it. It seems we have to read the details to shrink one instruction (4 bytes), at least. Welcome additional suggestions or completions. Thanks. -- Chen Gang Asianux Corporation