diff options
author | Andiii <andi.shyti@samsung.com> | 2016-01-14 07:17:00 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2016-01-27 00:49:02 +0100 |
commit | 9023cc8268c6ba358417d31112ed96e1feb73e56 (patch) | |
tree | 9c795d82edbb5716350055fa68a8e3c6556c329f /arch/arm/kernel/reboot.c | |
parent | ARM: 8497/1: initialize cpu_scale to its default (diff) | |
download | linux-9023cc8268c6ba358417d31112ed96e1feb73e56.tar.xz linux-9023cc8268c6ba358417d31112ed96e1feb73e56.zip |
ARM: 8499/1: irq: l2c: do not print error in case of missing l2c from
arm: irq: l2c: do not print error in case of missing l2c from dtb
In some architectures the L2 cache controller is integrated in the
processor's block itself and it doesn't use any external cache
controller. This means that an entry in the board's dtb related
to the l2c is not necessary.
Distinguish between error codes and do not print anything in case
l2x0_of_init() doesn't find any L2C DTB entry and returns -ENODEV.
This patch mutes the following error message:
L2C: failed to init: -19
on boards like odroid-xu4, cortex A7/A15, which don't have
external cache controller.
Signed-off-by: Andi Shyti <andi.shyti@samsung.com>
Reported-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Tested-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/kernel/reboot.c')
0 files changed, 0 insertions, 0 deletions