aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2014-08-14 12:56:25 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-08-14 12:56:25 -0400
commitf2937e4540836be5c4db7e0a721ce3cfc59036e3 (patch)
treef7c68473490deabbe334279a132bc87816eaf694
parent1d508f8ace3e78e96da70f1cf4e36b80f22b5fa9 (diff)
parenta2a368d905472293d4e13d09fdd9e537edc74347 (diff)
Merge branch 'akpm' (fixes from Andrew Morton)
Merge leftovers from Andrew Morton: "A few leftovers. I have a bunch of OCFS2 patches which are still out for review and which I might sneak along after -rc1. Partly my fault - I should send my review pokes out earlier" * emailed patches from Andrew Morton <akpm@linux-foundation.org>: mm: fix CROSS_MEMORY_ATTACH help text grammar drivers/mfd/rtsx_usb.c: export device table mm, hugetlb_cgroup: align hugetlb cgroup limit to hugepage size
-rw-r--r--drivers/mfd/rtsx_usb.c1
-rw-r--r--init/Kconfig2
-rw-r--r--mm/hugetlb_cgroup.c1
3 files changed, 3 insertions, 1 deletions
diff --git a/drivers/mfd/rtsx_usb.c b/drivers/mfd/rtsx_usb.c
index 6352bec8419a..71f387ce8cbd 100644
--- a/drivers/mfd/rtsx_usb.c
+++ b/drivers/mfd/rtsx_usb.c
@@ -744,6 +744,7 @@ static struct usb_device_id rtsx_usb_usb_ids[] = {
744 { USB_DEVICE(0x0BDA, 0x0140) }, 744 { USB_DEVICE(0x0BDA, 0x0140) },
745 { } 745 { }
746}; 746};
747MODULE_DEVICE_TABLE(usb, rtsx_usb_usb_ids);
747 748
748static struct usb_driver rtsx_usb_driver = { 749static struct usb_driver rtsx_usb_driver = {
749 .name = "rtsx_usb", 750 .name = "rtsx_usb",
diff --git a/init/Kconfig b/init/Kconfig
index 44f9ed3dae22..e84c6423a2e5 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -268,7 +268,7 @@ config CROSS_MEMORY_ATTACH
268 help 268 help
269 Enabling this option adds the system calls process_vm_readv and 269 Enabling this option adds the system calls process_vm_readv and
270 process_vm_writev which allow a process with the correct privileges 270 process_vm_writev which allow a process with the correct privileges
271 to directly read from or write to to another process's address space. 271 to directly read from or write to another process' address space.
272 See the man page for more details. 272 See the man page for more details.
273 273
274config FHANDLE 274config FHANDLE
diff --git a/mm/hugetlb_cgroup.c b/mm/hugetlb_cgroup.c
index 9aae6f47433f..9eebfadeeee1 100644
--- a/mm/hugetlb_cgroup.c
+++ b/mm/hugetlb_cgroup.c
@@ -275,6 +275,7 @@ static ssize_t hugetlb_cgroup_write(struct kernfs_open_file *of,
275 ret = res_counter_memparse_write_strategy(buf, &val); 275 ret = res_counter_memparse_write_strategy(buf, &val);
276 if (ret) 276 if (ret)
277 break; 277 break;
278 val = ALIGN(val, 1ULL << huge_page_shift(&hstates[idx]));
278 ret = res_counter_set_limit(&h_cg->hugepage[idx], val); 279 ret = res_counter_set_limit(&h_cg->hugepage[idx], val);
279 break; 280 break;
280 default: 281 default: