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
Kirill Smelkov
linux
Commits
f9677ef9
Commit
f9677ef9
authored
Sep 04, 2004
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ppc64: move C declaration in ptrace.h into "ifndef __ASSEMBLY__"
The assembler gets quite confused otherwise.
parent
405983e3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
include/asm-ppc64/ptrace.h
include/asm-ppc64/ptrace.h
+7
-7
No files found.
include/asm-ppc64/ptrace.h
View file @
f9677ef9
...
...
@@ -60,21 +60,21 @@ struct pt_regs32 {
PPC_REG_32
result
;
/* Result of a system call */
};
#define instruction_pointer(regs) ((regs)->nip)
#ifdef CONFIG_SMP
extern
unsigned
long
profile_pc
(
struct
pt_regs
*
regs
);
#else
#define profile_pc(regs) instruction_pointer(regs)
#endif
#endif
/* __ASSEMBLY__ */
#define STACK_FRAME_OVERHEAD 112
/* size of minimum stack frame */
/* Size of dummy stack frame allocated when calling signal handler. */
#define __SIGNAL_FRAMESIZE 128
#define __SIGNAL_FRAMESIZE32 64
#define instruction_pointer(regs) ((regs)->nip)
#ifdef CONFIG_SMP
extern
unsigned
long
profile_pc
(
struct
pt_regs
*
regs
);
#else
#define profile_pc(regs) instruction_pointer(regs)
#endif
#define user_mode(regs) ((((regs)->msr) >> MSR_PR_LG) & 0x1)
#define force_successful_syscall_return() \
...
...
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