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
425b0533
Commit
425b0533
authored
Aug 12, 2003
by
Andy Grover
Committed by
Len Brown
Aug 12, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ACPI: Fix ACPI for IA64 on Big Sur machines (HJ Lu)
parent
12a91a48
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
drivers/acpi/osl.c
drivers/acpi/osl.c
+7
-2
No files found.
drivers/acpi/osl.c
View file @
425b0533
...
@@ -251,7 +251,12 @@ acpi_os_install_interrupt_handler(u32 irq, OSD_HANDLER handler, void *context)
...
@@ -251,7 +251,12 @@ acpi_os_install_interrupt_handler(u32 irq, OSD_HANDLER handler, void *context)
irq
=
acpi_fadt
.
sci_int
;
irq
=
acpi_fadt
.
sci_int
;
#ifdef CONFIG_IA64
#ifdef CONFIG_IA64
irq
=
gsi_to_vector
(
irq
);
irq
=
acpi_irq_to_vector
(
irq
);
if
(
irq
<
0
)
{
printk
(
KERN_ERR
PREFIX
"SCI (ACPI interrupt %d) not registered
\n
"
,
acpi_fadt
.
sci_int
);
return
AE_OK
;
}
#endif
#endif
acpi_irq_irq
=
irq
;
acpi_irq_irq
=
irq
;
acpi_irq_handler
=
handler
;
acpi_irq_handler
=
handler
;
...
@@ -269,7 +274,7 @@ acpi_os_remove_interrupt_handler(u32 irq, OSD_HANDLER handler)
...
@@ -269,7 +274,7 @@ acpi_os_remove_interrupt_handler(u32 irq, OSD_HANDLER handler)
{
{
if
(
acpi_irq_handler
)
{
if
(
acpi_irq_handler
)
{
#ifdef CONFIG_IA64
#ifdef CONFIG_IA64
irq
=
gsi
_to_vector
(
irq
);
irq
=
acpi_irq
_to_vector
(
irq
);
#endif
#endif
free_irq
(
irq
,
acpi_irq
);
free_irq
(
irq
,
acpi_irq
);
acpi_irq_handler
=
NULL
;
acpi_irq_handler
=
NULL
;
...
...
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