summaryrefslogtreecommitdiff
path: root/kern/thread.c
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2012-12-24 11:52:25 +0100
committerRichard Braun <rbraun@sceen.net>2012-12-24 11:52:25 +0100
commit819113b2a1083ba0323e42bf05313a8c5576783e (patch)
treec87650430e6bfd6e8d375732ed4abf8d6e792ab3 /kern/thread.c
parentd17df48f272339c7596bbf223f4cb581f17dc364 (diff)
kern/thread: fix thread_idles declaration
Idle threads are obviously not init-only data.
Diffstat (limited to 'kern/thread.c')
-rw-r--r--kern/thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kern/thread.c b/kern/thread.c
index 95d54103..d6f40da2 100644
--- a/kern/thread.c
+++ b/kern/thread.c
@@ -37,7 +37,7 @@ struct thread_runq thread_runqs[MAX_CPUS];
* "current" threads during system bootstrap, which prevents preemption
* control functions from crashing.
*/
-static struct thread thread_idles[MAX_CPUS] __initdata;
+static struct thread thread_idles[MAX_CPUS];
/*
* Caches for allocated threads and their stacks.