public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] apci: dump slit
@ 2008-09-12 18:17 Yinghai Lu
  2008-09-12 19:20 ` Andrew Morton
  0 siblings, 1 reply; 21+ messages in thread
From: Yinghai Lu @ 2008-09-12 18:17 UTC (permalink / raw)
  To: Ingo Molnar, Thomas Gleixner, H. Peter Anvin, Andrew Morton
  Cc: linux-kernel, Yinghai Lu

Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>

---
 drivers/acpi/numa.c |    8 ++++++++
 1 file changed, 8 insertions(+)

Index: linux-2.6/drivers/acpi/numa.c
===================================================================
--- linux-2.6.orig/drivers/acpi/numa.c
+++ linux-2.6/drivers/acpi/numa.c
@@ -150,6 +150,14 @@ static __init int slit_valid(struct acpi
 {
 	int i, j;
 	int d = slit->locality_count;
+	printk(KERN_DEBUG "ACPI: SLIT: nodes = %d\n", d);
+	for (i = 0; i < d; i++) {
+		for (j = 0; j < d; j++)  {
+			u8 val = slit->entry[d*i + j];
+			printk(" %d", val);
+		}
+		printk("\n");
+	}
 	for (i = 0; i < d; i++) {
 		for (j = 0; j < d; j++)  {
 			u8 val = slit->entry[d*i + j];

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2008-09-18 18:22 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-12 18:17 [PATCH] apci: dump slit Yinghai Lu
2008-09-12 19:20 ` Andrew Morton
2008-09-12 19:29   ` Yinghai Lu
2008-09-12 20:13     ` H. Peter Anvin
2008-09-12 21:17       ` Andi Kleen
2008-09-12 21:44         ` Thomas Gleixner
2008-09-12 21:11     ` Andi Kleen
2008-09-12 21:19       ` Thomas Gleixner
2008-09-12 21:30         ` Andi Kleen
2008-09-12 21:41           ` Matt Keenan
2008-09-12 21:49           ` Thomas Gleixner
2008-09-12 22:14             ` Andi Kleen
2008-09-12 21:54           ` Yinghai Lu
2008-09-12 22:29             ` Andi Kleen
2008-09-14 11:22         ` Pavel Machek
2008-09-14 12:26           ` Ingo Molnar
2008-09-14 15:59             ` Pavel Machek
2008-09-14 16:00               ` Pavel Machek
2008-09-14 16:04               ` Ingo Molnar
2008-09-14 18:13                 ` Yinghai Lu
2008-09-18 18:26                 ` Andi Kleen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox