u-boot/arch/x86/cpu
Masahiro Yamada 9b643e312d treewide: replace with error() with pr_err()
U-Boot widely uses error() as a bit noisier variant of printf().

This macro causes name conflict with the following line in
include/linux/compiler-gcc.h:

  # define __compiletime_error(message) __attribute__((error(message)))

This prevents us from using __compiletime_error(), and makes it
difficult to fully sync BUILD_BUG macros with Linux.  (Notice
Linux's BUILD_BUG_ON_MSG is implemented by using compiletime_assert().)

Let's convert error() into now treewide-available pr_err().

Done with the help of Coccinelle, excluing tools/ directory.

The semantic patch I used is as follows:

// <smpl>
@@@@
-error
+pr_err
 (...)
// </smpl>

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
[trini: Re-run Coccinelle]
Signed-off-by: Tom Rini <trini@konsulko.com>
2017-10-04 11:59:44 -04:00
..
baytrail x86: baytrail: acpi: Add full reset bit to the reset register value in FADT 2017-09-02 23:35:55 +08:00
braswell x86: braswell: Disable PUNIT power configuration for B0 stepping 2017-09-16 14:57:44 +08:00
broadwell env: Convert CONFIG_ENV_IS_IN... to a choice 2017-08-15 20:50:01 -04:00
coreboot env: Convert CONFIG_ENV_IS_IN... to a choice 2017-08-15 20:50:01 -04:00
efi x86: kconfig: Select ARCH_MISC_INIT in the platform Kconfig 2017-08-01 20:17:02 +08:00
i386 x86: Force 32-bit jumps in interrupt handlers 2017-02-21 14:53:29 +08:00
intel_common dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
ivybridge x86: ivybridge: remove unused variables 2017-09-16 14:57:44 +08:00
qemu env: Convert CONFIG_ENV_IS_IN... to a choice 2017-08-15 20:50:01 -04:00
quark env: Convert CONFIG_ENV_IS_IN... to a choice 2017-08-15 20:50:01 -04:00
queensbay env: Convert CONFIG_ENV_IS_IN... to a choice 2017-08-15 20:50:01 -04:00
tangier treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
x86_64 board_f: x86: Use checkcpu() for CPU init 2017-04-05 13:55:09 -04:00
Makefile x86: Add Intel Braswell SoC support 2017-09-16 14:57:44 +08:00
call32.S
config.mk x86: Update compile/link flags to support 64-bit U-Boot 2017-02-07 13:14:54 +08:00
cpu.c x86: acpi: Fix Windows S3 resume failure 2017-05-17 17:11:46 +08:00
cpu_x86.c x86: Drop leading spaces in cpu_x86_get_desc() 2017-04-18 15:51:21 +08:00
ioapic.c
irq.c dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
lapic.c
mp_init.c x86: Intel MID platforms has no microcode update 2017-02-21 15:10:56 +08:00
mtrr.c
pci.c
resetvec.S
sipi_vector.S
start.S x86: make LOAD_FROM_32_BIT visible for platforms 2017-02-07 13:36:50 +08:00
start16.S
start64.S x86: Add 64-bit start-up code 2017-02-06 11:38:46 +08:00
turbo.c x86: Convert CPU_INTEL_TURBO_NOT_PACKAGE_SCOPED to Kconfig 2017-08-24 11:00:47 +08:00
u-boot-64.lds x86: Add a link script for 64-bit x86 2017-02-06 11:38:46 +08:00
u-boot-spl.lds x86: Add a link script for SPL 2017-02-06 11:38:46 +08:00
u-boot.lds
wakeup.S x86: acpi: Add wake up assembly stub 2017-05-17 17:11:46 +08:00