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
062ea6d3
Commit
062ea6d3
authored
Mar 26, 2008
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC64]: Fix sparse warnings in arch/sparc64/kernel/signal.c
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
207ddd0a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
0 deletions
+16
-0
arch/sparc64/kernel/entry.h
arch/sparc64/kernel/entry.h
+5
-0
arch/sparc64/kernel/signal.c
arch/sparc64/kernel/signal.c
+3
-0
arch/sparc64/kernel/systbls.h
arch/sparc64/kernel/systbls.h
+8
-0
No files found.
arch/sparc64/kernel/entry.h
View file @
062ea6d3
...
@@ -18,6 +18,11 @@ extern asmlinkage void update_perfctrs(void);
...
@@ -18,6 +18,11 @@ extern asmlinkage void update_perfctrs(void);
extern
asmlinkage
void
sparc_breakpoint
(
struct
pt_regs
*
regs
);
extern
asmlinkage
void
sparc_breakpoint
(
struct
pt_regs
*
regs
);
extern
void
timer_interrupt
(
int
irq
,
struct
pt_regs
*
regs
);
extern
void
timer_interrupt
(
int
irq
,
struct
pt_regs
*
regs
);
extern
void
do_notify_resume
(
struct
pt_regs
*
regs
,
unsigned
long
orig_i0
,
int
restart_syscall
,
unsigned
long
thread_info_flags
);
extern
asmlinkage
void
syscall_trace
(
struct
pt_regs
*
regs
,
extern
asmlinkage
void
syscall_trace
(
struct
pt_regs
*
regs
,
int
syscall_exit_p
);
int
syscall_exit_p
);
...
...
arch/sparc64/kernel/signal.c
View file @
062ea6d3
...
@@ -32,6 +32,9 @@
...
@@ -32,6 +32,9 @@
#include <asm/siginfo.h>
#include <asm/siginfo.h>
#include <asm/visasm.h>
#include <asm/visasm.h>
#include "entry.h"
#include "systbls.h"
#define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP)))
#define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP)))
/* {set, get}context() needed for 64-bit SparcLinux userland. */
/* {set, get}context() needed for 64-bit SparcLinux userland. */
...
...
arch/sparc64/kernel/systbls.h
View file @
062ea6d3
...
@@ -3,7 +3,9 @@
...
@@ -3,7 +3,9 @@
#include <linux/kernel.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/types.h>
#include <linux/utsname.h>
#include <asm/utrap.h>
#include <asm/utrap.h>
#include <asm/signal.h>
extern
asmlinkage
unsigned
long
sys_getpagesize
(
void
);
extern
asmlinkage
unsigned
long
sys_getpagesize
(
void
);
extern
asmlinkage
unsigned
long
sparc_brk
(
unsigned
long
brk
);
extern
asmlinkage
unsigned
long
sparc_brk
(
unsigned
long
brk
);
...
@@ -42,4 +44,10 @@ extern asmlinkage long sys_rt_sigaction(int sig,
...
@@ -42,4 +44,10 @@ extern asmlinkage long sys_rt_sigaction(int sig,
extern
asmlinkage
long
sys_perfctr
(
int
opcode
,
unsigned
long
arg0
,
extern
asmlinkage
long
sys_perfctr
(
int
opcode
,
unsigned
long
arg0
,
unsigned
long
arg1
,
unsigned
long
arg2
);
unsigned
long
arg1
,
unsigned
long
arg2
);
extern
asmlinkage
void
sparc64_set_context
(
struct
pt_regs
*
regs
);
extern
asmlinkage
void
sparc64_get_context
(
struct
pt_regs
*
regs
);
extern
asmlinkage
long
sys_sigpause
(
unsigned
int
set
);
extern
asmlinkage
long
sys_sigsuspend
(
old_sigset_t
set
);
extern
void
do_rt_sigreturn
(
struct
pt_regs
*
regs
);
#endif
/* _SYSTBLS_H */
#endif
/* _SYSTBLS_H */
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