Merge tag 'x86_microcode_for_5.8' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-microblaze.git] / arch / powerpc / kernel / nvram_64.c
index fb4f610..0cd1c88 100644 (file)
@@ -655,9 +655,7 @@ static void oops_to_nvram(struct kmsg_dumper *dumper,
        int rc = -1;
 
        switch (reason) {
-       case KMSG_DUMP_RESTART:
-       case KMSG_DUMP_HALT:
-       case KMSG_DUMP_POWEROFF:
+       case KMSG_DUMP_SHUTDOWN:
                /* These are almost always orderly shutdowns. */
                return;
        case KMSG_DUMP_OOPS: