LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* Re: acpi_wakeup_address in .data vs .bss (Fwd: [PATCH 18/20] x86: Coding Style fixes to arch/x86/kernel/acpi/sleep.c)
       [not found] <200802230136.08926.lenb@kernel.org>
@ 2008-02-23  9:47 ` Pavel Machek
  0 siblings, 0 replies; only message in thread
From: Pavel Machek @ 2008-02-23  9:47 UTC (permalink / raw)
  To: Len Brown; +Cc: Rafael Wysocki, paolo.ciarrocchi, linux-kernel

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@gmail.com>
> To: hpa <hpa@zytor.com>, Ingo Molnar <mingo@elte.hu>, tglx <tglx@linutronix.de>
> Cc: Linux Kernel <linux-kernel@vger.kernel.org>
> 
> File is now error free.
> Compile tested.
> 
> 
> Signed-off-by: Paolo Ciarrocchi <paolo.ciarrocchi@gmail.com>
> ---
>  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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-02-23  9:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <200802230136.08926.lenb@kernel.org>
2008-02-23  9:47 ` acpi_wakeup_address in .data vs .bss (Fwd: [PATCH 18/20] x86: Coding Style fixes to arch/x86/kernel/acpi/sleep.c) Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).