[PATCH 1/1] powerpc: Update MAX_HCALL_OPCODE to reflect page coalescing

Brian King brking at linux.vnet.ibm.com
Tue May 24 23:40:54 EST 2011


When page coalescing support was added recently, the MAX_HCALL_OPCODE
define was not updated for the newly added H_GET_MPP_X hcall.

Signed-off-by: Brian King <brking at linux.vnet.ibm.com>
---

 arch/powerpc/include/asm/hvcall.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN arch/powerpc/include/asm/hvcall.h~powerpc_max_hcall_opcode arch/powerpc/include/asm/hvcall.h
--- linux-2.6/arch/powerpc/include/asm/hvcall.h~powerpc_max_hcall_opcode	2011-05-20 09:33:45.000000000 -0500
+++ linux-2.6-bjking1/arch/powerpc/include/asm/hvcall.h	2011-05-20 09:33:58.000000000 -0500
@@ -236,7 +236,7 @@
 #define H_HOME_NODE_ASSOCIATIVITY 0x2EC
 #define H_BEST_ENERGY		0x2F4
 #define H_GET_MPP_X		0x314
-#define MAX_HCALL_OPCODE	H_BEST_ENERGY
+#define MAX_HCALL_OPCODE	H_GET_MPP_X
 
 #ifndef __ASSEMBLY__
 
_


More information about the Linuxppc-dev mailing list