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

Randy Dunlap
2011-04-29T23:48:38Z

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?
Do I need more that patches 1,2,3/3 applied?

lnx-2639-rc5/drivers/firmware/google/gsmi.c: In function 'gsmi_die_callback':
lnx-2639-rc5/drivers/firmware/google/gsmi.c:660: error: 'DIE_NMIWATCHDOG' undeclared (first use in this function)
lnx-2639-rc5/drivers/firmware/google/gsmi.c:660: error: (Each undeclared identifier is reported only once
lnx-2639-rc5/drivers/firmware/google/gsmi.c:660: error: for each function it appears in.)

---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***