public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrea Arcangeli <andrea@suse.de>
To: "David S. Miller" <davem@redhat.com>
Cc: vonbrand@inf.utfsm.cl, Alan.Cox@linux.org, linux-kernel@vger.kernel.org
Subject: Re: 2.2.19pre3 on sparc64: Hangs on boot, "no cont in shutdown!"??
Date: Fri, 29 Dec 2000 21:21:46 +0100	[thread overview]
Message-ID: <20001229212146.B28549@athlon.random> (raw)
In-Reply-To: <200012261709.eBQH99D02130@pincoya.inf.utfsm.cl> <200012290559.VAA03384@pizda.ninka.net>
In-Reply-To: <200012290559.VAA03384@pizda.ninka.net>; from davem@redhat.com on Thu, Dec 28, 2000 at 09:59:55PM -0800

On Thu, Dec 28, 2000 at 09:59:55PM -0800, David S. Miller wrote:
> 
> "make check_asm" should fix it.

It doesn't work out of the box starting from pre3 because there are a
few fields in the task struct implemented this way:

	struct list_head local_pages; int allocation_order, nr_local_pages;

that is perfectly valid C code but I wasn't aware of the check_asm.sh sed
script assumptions and so I incidentally broke sparc's `make check_asm', sorry.
To make my 2.2.x tree to work on sparc64 I temporarly broken the above line in
two for the time of `make check_asm'. I guess we can go with this patch for
2.2.x instead of doing the right fix ;)

--- 2.2.19pre3aa4/include/linux/sched.h.~1~	Fri Dec 29 20:55:57 2000
+++ 2.2.19pre3aa4/include/linux/sched.h	Fri Dec 29 21:14:32 2000
@@ -329,7 +329,8 @@
 	struct files_struct *files;
 /* memory management info */
 	struct mm_struct *mm;
-	struct list_head local_pages; int allocation_order, nr_local_pages;
+	struct list_head local_pages;
+	int allocation_order, nr_local_pages;
 	int fs_locks;
 
 /* signal handlers */

Andrea
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

      reply	other threads:[~2000-12-29 20:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-26 17:09 2.2.19pre3 on sparc64: Hangs on boot, "no cont in shutdown!"?? Horst von Brand
2000-12-29  5:59 ` David S. Miller
2000-12-29 20:21   ` Andrea Arcangeli [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=20001229212146.B28549@athlon.random \
    --to=andrea@suse.de \
    --cc=Alan.Cox@linux.org \
    --cc=davem@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=vonbrand@inf.utfsm.cl \
    /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