lkml.org 
[lkml]   [2000]   [Dec]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 2.2.19pre3 on sparc64: Hangs on boot, "no cont in shutdown!"??
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/

\
 
 \ /
  Last update: 2005-03-22 12:52    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site