Arun Sharma
7847777a45
atomic: cleanup asm-generic atomic*.h inclusion
...
After changing all consumers of atomics to include <linux/atomic.h>, we
ran into some compile time errors due to this dependency chain:
linux/atomic.h
-> asm/atomic.h
-> asm-generic/atomic-long.h
where atomic-long.h could use funcs defined later in linux/atomic.h
without a prototype. This patches moves the code that includes
asm-generic/atomic*.h to linux/atomic.h.
Archs that need <asm-generic/atomic64.h> need to select
CONFIG_GENERIC_ATOMIC64 from now on (some of them used to include it
unconditionally).
Compile tested on i386 and x86_64 with allnoconfig.
Signed-off-by: Arun Sharma <asharma@fb.com>
Cc: Eric Dumazet <eric.dumazet@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: David Miller <davem@davemloft.net>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-07-26 16:49:47 -07:00
..
2011-03-31 11:26:23 -03:00
2010-08-05 13:26:04 +01:00
2008-10-11 16:18:52 +01:00
2008-10-11 16:18:52 +01:00
2009-09-17 20:07:42 +02:00
2010-12-16 18:10:56 +00:00
2011-01-18 19:30:28 +01:00
2011-05-19 09:55:46 +01:00
2011-05-19 09:55:47 +01:00
2011-07-25 17:26:53 +01:00
2011-05-19 09:55:49 +01:00
2009-07-03 15:45:29 +01:00
2010-02-27 12:53:00 +01:00
2008-10-11 16:18:52 +01:00
2008-10-11 16:18:52 +01:00
2011-07-25 17:26:55 +01:00
2008-10-15 12:46:51 +01:00
2011-07-25 17:26:55 +01:00
2008-10-15 12:46:51 +01:00
2011-03-31 11:26:23 -03:00
2011-07-25 17:26:55 +01:00
2011-07-11 14:13:46 +02:00
2011-05-19 09:55:43 +01:00
2008-10-11 16:18:52 +01:00
2011-07-25 17:26:55 +01:00
2011-07-25 17:26:55 +01:00
2011-07-25 17:26:55 +01:00
2011-05-19 09:55:39 +01:00
2011-03-31 11:26:23 -03:00
2010-02-27 12:53:14 +01:00
2008-10-11 16:18:52 +01:00
2011-07-25 17:26:55 +01:00
2009-06-17 11:06:26 +01:00
2008-10-11 16:18:52 +01:00
2010-04-12 17:26:19 +01:00
2011-07-25 17:26:53 +01:00
2011-07-25 17:26:53 +01:00
2008-10-11 16:18:52 +01:00
2008-10-11 16:18:52 +01:00
2008-10-11 16:18:52 +01:00
2010-10-04 18:33:56 +01:00
2011-05-19 09:55:41 +01:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2010-02-27 12:53:22 +01:00
2009-07-03 15:45:29 +01:00
2008-10-11 16:18:52 +01:00
2010-04-12 17:26:15 +01:00
2008-10-11 16:18:52 +01:00
2009-07-03 15:45:26 +01:00
2010-08-05 13:26:02 +01:00
2009-12-12 13:08:14 +01:00
2008-10-11 16:18:52 +01:00
2011-04-06 06:19:38 -07:00
2011-04-06 06:19:38 -07:00
2008-12-12 18:12:23 +00:00
2011-07-26 16:49:47 -07:00
2008-10-11 16:18:52 +01:00
2010-02-27 12:53:42 +01:00
2008-10-11 16:18:52 +01:00
2011-03-23 19:46:22 -07:00
2009-06-11 21:02:14 +02:00
2010-10-29 19:08:32 +01:00
2008-10-11 16:18:52 +01:00
2010-08-05 13:26:29 +01:00
2009-12-05 09:10:12 -08:00
2009-06-24 18:34:39 +01:00
2009-01-14 19:56:50 -08:00
2011-05-10 18:15:24 +01:00
2008-10-11 16:18:52 +01:00
2009-11-26 09:16:19 +01:00
2010-08-05 13:26:06 +01:00
2011-05-10 18:15:24 +01:00
2009-05-14 13:50:28 +01:00
2009-12-17 01:57:20 +00:00
2008-10-11 16:18:52 +01:00
2010-10-29 19:08:24 +01:00
2008-10-11 16:18:52 +01:00
2010-09-14 16:08:45 -07:00
2008-10-11 16:18:52 +01:00
2010-10-04 18:34:00 +01:00
2010-08-05 13:26:01 +01:00
2011-01-18 19:30:22 +01:00
2011-05-23 09:12:26 -07:00
2008-10-11 16:18:52 +01:00
2010-02-27 12:53:27 +01:00
2008-10-11 16:18:52 +01:00
2009-09-17 20:07:41 +02:00
2010-10-29 19:08:31 +01:00
2009-05-14 13:50:29 +01:00
2011-05-18 14:18:27 +01:00
2010-10-29 19:08:28 +01:00
2009-07-03 15:45:29 +01:00
2008-10-11 16:18:52 +01:00
2008-10-11 16:18:52 +01:00
2010-12-16 18:10:54 +00:00
2008-10-11 16:18:52 +01:00
2011-03-17 13:08:27 -03:00
2008-10-11 16:18:52 +01:00
2010-10-18 16:59:04 +01:00
2011-07-25 17:26:53 +01:00
2011-07-21 14:10:00 +02:00
2008-10-11 16:18:52 +01:00
2010-04-12 17:26:08 +01:00
2009-12-17 01:57:32 +00:00
2010-02-27 12:53:12 +01:00
2011-03-11 12:23:31 +01:00
2009-11-02 12:00:06 +01:00
2010-10-04 18:33:56 +01:00
2008-10-11 16:18:52 +01:00
2011-07-20 23:12:10 +01:00
2009-09-17 20:07:48 +02:00
2010-08-05 13:26:06 +01:00
2010-10-26 16:52:08 -07:00
2011-05-10 18:15:26 +01:00
2011-07-26 16:49:47 -07:00
2010-02-27 12:53:38 +01:00
2008-10-11 16:18:52 +01:00
2011-01-18 19:30:23 +01:00
2011-03-31 11:26:23 -03:00
2009-06-17 11:06:28 +01:00
2011-02-17 14:16:30 -08:00
2008-10-11 16:18:52 +01:00
2008-10-11 16:18:52 +01:00
2009-07-03 15:45:29 +01:00
2008-10-11 16:18:52 +01:00
2011-07-25 17:26:55 +01:00
2011-03-31 11:26:23 -03:00
2008-10-11 16:18:52 +01:00
2008-10-11 16:18:52 +01:00
2008-10-11 16:18:52 +01:00
2011-04-04 12:48:08 -04:00
2009-01-14 19:56:50 -08:00
2010-08-05 13:26:29 +01:00
2008-10-11 16:18:52 +01:00
2010-08-05 09:22:21 -05:00
2009-06-16 19:47:51 -07:00
2010-08-05 13:26:29 +01:00
2008-10-11 16:18:52 +01:00
2008-10-11 16:18:52 +01:00
2010-06-09 11:12:36 +02:00
2011-07-26 16:49:47 -07:00
2008-10-11 16:18:52 +01:00
2011-01-13 08:03:07 -08:00
2008-10-11 16:18:52 +01:00
2011-01-18 19:30:21 +01:00
2008-10-11 16:18:52 +01:00
2008-10-11 16:18:52 +01:00
2008-10-11 16:18:52 +01:00
2011-03-31 11:26:23 -03:00
2011-01-13 17:32:47 -08:00
2011-01-18 19:30:22 +01:00
2010-04-12 17:26:14 +01:00
2008-10-11 16:18:52 +01:00
2011-05-19 09:55:40 +01:00
2010-02-27 12:53:14 +01:00
2008-10-11 16:18:52 +01:00
2008-10-11 16:18:52 +01:00
2010-02-27 12:53:14 +01:00
2011-03-31 11:26:23 -03:00
2010-10-04 18:33:55 +01:00
2010-02-27 12:53:04 +01:00
2010-02-27 12:53:27 +01:00
2010-08-05 13:26:27 +01:00
2008-10-11 16:18:52 +01:00
2011-03-14 21:07:26 +01:00
2010-02-27 12:53:03 +01:00
2010-10-26 16:52:08 -07:00
2010-10-29 19:08:53 +01:00
2010-02-27 12:53:26 +01:00
2011-07-25 17:26:51 +01:00
2008-10-11 16:18:52 +01:00
2008-10-11 16:18:52 +01:00
2008-10-11 16:18:52 +01:00
2009-03-11 21:11:07 +01:00
2011-03-31 11:26:23 -03:00
2011-05-11 14:53:18 +02:00
2011-05-19 09:55:44 +01:00
2008-10-11 16:18:52 +01:00
2011-04-06 06:19:38 -07:00
2008-10-11 16:18:52 +01:00
2009-07-03 15:45:27 +01:00
2008-10-11 16:18:52 +01:00
2008-10-11 16:18:52 +01:00
2008-10-11 16:18:52 +01:00
2008-10-11 16:18:52 +01:00
2010-08-07 18:15:50 +02:00
2009-03-13 23:07:59 +01:00
2008-10-11 16:18:52 +01:00
2008-10-11 16:18:52 +01:00
2008-10-11 16:18:52 +01:00
2010-02-27 12:53:27 +01:00
2009-11-02 12:00:01 +01:00
2011-04-06 06:19:38 -07:00
2011-04-06 06:19:38 -07:00
2008-10-11 16:18:52 +01:00
2008-10-11 16:18:52 +01:00
2008-10-11 16:18:52 +01:00
2009-02-01 11:01:26 +05:30
2011-03-31 11:26:23 -03:00
2009-06-11 21:01:52 +02:00
2008-10-11 16:18:52 +01:00
2011-07-20 23:12:11 +01:00
2011-07-26 16:49:47 -07:00
2009-11-02 12:00:06 +01:00
2008-10-11 16:18:52 +01:00
2011-07-20 23:12:10 +01:00
2008-10-11 16:18:52 +01:00
2008-10-11 16:18:52 +01:00
2009-10-12 13:26:31 -07:00
2008-10-11 16:18:52 +01:00
2010-02-27 12:53:14 +01:00
2010-02-27 12:53:42 +01:00
2011-03-25 18:45:13 +01:00
2009-11-02 12:00:05 +01:00
2011-03-31 11:26:23 -03:00
2011-06-15 14:35:33 +02:00
2008-10-11 16:18:52 +01:00
2010-08-09 16:48:44 -04:00
2008-10-11 16:18:52 +01:00
2011-05-24 23:35:55 +02:00
2009-07-03 15:45:25 +01:00
2008-10-11 16:18:52 +01:00
2010-10-29 19:08:24 +01:00
2010-08-10 13:47:39 -07:00
2009-01-30 21:32:57 +00:00
2011-05-19 09:55:44 +01:00
2011-02-21 13:33:50 -08:00
2008-10-11 16:18:52 +01:00
2008-10-11 16:18:52 +01:00
2008-10-11 16:18:52 +01:00
2008-10-11 16:18:52 +01:00
2008-10-11 16:18:52 +01:00
2008-10-11 16:18:52 +01:00
2008-10-11 16:18:52 +01:00
2008-10-11 16:18:52 +01:00
2008-10-11 16:18:52 +01:00
2008-10-11 16:18:52 +01:00
2011-03-23 19:47:18 -07:00
2010-10-29 19:08:53 +01:00
2011-07-26 06:47:36 +01:00
2010-02-27 12:53:27 +01:00
2009-09-30 21:47:02 +02:00
2011-07-20 23:12:10 +01:00
2008-10-11 16:18:52 +01:00
2010-04-12 17:26:14 +01:00
2008-10-11 16:18:52 +01:00
2008-10-11 16:18:52 +01:00
2011-03-31 11:26:23 -03:00
2008-10-11 16:18:56 +01:00
2008-10-11 16:18:52 +01:00
2008-10-11 16:18:52 +01:00