Skip to contentSkip to conversation

M68k thread

PATCH New Geert Uytterhoeven 1 participant 1 message Jan 1, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 M68k thread

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

include/asm-m68k/processor.h +5 -4
@@ -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 -- [email protected]

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