diff options
author | Andrew Morton <akpm@osdl.org> | 2006-04-11 01:53:58 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-04-11 09:18:40 -0400 |
commit | ba6edfcd1708da2e665f14eee76e87f39448ec40 (patch) | |
tree | 68aaebb5d97c31712567fb459dcd34343a514b78 /include/asm-v850/ipc.h | |
parent | 5246d0503130fa58904c8beb987fcf93b96d8ab6 (diff) |
[PATCH] timer initialisation fix
We need the boot CPU's tvec_bases[] entry to be initialised super-early in
boot, for early_serial_setup(). That runs within setup_arch(), before even
per-cpu areas are initialised.
The patch changes tvec_bases to use compile-time initialisation, and adds a
separate array `tvec_base_done' to keep track of which CPU has had its
tvec_bases[] entry initialised (because we can no longer use the zeroness of
that tvec_bases[] entry to determine whether it has been initialised).
Thanks to Eugene Surovegin <ebs@ebshome.net> for diagnosing this.
Cc: Eugene Surovegin <ebs@ebshome.net>
Cc: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-v850/ipc.h')
0 files changed, 0 insertions, 0 deletions