Arnd Bergmann
c31ae4bb4a
asm-generic: introduce asm/bitsperlong.h
...
This provides a reliable way for asm-generic/types.h and other
files to find out if it is running on a 32 or 64 bit platform.
We cannot use CONFIG_64BIT for this in headers that are included
from user space because CONFIG symbols are not available there.
We also cannot do it inside of asm/types.h because some headers
need the word size but cannot include types.h.
The solution is to introduce a new header <asm/bitsperlong.h>
that defines both __BITS_PER_LONG for user space and
BITS_PER_LONG for usage in the kernel. The asm-generic
version falls back to 32 bit unless the architecture overrides
it, which I did for all 64 bit platforms.
Signed-off-by: Remis Lima Baima <remis.developer@googlemail.com >
Signed-off-by: Arnd Bergmann <arnd@arndb.de >
2009-06-11 21:02:14 +02:00
..
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2009-03-10 15:49:54 +09:00
2008-07-29 08:09:44 +09:00
2009-01-29 11:57:10 +09:00
2008-07-29 08:09:44 +09:00
2009-01-06 15:59:10 -08:00
2008-07-29 23:12:25 +09:00
2008-12-22 18:42:53 +09:00
2009-01-29 11:57:09 +09:00
2008-12-22 18:42:54 +09:00
2008-12-22 18:42:54 +09:00
2009-06-11 21:02:14 +02:00
2008-07-29 08:09:44 +09:00
2008-12-22 18:43:50 +09:00
2009-01-14 19:56:50 -08:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2009-03-11 17:18:46 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2009-01-29 11:57:09 +09:00
2009-03-17 17:49:49 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2009-04-09 10:36:54 -07:00
2009-03-16 19:43:08 +09:00
2009-03-10 17:26:49 +09:00
2008-07-29 08:09:44 +09:00
2008-12-28 12:33:21 -08:00
2008-07-29 08:09:44 +09:00
2009-02-27 16:41:17 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2009-05-29 08:40:02 -07:00
2008-09-21 19:04:55 +09:00
2008-07-29 08:09:44 +09:00
2008-12-22 18:43:50 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2009-01-27 14:49:10 +09:00
2008-07-29 08:09:44 +09:00
2009-03-20 18:57:48 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-10-01 16:13:54 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-10-04 05:25:52 +09:00
2008-07-29 08:09:44 +09:00
2009-03-10 15:49:54 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-09-08 10:35:04 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2009-01-14 19:56:50 -08:00
2008-10-21 18:33:36 +09:00
2008-08-15 08:35:42 -07:00
2008-12-22 18:44:04 +09:00
2008-07-29 08:09:44 +09:00
2009-01-29 15:41:15 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-12-22 18:44:45 +09:00
2008-07-29 08:09:44 +09:00
2009-06-11 21:01:52 +02:00
2009-03-17 17:49:49 +09:00
2008-07-29 08:09:44 +09:00
2009-03-17 17:49:49 +09:00
2009-03-31 07:42:37 +09:00
2008-09-12 22:41:30 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2009-01-29 11:56:03 +09:00
2008-12-22 18:42:55 +09:00
2009-03-10 15:49:54 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-11-10 20:00:45 +09:00
2008-07-29 08:09:44 +09:00
2009-01-21 17:41:21 +09:00
2009-01-21 17:41:21 +09:00
2008-07-29 08:09:44 +09:00
2009-04-04 11:48:11 -04:00
2009-01-29 15:41:15 +09:00
2009-03-03 15:40:25 +09:00
2009-04-27 17:05:38 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-09-08 10:35:04 +09:00
2008-07-29 08:09:44 +09:00
2009-04-09 10:36:54 -07:00
2008-08-02 04:39:32 +09:00
2009-03-10 12:55:40 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-10-28 20:07:44 +09:00
2008-09-17 23:24:59 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-12-22 18:44:44 +09:00
2008-08-07 02:20:57 -04:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2009-06-11 21:01:52 +02:00
2008-09-21 10:31:57 +09:00
2008-07-29 08:09:44 +09:00
2008-12-13 21:20:26 +10:30
2009-02-15 22:43:33 -08:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2009-04-02 19:05:11 -07:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-12-22 18:44:05 +09:00
2008-07-29 08:09:44 +09:00
2009-03-16 19:52:53 +09:00
2009-01-06 18:10:27 -08:00
2009-01-29 11:56:03 +09:00
2009-01-29 11:56:03 +09:00
2008-09-12 22:13:13 +09:00
2009-01-14 14:15:15 +01:00
2008-09-08 10:35:04 +09:00
2008-09-08 10:35:04 +09:00
2009-04-04 11:48:11 -04:00
2008-07-29 08:09:44 +09:00
2009-04-02 13:08:31 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-09-20 20:21:33 +09:00
2009-01-29 16:44:17 +09:00
2008-07-29 08:09:44 +09:00
2008-08-04 12:51:06 +09:00
2009-03-17 21:19:49 +09:00
2008-07-29 08:09:44 +09:00
2009-04-07 17:11:15 -07:00
2008-07-29 08:09:44 +09:00
2008-07-29 09:16:33 +09:00
2008-09-29 19:45:16 +09:00
2008-07-29 09:16:33 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-12-22 18:43:48 +09:00
2008-12-22 18:43:48 +09:00
2009-04-06 09:00:16 -07:00
2009-04-06 09:00:16 -07:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00
2008-07-29 08:09:44 +09:00