On Tue, 2005-03-08 at 10:52 +0100, Geert Uytterhoeven wrote:
> On Mon, 7 Mar 2005, Kars de Jong wrote:
> > On Wed, 2005-03-02 at 16:59 -0600, Roman Zippel wrote:
> > > In directory ubb:/home/linux-m68k/zippel/linux-native
> > >
> > > Log Message:
> > > import native 2.6.11
> > >
> > > C linux/include/linux/sched.h
> >
> > I tried compiling the tree today, it doesn't seem to work:
>
> This is what I have in my tree (compile-tested only). Note that the patch is
> reversed!
OK, thanks, that works, thanks. I needed the following extra changes (no
idea if they make sense) to link a kernel.
This kernel boots and seems to run OK on my HP300 (OK, not a very
extensive test ;-)):
hp:~# uname -a
Linux hp 2.6.11-m68k-hp300 #2 Tue Mar 8 21:37:01 CET 2005 m68k GNU/Linux
hp:~# uptime
22:10:35 up 24 min, 1 user, load average: 0.02, 0.44, 0.55
hp:~#
Kind regards,
Kars.
Index: include/asm-m68k/processor.h
===================================================================
RCS file: /home/linux-m68k/cvsroot/linux/include/asm-m68k/processor.h,v
retrieving revision 1.13
diff -u -r1.13 processor.h
--- include/asm-m68k/processor.h 1 Feb 2004 20:03:16 -0000 1.13
+++ include/asm-m68k/processor.h 8 Mar 2005 21:00:14 -0000
@@ -63,7 +63,8 @@
char need_resched;
unsigned char delayed_trace; /* single step a syscall */
unsigned char syscall_trace; /* count of syscall interceptors */
- unsigned char pad[3];
+ unsigned char memdie; /* task was selected to be killed */
+ unsigned char pad[2];
};
struct thread_struct {
Index: include/asm-m68k/thread_info.h
===================================================================
RCS file: /home/linux-m68k/cvsroot/linux/include/asm-m68k/thread_info.h,v
retrieving revision 1.12
diff -u -r1.12 thread_info.h
--- include/asm-m68k/thread_info.h 2 Mar 2005 23:47:59 -0000 1.12
+++ include/asm-m68k/thread_info.h 8 Mar 2005 21:00:14 -0000
@@ -70,6 +70,9 @@
case TIF_SYSCALL_TRACE: \
tsk->thread.work.syscall_trace = val; \
break; \
+ case TIF_MEMDIE: \
+ tsk->thread.work.memdie = val; \
+ break; \
default: \
thread_flag_fixme(); \
} \
@@ -87,6 +90,9 @@
case TIF_SYSCALL_TRACE: \
___res = tsk->thread.work.syscall_trace;\
break; \
+ case TIF_MEMDIE: \
+ ___res = tsk->thread.work.memdie; \
+ break; \
default: \
___res = thread_flag_fixme(); \
} \
-
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html