#include <linux/kernel_stat.h>
#include <linux/perf_event.h>
#include <linux/signal.h>
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/string.h>
#include <linux/types.h>
#include <linux/ptrace.h>
#include <linux/mman.h>
#include <linux/mm.h>
#include <linux/compat.h>
#include <linux/smp.h>
#include <linux/kdebug.h>
#include <linux/init.h>
#include <linux/console.h>
#include <linux/module.h>
#include <linux/hardirq.h>
#include <linux/kprobes.h>
#include <linux/uaccess.h>
#include <linux/hugetlb.h>
#include <asm/asm-offsets.h>
#include <asm/pgtable.h>
#include <asm/irq.h>
#include <asm/mmu_context.h>
#include <asm/facility.h>
#include "../kernel/entry.h"
Go to the source code of this file.
#define __FAIL_ADDR_MASK 0x7ffff000 |
#define __PF_RES_FIELD 0ULL |
#define __SUBCODE_MASK 0x0200 |
#define VM_FAULT_BADACCESS 0x040000 |
#define VM_FAULT_BADCONTEXT 0x010000 |
#define VM_FAULT_BADMAP 0x020000 |
#define VM_FAULT_SIGNAL 0x080000 |
int __handle_fault |
( |
unsigned long |
uaddr, |
|
|
unsigned long |
pgm_int_code, |
|
|
int |
write |
|
) |
| |