Is there no vmalloc() for PPC kernel?
Alex Zeffertt
ajz at cambridgebroadband.com
Fri Nov 2 03:42:32 EST 2001
I've written a resident driver which calls vmalloc.
If you're writing a module which calls vmalloc you'll need to make sure EXPORT_SYMBOL(vmalloc)
appears in
linux/arch/$(ARCH)/kernel/$(ARCH)_ksyms.c:
... otherwise insmod will fail.
Alex
John Francis wrote:
>
> I need to allocate more than page worth of memory in
> kernel. Some documentation that I looked at indicated
> I should be using vmalloc() , so I tried using it for
> PPC kernel and it couldn't find this symbol. Looked
> through the code ( 2.4.4 ) and I didn't see it.
>
> What is the best way to allocate "fairly" large memory
> pool for use within the kernel by the driver?
>
> John
>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-embedded
mailing list