summaryrefslogtreecommitdiffstats
path: root/include/linux/vmalloc.h
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@nuclecu.unam.mx>1997-09-23 01:57:37 +0000
committerMiguel de Icaza <miguel@nuclecu.unam.mx>1997-09-23 01:57:37 +0000
commit9471eb08a5d012f044e06f97ca38a3b179081a72 (patch)
treedc6f40257ec4995495697c6edcdce7314be4f838 /include/linux/vmalloc.h
parentef2ab213cf2601ba4c2dbc32e6fb2e28bf00534b (diff)
bad miguel, bad bad bad miguel.
slap slap slap. actually return the value of vmalloc.
Diffstat (limited to 'include/linux/vmalloc.h')
-rw-r--r--include/linux/vmalloc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/vmalloc.h b/include/linux/vmalloc.h
index ad7447530..a86216ac7 100644
--- a/include/linux/vmalloc.h
+++ b/include/linux/vmalloc.h
@@ -20,7 +20,7 @@ void * vmalloc_uncached(unsigned long size);
extern inline void * vmalloc(unsigned long size)
{
- vmalloc_prot (size, PAGE_KERNEL);
+ return vmalloc_prot (size, PAGE_KERNEL);
}
int vread(char *buf, char *addr, int count);