aboutsummaryrefslogtreecommitdiffstats
path: root/lib/spinlock_debug.c
diff options
context:
space:
mode:
authorGrant Likely <[email protected]>2013-10-03 20:04:31 +0000
committerGrant Likely <[email protected]>2013-10-14 11:43:44 +0000
commit444c91e5720cb5b825356e32c67c2c5184d1c09a (patch)
treea264d45e0bce1325775c12ae9c73e3d64b5df21d /lib/spinlock_debug.c
parentLinux 3.12-rc5 (diff)
downloadkernel-444c91e5720cb5b825356e32c67c2c5184d1c09a.tar.gz
kernel-444c91e5720cb5b825356e32c67c2c5184d1c09a.zip
of: fix unnecessary warning on missing /cpus node
Not all DT platforms have all the cpus collected under a /cpus node. That just happens to be a details of FDT, ePAPR and PowerPC platforms. Sparc does something different, but unfortunately the current code complains with a warning if /cpus isn't there. This became a problem with commit f86e4718, "driver/core cpu: initialize of_node in cpu's device structure", which caused the function to get called for all architectures. This commit is a temporary fix to fail silently if the cpus node isn't present. A proper fix will come later to allow arch code to provide a custom mechanism for decoding the CPU hwid if the 'reg' property isn't appropriate. Signed-off-by: Grant Likely <[email protected]> Cc: David Miller <[email protected]> Cc: Sudeep KarkadaNagesha <[email protected]> Cc: Rob Herring <[email protected]>
Diffstat (limited to 'lib/spinlock_debug.c')
0 files changed, 0 insertions, 0 deletions