[S390] sparse: fix sparse warnings about missing prototypes
Add prototypes and includes for functions used in different modules. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:
@@ -177,6 +177,7 @@ static inline int page_test_and_clear_young(unsigned long pfn)
|
||||
struct page;
|
||||
void arch_free_page(struct page *page, int order);
|
||||
void arch_alloc_page(struct page *page, int order);
|
||||
void arch_set_page_states(int make_stable);
|
||||
|
||||
static inline int devmem_is_allowed(unsigned long pfn)
|
||||
{
|
||||
|
@@ -33,6 +33,8 @@ static inline void get_cpu_id(struct cpuid *ptr)
|
||||
|
||||
extern void s390_adjust_jiffies(void);
|
||||
extern int get_cpu_capability(unsigned int *);
|
||||
extern const struct seq_operations cpuinfo_op;
|
||||
extern int sysctl_ieee_emulation_warnings;
|
||||
|
||||
/*
|
||||
* User space process size: 2GB for 31 bit, 4TB or 8PT for 64 bit.
|
||||
|
@@ -13,6 +13,8 @@
|
||||
|
||||
#include <linux/smp.h>
|
||||
|
||||
extern int spin_retry;
|
||||
|
||||
static inline int
|
||||
_raw_compare_and_swap(volatile unsigned int *lock,
|
||||
unsigned int old, unsigned int new)
|
||||
|
@@ -20,6 +20,8 @@
|
||||
|
||||
struct task_struct;
|
||||
|
||||
extern int sysctl_userprocess_debug;
|
||||
|
||||
extern struct task_struct *__switch_to(void *, void *);
|
||||
extern void update_per_regs(struct task_struct *task);
|
||||
|
||||
|
Reference in New Issue
Block a user