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>
*/
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;
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;
/*
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);