Skip to contentSkip to conversation

arch/x86/kernel/apic/apic_flat_64.c: Make comment match the code

PATCH In review Jasper Spaans 2 participants 2 messages Nov 20, 2009 – Dec 18, 2009 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arch/x86/kernel/apic/apic_flat_64.c: Make comment match the code

Make the comment match the code, this also holds for intel systems, according to probe_64.c in the same directory.

---
 arch/x86/kernel/apic/apic_flat_64.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/x86/kernel/apic/apic_flat_64.c +1 -1
index d0c99ab..bd2dc04 100644
@@ -223,7 +223,7 @@ struct apic apic_flat =  {
 };
 
 /*
- * Physflat mode is used when there are more than 8 CPUs on a AMD system.
+ * Physflat mode is used when there are more than 8 CPUs on a system.
  * We cannot use logical delivery in this case because the mask
  * overflows, so use physical mode.
  */
Signature · 1 line
1.6.3.3
#1 lore raw
Quoted 13 lines · Jasper Spaans

Make the comment match the code, this also holds for intel systems, according to probe_64.c in the same directory.

---
 arch/x86/kernel/apic/apic_flat_64.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/x86/kernel/apic/apic_flat_64.c +0 -0
index d0c99ab..bd2dc04 100644

arch/x86/kernel/apic/apic_flat_64.c struct apic apic_flat = { · line 229

Quoted 8 lines
arch/x86/kernel/apic/apic_flat_64.c +1 -1
@@ -223,7 +223,7 @@ struct apic apic_flat =  {
 };
 
 /*
- * Physflat mode is used when there are more than 8 CPUs on a AMD system.
+ * Physflat mode is used when there are more than 8 CPUs on a system.
  * We cannot use logical delivery in this case because the mask
  * overflows, so use physical mode.
  */

This seems to be ignored for 2.6.33-rc1. I have added it to trivial queue.

Thanks,

Signature · 2 lines
Jiri Kosina
SUSE Labs, Novell Inc.