Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
b825e6cc
Commit
b825e6cc
authored
Feb 07, 2009
by
Yinghai Lu
Committed by
Ingo Molnar
Feb 09, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x86, es7000: fix ACPI table mappings
Signed-off-by:
Ingo Molnar
<
mingo@elte.hu
>
parent
7d97277b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
arch/x86/kernel/es7000_32.c
arch/x86/kernel/es7000_32.c
+8
-1
No files found.
arch/x86/kernel/es7000_32.c
View file @
b825e6cc
...
...
@@ -292,24 +292,31 @@ int __init find_unisys_acpi_oem_table(unsigned long *oem_addr)
{
struct
acpi_table_header
*
header
=
NULL
;
int
i
=
0
;
acpi_size
tbl_size
;
while
(
ACPI_SUCCESS
(
acpi_get_table
(
"OEM1"
,
i
++
,
&
header
)))
{
while
(
ACPI_SUCCESS
(
acpi_get_table
_with_size
(
"OEM1"
,
i
++
,
&
header
,
&
tbl_size
)))
{
if
(
!
memcmp
((
char
*
)
&
header
->
oem_id
,
"UNISYS"
,
6
))
{
struct
oem_table
*
t
=
(
struct
oem_table
*
)
header
;
oem_addrX
=
t
->
OEMTableAddr
;
oem_size
=
t
->
OEMTableSize
;
early_acpi_os_unmap_memory
(
header
,
tbl_size
);
*
oem_addr
=
(
unsigned
long
)
__acpi_map_table
(
oem_addrX
,
oem_size
);
return
0
;
}
early_acpi_os_unmap_memory
(
header
,
tbl_size
);
}
return
-
1
;
}
void
__init
unmap_unisys_acpi_oem_table
(
unsigned
long
oem_addr
)
{
if
(
!
oem_addr
)
return
;
__acpi_unmap_table
((
char
*
)
oem_addr
,
oem_size
);
}
#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