From: Paul <set@pobox.com>
To: "J.A. Magallon" <jamagallon@able.es>
Cc: Lista Linux-Kernel <linux-kernel@vger.kernel.org>,
Marcelo Tosatti <marcelo@conectiva.com.br>
Subject: Re: [PATCHSET] New Year's Linux 2.4.21-pre2-jam2
Date: Fri, 3 Jan 2003 23:48:14 -0500 [thread overview]
Message-ID: <20030104044814.GN1732@squish.home.loc> (raw)
In-Reply-To: <20030104012243.GA1541@werewolf.able.es>
[-- Attachment #1: Type: text/plain, Size: 756 bytes --]
"J.A. Magallon" <jamagallon@able.es>, on Sat Jan 04, 2003 [02:22:43 AM] said:
> HI, and HAPPY NEW YEAR to everybody !!
>
> New release of this kinda-hacked-kernel. Now that Andre's ide and many bugfixes
> are in mainline, there is hole for more things ;)
> 03-memparam.bz2
> Fix mem=XXX kernel parameter when user gives a size bigger than what
> kernel autodetected (kill a previous change)
> Author: Adrian Bunk <bunk@fs.tum.de>,
> Leonardo Gomes Figueira <sabbath@planetarium.com.br>
>
>
> Enjoy!!
>
> --
> J.A. Magallon <jamagallon@able.es> \ Software is like sex:
Hi;
This reversion should probably kill limit_regions()
too... as I think it eliminates the only reference to it.
Paul
set@pobox.com
[-- Attachment #2: 03-memparam-extra --]
[-- Type: text/plain, Size: 703 bytes --]
--- 2.4.20-mem/arch/i386/kernel/setup.c.orig 2003-01-03 23:08:41.000000000 -0500
+++ 2.4.20-mem/arch/i386/kernel/setup.c 2003-01-03 23:09:34.000000000 -0500
@@ -418,22 +418,6 @@
}
}
-static void __init limit_regions (unsigned long long size)
-{
- unsigned long long current_addr = 0;
- int i;
-
- for (i = 0; i < e820.nr_map; i++) {
- if (e820.map[i].type == E820_RAM) {
- current_addr = e820.map[i].addr + e820.map[i].size;
- if (current_addr >= size) {
- e820.map[i].size -= current_addr-size;
- e820.nr_map = i + 1;
- return;
- }
- }
- }
-}
static void __init add_memory_region(unsigned long long start,
unsigned long long size, int type)
{
prev parent reply other threads:[~2003-01-04 4:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-04 1:22 J.A. Magallon
2003-01-04 1:33 ` Marc-Christian Petersen
2003-01-05 0:41 ` J.A. Magallon
2003-01-04 4:48 ` Paul [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=20030104044814.GN1732@squish.home.loc \
--to=set@pobox.com \
--cc=jamagallon@able.es \
--cc=linux-kernel@vger.kernel.org \
--cc=marcelo@conectiva.com.br \
/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®