summaryrefslogtreecommitdiff
path: root/arch/s390
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2023-10-12 09:40:31 +0200
committerVasily Gorbik <gor@linux.ibm.com>2023-10-23 18:21:21 +0200
commit7c915a84e5e2cacf71f7328b940aa783c1b7f2e4 (patch)
treed0df11adc6fbf98f3e69e65f23d933680490201b /arch/s390
parent3aad8c044297799bee37492fc9695aafd7513d0b (diff)
s390/mm,fault: reverse x-mas tree coding style
Have reverse x-mas tree coding style for variables everywhere. Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
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);