diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-12 21:15:51 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-12 21:15:51 -0400 |
commit | cd166bd0dde265a97dd9aa8e3451a2646d96d04b (patch) | |
tree | 3a7fb5b8bb8d7676e804845b75977be380b8dcff /arch/ia64/include | |
parent | 6b702462cbe5b6f372966a53f4465d745d86b65c (diff) | |
parent | 5b02ee3d219f9e01b6e9146e25613822cfc2e5ce (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic:
add generic lib/checksum.c
asm-generic: add a generic uaccess.h
asm-generic: add generic NOMMU versions of some headers
asm-generic: add generic atomic.h and io.h
asm-generic: add legacy I/O header files
asm-generic: add generic versions of common headers
asm-generic: make bitops.h usable
asm-generic: make pci.h usable directly
asm-generic: make get_rtc_time overridable
asm-generic: rename page.h and uaccess.h
asm-generic: rename atomic.h to atomic-long.h
asm-generic: add a generic unistd.h
asm-generic: add generic ABI headers
asm-generic: add generic sysv ipc headers
asm-generic: introduce asm/bitsperlong.h
asm-generic: rename termios.h, signal.h and mman.h
Diffstat (limited to 'arch/ia64/include')
-rw-r--r-- | arch/ia64/include/asm/atomic.h | 2 | ||||
-rw-r--r-- | arch/ia64/include/asm/bitsperlong.h | 8 | ||||
-rw-r--r-- | arch/ia64/include/asm/mman.h | 2 | ||||
-rw-r--r-- | arch/ia64/include/asm/signal.h | 2 | ||||
-rw-r--r-- | arch/ia64/include/asm/types.h | 7 |
5 files changed, 11 insertions, 10 deletions
diff --git a/arch/ia64/include/asm/atomic.h b/arch/ia64/include/asm/atomic.h index d37292bd9875..88405cb0832a 100644 --- a/arch/ia64/include/asm/atomic.h +++ b/arch/ia64/include/asm/atomic.h | |||
@@ -216,5 +216,5 @@ atomic64_add_negative (__s64 i, atomic64_t *v) | |||
216 | #define smp_mb__before_atomic_inc() barrier() | 216 | #define smp_mb__before_atomic_inc() barrier() |
217 | #define smp_mb__after_atomic_inc() barrier() | 217 | #define smp_mb__after_atomic_inc() barrier() |
218 | 218 | ||
219 | #include <asm-generic/atomic.h> | 219 | #include <asm-generic/atomic-long.h> |
220 | #endif /* _ASM_IA64_ATOMIC_H */ | 220 | #endif /* _ASM_IA64_ATOMIC_H */ |
diff --git a/arch/ia64/include/asm/bitsperlong.h b/arch/ia64/include/asm/bitsperlong.h new file mode 100644 index 000000000000..ec4db3c970b7 --- /dev/null +++ b/arch/ia64/include/asm/bitsperlong.h | |||
@@ -0,0 +1,8 @@ | |||
1 | #ifndef __ASM_IA64_BITSPERLONG_H | ||
2 | #define __ASM_IA64_BITSPERLONG_H | ||
3 | |||
4 | #define __BITS_PER_LONG 64 | ||
5 | |||
6 | #include <asm-generic/bitsperlong.h> | ||
7 | |||
8 | #endif /* __ASM_IA64_BITSPERLONG_H */ | ||
diff --git a/arch/ia64/include/asm/mman.h b/arch/ia64/include/asm/mman.h index c73b87832a1e..48cf8b98a0b4 100644 --- a/arch/ia64/include/asm/mman.h +++ b/arch/ia64/include/asm/mman.h | |||
@@ -8,7 +8,7 @@ | |||
8 | * David Mosberger-Tang <davidm@hpl.hp.com>, Hewlett-Packard Co | 8 | * David Mosberger-Tang <davidm@hpl.hp.com>, Hewlett-Packard Co |
9 | */ | 9 | */ |
10 | 10 | ||
11 | #include <asm-generic/mman.h> | 11 | #include <asm-generic/mman-common.h> |
12 | 12 | ||
13 | #define MAP_GROWSDOWN 0x00100 /* stack-like segment */ | 13 | #define MAP_GROWSDOWN 0x00100 /* stack-like segment */ |
14 | #define MAP_GROWSUP 0x00200 /* register stack-like segment */ | 14 | #define MAP_GROWSUP 0x00200 /* register stack-like segment */ |
diff --git a/arch/ia64/include/asm/signal.h b/arch/ia64/include/asm/signal.h index 4f5ca5643cb1..b166248d49a4 100644 --- a/arch/ia64/include/asm/signal.h +++ b/arch/ia64/include/asm/signal.h | |||
@@ -114,7 +114,7 @@ | |||
114 | 114 | ||
115 | #endif /* __KERNEL__ */ | 115 | #endif /* __KERNEL__ */ |
116 | 116 | ||
117 | #include <asm-generic/signal.h> | 117 | #include <asm-generic/signal-defs.h> |
118 | 118 | ||
119 | # ifndef __ASSEMBLY__ | 119 | # ifndef __ASSEMBLY__ |
120 | 120 | ||
diff --git a/arch/ia64/include/asm/types.h b/arch/ia64/include/asm/types.h index e36b3716e718..fbf1ed3b44ce 100644 --- a/arch/ia64/include/asm/types.h +++ b/arch/ia64/include/asm/types.h | |||
@@ -19,10 +19,6 @@ | |||
19 | # define __IA64_UL(x) (x) | 19 | # define __IA64_UL(x) (x) |
20 | # define __IA64_UL_CONST(x) x | 20 | # define __IA64_UL_CONST(x) x |
21 | 21 | ||
22 | # ifdef __KERNEL__ | ||
23 | # define BITS_PER_LONG 64 | ||
24 | # endif | ||
25 | |||
26 | #else | 22 | #else |
27 | # define __IA64_UL(x) ((unsigned long)(x)) | 23 | # define __IA64_UL(x) ((unsigned long)(x)) |
28 | # define __IA64_UL_CONST(x) x##UL | 24 | # define __IA64_UL_CONST(x) x##UL |
@@ -34,10 +30,7 @@ typedef unsigned int umode_t; | |||
34 | */ | 30 | */ |
35 | # ifdef __KERNEL__ | 31 | # ifdef __KERNEL__ |
36 | 32 | ||
37 | #define BITS_PER_LONG 64 | ||
38 | |||
39 | /* DMA addresses are 64-bits wide, in general. */ | 33 | /* DMA addresses are 64-bits wide, in general. */ |
40 | |||
41 | typedef u64 dma_addr_t; | 34 | typedef u64 dma_addr_t; |
42 | 35 | ||
43 | # endif /* __KERNEL__ */ | 36 | # endif /* __KERNEL__ */ |