Re: [mmotm-2008-12-11-15-20] __unsafe() not defined.

From: Andrew Morton
Date: Thu Dec 11 2008 - 21:18:30 EST


On Fri, 12 Dec 2008 11:09:26 +0900 Tetsuo Handa <penguin-kernel@xxxxxxxxxxxxxxxxxxx> wrote:

> I got this compilation error using gcc (GCC) 3.3.5 (Debian 1:3.3.5-13).
>
> drivers/pci/hotplug/ibmphp_core.c: In function `ibmphp_init':
> drivers/pci/hotplug/ibmphp_core.c:1409: error: implicit declaration of function `__unsafe'
> make[3]: *** [drivers/pci/hotplug/ibmphp_core.o] Error 1
> make[2]: *** [drivers/pci/hotplug] Error 2
> make[1]: *** [drivers/pci] Error 2
> make: *** [drivers] Error 2
>
> "grep -Fr __unsafe ." shows only one line.
>
> ./drivers/pci/hotplug/ibmphp_core.c: __unsafe(THIS_MODULE);
>
> Where is __unsafe defined?
>

hm, I wonder what that was all about.

I'll drop ibmphp-fix-module-ref-count-underflow.patch, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/