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
6899ad04
Commit
6899ad04
authored
Dec 08, 2004
by
Jeremy Huddleston
Committed by
David S. Miller
Dec 08, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC]: Make some asm headers more userland friendly.
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
ffe26efd
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
4 deletions
+9
-4
include/asm-sparc/processor.h
include/asm-sparc/processor.h
+2
-0
include/asm-sparc/sigcontext.h
include/asm-sparc/sigcontext.h
+2
-1
include/asm-sparc/signal.h
include/asm-sparc/signal.h
+5
-3
No files found.
include/asm-sparc/processor.h
View file @
6899ad04
...
...
@@ -43,10 +43,12 @@
struct
task_struct
;
#ifdef __KERNEL__
struct
fpq
{
unsigned
long
*
insn_addr
;
unsigned
long
insn
;
};
#endif
typedef
struct
{
int
seg
;
...
...
include/asm-sparc/sigcontext.h
View file @
6899ad04
...
...
@@ -4,7 +4,6 @@
#ifdef __KERNEL__
#include <asm/ptrace.h>
#endif
#ifndef __ASSEMBLY__
...
...
@@ -59,4 +58,6 @@ typedef struct {
#endif
/* !(__ASSEMBLY__) */
#endif
/* (__KERNEL__) */
#endif
/* !(__SPARC_SIGCONTEXT_H) */
include/asm-sparc/signal.h
View file @
6899ad04
...
...
@@ -3,6 +3,7 @@
#define _ASMSPARC_SIGNAL_H
#include <asm/sigcontext.h>
#include <linux/compiler.h>
#ifdef __KERNEL__
#ifndef __ASSEMBLY__
...
...
@@ -111,11 +112,14 @@ typedef struct {
unsigned
long
sig
[
_NSIG_WORDS
];
}
__new_sigset_t
;
#ifdef __KERNEL__
/* A SunOS sigstack */
struct
sigstack
{
char
*
the_stack
;
int
cur_status
;
};
#endif
/* Sigvec flags */
#define _SV_SSTACK 1u
/* This signal handler should use sig-stack */
...
...
@@ -189,6 +193,7 @@ typedef void (*__sighandler_t)(int);
#define SIG_IGN ((__sighandler_t)1)
/* ignore signal */
#define SIG_ERR ((__sighandler_t)-1)
/* error return from signal */
#ifdef __KERNEL__
struct
__new_sigaction
{
__sighandler_t
sa_handler
;
unsigned
long
sa_flags
;
...
...
@@ -196,12 +201,10 @@ struct __new_sigaction {
__new_sigset_t
sa_mask
;
};
#ifdef __KERNEL__
struct
k_sigaction
{
struct
__new_sigaction
sa
;
void
__user
*
ka_restorer
;
};
#endif
struct
__old_sigaction
{
__sighandler_t
sa_handler
;
...
...
@@ -216,7 +219,6 @@ typedef struct sigaltstack {
size_t
ss_size
;
}
stack_t
;
#ifdef __KERNEL__
struct
sparc_deliver_cookie
{
int
restart_syscall
;
unsigned
long
orig_i0
;
...
...
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