aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/mm
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2013-09-11 11:36:03 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2013-09-11 11:36:03 -0400
commite831cbfc1ad843b5542cc45f777e1a00b73c0685 (patch)
treee62571d8129919b94f887bf1e2d252883018cd17 /arch/s390/mm
parent5b4197845ad1a33bc57da7ee5ea41de58c2f86bf (diff)
parent9e75c6274a7365ad493fc3e75c8dd35f0185b7ca (diff)
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux
Pull more s390 updates from Heiko Carstens: "This includes one bpf/jit bug fix where the jit compiler could sometimes write generated code out of bounds of the allocated memory area. The rest of the patches are only cleanups and minor improvements" * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux: s390/irq: reduce size of external interrupt handler hash array s390/compat,uid16: use current_cred() s390/ap_bus: use and-mask instead of a cast s390/ftrace: avoid pointer arithmetics with function pointers s390: make various functions static, add declarations to header files s390/compat signal: add couple of __force annotations s390/mm: add __releases()/__acquires() annotations to gmap_alloc_table() s390: keep Kconfig sorted s390/irq: rework irq subclass handling s390/irq: use hlists for external interrupt handler array s390/dumpstack: convert print_symbol to %pSR s390/perf: Remove print_hex_dump_bytes() debug output s390: update defconfig s390/bpf,jit: fix address randomization
Diffstat (limited to 'arch/s390/mm')
-rw-r--r--arch/s390/mm/fault.c2
-rw-r--r--arch/s390/mm/maccess.c1
-rw-r--r--arch/s390/mm/pgtable.c6
3 files changed, 6 insertions, 3 deletions
diff --git a/arch/s390/mm/fault.c b/arch/s390/mm/fault.c
index f00aefb66a4e..7de4469915f0 100644
--- a/arch/s390/mm/fault.c
+++ b/arch/s390/mm/fault.c
@@ -673,7 +673,7 @@ static int __init pfault_irq_init(void)
673 rc = pfault_init() == 0 ? 0 : -EOPNOTSUPP; 673 rc = pfault_init() == 0 ? 0 : -EOPNOTSUPP;
674 if (rc) 674 if (rc)
675 goto out_pfault; 675 goto out_pfault;
676 service_subclass_irq_register(); 676 irq_subclass_register(IRQ_SUBCLASS_SERVICE_SIGNAL);
677 hotcpu_notifier(pfault_cpu_notify, 0); 677 hotcpu_notifier(pfault_cpu_notify, 0);
678 return 0; 678 return 0;
679 679
diff --git a/arch/s390/mm/maccess.c b/arch/s390/mm/maccess.c
index 921fa541dc04..d1e0e0c7a7e2 100644
--- a/arch/s390/mm/maccess.c
+++ b/arch/s390/mm/maccess.c
@@ -14,6 +14,7 @@
14#include <linux/gfp.h> 14#include <linux/gfp.h>
15#include <linux/cpu.h> 15#include <linux/cpu.h>
16#include <asm/ctl_reg.h> 16#include <asm/ctl_reg.h>
17#include <asm/io.h>
17 18
18/* 19/*
19 * This function writes to kernel memory bypassing DAT and possible 20 * This function writes to kernel memory bypassing DAT and possible
diff --git a/arch/s390/mm/pgtable.c b/arch/s390/mm/pgtable.c
index bf7c0dc64a76..de8cbc30dcd1 100644
--- a/arch/s390/mm/pgtable.c
+++ b/arch/s390/mm/pgtable.c
@@ -245,7 +245,9 @@ EXPORT_SYMBOL_GPL(gmap_disable);
245 * gmap_alloc_table is assumed to be called with mmap_sem held 245 * gmap_alloc_table is assumed to be called with mmap_sem held
246 */ 246 */
247static int gmap_alloc_table(struct gmap *gmap, 247static int gmap_alloc_table(struct gmap *gmap,
248 unsigned long *table, unsigned long init) 248 unsigned long *table, unsigned long init)
249 __releases(&gmap->mm->page_table_lock)
250 __acquires(&gmap->mm->page_table_lock)
249{ 251{
250 struct page *page; 252 struct page *page;
251 unsigned long *new; 253 unsigned long *new;
@@ -966,7 +968,7 @@ void page_table_free_rcu(struct mmu_gather *tlb, unsigned long *table)
966 tlb_remove_table(tlb, table); 968 tlb_remove_table(tlb, table);
967} 969}
968 970
969void __tlb_remove_table(void *_table) 971static void __tlb_remove_table(void *_table)
970{ 972{
971 const unsigned long mask = (FRAG_MASK << 4) | FRAG_MASK; 973 const unsigned long mask = (FRAG_MASK << 4) | FRAG_MASK;
972 void *table = (void *)((unsigned long) _table & ~mask); 974 void *table = (void *)((unsigned long) _table & ~mask);