diff options
| author | Steve French <sfrench@us.ibm.com> | 2006-03-07 16:47:30 -0500 |
|---|---|---|
| committer | Steve French <sfrench@us.ibm.com> | 2006-03-07 16:47:30 -0500 |
| commit | f6e77c94796edad172602234826a022d463d910e (patch) | |
| tree | f5cb0848c9e848499b0f0676fafe7ff207538ae8 /include | |
| parent | beb84dc8186662b17d5ea510fabb85cb7e266d33 (diff) | |
| parent | d0b004840bd3b5ff2f2a0ad14fa0bd43349f5175 (diff) | |
Merge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/asm-s390/system.h | 2 | ||||
| -rw-r--r-- | include/asm-sparc64/futex.h | 2 | ||||
| -rw-r--r-- | include/asm-sparc64/uaccess.h | 12 | ||||
| -rw-r--r-- | include/linux/hrtimer.h | 4 | ||||
| -rw-r--r-- | include/linux/kmalloc_sizes.h | 4 | ||||
| -rw-r--r-- | include/linux/memory_hotplug.h | 4 | ||||
| -rw-r--r-- | include/linux/pci_ids.h | 2 | ||||
| -rw-r--r-- | include/linux/reiserfs_fs.h | 2 |
8 files changed, 23 insertions, 9 deletions
diff --git a/include/asm-s390/system.h b/include/asm-s390/system.h index b2e65e8bf812..6a89dbb03c1e 100644 --- a/include/asm-s390/system.h +++ b/include/asm-s390/system.h | |||
| @@ -118,6 +118,8 @@ static inline void sched_cacheflush(void) | |||
| 118 | extern void account_vtime(struct task_struct *); | 118 | extern void account_vtime(struct task_struct *); |
| 119 | extern void account_tick_vtime(struct task_struct *); | 119 | extern void account_tick_vtime(struct task_struct *); |
| 120 | extern void account_system_vtime(struct task_struct *); | 120 | extern void account_system_vtime(struct task_struct *); |
| 121 | #else | ||
| 122 | #define account_vtime(x) do { /* empty */ } while (0) | ||
| 121 | #endif | 123 | #endif |
| 122 | 124 | ||
| 123 | #define finish_arch_switch(prev) do { \ | 125 | #define finish_arch_switch(prev) do { \ |
diff --git a/include/asm-sparc64/futex.h b/include/asm-sparc64/futex.h index 0caf60147e97..34c4b43d3f98 100644 --- a/include/asm-sparc64/futex.h +++ b/include/asm-sparc64/futex.h | |||
| @@ -20,7 +20,7 @@ | |||
| 20 | "4: ba 3b\n" \ | 20 | "4: ba 3b\n" \ |
| 21 | " mov %5, %0\n" \ | 21 | " mov %5, %0\n" \ |
| 22 | " .previous\n" \ | 22 | " .previous\n" \ |
| 23 | " .section __ex_table,#alloc\n" \ | 23 | " .section __ex_table,\"a\"\n" \ |
| 24 | " .align 4\n" \ | 24 | " .align 4\n" \ |
| 25 | " .word 1b, 4b\n" \ | 25 | " .word 1b, 4b\n" \ |
| 26 | " .word 2b, 4b\n" \ | 26 | " .word 2b, 4b\n" \ |
diff --git a/include/asm-sparc64/uaccess.h b/include/asm-sparc64/uaccess.h index 203e8eee6351..c91d1e38eac6 100644 --- a/include/asm-sparc64/uaccess.h +++ b/include/asm-sparc64/uaccess.h | |||
| @@ -136,7 +136,7 @@ __asm__ __volatile__( \ | |||
| 136 | "b 2b\n\t" \ | 136 | "b 2b\n\t" \ |
| 137 | " mov %3, %0\n\n\t" \ | 137 | " mov %3, %0\n\n\t" \ |
| 138 | ".previous\n\t" \ | 138 | ".previous\n\t" \ |
| 139 | ".section __ex_table,#alloc\n\t" \ | 139 | ".section __ex_table,\"a\"\n\t" \ |
| 140 | ".align 4\n\t" \ | 140 | ".align 4\n\t" \ |
| 141 | ".word 1b, 3b\n\t" \ | 141 | ".word 1b, 3b\n\t" \ |
| 142 | ".previous\n\n\t" \ | 142 | ".previous\n\n\t" \ |
| @@ -148,7 +148,7 @@ if (__builtin_constant_p(ret) && ret == -EFAULT) \ | |||
| 148 | __asm__ __volatile__( \ | 148 | __asm__ __volatile__( \ |
| 149 | "/* Put user asm ret, inline. */\n" \ | 149 | "/* Put user asm ret, inline. */\n" \ |
| 150 | "1:\t" "st"#size "a %1, [%2] %%asi\n\n\t" \ | 150 | "1:\t" "st"#size "a %1, [%2] %%asi\n\n\t" \ |
| 151 | ".section __ex_table,#alloc\n\t" \ | 151 | ".section __ex_table,\"a\"\n\t" \ |
| 152 | ".align 4\n\t" \ | 152 | ".align 4\n\t" \ |
| 153 | ".word 1b, __ret_efault\n\n\t" \ | 153 | ".word 1b, __ret_efault\n\n\t" \ |
| 154 | ".previous\n\n\t" \ | 154 | ".previous\n\n\t" \ |
| @@ -163,7 +163,7 @@ __asm__ __volatile__( \ | |||
| 163 | "ret\n\t" \ | 163 | "ret\n\t" \ |
| 164 | " restore %%g0, %3, %%o0\n\n\t" \ | 164 | " restore %%g0, %3, %%o0\n\n\t" \ |
| 165 | ".previous\n\t" \ | 165 | ".previous\n\t" \ |
| 166 | ".section __ex_table,#alloc\n\t" \ | 166 | ".section __ex_table,\"a\"\n\t" \ |
| 167 | ".align 4\n\t" \ | 167 | ".align 4\n\t" \ |
| 168 | ".word 1b, 3b\n\n\t" \ | 168 | ".word 1b, 3b\n\n\t" \ |
| 169 | ".previous\n\n\t" \ | 169 | ".previous\n\n\t" \ |
| @@ -206,7 +206,7 @@ __asm__ __volatile__( \ | |||
| 206 | "b 2b\n\t" \ | 206 | "b 2b\n\t" \ |
| 207 | " mov %3, %0\n\n\t" \ | 207 | " mov %3, %0\n\n\t" \ |
| 208 | ".previous\n\t" \ | 208 | ".previous\n\t" \ |
| 209 | ".section __ex_table,#alloc\n\t" \ | 209 | ".section __ex_table,\"a\"\n\t" \ |
| 210 | ".align 4\n\t" \ | 210 | ".align 4\n\t" \ |
| 211 | ".word 1b, 3b\n\n\t" \ | 211 | ".word 1b, 3b\n\n\t" \ |
| 212 | ".previous\n\t" \ | 212 | ".previous\n\t" \ |
| @@ -218,7 +218,7 @@ if (__builtin_constant_p(retval) && retval == -EFAULT) \ | |||
| 218 | __asm__ __volatile__( \ | 218 | __asm__ __volatile__( \ |
| 219 | "/* Get user asm ret, inline. */\n" \ | 219 | "/* Get user asm ret, inline. */\n" \ |
| 220 | "1:\t" "ld"#size "a [%1] %%asi, %0\n\n\t" \ | 220 | "1:\t" "ld"#size "a [%1] %%asi, %0\n\n\t" \ |
| 221 | ".section __ex_table,#alloc\n\t" \ | 221 | ".section __ex_table,\"a\"\n\t" \ |
| 222 | ".align 4\n\t" \ | 222 | ".align 4\n\t" \ |
| 223 | ".word 1b,__ret_efault\n\n\t" \ | 223 | ".word 1b,__ret_efault\n\n\t" \ |
| 224 | ".previous\n\t" \ | 224 | ".previous\n\t" \ |
| @@ -233,7 +233,7 @@ __asm__ __volatile__( \ | |||
| 233 | "ret\n\t" \ | 233 | "ret\n\t" \ |
| 234 | " restore %%g0, %2, %%o0\n\n\t" \ | 234 | " restore %%g0, %2, %%o0\n\n\t" \ |
| 235 | ".previous\n\t" \ | 235 | ".previous\n\t" \ |
| 236 | ".section __ex_table,#alloc\n\t" \ | 236 | ".section __ex_table,\"a\"\n\t" \ |
| 237 | ".align 4\n\t" \ | 237 | ".align 4\n\t" \ |
| 238 | ".word 1b, 3b\n\n\t" \ | 238 | ".word 1b, 3b\n\n\t" \ |
| 239 | ".previous\n\t" \ | 239 | ".previous\n\t" \ |
diff --git a/include/linux/hrtimer.h b/include/linux/hrtimer.h index 6361544bb6ae..6401c31d6add 100644 --- a/include/linux/hrtimer.h +++ b/include/linux/hrtimer.h | |||
| @@ -116,6 +116,10 @@ extern int hrtimer_try_to_cancel(struct hrtimer *timer); | |||
| 116 | extern ktime_t hrtimer_get_remaining(const struct hrtimer *timer); | 116 | extern ktime_t hrtimer_get_remaining(const struct hrtimer *timer); |
| 117 | extern int hrtimer_get_res(const clockid_t which_clock, struct timespec *tp); | 117 | extern int hrtimer_get_res(const clockid_t which_clock, struct timespec *tp); |
| 118 | 118 | ||
| 119 | #ifdef CONFIG_NO_IDLE_HZ | ||
| 120 | extern ktime_t hrtimer_get_next_event(void); | ||
| 121 | #endif | ||
| 122 | |||
| 119 | static inline int hrtimer_active(const struct hrtimer *timer) | 123 | static inline int hrtimer_active(const struct hrtimer *timer) |
| 120 | { | 124 | { |
| 121 | return timer->state == HRTIMER_PENDING; | 125 | return timer->state == HRTIMER_PENDING; |
diff --git a/include/linux/kmalloc_sizes.h b/include/linux/kmalloc_sizes.h index d82d4c05c12d..bda23e00ed71 100644 --- a/include/linux/kmalloc_sizes.h +++ b/include/linux/kmalloc_sizes.h | |||
| @@ -19,8 +19,10 @@ | |||
| 19 | CACHE(32768) | 19 | CACHE(32768) |
| 20 | CACHE(65536) | 20 | CACHE(65536) |
| 21 | CACHE(131072) | 21 | CACHE(131072) |
| 22 | #ifndef CONFIG_MMU | 22 | #if (NR_CPUS > 512) || (MAX_NUMNODES > 256) || !defined(CONFIG_MMU) |
| 23 | CACHE(262144) | 23 | CACHE(262144) |
| 24 | #endif | ||
| 25 | #ifndef CONFIG_MMU | ||
| 24 | CACHE(524288) | 26 | CACHE(524288) |
| 25 | CACHE(1048576) | 27 | CACHE(1048576) |
| 26 | #ifdef CONFIG_LARGE_ALLOCS | 28 | #ifdef CONFIG_LARGE_ALLOCS |
diff --git a/include/linux/memory_hotplug.h b/include/linux/memory_hotplug.h index 01f03bc06eff..968b1aa3732c 100644 --- a/include/linux/memory_hotplug.h +++ b/include/linux/memory_hotplug.h | |||
| @@ -6,6 +6,10 @@ | |||
| 6 | #include <linux/mmzone.h> | 6 | #include <linux/mmzone.h> |
| 7 | #include <linux/notifier.h> | 7 | #include <linux/notifier.h> |
| 8 | 8 | ||
| 9 | struct page; | ||
| 10 | struct zone; | ||
| 11 | struct pglist_data; | ||
| 12 | |||
| 9 | #ifdef CONFIG_MEMORY_HOTPLUG | 13 | #ifdef CONFIG_MEMORY_HOTPLUG |
| 10 | /* | 14 | /* |
| 11 | * pgdat resizing functions | 15 | * pgdat resizing functions |
diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h index 82b83da25d77..1709b5009d2e 100644 --- a/include/linux/pci_ids.h +++ b/include/linux/pci_ids.h | |||
| @@ -1752,6 +1752,8 @@ | |||
| 1752 | #define PCI_DEVICE_ID_CCD_B00B 0xb00b | 1752 | #define PCI_DEVICE_ID_CCD_B00B 0xb00b |
| 1753 | #define PCI_DEVICE_ID_CCD_B00C 0xb00c | 1753 | #define PCI_DEVICE_ID_CCD_B00C 0xb00c |
| 1754 | #define PCI_DEVICE_ID_CCD_B100 0xb100 | 1754 | #define PCI_DEVICE_ID_CCD_B100 0xb100 |
| 1755 | #define PCI_DEVICE_ID_CCD_B700 0xb700 | ||
| 1756 | #define PCI_DEVICE_ID_CCD_B701 0xb701 | ||
| 1755 | 1757 | ||
| 1756 | #define PCI_VENDOR_ID_EXAR 0x13a8 | 1758 | #define PCI_VENDOR_ID_EXAR 0x13a8 |
| 1757 | #define PCI_DEVICE_ID_EXAR_XR17C152 0x0152 | 1759 | #define PCI_DEVICE_ID_EXAR_XR17C152 0x0152 |
diff --git a/include/linux/reiserfs_fs.h b/include/linux/reiserfs_fs.h index 7d51149bd793..dad78cecfd20 100644 --- a/include/linux/reiserfs_fs.h +++ b/include/linux/reiserfs_fs.h | |||
| @@ -1052,7 +1052,7 @@ struct reiserfs_dir_entry { | |||
| 1052 | int de_entrylen; | 1052 | int de_entrylen; |
| 1053 | int de_namelen; | 1053 | int de_namelen; |
| 1054 | char *de_name; | 1054 | char *de_name; |
| 1055 | char *de_gen_number_bit_string; | 1055 | unsigned long *de_gen_number_bit_string; |
| 1056 | 1056 | ||
| 1057 | __u32 de_dir_id; | 1057 | __u32 de_dir_id; |
| 1058 | __u32 de_objectid; | 1058 | __u32 de_objectid; |
