ps3-debbuging: Early lv1_panic
diff --git a/arch/powerpc/boot/ppc_asm.h b/arch/powerpc/boot/ppc_asm.h
index c63299f..b5975f8 100644
--- a/arch/powerpc/boot/ppc_asm.h
+++ b/arch/powerpc/boot/ppc_asm.h
@@ -12,6 +12,14 @@
* 2 of the License, or (at your option) any later version.
*/
+.macro lv1_panic
+ li r3, 0
+ li r4, 0
+ li r11, 255
+ .long 0x44000022
+ extsw r3, r3
+.endm
+
/* Condition Register Bit Fields */
#define cr0 0
diff --git a/arch/powerpc/include/asm/ppc_asm.h b/arch/powerpc/include/asm/ppc_asm.h
index b5d0236..7efd2b6 100644
--- a/arch/powerpc/include/asm/ppc_asm.h
+++ b/arch/powerpc/include/asm/ppc_asm.h
@@ -13,6 +13,14 @@
#ifdef __ASSEMBLY__
+.macro lv1_panic
+ li r3, 0
+ li r4, 0
+ li r11, 255
+ .long 0x44000022
+ extsw r3, r3
+.endm
+
#define SZL (BITS_PER_LONG/8)
/*