Messages in this thread | | | Date | Fri, 28 Jan 2005 15:07:56 +0100 | From | Martin Zwickel <> | Subject | Re: [RFC][PATCH] swsusp: do not use higher order memory allocations on suspend |
| |
> @@ -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?
-- MyExcuse: the printer thinks its a router.
Martin Zwickel <martin.zwickel@technotrend.de> Research & Development
TechnoTrend AG <http://www.technotrend.de> [unhandled content-type:application/pgp-signature] | |