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
8b2ef549
Commit
8b2ef549
authored
Aug 12, 2002
by
David Mosberger
Committed by
David Mosberger
Aug 12, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ia64: Print fpswa revision number. Based on patch by
KOCHI Takayoshi.
parent
2831300e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
arch/ia64/kernel/traps.c
arch/ia64/kernel/traps.c
+7
-2
include/asm-ia64/system.h
include/asm-ia64/system.h
+1
-1
No files found.
arch/ia64/kernel/traps.c
View file @
8b2ef549
...
...
@@ -49,10 +49,15 @@ static fpswa_interface_t *fpswa_interface;
void
__init
trap_init
(
void
)
{
printk
(
"fpswa interface at %lx
\n
"
,
ia64_boot_param
->
fpswa
);
if
(
ia64_boot_param
->
fpswa
)
int
major
=
0
,
minor
=
0
;
if
(
ia64_boot_param
->
fpswa
)
{
/* FPSWA fixup: make the interface pointer a kernel virtual address: */
fpswa_interface
=
__va
(
ia64_boot_param
->
fpswa
);
major
=
fpswa_interface
->
revision
&
0xffff
;
minor
=
fpswa_interface
->
revision
>>
16
;
}
printk
(
"fpswa interface at %lx (rev %d.%d)
\n
"
,
ia64_boot_param
->
fpswa
,
major
,
minor
);
}
/*
...
...
include/asm-ia64/system.h
View file @
8b2ef549
...
...
@@ -409,7 +409,7 @@ extern void ia64_load_extra (struct task_struct *task);
{ \
ia64_psr(ia64_task_regs(next))->dfh = 0; \
ia64_psr(ia64_task_regs(next))->mfh = 0; \
} else \
} else
\
ia64_psr(ia64_task_regs(next))->dfh = 1; \
} \
__switch_to(prev,next,last); \
...
...
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