Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
fdb204d1
Commit
fdb204d1
authored
Jul 24, 2011
by
Martin Schwidefsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[S390] cleanup program check handler prototypes
Signed-off-by:
Martin Schwidefsky
<
schwidefsky@de.ibm.com
>
parent
f7850c92
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
13 deletions
+7
-13
arch/s390/kernel/entry.h
arch/s390/kernel/entry.h
+3
-4
arch/s390/kernel/traps.c
arch/s390/kernel/traps.c
+4
-9
No files found.
arch/s390/kernel/entry.h
View file @
fdb204d1
...
...
@@ -5,10 +5,9 @@
#include <linux/signal.h>
#include <asm/ptrace.h>
typedef
void
pgm_check_handler_t
(
struct
pt_regs
*
,
long
,
unsigned
long
);
extern
pgm_check_handler_t
*
pgm_check_table
[
128
];
pgm_check_handler_t
do_protection_exception
;
pgm_check_handler_t
do_dat_exception
;
void
do_protection_exception
(
struct
pt_regs
*
,
long
,
unsigned
long
);
void
do_dat_exception
(
struct
pt_regs
*
,
long
,
unsigned
long
);
void
do_asce_exception
(
struct
pt_regs
*
,
long
,
unsigned
long
);
extern
int
sysctl_userprocess_debug
;
...
...
arch/s390/kernel/traps.c
View file @
fdb204d1
...
...
@@ -43,14 +43,10 @@
#include <asm/debug.h>
#include "entry.h"
pgm_check_handler_t
*
pgm_check_table
[
128
]
;
void
(
*
pgm_check_table
[
128
])(
struct
pt_regs
*
,
long
,
unsigned
long
)
;
int
show_unhandled_signals
;
extern
pgm_check_handler_t
do_protection_exception
;
extern
pgm_check_handler_t
do_dat_exception
;
extern
pgm_check_handler_t
do_asce_exception
;
#define stack_pointer ({ void **sp; asm("la %0,0(15)" : "=&d" (sp)); sp; })
#ifndef CONFIG_64BIT
...
...
@@ -489,9 +485,8 @@ static void __kprobes illegal_op(struct pt_regs *regs, long pgm_int_code,
#ifdef CONFIG_MATHEMU
asmlinkage
void
specification_exception
(
struct
pt_regs
*
regs
,
long
pgm_int_code
,
unsigned
long
trans_exc_code
)
void
specification_exception
(
struct
pt_regs
*
regs
,
long
pgm_int_code
,
unsigned
long
trans_exc_code
)
{
__u8
opcode
[
6
];
__u16
__user
*
location
=
NULL
;
...
...
@@ -648,7 +643,7 @@ static void space_switch_exception(struct pt_regs *regs, long pgm_int_code,
do_trap
(
pgm_int_code
,
SIGILL
,
"space switch event"
,
regs
,
&
info
);
}
asmlinkage
void
__kprobes
kernel_stack_overflow
(
struct
pt_regs
*
regs
)
void
__kprobes
kernel_stack_overflow
(
struct
pt_regs
*
regs
)
{
bust_spinlocks
(
1
);
printk
(
"Kernel stack overflow.
\n
"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment