lkml.org 
[lkml]   [2008]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 5/6] apci: dump slit with printk(KERN_ACPI...)
On Wed, Sep 17, 2008 at 11:28:48AM -0700, Yinghai Lu wrote:
> On Wed, Sep 17, 2008 at 11:19 AM, Marcin Slusarz
> <marcin.slusarz@gmail.com> wrote:
> > On Wed, Sep 17, 2008 at 01:27:46AM -0700, Yinghai Lu wrote:
> >> Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
> >>
> >> ---
> >> drivers/acpi/numa.c | 9 +++++++++
> >> 1 file changed, 9 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,15 @@ static __init int slit_valid(struct acpi
> >> {
> >> int i, j;
> >> int d = slit->locality_count;
> >> + printk(KERN_DEBUG KERN_ACPI "ACPI: SLIT: nodes = %d\n", d);
> >> + for (i = 0; i < d; i++) {
> >> + printk(KERN_DEBUG KERN_ACPI " ");
> >> + for (j = 0; j < d; j++) {
> >> + u8 val = slit->entry[d*i + j];
> >> + printk(KERN_CONT KERN_ACPI " %d", val);
> >> + }
> >> + printk(KERN_CONT KERN_ACPI "\n");
> >> + }
> >
> > It will produce something like this:
> > <7><acpi>ACPI: SLIT: nodes = %d\n
> > <7><acpi> <acpi> %d<acpi> %d<acpi> %d<acpi> %d<acpi>\n
> >
> > bit wrong... ;)
>
> did you check v6...?

No, I didn't test it.
Sorry for the noise.

Marcin


\
 
 \ /
  Last update: 2008-09-17 20:59    [from the cache]
©2003-2011 Jasper Spaans