Re: [RFC][PATCH] swsusp: do not use higher order memory allocations on suspend

From: Rafael J. Wysocki
Date: Fri Jan 28 2005 - 12:59:46 EST


On Friday, 28 of January 2005 15:07, Martin Zwickel wrote:
> > @@ -373,15 +377,22 @@
> >
> > static int write_pagedir(void)
> > {
> > - unsigned long addr = (unsigned long)pagedir_nosave;
> > int error = 0;
> > - int n = SUSPEND_PD_PAGES(nr_copy_pages);
> > - int i;
> > + unsigned n = 0;
> > + struct pbe * pbe;
> > +
> > + printk( "Writing pagedir ...");
> >
> > +
> > + pr_debug("\b\b\bdone (%u pages)\n", n);
>
> Just cosmetic:
> Why do you use pr_debug here instead of printk like you did above?

By mistake. :-) Thanks!

Greets,
RJW


--
- Would you tell me, please, which way I ought to go from here?
- That depends a good deal on where you want to get to.
-- Lewis Carroll "Alice's Adventures in Wonderland"
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/