[PATCH 381] M68k thread

From: Geert Uytterhoeven
Date: Thu Jan 01 2004 - 16:29:40 EST


M68k: Don't forget to initialize the thread_info member in INIT_THREAD() (from
Roman Zippel)

--- linux-2.6.0/include/asm-m68k/processor.h 2003-09-28 09:57:11.000000000 +0200
+++ linux-m68k-2.6.0/include/asm-m68k/processor.h 2003-11-23 15:56:44.000000000 +0100
@@ -85,10 +85,11 @@
struct thread_info info;
};

-#define INIT_THREAD { \
- ksp: sizeof(init_stack) + (unsigned long) init_stack, \
- sr: PS_S, \
- fs: __KERNEL_DS, \
+#define INIT_THREAD { \
+ ksp: sizeof(init_stack) + (unsigned long) init_stack, \
+ sr: PS_S, \
+ fs: __KERNEL_DS, \
+ info: INIT_THREAD_INFO(init_task) \
}

/*

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/