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
4a7ed2ff
Commit
4a7ed2ff
authored
Jun 16, 2004
by
Len Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge intel.com:/home/lenb/src/linux-acpi-test-2.6.7-mpparse
into intel.com:/home/lenb/bk/linux-acpi-test-2.6.7
parents
3a40a2c1
ff75bb72
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
6 deletions
+10
-6
arch/i386/kernel/acpi/boot.c
arch/i386/kernel/acpi/boot.c
+8
-4
arch/i386/kernel/mpparse.c
arch/i386/kernel/mpparse.c
+1
-1
arch/x86_64/kernel/mpparse.c
arch/x86_64/kernel/mpparse.c
+1
-1
No files found.
arch/i386/kernel/acpi/boot.c
View file @
4a7ed2ff
...
@@ -28,6 +28,7 @@
...
@@ -28,6 +28,7 @@
#include <linux/acpi.h>
#include <linux/acpi.h>
#include <linux/efi.h>
#include <linux/efi.h>
#include <linux/irq.h>
#include <linux/irq.h>
#include <linux/module.h>
#include <asm/pgalloc.h>
#include <asm/pgalloc.h>
#include <asm/io_apic.h>
#include <asm/io_apic.h>
#include <asm/apic.h>
#include <asm/apic.h>
...
@@ -449,12 +450,14 @@ unsigned int acpi_register_gsi(u32 gsi, int edge_level, int active_high_low)
...
@@ -449,12 +450,14 @@ unsigned int acpi_register_gsi(u32 gsi, int edge_level, int active_high_low)
static
u16
irq_mask
;
static
u16
irq_mask
;
extern
void
eisa_set_level_irq
(
unsigned
int
irq
);
extern
void
eisa_set_level_irq
(
unsigned
int
irq
);
if
(
edge_level
==
ACPI_LEVEL_SENSITIVE
)
{
if
((
gsi
<
16
)
&&
!
((
1
<<
gsi
)
&
irq_mask
))
{
if
((
gsi
<
16
)
&&
!
((
1
<<
gsi
)
&
irq_mask
))
{
Dprintk
(
KERN_DEBUG
PREFIX
"Setting GSI %u as level-triggered
\n
"
,
gsi
);
Dprintk
(
KERN_DEBUG
PREFIX
"Setting GSI %u as level-triggered
\n
"
,
gsi
);
irq_mask
|=
(
1
<<
gsi
);
irq_mask
|=
(
1
<<
gsi
);
eisa_set_level_irq
(
gsi
);
eisa_set_level_irq
(
gsi
);
}
}
}
}
}
#endif
#endif
#ifdef CONFIG_X86_IO_APIC
#ifdef CONFIG_X86_IO_APIC
...
@@ -465,6 +468,7 @@ unsigned int acpi_register_gsi(u32 gsi, int edge_level, int active_high_low)
...
@@ -465,6 +468,7 @@ unsigned int acpi_register_gsi(u32 gsi, int edge_level, int active_high_low)
acpi_gsi_to_irq
(
gsi
,
&
irq
);
acpi_gsi_to_irq
(
gsi
,
&
irq
);
return
irq
;
return
irq
;
}
}
EXPORT_SYMBOL
(
acpi_register_gsi
);
static
unsigned
long
__init
static
unsigned
long
__init
acpi_scan_rsdp
(
acpi_scan_rsdp
(
...
...
arch/i386/kernel/mpparse.c
View file @
4a7ed2ff
...
@@ -857,7 +857,7 @@ struct mp_ioapic_routing {
...
@@ -857,7 +857,7 @@ struct mp_ioapic_routing {
}
mp_ioapic_routing
[
MAX_IO_APICS
];
}
mp_ioapic_routing
[
MAX_IO_APICS
];
static
int
__init
mp_find_ioapic
(
static
int
mp_find_ioapic
(
int
gsi
)
int
gsi
)
{
{
int
i
=
0
;
int
i
=
0
;
...
...
arch/x86_64/kernel/mpparse.c
View file @
4a7ed2ff
...
@@ -716,7 +716,7 @@ struct mp_ioapic_routing {
...
@@ -716,7 +716,7 @@ struct mp_ioapic_routing {
}
mp_ioapic_routing
[
MAX_IO_APICS
];
}
mp_ioapic_routing
[
MAX_IO_APICS
];
static
int
__init
mp_find_ioapic
(
static
int
mp_find_ioapic
(
int
gsi
)
int
gsi
)
{
{
int
i
=
0
;
int
i
=
0
;
...
...
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