Commit f8164382 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] M68k thread

From: Geert Uytterhoeven <geert@linux-m68k.org>

M68k: Don't forget to initialize the thread_info member in INIT_THREAD() (from
Roman Zippel)
parent cdf3cc10
......@@ -83,10 +83,11 @@ struct thread_struct {
struct task_work work;
};
#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) \
}
/*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment