Re: acpi_wakeup_address in .data vs .bss (Fwd: [PATCH 18/20] x86:Coding Style fixes to arch/x86/kernel/acpi/sleep.c)

From: Pavel Machek
Date: Sat Feb 23 2008 - 04:47:44 EST


On Sat 2008-02-23 01:36:08, Len Brown wrote:
> was there any particular reason we forced acpi_wakeup_address into .data
> instead of into .bss?

In my tree it is in .bss already... ...I think that was done during
"wakeup-to-.c" move.

So this patch is okay.

But you actually might want to drop this, preventing merge
conflict...
Pavel

> ---------- Forwarded Message ----------
>
> Subject: [PATCH 18/20] x86: Coding Style fixes to arch/x86/kernel/acpi/sleep.c
> Date: Friday 22 February 2008 17:11
> From: Paolo Ciarrocchi <paolo.ciarrocchi@xxxxxxxxx>
> To: hpa <hpa@xxxxxxxxx>, Ingo Molnar <mingo@xxxxxxx>, tglx <tglx@xxxxxxxxxxxxx>
> Cc: Linux Kernel <linux-kernel@xxxxxxxxxxxxxxx>
>
> File is now error free.
> Compile tested.
>
>
> Signed-off-by: Paolo Ciarrocchi <paolo.ciarrocchi@xxxxxxxxx>
> ---
> arch/x86/kernel/acpi/sleep.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/arch/x86/kernel/acpi/sleep.c b/arch/x86/kernel/acpi/sleep.c
> index 6bc815c..dd78326 100644
> --- a/arch/x86/kernel/acpi/sleep.c
> +++ b/arch/x86/kernel/acpi/sleep.c
> @@ -13,7 +13,7 @@
> #include <asm/smp.h>
>
> /* address in low memory of the wakeup routine. */
> -unsigned long acpi_wakeup_address = 0;
> +unsigned long acpi_wakeup_address;
> unsigned long acpi_realmode_flags;
> extern char wakeup_start, wakeup_end;
>

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
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/