From: Jesse Barnes on
On Thu, 04 Feb 2010 12:12:23 -0800
Randy Dunlap <randy.dunlap(a)oracle.com> wrote:

> From: Randy Dunlap <randy.dunlap(a)oracle.com>
>
> Add header file to fix build error:
>
> drivers/pci/hotplug/ibmphp_hpc.c:135: error: implicit declaration of
> function 'init_MUTEX' drivers/pci/hotplug/ibmphp_hpc.c:136: error:
> implicit declaration of function 'init_MUTEX_LOCKED'
> drivers/pci/hotplug/ibmphp_hpc.c:797: error: implicit declaration of
> function 'down' drivers/pci/hotplug/ibmphp_hpc.c:807: error: implicit
> declaration of function 'up'
>
> Signed-off-by: Randy Dunlap <randy.dunlap(a)oracle.com>
> ---
> drivers/pci/hotplug/ibmphp_hpc.c | 1 +
> 1 file changed, 1 insertion(+)
>
> --- linux-next-20100204.orig/drivers/pci/hotplug/ibmphp_hpc.c
> +++ linux-next-20100204/drivers/pci/hotplug/ibmphp_hpc.c
> @@ -35,6 +35,7 @@
> #include <linux/init.h>
> #include <linux/mutex.h>
> #include <linux/sched.h>
> +#include <linux/semaphore.h>
> #include <linux/kthread.h>
> #include "ibmphp.h"
>
>

Applied to linux-next, thanks.

--
Jesse Barnes, Intel Open Source Technology Center
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/