* [PATCH] acpi: numa: fixed white space and line length issue
@ 2010-09-02 20:27 Ralf Thielow
0 siblings, 0 replies; only message in thread
From: Ralf Thielow @ 2010-09-02 20:27 UTC (permalink / raw)
To: rientjes; +Cc: linux-acpi, linux-kernel, Ralf Thielow
Fixed a coding style issue.
Signed-off-by: Ralf Thielow <ralf.thielow@googlemail.com>
---
drivers/acpi/numa.c | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/drivers/acpi/numa.c b/drivers/acpi/numa.c
index 5718566..9864c5b 100644
--- a/drivers/acpi/numa.c
+++ b/drivers/acpi/numa.c
@@ -102,7 +102,7 @@ acpi_table_print_srat_entry(struct acpi_subtable_header *header)
"SRAT Processor (id[0x%02x] eid[0x%02x]) in proximity domain %d %s\n",
p->apic_id, p->local_sapic_eid,
p->proximity_domain_lo,
- (p->flags & ACPI_SRAT_CPU_ENABLED)?
+ (p->flags & ACPI_SRAT_CPU_ENABLED) ?
"enabled" : "disabled"));
}
#endif /* ACPI_DEBUG_OUTPUT */
@@ -118,9 +118,10 @@ acpi_table_print_srat_entry(struct acpi_subtable_header *header)
(unsigned long)p->base_address,
(unsigned long)p->length,
p->proximity_domain,
- (p->flags & ACPI_SRAT_MEM_ENABLED)?
+ (p->flags & ACPI_SRAT_MEM_ENABLED) ?
"enabled" : "disabled",
- (p->flags & ACPI_SRAT_MEM_HOT_PLUGGABLE)?
+ (p->flags &
+ ACPI_SRAT_MEM_HOT_PLUGGABLE) ?
" hot-pluggable" : ""));
}
#endif /* ACPI_DEBUG_OUTPUT */
@@ -236,7 +237,7 @@ acpi_parse_processor_affinity(struct acpi_subtable_header *header,
}
static int __init
-acpi_parse_memory_affinity(struct acpi_subtable_header * header,
+acpi_parse_memory_affinity(struct acpi_subtable_header *header,
const unsigned long end)
{
struct acpi_srat_mem_affinity *memory_affinity;
@@ -265,7 +266,8 @@ static int __init acpi_parse_srat(struct acpi_table_header *table)
static int __init
acpi_table_parse_srat(enum acpi_srat_type id,
- acpi_table_entry_handler handler, unsigned int max_entries)
+ acpi_table_entry_handler handler,
+ unsigned int max_entries)
{
return acpi_table_parse_entries(ACPI_SIG_SRAT,
sizeof(struct acpi_table_srat), id,
--
1.7.0.4
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-09-02 20:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-02 20:27 [PATCH] acpi: numa: fixed white space and line length issue Ralf Thielow
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®