aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2014-01-29 19:22:54 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2014-01-29 19:22:54 -0500
commit13293115d1c44df1077976473112d18f1877c390 (patch)
tree0c1c4d1cb478cdb9dc159ce9a7bc9e7425324a36 /include/linux
parent1ecd7450c0503d99675109a4cd43ecd735b9d876 (diff)
parenta4edbc1011513117ec5a96a7b24ae2f94e13f28f (diff)
Merge branch 'akpm' (patches from Andrew Morton)
Merge random fixes from Andrew Morton: "Random fixes. I have one batch remaining for -rc1, mainly zram changes which await a merge of Jens's trees" * emailed patches fron Andrew Morton akpm@linux-foundation.org>: MAINTAINERS: ADI Linux development mailing lists: change to the new server Documentation: fix multiple typo occurences s/KenelVersion/KernelVersion/ dma-debug: fix overlap detection memblock: add limit checking to memblock_virt_alloc mm/readahead.c: fix do_readahead() for no readpage(s) mm/slub.c: do not VM_BUG_ON_PAGE() for temporary on-stack pages slab: fix wrong retval on kmem_cache_create_memcg error path s390/compat: change parameter types from unsigned long to compat_ulong_t fs/compat: fix lookup_dcookie() parameter handling fs/compat: fix parameter handling for compat readv/writev syscalls mm/mempolicy.c: convert to pr_foo() mm: numa: initialise numa balancing after jump label initialisation mm/page-writeback.c: do not count anon pages as dirtyable memory mm/page-writeback.c: fix dirty_balance_reserve subtraction from dirtyable memory mm: document improved handling of swappiness==0 lib/genalloc.c: add check gen_pool_dma_alloc() if dma pointer is not NULL
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/compat.h18
-rw-r--r--include/linux/vmstat.h2
2 files changed, 9 insertions, 11 deletions
diff --git a/include/linux/compat.h b/include/linux/compat.h
index eb8a49d75ab3..19f6003291de 100644
--- a/include/linux/compat.h
+++ b/include/linux/compat.h
@@ -327,16 +327,16 @@ asmlinkage long compat_sys_keyctl(u32 option,
327 u32 arg2, u32 arg3, u32 arg4, u32 arg5); 327 u32 arg2, u32 arg3, u32 arg4, u32 arg5);
328asmlinkage long compat_sys_ustat(unsigned dev, struct compat_ustat __user *u32); 328asmlinkage long compat_sys_ustat(unsigned dev, struct compat_ustat __user *u32);
329 329
330asmlinkage ssize_t compat_sys_readv(unsigned long fd, 330asmlinkage ssize_t compat_sys_readv(compat_ulong_t fd,
331 const struct compat_iovec __user *vec, unsigned long vlen); 331 const struct compat_iovec __user *vec, compat_ulong_t vlen);
332asmlinkage ssize_t compat_sys_writev(unsigned long fd, 332asmlinkage ssize_t compat_sys_writev(compat_ulong_t fd,
333 const struct compat_iovec __user *vec, unsigned long vlen); 333 const struct compat_iovec __user *vec, compat_ulong_t vlen);
334asmlinkage ssize_t compat_sys_preadv(unsigned long fd, 334asmlinkage ssize_t compat_sys_preadv(compat_ulong_t fd,
335 const struct compat_iovec __user *vec, 335 const struct compat_iovec __user *vec,
336 unsigned long vlen, u32 pos_low, u32 pos_high); 336 compat_ulong_t vlen, u32 pos_low, u32 pos_high);
337asmlinkage ssize_t compat_sys_pwritev(unsigned long fd, 337asmlinkage ssize_t compat_sys_pwritev(compat_ulong_t fd,
338 const struct compat_iovec __user *vec, 338 const struct compat_iovec __user *vec,
339 unsigned long vlen, u32 pos_low, u32 pos_high); 339 compat_ulong_t vlen, u32 pos_low, u32 pos_high);
340asmlinkage long comat_sys_lseek(unsigned int, compat_off_t, unsigned int); 340asmlinkage long comat_sys_lseek(unsigned int, compat_off_t, unsigned int);
341 341
342asmlinkage long compat_sys_execve(const char __user *filename, const compat_uptr_t __user *argv, 342asmlinkage long compat_sys_execve(const char __user *filename, const compat_uptr_t __user *argv,
@@ -422,7 +422,7 @@ extern long compat_arch_ptrace(struct task_struct *child, compat_long_t request,
422asmlinkage long compat_sys_ptrace(compat_long_t request, compat_long_t pid, 422asmlinkage long compat_sys_ptrace(compat_long_t request, compat_long_t pid,
423 compat_long_t addr, compat_long_t data); 423 compat_long_t addr, compat_long_t data);
424 424
425asmlinkage long compat_sys_lookup_dcookie(u32, u32, char __user *, size_t); 425asmlinkage long compat_sys_lookup_dcookie(u32, u32, char __user *, compat_size_t);
426/* 426/*
427 * epoll (fs/eventpoll.c) compat bits follow ... 427 * epoll (fs/eventpoll.c) compat bits follow ...
428 */ 428 */
diff --git a/include/linux/vmstat.h b/include/linux/vmstat.h
index e4b948080d20..a67b38415768 100644
--- a/include/linux/vmstat.h
+++ b/include/linux/vmstat.h
@@ -142,8 +142,6 @@ static inline unsigned long zone_page_state_snapshot(struct zone *zone,
142 return x; 142 return x;
143} 143}
144 144
145extern unsigned long global_reclaimable_pages(void);
146
147#ifdef CONFIG_NUMA 145#ifdef CONFIG_NUMA
148/* 146/*
149 * Determine the per node value of a stat item. This function 147 * Determine the per node value of a stat item. This function