diff options
author | Julien Grall <julien.grall@linaro.org> | 2013-09-13 13:49:15 +0100 |
---|---|---|
committer | Ian Campbell <ian.campbell@citrix.com> | 2013-09-17 15:28:08 +0100 |
commit | 7a35c108b35b7e008e5a2bf521b24515c5f8a910 (patch) | |
tree | 70104c96e614726f4d0f468358849e16239ad128 /xen/drivers | |
parent | 1fccdfce51ec3367515f73c59765611ed67e747b (diff) | |
download | xen-7a35c108b35b7e008e5a2bf521b24515c5f8a910.tar.gz xen-7a35c108b35b7e008e5a2bf521b24515c5f8a910.tar.bz2 xen-7a35c108b35b7e008e5a2bf521b24515c5f8a910.zip |
xen/dts: Check the CPU ID is not greater than NR_CPUS
On some board CPU IDs are not contiguous (for instance the Versatile Express
with big.LITTLE supports). If the CPU ID is greater than NR_CPUS Xen will hang
without any message. This is because console driver is not yet initialized and
hypervisor data abort uses printk.
For the moment check the CPU ID and print an warning if an error occured.
Signed-off-by: Julien Grall <julien.grall@linaro.org>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'xen/drivers')
0 files changed, 0 insertions, 0 deletions