Messages in this thread | | | Date | Wed, 9 Sep 2015 10:29:45 +0800 | From | Baoquan He <> | Subject | Re: [llvmlinux] percpu | bitmap issue? (Cannot boot on bare metal due to a kernel NULL pointer dereference) |
| |
Seems it happened when call num_possible_cpus() which is a inline function to call __bitmap_weight(). So did you check lib/bitmap.c:__bitmap_weight() by objdump?
setup_percpu: NR_CPUS:256 nr_cpumask_bits:256 nr_cpu_ids:1 nr_node_ids:1
Thanks Baoquan
| |