summaryrefslogtreecommitdiff
path: root/arch/s390
diff options
context:
space:
mode:
Diffstat (limited to 'arch/s390')
-rw-r--r--arch/s390/mm/fault.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/s390/mm/fault.c b/arch/s390/mm/fault.c
index 797e6e2f1d11..c13999aa0526 100644
--- a/arch/s390/mm/fault.c
+++ b/arch/s390/mm/fault.c
@@ -346,13 +346,13 @@ static noinline void do_fault_error(struct pt_regs *regs, vm_fault_t fault)
*/
static inline vm_fault_t do_exception(struct pt_regs *regs, int access)
{
- struct gmap *gmap;
+ struct vm_area_struct *vma;
struct task_struct *tsk;
+ unsigned long address;
struct mm_struct *mm;
- struct vm_area_struct *vma;
enum fault_type type;
- unsigned long address;
unsigned int flags;
+ struct gmap *gmap;
vm_fault_t fault;
bool is_write;
@@ -498,8 +498,8 @@ out:
void do_protection_exception(struct pt_regs *regs)
{
unsigned long trans_exc_code;
- int access;
vm_fault_t fault;
+ int access;
trans_exc_code = regs->int_parm_long;
/*
@@ -534,8 +534,8 @@ NOKPROBE_SYMBOL(do_protection_exception);
void do_dat_exception(struct pt_regs *regs)
{
- int access;
vm_fault_t fault;
+ int access;
access = VM_ACCESS_FLAGS;
fault = do_exception(regs, access);