powerpc/powernv: Cleanup unused MCE definitions/declarations.
[firefly-linux-kernel-4.4.55.git] / arch / powerpc / kernel / asm-offsets.c
index 9d7dede2847cd0618a21e3ca99c4835041efe1df..c161ef3f28a1c3d417c6bee15e5b76024e43569f 100644 (file)
@@ -726,12 +726,5 @@ int main(void)
                                        arch.timing_last_enter.tv32.tbl));
 #endif
 
-#ifdef CONFIG_PPC_POWERNV
-       DEFINE(OPAL_MC_GPR3, offsetof(struct opal_machine_check_event, gpr3));
-       DEFINE(OPAL_MC_SRR0, offsetof(struct opal_machine_check_event, srr0));
-       DEFINE(OPAL_MC_SRR1, offsetof(struct opal_machine_check_event, srr1));
-       DEFINE(PACA_OPAL_MC_EVT, offsetof(struct paca_struct, opal_mc_evt));
-#endif
-
        return 0;
 }