|
@@ -43,6 +43,7 @@
|
|
|
#include <asm/trace.h>
|
|
|
#include <asm/firmware.h>
|
|
|
#include <asm/plpar_wrappers.h>
|
|
|
+#include <asm/kexec.h>
|
|
|
#include <asm/fadump.h>
|
|
|
|
|
|
#include "pseries.h"
|
|
@@ -267,8 +268,13 @@ static void pSeries_lpar_hptab_clear(void)
|
|
|
* out to the user, but at least this will stop us from
|
|
|
* continuing on further and creating an even more
|
|
|
* difficult to debug situation.
|
|
|
+ *
|
|
|
+ * There is a known problem when kdump'ing, if cpus are offline
|
|
|
+ * the above call will fail. Rather than panicking again, keep
|
|
|
+ * going and hope the kdump kernel is also little endian, which
|
|
|
+ * it usually is.
|
|
|
*/
|
|
|
- if (rc)
|
|
|
+ if (rc && !kdump_in_progress())
|
|
|
panic("Could not enable big endian exceptions");
|
|
|
}
|
|
|
#endif
|