File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -32,8 +32,10 @@ static inline bool acpi_has_cpu_in_madt(void)
32
32
return true;
33
33
}
34
34
35
+ #define MAX_CORE_PIC 256
36
+
35
37
extern struct list_head acpi_wakeup_device_list ;
36
- extern struct acpi_madt_core_pic acpi_core_pic [NR_CPUS ];
38
+ extern struct acpi_madt_core_pic acpi_core_pic [MAX_CORE_PIC ];
37
39
38
40
extern int __init parse_acpi_topology (void );
39
41
Original file line number Diff line number Diff line change @@ -29,11 +29,9 @@ int disabled_cpus;
29
29
30
30
u64 acpi_saved_sp ;
31
31
32
- #define MAX_CORE_PIC 256
33
-
34
32
#define PREFIX "ACPI: "
35
33
36
- struct acpi_madt_core_pic acpi_core_pic [NR_CPUS ];
34
+ struct acpi_madt_core_pic acpi_core_pic [MAX_CORE_PIC ];
37
35
38
36
void __init __iomem * __acpi_map_table (unsigned long phys , unsigned long size )
39
37
{
You can’t perform that action at this time.
0 commit comments