Re: [PATCH] x86: Construct 32 bit boot time page tables in nativeformat.

From: Ingo Molnar
Date: Mon Jan 28 2008 - 10:01:20 EST



* Rafael J. Wysocki <rjw@xxxxxxx> wrote:

> Speaking of cleanups, the following one is applicable IMO.

> --- linux-2.6.orig/arch/x86/mm/init_32.c
> +++ linux-2.6/arch/x86/mm/init_32.c
> @@ -444,23 +444,23 @@ static void __init pagetable_init (void)
> paravirt_pagetable_setup_done(pgd_base);
> }
>
> -#if defined(CONFIG_HIBERNATION) || defined(CONFIG_ACPI)
> +#ifdef CONFIG_SUSPEND
> /*
> * Swap suspend & friends need this for resume because things like the intel-agp
> * driver might have split up a kernel 4MB mapping.
> */
> -char __nosavedata swsusp_pg_dir[PAGE_SIZE]
> +char swsusp_pg_dir[PAGE_SIZE]

thanks, applied.

Ingo
--
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/