File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -229,7 +229,7 @@ static int acpi_pptt_leaf_node(struct acpi_table_header *table_hdr,
229
229
node_entry = ACPI_PTR_DIFF (node , table_hdr );
230
230
entry = ACPI_ADD_PTR (struct acpi_subtable_header , table_hdr ,
231
231
sizeof (struct acpi_table_pptt ));
232
- proc_sz = sizeof (struct acpi_pptt_processor * );
232
+ proc_sz = sizeof (struct acpi_pptt_processor );
233
233
234
234
while ((unsigned long )entry + proc_sz < table_end ) {
235
235
cpu_node = (struct acpi_pptt_processor * )entry ;
@@ -270,7 +270,7 @@ static struct acpi_pptt_processor *acpi_find_processor_node(struct acpi_table_he
270
270
table_end = (unsigned long )table_hdr + table_hdr -> length ;
271
271
entry = ACPI_ADD_PTR (struct acpi_subtable_header , table_hdr ,
272
272
sizeof (struct acpi_table_pptt ));
273
- proc_sz = sizeof (struct acpi_pptt_processor * );
273
+ proc_sz = sizeof (struct acpi_pptt_processor );
274
274
275
275
/* find the processor structure associated with this cpuid */
276
276
while ((unsigned long )entry + proc_sz < table_end ) {
You can’t perform that action at this time.
0 commit comments