Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4d284cac authored by Heiko Carstens's avatar Heiko Carstens Committed by Martin Schwidefsky
Browse files

[S390] Avoid excessive inlining.

parent 162e006e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -192,7 +192,7 @@ MODULE_AUTHOR("Gerhard Tonn <ton@de.ibm.com>");

#undef cputime_to_timeval
#define cputime_to_timeval cputime_to_compat_timeval
static __inline__ void
static inline void
cputime_to_compat_timeval(const cputime_t cputime, struct compat_timeval *value)
{
	value->tv_usec = cputime % 1000000;
+2 −2
Original line number Diff line number Diff line
@@ -59,7 +59,7 @@ void module_free(struct module *mod, void *module_region)
           table entries. */
}

static inline void
static void
check_rela(Elf_Rela *rela, struct module *me)
{
	struct mod_arch_syminfo *info;
@@ -182,7 +182,7 @@ apply_relocate(Elf_Shdr *sechdrs, const char *strtab, unsigned int symindex,
	return -ENOEXEC;
}

static inline int
static int
apply_rela(Elf_Rela *rela, Elf_Addr base, Elf_Sym *symtab, 
	   struct module *me)
{
+3 −3
Original line number Diff line number Diff line
@@ -129,7 +129,7 @@ char vmhalt_cmd[128] = "";
char vmpoff_cmd[128] = "";
static char vmpanic_cmd[128] = "";

static inline void strncpy_skip_quote(char *dst, char *src, int n)
static void strncpy_skip_quote(char *dst, char *src, int n)
{
        int sx, dx;

@@ -396,7 +396,7 @@ early_param("ipldelay", early_parse_ipldelay);
unsigned int switch_amode = 0;
EXPORT_SYMBOL_GPL(switch_amode);

static inline void set_amode_and_uaccess(unsigned long user_amode,
static void set_amode_and_uaccess(unsigned long user_amode,
				  unsigned long user32_amode)
{
	psw_user_bits = PSW_BASE_BITS | PSW_MASK_DAT | user_amode |
+4 −4
Original line number Diff line number Diff line
@@ -194,7 +194,7 @@ int smp_call_function_on(void (*func) (void *info), void *info,
}
EXPORT_SYMBOL(smp_call_function_on);

static inline void do_send_stop(void)
static void do_send_stop(void)
{
        int cpu, rc;

@@ -208,7 +208,7 @@ static inline void do_send_stop(void)
	}
}

static inline void do_store_status(void)
static void do_store_status(void)
{
        int cpu, rc;

@@ -224,7 +224,7 @@ static inline void do_store_status(void)
        }
}

static inline void do_wait_for_stop(void)
static void do_wait_for_stop(void)
{
	int cpu;

@@ -534,7 +534,7 @@ smp_put_cpu(int cpu)
	spin_unlock_irqrestore(&smp_reserve_lock, flags);
}

static inline int
static int
cpu_stopped(int cpu)
{
	__u32 status;
+5 −5
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@
#include <linux/stacktrace.h>
#include <linux/kallsyms.h>

static inline unsigned long save_context_stack(struct stack_trace *trace,
static unsigned long save_context_stack(struct stack_trace *trace,
					unsigned int *skip,
					unsigned long sp,
					unsigned long low,
Loading