diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-05-12 06:17:30 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-05-12 06:17:36 -0400 |
commit | 6cda3eb62ef42aa5acd649bf99c8db544e0f4051 (patch) | |
tree | 93f74ca002f5756c8e157611174f9540b5cf41c0 /drivers/acpi | |
parent | b9c61b70075c87a8612624736faf4a2de5b1ed30 (diff) | |
parent | cec6be6d1069d697beb490bbb40a290d5ff554a2 (diff) |
Merge branch 'x86/apic' into irq/numa
Merge reason: both topics modify the APIC code but were able to do it in
parallel so far. An upcoming patch generates a conflict so
merge them to avoid the conflict.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'drivers/acpi')
-rw-r--r-- | drivers/acpi/acpica/rscalc.c | 7 | ||||
-rw-r--r-- | drivers/acpi/video.c | 3 |
2 files changed, 9 insertions, 1 deletions
diff --git a/drivers/acpi/acpica/rscalc.c b/drivers/acpi/acpica/rscalc.c index b6667ff059e5..88b5a2c4814d 100644 --- a/drivers/acpi/acpica/rscalc.c +++ b/drivers/acpi/acpica/rscalc.c | |||
@@ -543,6 +543,13 @@ acpi_rs_get_pci_routing_table_length(union acpi_operand_object *package_object, | |||
543 | 543 | ||
544 | package_element = *top_object_list; | 544 | package_element = *top_object_list; |
545 | 545 | ||
546 | /* We must have a valid Package object */ | ||
547 | |||
548 | if (!package_element || | ||
549 | (package_element->common.type != ACPI_TYPE_PACKAGE)) { | ||
550 | return_ACPI_STATUS (AE_AML_OPERAND_TYPE); | ||
551 | } | ||
552 | |||
546 | /* | 553 | /* |
547 | * The sub_object_list will now point to an array of the | 554 | * The sub_object_list will now point to an array of the |
548 | * four IRQ elements: Address, Pin, Source and source_index | 555 | * four IRQ elements: Address, Pin, Source and source_index |
diff --git a/drivers/acpi/video.c b/drivers/acpi/video.c index 1705d947ea09..d7ff61c0d571 100644 --- a/drivers/acpi/video.c +++ b/drivers/acpi/video.c | |||
@@ -2296,7 +2296,7 @@ static int __init acpi_video_init(void) | |||
2296 | return acpi_video_register(); | 2296 | return acpi_video_register(); |
2297 | } | 2297 | } |
2298 | 2298 | ||
2299 | static void __exit acpi_video_exit(void) | 2299 | void __exit acpi_video_exit(void) |
2300 | { | 2300 | { |
2301 | 2301 | ||
2302 | acpi_bus_unregister_driver(&acpi_video_bus); | 2302 | acpi_bus_unregister_driver(&acpi_video_bus); |
@@ -2305,6 +2305,7 @@ static void __exit acpi_video_exit(void) | |||
2305 | 2305 | ||
2306 | return; | 2306 | return; |
2307 | } | 2307 | } |
2308 | EXPORT_SYMBOL(acpi_video_exit); | ||
2308 | 2309 | ||
2309 | module_init(acpi_video_init); | 2310 | module_init(acpi_video_init); |
2310 | module_exit(acpi_video_exit); | 2311 | module_exit(acpi_video_exit); |