mirror of
https://github.com/torvalds/linux.git
synced 2024-11-29 07:31:29 +00:00
s390/mm,fault: remove noinline attribute from all functions
Remove all noinline attribute from all functions and leave the inlining decisions up to the compiler. 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>
This commit is contained in:
parent
4df5ec9858
commit
5c845de331
@ -234,14 +234,14 @@ void report_user_fault(struct pt_regs *regs, long signr, int is_mm_fault)
|
||||
show_regs(regs);
|
||||
}
|
||||
|
||||
static noinline void do_sigsegv(struct pt_regs *regs, int si_code)
|
||||
static void do_sigsegv(struct pt_regs *regs, int si_code)
|
||||
{
|
||||
report_user_fault(regs, SIGSEGV, 1);
|
||||
force_sig_fault(SIGSEGV, si_code,
|
||||
(void __user *)(regs->int_parm_long & __FAIL_ADDR_MASK));
|
||||
}
|
||||
|
||||
static noinline void do_no_context(struct pt_regs *regs, vm_fault_t fault)
|
||||
static void do_no_context(struct pt_regs *regs, vm_fault_t fault)
|
||||
{
|
||||
enum fault_type fault_type;
|
||||
unsigned long address;
|
||||
@ -264,7 +264,7 @@ static noinline void do_no_context(struct pt_regs *regs, vm_fault_t fault)
|
||||
die(regs, "Oops");
|
||||
}
|
||||
|
||||
static noinline void do_low_address(struct pt_regs *regs)
|
||||
static void do_low_address(struct pt_regs *regs)
|
||||
{
|
||||
/*
|
||||
* Low-address protection hit in kernel mode means
|
||||
@ -278,13 +278,13 @@ static noinline void do_low_address(struct pt_regs *regs)
|
||||
do_no_context(regs, VM_FAULT_BADACCESS);
|
||||
}
|
||||
|
||||
static noinline void do_sigbus(struct pt_regs *regs)
|
||||
static void do_sigbus(struct pt_regs *regs)
|
||||
{
|
||||
force_sig_fault(SIGBUS, BUS_ADRERR,
|
||||
(void __user *)(regs->int_parm_long & __FAIL_ADDR_MASK));
|
||||
}
|
||||
|
||||
static noinline void do_fault_error(struct pt_regs *regs, vm_fault_t fault)
|
||||
static void do_fault_error(struct pt_regs *regs, vm_fault_t fault)
|
||||
{
|
||||
int si_code;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user