-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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>
- Loading branch information
Heiko Carstens
committed
Apr 17, 2008
1 parent
5a62b19
commit a806170
Showing
26 changed files
with
198 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
#ifndef _ENTRY_H | ||
#define _ENTRY_H | ||
|
||
#include <linux/types.h> | ||
#include <linux/signal.h> | ||
#include <asm/ptrace.h> | ||
|
||
typedef void pgm_check_handler_t(struct pt_regs *, long); | ||
extern pgm_check_handler_t *pgm_check_table[128]; | ||
pgm_check_handler_t do_protection_exception; | ||
pgm_check_handler_t do_dat_exception; | ||
|
||
extern int sysctl_userprocess_debug; | ||
|
||
void do_single_step(struct pt_regs *regs); | ||
void syscall_trace(struct pt_regs *regs, int entryexit); | ||
void kernel_stack_overflow(struct pt_regs * regs); | ||
void do_signal(struct pt_regs *regs); | ||
int handle_signal32(unsigned long sig, struct k_sigaction *ka, | ||
siginfo_t *info, sigset_t *oldset, struct pt_regs *regs); | ||
|
||
void do_extint(struct pt_regs *regs, unsigned short code); | ||
int __cpuinit start_secondary(void *cpuvoid); | ||
void __init startup_init(void); | ||
void die(const char * str, struct pt_regs * regs, long err); | ||
|
||
struct new_utsname; | ||
struct mmap_arg_struct; | ||
struct fadvise64_64_args; | ||
struct old_sigaction; | ||
struct sel_arg_struct; | ||
|
||
long sys_pipe(unsigned long __user *fildes); | ||
long sys_mmap2(struct mmap_arg_struct __user *arg); | ||
long old_mmap(struct mmap_arg_struct __user *arg); | ||
long sys_ipc(uint call, int first, unsigned long second, | ||
unsigned long third, void __user *ptr); | ||
long s390x_newuname(struct new_utsname __user *name); | ||
long s390x_personality(unsigned long personality); | ||
long s390_fadvise64(int fd, u32 offset_high, u32 offset_low, | ||
size_t len, int advice); | ||
long s390_fadvise64_64(struct fadvise64_64_args __user *args); | ||
long s390_fallocate(int fd, int mode, loff_t offset, u32 len_high, u32 len_low); | ||
long sys_fork(void); | ||
long sys_clone(void); | ||
long sys_vfork(void); | ||
void execve_tail(void); | ||
long sys_execve(void); | ||
int sys_sigsuspend(int history0, int history1, old_sigset_t mask); | ||
long sys_sigaction(int sig, const struct old_sigaction __user *act, | ||
struct old_sigaction __user *oact); | ||
long sys_sigaltstack(const stack_t __user *uss, stack_t __user *uoss); | ||
long sys_sigreturn(void); | ||
long sys_rt_sigreturn(void); | ||
long sys32_sigreturn(void); | ||
long sys32_rt_sigreturn(void); | ||
long old_select(struct sel_arg_struct __user *arg); | ||
long sys_ptrace(long request, long pid, long addr, long data); | ||
|
||
#endif /* _ENTRY_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.