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-07-21 17:39:28 -06:00
2015-07-21 17:39:40 -06:00
2015-07-21 17:39:35 -06:00
2015-07-08 18:26:41 -04:00
2015-07-20 11:44:37 -07:00
2015-07-22 07:30:37 -06:00
2015-07-21 17:39:27 -06:00
2015-07-21 17:39:33 -06:00
2015-07-20 11:44:37 -07:00
2015-07-09 12:35:24 -04:00
2015-05-04 16:51:53 +02:00
2015-05-04 16:51:53 +02:00
2015-05-04 16:51:53 +02:00
2015-05-05 20:58:20 -06:00
2015-06-10 19:26:54 -06:00
2015-05-28 08:18:21 -04:00
2015-05-28 08:18:20 -04:00
2015-07-21 17:39:29 -06:00
2015-07-21 17:39:21 -06:00
2015-06-25 22:18:34 -04:00
2015-04-19 14:45:58 -06:00
2015-06-01 09:40:15 -05:00
2015-04-21 10:19:19 -07:00
2015-06-10 19:26:55 -06:00
2015-07-14 18:03:16 -06:00
2015-07-21 17:39:21 -06:00
2015-04-29 21:02:33 -06:00
2015-05-13 09:24:10 -07:00
2015-07-21 17:39:25 -06:00
2015-05-04 09:25:39 -07:00
2015-05-14 18:49:34 -06:00
2015-05-13 09:24:10 -07:00
2015-05-21 09:13:19 -04:00
2015-07-08 18:26:39 -04:00
2015-05-19 13:33:21 -05:00
2015-05-21 09:13:20 -04:00
2015-07-20 11:44:37 -07:00
2015-07-20 07:21:47 -06:00
2015-06-10 19:26:55 -06:00
2015-05-28 08:18:24 -04:00
2015-04-23 08:55:58 -07:00
2015-07-20 11:44:35 -07:00
2015-04-21 10:26:29 -07:00
2015-05-04 09:25:39 -07:00
2015-04-23 16:46:50 -07:00
2015-05-20 10:34:09 -07:00
2015-04-23 08:55:57 -07:00
2015-05-04 09:23:50 -07:00
2015-06-08 17:32:40 -04:00
2015-06-10 19:26:54 -06:00
2015-07-21 17:39:20 -06:00
2015-05-19 15:31:40 +02:00
2015-07-21 17:39:32 -06:00
2015-07-21 17:39:20 -06:00
2015-04-23 09:05:53 -06:00
2015-07-21 17:39:25 -06:00
2015-04-20 10:15:29 -07:00
2015-04-23 13:59:18 -04:00
2015-07-21 17:39:41 -06:00
2015-05-04 16:51:54 +02:00
2015-06-10 19:26:55 -06:00
2015-06-04 03:34:47 -06:00
2015-06-04 02:39:39 -06:00
2015-07-21 17:39:39 -06:00
2015-04-20 17:57:13 -05:00
2015-04-20 10:15:29 -07:00
2015-07-21 17:39:27 -06:00
2015-07-21 17:39:28 -06:00
2015-07-21 17:39:23 -06:00
2015-07-21 17:39:31 -06:00
2015-05-05 20:58:20 -06:00
2015-05-05 20:58:39 -06:00
2015-06-08 15:25:44 +02:00
2015-06-12 16:52:32 -04:00
2015-05-21 09:13:19 -04:00
2015-04-29 18:51:48 -06:00
2015-07-01 21:15:03 +05:30
2015-07-01 21:15:03 +05:30
2015-07-21 17:39:28 -06:00
2015-04-23 09:43:08 -04:00
2015-07-21 17:39:24 -06:00
2015-07-21 17:39:40 -06:00
2015-07-21 17:39:40 -06:00
2015-07-14 18:03:19 -06:00
2015-05-27 13:35:55 -04:00
2015-04-20 09:47:28 +02:00
2015-07-21 17:39:28 -06:00