• Thomas Gleixner's avatar
    clockevents: Handle empty cpumask gracefully · 1b054b67
    Thomas Gleixner authored
    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: default avatarThomas Gleixner <tglx@linutronix.de>
    Cc: Linus Walleij <linus.walleij@linaro.org
    Cc: Lee Jones <lee.jones@linaro.org>
    Cc: Russell King - ARM Linux <linux@arm.linux.org.uk>
    Cc: Stephen Boyd <sboyd@codeaurora.org>
    1b054b67
clockevents.c 8.46 KB