1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 16:52:14 +02:00
Files
u-boot-megous/include
Masahiro Yamada 3721eaf28e linux_compat: remove cpu_relax() define
The macro cpu_relax() is defined by several headers in different
ways.

arch/{arm,avr32,mips}/include/asm/processor.h defines it as follows:
  #define cpu_relax()	barrier()

On the other hand, include/linux/compat.h defines it as follows:
  #define cpu_relax() do {} while (0)

If both headers are included from the same source file, the warning
  warning: "cpu_relax" redefined [enabled by default]
is displayed.

It effectively makes it impossible to include <linux/compat.h>
from some sources.  Drop the latter.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
Acked-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Lukasz Majewski <l.majewski@samsung.com>
2015-07-22 07:30:37 -06:00
..
2015-05-05 20:58:20 -06:00
2015-06-10 19:26:54 -06:00
2015-07-21 17:39:29 -06:00
2015-07-21 17:39:25 -06:00
2015-06-10 19:26:55 -06:00
2015-05-28 08:18:24 -04:00
2015-04-23 16:46:50 -07:00
2015-04-23 09:05:53 -06:00
2015-07-21 17:39:25 -06:00
2015-06-04 03:34:47 -06:00
2015-06-04 02:39:39 -06:00
2015-04-20 17:57:13 -05:00
2015-07-21 17:39:27 -06:00
2015-07-21 17:39:28 -06:00
2015-07-01 21:15:03 +05:30
2015-07-01 21:15:03 +05:30