aboutsummaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorJon Medhurst <tixy@linaro.org>2013-05-28 18:16:24 +0100
committerJon Medhurst <tixy@linaro.org>2013-06-10 09:57:51 +0100
commit882503738c0cbef28da55b511913c0c603016e26 (patch)
tree083e3c9d297e43cb45a6856a6811bcb993bfcba3 /init
parentb3a53661af871deeeda00421cc8d5fcb58548488 (diff)
gator: Prevent BUG() when no device-tree is present.tracking-gator-llct-20130610.0
When booting on boards without a device-tree the function calc_first_cluster_size will find no cpu nodes and then call BUG_ON(). Prevent this by bailing out early if we don't have a device-tree. It is assumed that any system with an active IKS will be device-tree based so this change won't affect these. Signed-off-by: Jon Medhurst <tixy@linaro.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions