All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick Finnegan <pat@computer-refuge.org>
To: linux-kernel@vger.kernel.org
Cc: rth@twiddle.net
Subject: [PATCH] Alpha compile error on 2.6.7-rc1
Date: Fri, 28 May 2004 14:05:30 -0500	[thread overview]
Message-ID: <200405281405.30638.pat@computer-refuge.org> (raw)

Machine is a 21164A Alpha (164LX motherboard).  The error is:

  CC      arch/alpha/mm/init.o
arch/alpha/mm/init.c: In function `show_mem':
arch/alpha/mm/init.c:120: structure has no member named `count'
make[1]: *** [arch/alpha/mm/init.o] Error 1
make: *** [arch/alpha/mm] Error 2

Patch is below.

Alpha: Fixup arch/alpha/mm/init.c to match struct page changes 

--- linux-2.6.7-rc1.old/arch/alpha/mm/init.c	2004-05-28 13:53:04.000000000 -0500
+++ linux-2.6.7-rc1/arch/alpha/mm/init.c	2004-05-28 13:53:52.000000000 -0500
@@ -117,7 +117,7 @@
 		else if (!page_count(mem_map+i))
 			free++;
 		else
-			shared += atomic_read(&mem_map[i].count) - 1;
+			shared += atomic_read(&mem_map[i]._count) - 1;
 	}
 	printk("%ld pages of RAM\n",total);
 	printk("%ld free pages\n",free);

-- Pat
Purdue University ITAP/RCS        ---  http://www.itap.purdue.edu/rcs/
The Computer Refuge               ---  http://computer-refuge.org

             reply	other threads:[~2004-05-28 19:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-28 19:05 Patrick Finnegan [this message]
2004-05-28 19:11 ` [PATCH] Alpha compile error on 2.6.7-rc1 William Lee Irwin III
2004-05-28 19:48   ` Jeff Garzik

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=200405281405.30638.pat@computer-refuge.org \
    --to=pat@computer-refuge.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rth@twiddle.net \
    /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.