[S390] Fix a lot of sparse warnings.
Most noteable part of this commit is the new local header file entry.h which contains all the function declarations of functions that get only called from asm code or are arch internal. That way we can avoid extern declarations in C files. This is more or less the same that was done for sparc64. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
This commit is contained in:
@@ -42,11 +42,8 @@
|
||||
#include <asm/s390_ext.h>
|
||||
#include <asm/lowcore.h>
|
||||
#include <asm/debug.h>
|
||||
#include "entry.h"
|
||||
|
||||
/* Called from entry.S only */
|
||||
extern void handle_per_exception(struct pt_regs *regs);
|
||||
|
||||
typedef void pgm_check_handler_t(struct pt_regs *, long);
|
||||
pgm_check_handler_t *pgm_check_table[128];
|
||||
|
||||
#ifdef CONFIG_SYSCTL
|
||||
|
Reference in New Issue
Block a user