Re: [PATCH next] Stagging: pohmelfs/net.c: include vmalloc.h

From: Evgeniy Polyakov
Date: Fri Feb 13 2009 - 09:42:49 EST


On Fri, Feb 13, 2009 at 05:35:32PM +0300, Alexander Beregalov (a.beregalov@xxxxxxxxx) wrote:
> on Sparc64:
> drivers/staging/pohmelfs/net.c:33: error: implicit declaration of function 'vmalloc'
> drivers/staging/pohmelfs/net.c:42: error: implicit declaration of function 'vfree'
>
> Signed-off-by: Alexander Beregalov <a.beregalov@xxxxxxxxx>

Thanks a lot Alexander!

> ---
>
> drivers/staging/pohmelfs/net.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/staging/pohmelfs/net.c b/drivers/staging/pohmelfs/net.c
> index d161237..c9b8540 100644
> --- a/drivers/staging/pohmelfs/net.c
> +++ b/drivers/staging/pohmelfs/net.c
> @@ -22,6 +22,7 @@
> #include <linux/poll.h>
> #include <linux/swap.h>
> #include <linux/syscalls.h>
> +#include <linux/vmalloc.h>
>
> #include "netfs.h"

--
Evgeniy Polyakov
--
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/