Skip to contentSkip to conversation

Stagging: pohmelfs/net.c: include vmalloc.h

PATCH In review Alexander Beregalov 2 participants 2 messages Feb 13, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Stagging: pohmelfs/net.c: include vmalloc.h

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'

---

 drivers/staging/pohmelfs/net.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/staging/pohmelfs/net.c +1 -0
index d161237..c9b8540 100644
@@ -22,6 +22,7 @@
 #include <linux/poll.h>
 #include <linux/swap.h>
 #include <linux/syscalls.h>
+#include <linux/vmalloc.h>
 
 #include "netfs.h"
#1 lore raw
Quoted 5 lines · Alexander Beregalov

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'

Thanks a lot Alexander!

Quoted 16 lines

---

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