linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Sylvain Munaut <tnt@246tNt.com>
To: Linux PPC dev ML <linuxppc-dev@ozlabs.org>
Cc: Sylvain Munaut <tnt@246tNt.com>
Subject: [PATCH 1/9] powerpc: exports rheap symbol to modules
Date: Sat, 12 May 2007 22:31:49 +0200	[thread overview]
Message-ID: <11790019223299-git-send-email-tnt@246tNt.com> (raw)
In-Reply-To: <11790019171838-git-send-email-tnt@246tNt.com>

Theses can be useful in modules too. So we export them.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
---
 arch/powerpc/lib/rheap.c |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/arch/powerpc/lib/rheap.c b/arch/powerpc/lib/rheap.c
index b2f6dcc..7c5968c 100644
--- a/arch/powerpc/lib/rheap.c
+++ b/arch/powerpc/lib/rheap.c
@@ -15,6 +15,7 @@
 #include <linux/types.h>
 #include <linux/errno.h>
 #include <linux/kernel.h>
+#include <linux/module.h>
 #include <linux/mm.h>
 #include <linux/slab.h>
 
@@ -724,3 +725,19 @@ void rh_dump_blk(rh_info_t * info, rh_block_t * blk)
 	       "blk @0x%p: 0x%lx-0x%lx (%u)\n",
 	       blk, blk->start, blk->start + blk->size, blk->size);
 }
+
+
+EXPORT_SYMBOL(rh_create);
+EXPORT_SYMBOL(rh_destroy);
+EXPORT_SYMBOL(rh_init);
+EXPORT_SYMBOL(rh_attach_region);
+EXPORT_SYMBOL(rh_detach_region);
+EXPORT_SYMBOL(rh_alloc_align);
+EXPORT_SYMBOL(rh_alloc);
+EXPORT_SYMBOL(rh_alloc_fixed);
+EXPORT_SYMBOL(rh_free);
+EXPORT_SYMBOL(rh_get_stats);
+EXPORT_SYMBOL(rh_set_owner);
+EXPORT_SYMBOL(rh_dump);
+EXPORT_SYMBOL(rh_dump_blk);
+
-- 
1.5.1.2

  reply	other threads:[~2007-05-12 20:32 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-12 20:31 [PATCH 0/9] BestComm : better late than never heh ;) Sylvain Munaut
2007-05-12 20:31 ` Sylvain Munaut [this message]
2007-05-12 20:31   ` [PATCH 2/9] powerpc: Changes the config mechanism for rheap Sylvain Munaut
2007-05-12 20:31     ` [PATCH 3/9] powerpc/ppc32: Update mpc52xx_psc structure with B revision changes Sylvain Munaut
2007-05-12 20:31       ` [PATCH 4/9] powerpc: BestComm core support for Freescale MPC5200 Sylvain Munaut
2007-05-12 20:31         ` [PATCH 5/9] powerpc: BestcComm ATA task support Sylvain Munaut
2007-05-12 20:31           ` [PATCH 6/9] powerpc: BestcComm FEC " Sylvain Munaut
2007-05-12 20:31             ` [PATCH 7/9] powerpc: BestcComm GenBD " Sylvain Munaut
2007-05-12 20:31               ` [PATCH 8/9] drivers/net: Add support for Freescale MPC5200 SoC internal FEC Sylvain Munaut
2007-05-12 20:31                 ` [PATCH 9/9] sound: Add support for Freescale MPC5200 AC97 interface Sylvain Munaut
2007-05-12 23:30           ` [PATCH 5/9] powerpc: BestcComm ATA task support Arnd Bergmann
2007-05-12 23:27         ` [PATCH 4/9] powerpc: BestComm core support for Freescale MPC5200 Arnd Bergmann
2007-05-12 23:49           ` Sylvain Munaut
2007-05-13  0:24             ` Arnd Bergmann
2007-05-13  7:17               ` Sylvain Munaut
2007-05-13 23:29                 ` Matt Sealey
2007-05-14  5:15                   ` Sylvain Munaut
2007-05-13  3:36             ` Dale Farnsworth
2007-05-15 21:37         ` Kumar Gala
2007-05-15 22:27           ` Sylvain Munaut
2007-05-13 23:46       ` [PATCH 3/9] powerpc/ppc32: Update mpc52xx_psc structure with B revision changes Matt Sealey
2007-05-14  5:27         ` Sylvain Munaut
2007-05-15 10:59           ` Raquel Velasco and Bill Buck
2007-05-15 21:20     ` [PATCH 2/9] powerpc: Changes the config mechanism for rheap Kumar Gala

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=11790019223299-git-send-email-tnt@246tNt.com \
    --to=tnt@246tnt.com \
    --cc=linuxppc-dev@ozlabs.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).