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
39aa655b
Commit
39aa655b
authored
Feb 05, 2004
by
Len Brown
Committed by
Len Brown
Feb 05, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ACPI] fix IA64 build warning
from Martin Hicks
parent
1e1b8dae
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
drivers/acpi/pci_irq.c
drivers/acpi/pci_irq.c
+7
-5
No files found.
drivers/acpi/pci_irq.c
View file @
39aa655b
...
@@ -315,7 +315,6 @@ acpi_pci_irq_enable (
...
@@ -315,7 +315,6 @@ acpi_pci_irq_enable (
{
{
int
irq
=
0
;
int
irq
=
0
;
u8
pin
=
0
;
u8
pin
=
0
;
static
u16
irq_mask
=
0
;
ACPI_FUNCTION_TRACE
(
"acpi_pci_irq_enable"
);
ACPI_FUNCTION_TRACE
(
"acpi_pci_irq_enable"
);
...
@@ -372,11 +371,14 @@ acpi_pci_irq_enable (
...
@@ -372,11 +371,14 @@ acpi_pci_irq_enable (
* Make sure all (legacy) PCI IRQs are set as level-triggered.
* Make sure all (legacy) PCI IRQs are set as level-triggered.
*/
*/
#ifdef CONFIG_X86
#ifdef CONFIG_X86
{
static
u16
irq_mask
;
if
((
dev
->
irq
<
16
)
&&
!
((
1
<<
dev
->
irq
)
&
irq_mask
))
{
if
((
dev
->
irq
<
16
)
&&
!
((
1
<<
dev
->
irq
)
&
irq_mask
))
{
ACPI_DEBUG_PRINT
((
ACPI_DB_INFO
,
"Setting IRQ %d as level-triggered
\n
"
,
dev
->
irq
));
ACPI_DEBUG_PRINT
((
ACPI_DB_INFO
,
"Setting IRQ %d as level-triggered
\n
"
,
dev
->
irq
));
irq_mask
|=
(
1
<<
dev
->
irq
);
irq_mask
|=
(
1
<<
dev
->
irq
);
eisa_set_level_irq
(
dev
->
irq
);
eisa_set_level_irq
(
dev
->
irq
);
}
}
}
#endif
#endif
#ifdef CONFIG_IOSAPIC
#ifdef CONFIG_IOSAPIC
if
(
acpi_irq_model
==
ACPI_IRQ_MODEL_IOSAPIC
)
if
(
acpi_irq_model
==
ACPI_IRQ_MODEL_IOSAPIC
)
...
...
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