diff options
author | Thomas Gleixner <[email protected]> | 2011-06-03 11:13:33 +0200 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2011-06-03 11:13:33 +0200 |
commit | 1b054b67d3bfc6dca9f634c104780f3f24ff3eec (patch) | |
tree | af50fb7333001692879c18474e84ac2736f984d1 /lib/mpi/mpiutil.c | |
parent | 1fa7b6a29c61358cc2ca6f64cef4aa0e1a7ca74c (diff) |
clockevents: Handle empty cpumask gracefully
For UP it's stupid to request an initialized cpumask for the clock
event devices. Though we need the mask set even on UP to avoid a
horrible ifdeffery especially in the broadcast code.
For SMP we can at least try to survive with a warning and set the
cpumask of the cpu we're running on. That gives a decent chance to
bring the machine up and retrieve the debug info.
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: Linus Walleij <[email protected]
Cc: Lee Jones <[email protected]>
Cc: Russell King - ARM Linux <[email protected]>
Cc: Stephen Boyd <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions