diff options
author | Len Brown <len.brown@intel.com> | 2007-02-10 21:35:47 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-02-13 02:58:52 -0500 |
commit | 5a8765a84c31ea51baf1f6c78116cd877bd8cd64 (patch) | |
tree | bebd4d66ad548c14656d98d2784bb81447b82d69 /drivers | |
parent | 7f8f97c3cc75d5783d0b45cf323dedf17684be19 (diff) |
ACPI: acpi_madt_entry_handler() is not MADT specific
acpi_madt_entry_handler() is also used for the SRAT,
so re-name it acpi_table_entry_handler().
cosmetic only.
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/acpi/numa.c | 4 | ||||
-rw-r--r-- | drivers/acpi/tables.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/acpi/numa.c b/drivers/acpi/numa.c index bb6caab24322..44e411e78ed4 100644 --- a/drivers/acpi/numa.c +++ b/drivers/acpi/numa.c | |||
@@ -48,7 +48,7 @@ int __cpuinitdata node_to_pxm_map[MAX_NUMNODES] | |||
48 | extern int __init acpi_table_parse_madt_family(char *id, | 48 | extern int __init acpi_table_parse_madt_family(char *id, |
49 | unsigned long madt_size, | 49 | unsigned long madt_size, |
50 | int entry_id, | 50 | int entry_id, |
51 | acpi_madt_entry_handler handler, | 51 | acpi_table_entry_handler handler, |
52 | unsigned int max_entries); | 52 | unsigned int max_entries); |
53 | 53 | ||
54 | int __cpuinit pxm_to_node(int pxm) | 54 | int __cpuinit pxm_to_node(int pxm) |
@@ -208,7 +208,7 @@ static int __init acpi_parse_srat(struct acpi_table_header *table) | |||
208 | 208 | ||
209 | int __init | 209 | int __init |
210 | acpi_table_parse_srat(enum acpi_srat_type id, | 210 | acpi_table_parse_srat(enum acpi_srat_type id, |
211 | acpi_madt_entry_handler handler, unsigned int max_entries) | 211 | acpi_table_entry_handler handler, unsigned int max_entries) |
212 | { | 212 | { |
213 | return acpi_table_parse_madt_family(ACPI_SIG_SRAT, | 213 | return acpi_table_parse_madt_family(ACPI_SIG_SRAT, |
214 | sizeof(struct acpi_table_srat), id, | 214 | sizeof(struct acpi_table_srat), id, |
diff --git a/drivers/acpi/tables.c b/drivers/acpi/tables.c index 2075ec7b827b..f211fa35374c 100644 --- a/drivers/acpi/tables.c +++ b/drivers/acpi/tables.c | |||
@@ -173,7 +173,7 @@ int __init | |||
173 | acpi_table_parse_madt_family(char *id, | 173 | acpi_table_parse_madt_family(char *id, |
174 | unsigned long madt_size, | 174 | unsigned long madt_size, |
175 | int entry_id, | 175 | int entry_id, |
176 | acpi_madt_entry_handler handler, | 176 | acpi_table_entry_handler handler, |
177 | unsigned int max_entries) | 177 | unsigned int max_entries) |
178 | { | 178 | { |
179 | struct acpi_table_header *madt = NULL; | 179 | struct acpi_table_header *madt = NULL; |
@@ -219,7 +219,7 @@ acpi_table_parse_madt_family(char *id, | |||
219 | 219 | ||
220 | int __init | 220 | int __init |
221 | acpi_table_parse_madt(enum acpi_madt_type id, | 221 | acpi_table_parse_madt(enum acpi_madt_type id, |
222 | acpi_madt_entry_handler handler, unsigned int max_entries) | 222 | acpi_table_entry_handler handler, unsigned int max_entries) |
223 | { | 223 | { |
224 | return acpi_table_parse_madt_family(ACPI_SIG_MADT, | 224 | return acpi_table_parse_madt_family(ACPI_SIG_MADT, |
225 | sizeof(struct acpi_table_madt), id, | 225 | sizeof(struct acpi_table_madt), id, |