linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Martin J. Bligh" <fletch@aracnet.com>
To: Andrea Arcangeli <andrea@suse.de>
Cc: linux-kernel@vger.kernel.org, gone@us.ibm.com
Subject: [PATCH] fix paging_init for i386 discontigmem support (-aa kernel)
Date: Wed, 22 May 2002 22:54:16 -0700	[thread overview]
Message-ID: <1454405545.1022108056@[10.10.2.3]> (raw)

One small fix to make the latest code work properly in
conjunction with the zone_start_pfn change ... this is
only needed for Andrea's tree at the moment. Without it,
you get no memory on nodes > 0; all I'm doing is taking
out the PAGE_SHIFT.

--- virgin-2.4.19-pre8-aa3/arch/i386/mm/discontig.c	Wed May 22 17:19:11 2002
+++ linux-2.4.19-pre8-aa3-paging_init/arch/i386/mm/discontig.c	Wed May 22 21:21:28 2002
@@ -259,7 +259,7 @@
 #endif
 			}
 		}
-		free_area_init_node(nid, NODE_DATA(nid), 0, zones_size, start << PAGE_SHIFT, 0);
+		free_area_init_node(nid, NODE_DATA(nid), 0, zones_size, start, 0);
 	}
 	return;
 }




                 reply	other threads:[~2002-05-23  5:54 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='1454405545.1022108056@[10.10.2.3]' \
    --to=fletch@aracnet.com \
    --cc=andrea@suse.de \
    --cc=gone@us.ibm.com \
    --cc=linux-kernel@vger.kernel.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).