watchdog/hpwdt: Only claim UNKNOWN NMI if from iLO
[platform/kernel/linux-starfive.git] / drivers / watchdog / hpwdt.c
index f79f932..79ed162 100644 (file)
@@ -178,7 +178,7 @@ static int hpwdt_pretimeout(unsigned int ulReason, struct pt_regs *regs)
                "3. OA Forward Progress Log\n"
                "4. iLO Event Log";
 
-       if (ilo5 && ulReason == NMI_UNKNOWN && !mynmi)
+       if (ulReason == NMI_UNKNOWN && !mynmi)
                return NMI_DONE;
 
        if (ilo5 && !pretimeout && !mynmi)