diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-10-13 13:21:55 +0300 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-10-15 16:32:24 +0300 |
commit | dd74b945af2e67791613dc98c6ce7a0058f3a72b (patch) | |
tree | ec39c905c76947af3d8db8f2c30d6a95da4b009b /arch/arm/mach-uniphier/arm32/psci.c | |
parent | f73cfb4d0dee2838d11c652f4ccba4d591ae9e2a (diff) | |
download | u-boot-dd74b945af2e67791613dc98c6ce7a0058f3a72b.tar.xz |
ARM: uniphier: use pr_() instead of printf() where appropriate
Replace printf() with pr_() to specify proper loglevel.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'arch/arm/mach-uniphier/arm32/psci.c')
-rw-r--r-- | arch/arm/mach-uniphier/arm32/psci.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-uniphier/arm32/psci.c b/arch/arm/mach-uniphier/arm32/psci.c index 3ab101a9cf..efe7419cc9 100644 --- a/arch/arm/mach-uniphier/arm32/psci.c +++ b/arch/arm/mach-uniphier/arm32/psci.c @@ -7,8 +7,10 @@ #include <common.h> #include <linux/bitops.h> +#include <linux/delay.h> #include <linux/io.h> #include <linux/kernel.h> +#include <linux/printk.h> #include <linux/psci.h> #include <linux/sizes.h> #include <asm/processor.h> @@ -91,7 +93,7 @@ static void uniphier_smp_kick_all_cpus(void) } if (!timeout) - printf("warning: some of secondary CPUs may not boot\n"); + pr_warn("warning: some of secondary CPUs may not boot\n"); uniphier_cache_disable(); } |