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
e088ad7c
Commit
e088ad7c
authored
Feb 07, 2006
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC64]: Verify all trap_per_cpu assembler offsets in trap_init()
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
7202c55c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
arch/sparc64/kernel/traps.c
arch/sparc64/kernel/traps.c
+12
-1
No files found.
arch/sparc64/kernel/traps.c
View file @
e088ad7c
...
@@ -2182,7 +2182,18 @@ void __init trap_init(void)
...
@@ -2182,7 +2182,18 @@ void __init trap_init(void)
thread_info_offsets_are_bolixed_dave
();
thread_info_offsets_are_bolixed_dave
();
if
(
TRAP_PER_CPU_THREAD
!=
offsetof
(
struct
trap_per_cpu
,
thread
)
||
if
(
TRAP_PER_CPU_THREAD
!=
offsetof
(
struct
trap_per_cpu
,
thread
)
||
TRAP_PER_CPU_PGD_PADDR
!=
offsetof
(
struct
trap_per_cpu
,
pgd_paddr
))
(
TRAP_PER_CPU_PGD_PADDR
!=
offsetof
(
struct
trap_per_cpu
,
pgd_paddr
))
||
(
TRAP_PER_CPU_CPU_MONDO_PA
!=
offsetof
(
struct
trap_per_cpu
,
cpu_mondo_pa
))
||
(
TRAP_PER_CPU_DEV_MONDO_PA
!=
offsetof
(
struct
trap_per_cpu
,
dev_mondo_pa
))
||
(
TRAP_PER_CPU_RESUM_MONDO_PA
!=
offsetof
(
struct
trap_per_cpu
,
resum_mondo_pa
))
||
(
TRAP_PER_CPU_NONRESUM_MONDO_PA
!=
offsetof
(
struct
trap_per_cpu
,
nonresum_mondo_pa
))
||
(
TRAP_PER_CPU_FAULT_INFO
!=
offsetof
(
struct
trap_per_cpu
,
fault_info
)))
trap_per_cpu_offsets_are_bolixed_dave
();
trap_per_cpu_offsets_are_bolixed_dave
();
/* Attach to the address space of init_task. On SMP we
/* Attach to the address space of init_task. On SMP we
...
...
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