Re: [PATCH v4 1/3] driver: Google EFI SMI

Mike Waychison
2011-04-30T00:00:09Z

On Fri, Apr 29, 2011 at 4:47 PM, Randy Dunlap <randy.dunlap@oracle.com> wrote:
> On Fri, 29 Apr 2011 15:55:51 -0700 Mike Waychison wrote:
>
>
>> +static int gsmi_die_callback(struct notifier_block *nb,
>> +                          unsigned long reason, void *arg)
>> +{
>> +     if (reason == DIE_NMIWATCHDOG)
>> +             gsmi_shutdown_reason(GSMI_SHUTDOWN_NMIWDT);
>> +     else if (reason == DIE_OOPS)
>> +             gsmi_shutdown_reason(GSMI_SHUTDOWN_OOPS);
>> +     return NOTIFY_DONE;
>> +}
>
>
> Where is DIE_NMIWATCHDOG defined?

My bad. I didn't rebase these 3 patches to v2.6.39-rc5 when sending
out v4. Seems it got dropped in rc1 in 02ca752e. Looking at how to
wire this into whatever replaced die_nmi() now.