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
dfef2a7e
Commit
dfef2a7e
authored
Nov 08, 2002
by
Paul Mackerras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PPC32: Define CLONE_UNTRACED for assembler code, fix a too-long branch
parent
d0ad6e51
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
arch/ppc/kernel/asm-offsets.c
arch/ppc/kernel/asm-offsets.c
+1
-0
arch/ppc/kernel/head.S
arch/ppc/kernel/head.S
+4
-1
No files found.
arch/ppc/kernel/asm-offsets.c
View file @
dfef2a7e
...
@@ -114,6 +114,7 @@ main(void)
...
@@ -114,6 +114,7 @@ main(void)
DEFINE
(
RESULT
,
STACK_FRAME_OVERHEAD
+
offsetof
(
struct
pt_regs
,
result
));
DEFINE
(
RESULT
,
STACK_FRAME_OVERHEAD
+
offsetof
(
struct
pt_regs
,
result
));
DEFINE
(
TRAP
,
STACK_FRAME_OVERHEAD
+
offsetof
(
struct
pt_regs
,
trap
));
DEFINE
(
TRAP
,
STACK_FRAME_OVERHEAD
+
offsetof
(
struct
pt_regs
,
trap
));
DEFINE
(
CLONE_VM
,
CLONE_VM
);
DEFINE
(
CLONE_VM
,
CLONE_VM
);
DEFINE
(
CLONE_UNTRACED
,
CLONE_UNTRACED
);
DEFINE
(
MM_PGD
,
offsetof
(
struct
mm_struct
,
pgd
));
DEFINE
(
MM_PGD
,
offsetof
(
struct
mm_struct
,
pgd
));
/* About the CPU features table */
/* About the CPU features table */
...
...
arch/ppc/kernel/head.S
View file @
dfef2a7e
...
@@ -358,9 +358,12 @@ MachineCheck:
...
@@ -358,9 +358,12 @@ MachineCheck:
#ifdef CONFIG_ALL_PPC
#ifdef CONFIG_ALL_PPC
mfspr
r4
,
SPRG2
mfspr
r4
,
SPRG2
cmpwi
cr1
,
r4
,
0
cmpwi
cr1
,
r4
,
0
bne
cr1
,
machine_check_in_rtas
bne
cr1
,
1
f
#endif
#endif
EXC_XFER_STD
(0
x200
,
MachineCheckException
)
EXC_XFER_STD
(0
x200
,
MachineCheckException
)
#ifdef CONFIG_ALL_PPC
1
:
b
machine_check_in_rtas
#endif
/*
Data
access
exception
.
*/
/*
Data
access
exception
.
*/
.
=
0x300
.
=
0x300
...
...
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