Changeset 74b2f5bf in mainline
- Timestamp:
- 2005-09-21T21:07:27Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- cf27a6cb
- Parents:
- aed4eca
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ia32/src/acpi/madt.c
raed4eca r74b2f5bf 52 52 struct madt_io_apic *madt_io_apic_entries = NULL; 53 53 54 __u32 madt_l_apic_entry_index = 0; 55 __u32 madt_io_apic_entry_index = 0; 56 int madt_l_apic_entry_cnt = 0; 57 int madt_io_apic_entry_cnt = 0; 54 index_t madt_l_apic_entry_index = 0; 55 index_t madt_io_apic_entry_index = 0; 56 count_t madt_l_apic_entry_cnt = 0; 57 count_t madt_io_apic_entry_cnt = 0; 58 count_t cpu_count = 0; 58 59 59 60 struct madt_apic_header * * madt_entries_index = NULL; … … 177 178 178 179 179 if ( madt_l_apic_entry_cnt)180 config.cpu_count = madt_l_apic_entry_cnt;180 if (cpu_count) 181 config.cpu_count = cpu_count; 181 182 } 182 183 … … 192 193 return; 193 194 } 194 195 196 cpu_count++; 195 197 apic_id_mask |= 1<<la->apic_id; 196 198 }
Note:
See TracChangeset
for help on using the changeset viewer.