blob: 891a9cefa9357e7389cfb7eaa13cfb6015c5c8b5 [file] [edit]
// SPDX-License-Identifier: GPL-2.0
#include <linux/types.h>
#include <linux/errno.h>
#include <linux/signal.h>
#include <shared/kern_util.h>
int handle_page_fault(unsigned long address, unsigned long ip,
int is_write, int is_user, int *code_out)
{
/* everything that's valid is already mapped in NOMMU */
*code_out = SEGV_MAPERR;
return -EFAULT;
}