On Tue, Feb 12, 2019 at 4:40 PM Atish Patra <[email protected]> wrote: > > Currently, clocksource registration happens for an invalid cpu for > non-smp kernels. This lead to kernel panic as cpu hotplug registration > will fail for those cpus. Moreover, riscv_hartid_to_cpuid can return > errors now. > > Do not proceed if hartid or cpuid is invalid. Take this opprtunity to
s/opprtunity/opportunity Otherwise, looks good to me. Reviewed-by: Anup Patel <[email protected]> Regards, Anup

