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
608f8b3c
Commit
608f8b3c
authored
Nov 03, 2005
by
Stephen Rothwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
powerpc: merge sigcontext.h
Signed-off-by:
Stephen Rothwell
<
sfr@canb.auug.org.au
>
parent
879168ee
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
33 deletions
+23
-33
include/asm-powerpc/sigcontext.h
include/asm-powerpc/sigcontext.h
+23
-18
include/asm-ppc/sigcontext.h
include/asm-ppc/sigcontext.h
+0
-15
No files found.
include/asm-p
pc64
/sigcontext.h
→
include/asm-p
owerpc
/sigcontext.h
View file @
608f8b3c
#ifndef _ASM_P
PC64
_SIGCONTEXT_H
#ifndef _ASM_P
OWERPC
_SIGCONTEXT_H
#define _ASM_P
PC64
_SIGCONTEXT_H
#define _ASM_P
OWERPC
_SIGCONTEXT_H
/*
/*
* This program is free software; you can redistribute it and/or
* This program is free software; you can redistribute it and/or
...
@@ -9,16 +9,20 @@
...
@@ -9,16 +9,20 @@
*/
*/
#include <linux/compiler.h>
#include <linux/compiler.h>
#include <asm/ptrace.h>
#include <asm/ptrace.h>
#ifdef __powerpc64__
#include <asm/elf.h>
#include <asm/elf.h>
#endif
struct
sigcontext
{
struct
sigcontext
{
unsigned
long
_unused
[
4
];
unsigned
long
_unused
[
4
];
int
signal
;
int
signal
;
#ifdef __powerpc64__
int
_pad0
;
int
_pad0
;
#endif
unsigned
long
handler
;
unsigned
long
handler
;
unsigned
long
oldmask
;
unsigned
long
oldmask
;
struct
pt_regs
__user
*
regs
;
struct
pt_regs
__user
*
regs
;
#ifdef __powerpc64__
elf_gregset_t
gp_regs
;
elf_gregset_t
gp_regs
;
elf_fpregset_t
fp_regs
;
elf_fpregset_t
fp_regs
;
/*
/*
...
@@ -42,6 +46,7 @@ struct sigcontext {
...
@@ -42,6 +46,7 @@ struct sigcontext {
*/
*/
elf_vrreg_t
__user
*
v_regs
;
elf_vrreg_t
__user
*
v_regs
;
long
vmx_reserve
[
ELF_NVRREG
+
ELF_NVRREG
+
1
];
long
vmx_reserve
[
ELF_NVRREG
+
ELF_NVRREG
+
1
];
#endif
};
};
#endif
/* _ASM_P
PC64
_SIGCONTEXT_H */
#endif
/* _ASM_P
OWERPC
_SIGCONTEXT_H */
include/asm-ppc/sigcontext.h
deleted
100644 → 0
View file @
879168ee
#ifndef _ASM_PPC_SIGCONTEXT_H
#define _ASM_PPC_SIGCONTEXT_H
#include <asm/ptrace.h>
#include <linux/compiler.h>
struct
sigcontext
{
unsigned
long
_unused
[
4
];
int
signal
;
unsigned
long
handler
;
unsigned
long
oldmask
;
struct
pt_regs
__user
*
regs
;
};
#endif
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