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
nexedi
linux
Commits
44e34ca6
Commit
44e34ca6
authored
Sep 30, 2002
by
Andy Grover
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ACPI: IA64 fixes (David Mosberger)
parent
0f5e01fa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
13 deletions
+12
-13
drivers/acpi/osl.c
drivers/acpi/osl.c
+6
-13
drivers/acpi/pci_irq.c
drivers/acpi/pci_irq.c
+6
-0
No files found.
drivers/acpi/osl.c
View file @
44e34ca6
...
...
@@ -38,15 +38,10 @@
#include "acpi.h"
#ifdef CONFIG_ACPI_EFI
#include <
asm
/efi.h>
#include <
linux
/efi.h>
u64
efi_mem_attributes
(
u64
phys_addr
);
#endif
#ifdef CONFIG_IA64
#include <asm/hw_irq.h>
#include <asm/delay.h>
#endif
#define _COMPONENT ACPI_OS_SERVICES
ACPI_MODULE_NAME
(
"osl"
)
...
...
@@ -167,10 +162,10 @@ acpi_status
acpi_os_map_memory
(
ACPI_PHYSICAL_ADDRESS
phys
,
ACPI_SIZE
size
,
void
**
virt
)
{
#ifdef CONFIG_ACPI_EFI
if
(
!
(
EFI_MEMORY_WB
&
efi_mem_attributes
(
phys
)))
{
*
virt
=
ioremap
(
phys
,
size
);
}
else
{
if
(
EFI_MEMORY_WB
&
efi_mem_attributes
(
phys
))
{
*
virt
=
phys_to_virt
(
phys
);
}
else
{
*
virt
=
ioremap
(
phys
,
size
);
}
#else
if
(
phys
>
ULONG_MAX
)
{
...
...
@@ -342,8 +337,7 @@ acpi_os_read_memory(
if
(
EFI_MEMORY_WB
&
efi_mem_attributes
(
phys_addr
))
{
virt_addr
=
phys_to_virt
(
phys_addr
);
}
else
{
}
else
{
iomem
=
1
;
virt_addr
=
ioremap
(
phys_addr
,
width
);
}
...
...
@@ -388,8 +382,7 @@ acpi_os_write_memory(
if
(
EFI_MEMORY_WB
&
efi_mem_attributes
(
phys_addr
))
{
virt_addr
=
phys_to_virt
(
phys_addr
);
}
else
{
}
else
{
iomem
=
1
;
virt_addr
=
ioremap
(
phys_addr
,
width
);
}
...
...
drivers/acpi/pci_irq.c
View file @
44e34ca6
...
...
@@ -33,7 +33,9 @@
#include <linux/pm.h>
#include <linux/pci.h>
#include <linux/acpi.h>
#ifdef CONFIG_X86_IO_APIC
#include <asm/mpspec.h>
#endif
#include "acpi_bus.h"
#include "acpi_drivers.h"
...
...
@@ -388,6 +390,10 @@ acpi_pci_irq_init (void)
if
(
acpi_irq_model
==
ACPI_IRQ_MODEL_IOAPIC
)
mp_parse_prt
();
#endif
#ifdef CONFIG_IOSAPIC
if
(
acpi_irq_model
==
ACPI_IRQ_MODEL_IOSAPIC
)
iosapic_parse_prt
();
#endif
pci_for_each_dev
(
dev
)
acpi_pci_irq_enable
(
dev
);
...
...
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