From: Tom Rini <trini@kernel.crashing.org>
To: Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org, Paul Mackerras <paulus@samba.org>,
Benjamin Herrenschmidt <benh@kernel.crashing.org>
Subject: [PATCH][PPC32] Remove 'mem_pieces_append'
Date: Mon, 17 May 2004 10:54:48 -0700 [thread overview]
Message-ID: <20040517175448.GK6763@smtp.west.cox.net> (raw)
In-Reply-To: <20040517174221.GJ6763@smtp.west.cox.net>
Remove mem_pieces_append, it is never used.
>From Fabian.Frederick <Fabian.Frederick&prov-liege.be>
arch/ppc/mm/mem_pieces.c | 17 -----------------
arch/ppc/mm/mem_pieces.h | 2 --
2 files changed, 19 deletions(-)
--- 1.9/arch/ppc/mm/mem_pieces.c Fri Sep 12 09:26:53 2003
+++ edited/arch/ppc/mm/mem_pieces.c Fri May 7 15:58:55 2004
@@ -120,23 +120,6 @@
printk("\n");
}
-#if defined(CONFIG_APUS) || defined(CONFIG_PPC_OF)
-/*
- * Add some memory to an array of pieces
- */
-void __init
-mem_pieces_append(struct mem_pieces *mp, unsigned int start, unsigned int size)
-{
- struct reg_property *rp;
-
- if (mp->n_regions >= MEM_PIECES_MAX)
- return;
- rp = &mp->regions[mp->n_regions++];
- rp->address = start;
- rp->size = size;
-}
-#endif /* CONFIG_APUS || CONFIG_PPC_OF */
-
void __init
mem_pieces_sort(struct mem_pieces *mp)
{
--- 1.4/arch/ppc/mm/mem_pieces.h Tue Feb 25 10:44:20 2003
+++ edited/arch/ppc/mm/mem_pieces.h Fri May 7 15:58:58 2004
@@ -38,8 +38,6 @@
extern void *mem_pieces_find(unsigned int size, unsigned int align);
extern void mem_pieces_remove(struct mem_pieces *mp, unsigned int start,
unsigned int size, int must_exist);
-extern void mem_pieces_append(struct mem_pieces *mp, unsigned int start,
- unsigned int size);
extern void mem_pieces_coalesce(struct mem_pieces *mp);
extern void mem_pieces_sort(struct mem_pieces *mp);
--
Tom Rini
http://gate.crashing.org/~trini/
next prev parent reply other threads:[~2004-05-17 17:55 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-16 9:55 2.6.6-mm3 Andrew Morton
2004-05-16 10:35 ` 2.6.6-mm3 Prakash K. Cheemplavam
2004-05-16 11:00 ` 2.6.6-mm3 Gene Heskett
2004-05-16 16:29 ` 2.6.6-mm3 Andrew Morton
2004-05-16 18:38 ` 2.6.6-mm3: USB console.c doesn't compile Adrian Bunk
2004-05-17 16:32 ` Greg KH
2004-05-16 20:15 ` [patch] 2.6.6-mm3: more PC9800 removal Adrian Bunk
2004-05-16 20:35 ` [patch] 2.6.6-mm3: remove PC9800 from should-fix Adrian Bunk
2004-05-17 11:52 ` 2.6.6-mm3 Eric W. Biederman
2004-05-17 12:57 ` 2.6.6-mm3 Aristeu Sergio Rozanski Filho
2004-05-17 15:06 ` 2.6.6-mm3 Robert Picco
2004-05-17 15:51 ` 2.6.6-mm3 Aristeu Sergio Rozanski Filho
2004-05-17 13:09 ` Scroll wheel on PS/2 Logitech MouseMan Wheel no longer works (was Re: 2.6.6-mm3) Sean Neakums
2004-05-17 18:10 ` Dmitry Torokhov
[not found] ` <6u4qqejiny.fsf@zork.zork.net>
[not found] ` <200405191256.32335.dtor_core@ameritech.net>
2004-05-20 7:49 ` Sean Neakums
2004-05-26 3:40 ` Dmitry Torokhov
2004-06-06 17:49 ` Vojtech Pavlik
2004-05-17 16:14 ` 2.6.6-mm3 Tom Rini
2004-05-17 16:30 ` 2.6.6-mm3 Robert Picco
2004-05-17 16:38 ` 2.6.6-mm3 Tom Rini
2004-05-17 17:56 ` 2.6.6-mm3 Tom Rini
2004-05-18 13:45 ` [Kgdb-bugreport] 2.6.6-mm3 Amit S. Kale
2004-05-17 17:20 ` 2.6.6-mm3 Chris Wright
2004-05-17 17:42 ` [PATCH][PPC32] Update Motorola LoPEC and Sandpoint defconfigs Tom Rini
2004-05-17 17:54 ` Tom Rini [this message]
2004-05-17 18:06 ` [PATCH][PPC32] Some fixes for 'make O=...' Tom Rini
2004-05-18 2:08 ` 2.6.6-mm3: i810 agpgart module can't be initialized Clemens Schwaighofer
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=20040517175448.GK6763@smtp.west.cox.net \
--to=trini@kernel.crashing.org \
--cc=akpm@osdl.org \
--cc=benh@kernel.crashing.org \
--cc=linux-kernel@vger.kernel.org \
--cc=paulus@samba.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
all inboxes | Powered by JetHome®