All of lore.kernel.org
 help / color / mirror / Atom feed
* [parisc-linux] PATCH: memory patch
@ 2000-09-03 21:07 Ryan Bradetich
  0 siblings, 0 replies; only message in thread
From: Ryan Bradetich @ 2000-09-03 21:07 UTC (permalink / raw)
  To: parisc-linux

[-- 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", 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-09-03 21:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-09-03 21:07 [parisc-linux] PATCH: memory patch Ryan Bradetich

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.