linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Alex Zeffertt <ajz@cambridgebroadband.com>
To: John Francis <johnfrancsis@yahoo.com>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: Is there no vmalloc() for PPC kernel?
Date: Thu, 01 Nov 2001 16:42:32 +0000	[thread overview]
Message-ID: <3BE17B78.79443EB1@cambridgebroadband.com> (raw)
In-Reply-To: 20011025093708.81325.qmail@web20107.mail.yahoo.com


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/

      reply	other threads:[~2001-11-01 16:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-25  9:37 Is there no vmalloc() for PPC kernel? John Francis
2001-11-01 16:42 ` Alex Zeffertt [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3BE17B78.79443EB1@cambridgebroadband.com \
    --to=ajz@cambridgebroadband.com \
    --cc=johnfrancsis@yahoo.com \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).