From: Ryan Bradetich <rbradetich@uswest.net>
To: parisc-linux@thepuffingroup.com
Subject: [parisc-linux] PATCH: memory patch
Date: Sun, 03 Sep 2000 15:07:41 -0600 [thread overview]
Message-ID: <39B2BD9D.61337522@uswest.net> (raw)
[-- Attachment #1: Type: text/plain, Size: 277 bytes --]
Hello everyone,
I have a small patch that allows the parsic-linux kernel see all
the all the memory the PDC recognizes. This patch works fine
for me, and if no one has any objections, (ie. Does this need to
be present for some models?) ... I'll commit it.
Thanks,
Ryan
[-- Attachment #2: mem.patch --]
[-- Type: text/plain, Size: 644 bytes --]
Index: setup.c
===================================================================
RCS file: /home/cvs/parisc/linux-2.3/arch/parisc/kernel/setup.c,v
retrieving revision 1.33
diff -u -p -r1.33 setup.c
--- setup.c 2000/08/25 15:07:19 1.33
+++ setup.c 2000/09/03 20:36:39
@@ -282,8 +282,7 @@ void __init start_parisc(unsigned arg0,
mtctl(ccr, 10);
mem_start = __pa(memory_start);
-#define MAX_MEM (128*1024*1024)
- mem_max = (PAGE0->imm_max_mem > MAX_MEM ? MAX_MEM : PAGE0->imm_max_mem);
+ mem_max = PAGE0->imm_max_mem;
collect_cpuinfo(); // get all cpu & system-information for later use.
printk("CPU(s): %d x %s at %d.%06d MHz\n",
reply other threads:[~2000-09-03 21:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=39B2BD9D.61337522@uswest.net \
--to=rbradetich@uswest.net \
--cc=parisc-linux@thepuffingroup.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.