diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1997-12-02 23:44:02 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1997-12-02 23:44:02 +0000 |
commit | f9897f7bb0c2d0fbb916db256a9d9b00a4fcc06c (patch) | |
tree | 47581ef647991168f1577a0c4097863cd6f1eebe /mm | |
parent | ad1267dce7d02ffdcefd1e50ea13b01ef11e959d (diff) |
More compilation fixes.
Diffstat (limited to 'mm')
-rw-r--r-- | mm/vmalloc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mm/vmalloc.c b/mm/vmalloc.c index 8e1aa523b..ab6f09e2c 100644 --- a/mm/vmalloc.c +++ b/mm/vmalloc.c @@ -208,6 +208,11 @@ void * vmalloc_prot(unsigned long size, pgprot_t prot) return addr; } +void * vmalloc(unsigned long size) +{ + return vmalloc_prot (size, PAGE_KERNEL); +} + int vread(char *buf, char *addr, int count) { struct vm_struct **p, *tmp; |