diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/asm-powerpc/systbl.h | 2 | ||||
| -rw-r--r-- | include/asm-powerpc/unistd.h | 2 | ||||
| -rw-r--r-- | include/linux/compat.h | 4 | ||||
| -rw-r--r-- | include/linux/kernel.h | 2 | ||||
| -rw-r--r-- | include/linux/pm.h | 4 | ||||
| -rw-r--r-- | include/linux/ufs_fs.h | 2 |
6 files changed, 12 insertions, 4 deletions
diff --git a/include/asm-powerpc/systbl.h b/include/asm-powerpc/systbl.h index eac85ce101b6..c6a03187f932 100644 --- a/include/asm-powerpc/systbl.h +++ b/include/asm-powerpc/systbl.h | |||
| @@ -261,7 +261,7 @@ SYSX(sys_ni_syscall, ppc_fadvise64_64, ppc_fadvise64_64) | |||
| 261 | PPC_SYS_SPU(rtas) | 261 | PPC_SYS_SPU(rtas) |
| 262 | OLDSYS(debug_setcontext) | 262 | OLDSYS(debug_setcontext) |
| 263 | SYSCALL(ni_syscall) | 263 | SYSCALL(ni_syscall) |
| 264 | SYSCALL(ni_syscall) | 264 | COMPAT_SYS(migrate_pages) |
| 265 | COMPAT_SYS(mbind) | 265 | COMPAT_SYS(mbind) |
| 266 | COMPAT_SYS(get_mempolicy) | 266 | COMPAT_SYS(get_mempolicy) |
| 267 | COMPAT_SYS(set_mempolicy) | 267 | COMPAT_SYS(set_mempolicy) |
diff --git a/include/asm-powerpc/unistd.h b/include/asm-powerpc/unistd.h index 464a48cce7f5..b5fe93291c96 100644 --- a/include/asm-powerpc/unistd.h +++ b/include/asm-powerpc/unistd.h | |||
| @@ -276,7 +276,7 @@ | |||
| 276 | #define __NR_rtas 255 | 276 | #define __NR_rtas 255 |
| 277 | #define __NR_sys_debug_setcontext 256 | 277 | #define __NR_sys_debug_setcontext 256 |
| 278 | /* Number 257 is reserved for vserver */ | 278 | /* Number 257 is reserved for vserver */ |
| 279 | /* 258 currently unused */ | 279 | #define __NR_migrate_pages 258 |
| 280 | #define __NR_mbind 259 | 280 | #define __NR_mbind 259 |
| 281 | #define __NR_get_mempolicy 260 | 281 | #define __NR_get_mempolicy 260 |
| 282 | #define __NR_set_mempolicy 261 | 282 | #define __NR_set_mempolicy 261 |
diff --git a/include/linux/compat.h b/include/linux/compat.h index f1553196826f..80b17f440ec1 100644 --- a/include/linux/compat.h +++ b/include/linux/compat.h | |||
| @@ -230,5 +230,9 @@ asmlinkage long compat_sys_adjtimex(struct compat_timex __user *utp); | |||
| 230 | extern int compat_printk(const char *fmt, ...); | 230 | extern int compat_printk(const char *fmt, ...); |
| 231 | extern void sigset_from_compat(sigset_t *set, compat_sigset_t *compat); | 231 | extern void sigset_from_compat(sigset_t *set, compat_sigset_t *compat); |
| 232 | 232 | ||
| 233 | asmlinkage long compat_sys_migrate_pages(compat_pid_t pid, | ||
| 234 | compat_ulong_t maxnode, const compat_ulong_t __user *old_nodes, | ||
| 235 | const compat_ulong_t __user *new_nodes); | ||
| 236 | |||
| 233 | #endif /* CONFIG_COMPAT */ | 237 | #endif /* CONFIG_COMPAT */ |
| 234 | #endif /* _LINUX_COMPAT_H */ | 238 | #endif /* _LINUX_COMPAT_H */ |
diff --git a/include/linux/kernel.h b/include/linux/kernel.h index 80f39cab470a..24b611147adb 100644 --- a/include/linux/kernel.h +++ b/include/linux/kernel.h | |||
| @@ -171,6 +171,8 @@ __attribute_const__ roundup_pow_of_two(unsigned long x) | |||
| 171 | 171 | ||
| 172 | extern int printk_ratelimit(void); | 172 | extern int printk_ratelimit(void); |
| 173 | extern int __printk_ratelimit(int ratelimit_jiffies, int ratelimit_burst); | 173 | extern int __printk_ratelimit(int ratelimit_jiffies, int ratelimit_burst); |
| 174 | extern bool printk_timed_ratelimit(unsigned long *caller_jiffies, | ||
| 175 | unsigned int interval_msec); | ||
| 174 | 176 | ||
| 175 | static inline void console_silent(void) | 177 | static inline void console_silent(void) |
| 176 | { | 178 | { |
diff --git a/include/linux/pm.h b/include/linux/pm.h index 6b27e07aef19..070394e846d0 100644 --- a/include/linux/pm.h +++ b/include/linux/pm.h | |||
| @@ -116,7 +116,9 @@ typedef int __bitwise suspend_disk_method_t; | |||
| 116 | #define PM_DISK_PLATFORM ((__force suspend_disk_method_t) 2) | 116 | #define PM_DISK_PLATFORM ((__force suspend_disk_method_t) 2) |
| 117 | #define PM_DISK_SHUTDOWN ((__force suspend_disk_method_t) 3) | 117 | #define PM_DISK_SHUTDOWN ((__force suspend_disk_method_t) 3) |
| 118 | #define PM_DISK_REBOOT ((__force suspend_disk_method_t) 4) | 118 | #define PM_DISK_REBOOT ((__force suspend_disk_method_t) 4) |
| 119 | #define PM_DISK_MAX ((__force suspend_disk_method_t) 5) | 119 | #define PM_DISK_TEST ((__force suspend_disk_method_t) 5) |
| 120 | #define PM_DISK_TESTPROC ((__force suspend_disk_method_t) 6) | ||
| 121 | #define PM_DISK_MAX ((__force suspend_disk_method_t) 7) | ||
| 120 | 122 | ||
| 121 | struct pm_ops { | 123 | struct pm_ops { |
| 122 | suspend_disk_method_t pm_disk_mode; | 124 | suspend_disk_method_t pm_disk_mode; |
diff --git a/include/linux/ufs_fs.h b/include/linux/ufs_fs.h index 61eef508b041..28967eda9d7b 100644 --- a/include/linux/ufs_fs.h +++ b/include/linux/ufs_fs.h | |||
| @@ -908,7 +908,7 @@ struct ufs_super_block_third { | |||
| 908 | __fs64 fs_csaddr; /* blk addr of cyl grp summary area */ | 908 | __fs64 fs_csaddr; /* blk addr of cyl grp summary area */ |
| 909 | __fs64 fs_pendingblocks;/* blocks in process of being freed */ | 909 | __fs64 fs_pendingblocks;/* blocks in process of being freed */ |
| 910 | __fs32 fs_pendinginodes;/*inodes in process of being freed */ | 910 | __fs32 fs_pendinginodes;/*inodes in process of being freed */ |
| 911 | } fs_u2; | 911 | } __attribute__ ((packed)) fs_u2; |
| 912 | } fs_un1; | 912 | } fs_un1; |
| 913 | union { | 913 | union { |
| 914 | struct { | 914 | struct { |
