* [PATCH] fix resume from suspend when CONFIG_CC_STACKPROTECTOR
@ 2009-07-07 6:37 Peter Chubb
2009-07-07 8:18 ` Sergio Luis
0 siblings, 1 reply; 5+ messages in thread
From: Peter Chubb @ 2009-07-07 6:37 UTC (permalink / raw)
To: sergio, linux-kernel; +Cc: akpm
Patch 08687aec71bc9134fe336e561f6did877bacf74fc0a (x86: unify
power/cpu_(32|64).c) renamed cpu_32.c to cpu.c, but did not update
the special compilation flags for the file for the new name.
This patch fixes the compilation flags, and therefore fixes resume
from suspend on my Acer Aspire One.
Signed-off-by: Peter Chubb <peterc@nicta.com.au>
---
arch/x86/power/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: linux-2.6/arch/x86/power/Makefile
===================================================================
--- linux-2.6.orig/arch/x86/power/Makefile 2009-07-07 13:39:54.000000000 +1000
+++ linux-2.6/arch/x86/power/Makefile 2009-07-07 13:40:14.000000000 +1000
@@ -1,7 +1,7 @@
# __restore_processor_state() restores %gs after S3 resume and so should not
# itself be stack-protected
nostackp := $(call cc-option, -fno-stack-protector)
-CFLAGS_cpu_$(BITS).o := $(nostackp)
+CFLAGS_cpu.o := $(nostackp)
obj-$(CONFIG_PM_SLEEP) += cpu.o
obj-$(CONFIG_HIBERNATION) += hibernate_$(BITS).o hibernate_asm_$(BITS).o
--
Dr Peter Chubb peter DOT chubb AT nicta.com.au
http://www.ertos.nicta.com.au ERTOS within National ICT Australia
All things shall perish from under the sky/Music alone shall live, never to die
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] fix resume from suspend when CONFIG_CC_STACKPROTECTOR
2009-07-07 6:37 [PATCH] fix resume from suspend when CONFIG_CC_STACKPROTECTOR Peter Chubb
@ 2009-07-07 8:18 ` Sergio Luis
2009-07-07 11:30 ` Rafael J. Wysocki
0 siblings, 1 reply; 5+ messages in thread
From: Sergio Luis @ 2009-07-07 8:18 UTC (permalink / raw)
To: Peter Chubb; +Cc: linux-kernel, akpm, Rafael J. Wysocki, Ingo Molnar
Hi,
On Tue, Jul 7, 2009 at 3:37 AM, Peter Chubb<peter.chubb@nicta.com.au> wrote:
>
> Patch 08687aec71bc9134fe336e561f6did877bacf74fc0a (x86: unify
> power/cpu_(32|64).c) renamed cpu_32.c to cpu.c, but did not update
> the special compilation flags for the file for the new name.
>
> This patch fixes the compilation flags, and therefore fixes resume
> from suspend on my Acer Aspire One.
>
yeah, I missed it, sorry for that. Thanks for catching it. CC'ing
Rafael and Ingo, as they will know the best way to push the fix.
> Signed-off-by: Peter Chubb <peterc@nicta.com.au>
> ---
> arch/x86/power/Makefile | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> Index: linux-2.6/arch/x86/power/Makefile
> ===================================================================
> --- linux-2.6.orig/arch/x86/power/Makefile 2009-07-07 13:39:54.000000000 +1000
> +++ linux-2.6/arch/x86/power/Makefile 2009-07-07 13:40:14.000000000 +1000
> @@ -1,7 +1,7 @@
> # __restore_processor_state() restores %gs after S3 resume and so should not
> # itself be stack-protected
> nostackp := $(call cc-option, -fno-stack-protector)
> -CFLAGS_cpu_$(BITS).o := $(nostackp)
> +CFLAGS_cpu.o := $(nostackp)
>
> obj-$(CONFIG_PM_SLEEP) += cpu.o
> obj-$(CONFIG_HIBERNATION) += hibernate_$(BITS).o hibernate_asm_$(BITS).o
>
> --
> Dr Peter Chubb peter DOT chubb AT nicta.com.au
> http://www.ertos.nicta.com.au ERTOS within National ICT Australia
> All things shall perish from under the sky/Music alone shall live, never to die
>
Sergio.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] fix resume from suspend when CONFIG_CC_STACKPROTECTOR
2009-07-07 8:18 ` Sergio Luis
@ 2009-07-07 11:30 ` Rafael J. Wysocki
2009-07-07 12:08 ` Thomas Gleixner
0 siblings, 1 reply; 5+ messages in thread
From: Rafael J. Wysocki @ 2009-07-07 11:30 UTC (permalink / raw)
To: Sergio Luis, Ingo Molnar; +Cc: Peter Chubb, linux-kernel, akpm
On Tuesday 07 July 2009, Sergio Luis wrote:
> Hi,
>
> On Tue, Jul 7, 2009 at 3:37 AM, Peter Chubb<peter.chubb@nicta.com.au> wrote:
> >
> > Patch 08687aec71bc9134fe336e561f6did877bacf74fc0a (x86: unify
> > power/cpu_(32|64).c) renamed cpu_32.c to cpu.c, but did not update
> > the special compilation flags for the file for the new name.
> >
> > This patch fixes the compilation flags, and therefore fixes resume
> > from suspend on my Acer Aspire One.
> >
>
> yeah, I missed it, sorry for that. Thanks for catching it. CC'ing
> Rafael and Ingo, as they will know the best way to push the fix.
Thanks!
Ingo, do you want me to handle it?
Rafael
> > Signed-off-by: Peter Chubb <peterc@nicta.com.au>
> > ---
> > arch/x86/power/Makefile | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > Index: linux-2.6/arch/x86/power/Makefile
> > ===================================================================
> > --- linux-2.6.orig/arch/x86/power/Makefile 2009-07-07 13:39:54.000000000 +1000
> > +++ linux-2.6/arch/x86/power/Makefile 2009-07-07 13:40:14.000000000 +1000
> > @@ -1,7 +1,7 @@
> > # __restore_processor_state() restores %gs after S3 resume and so should not
> > # itself be stack-protected
> > nostackp := $(call cc-option, -fno-stack-protector)
> > -CFLAGS_cpu_$(BITS).o := $(nostackp)
> > +CFLAGS_cpu.o := $(nostackp)
> >
> > obj-$(CONFIG_PM_SLEEP) += cpu.o
> > obj-$(CONFIG_HIBERNATION) += hibernate_$(BITS).o hibernate_asm_$(BITS).o
> >
> > --
> > Dr Peter Chubb peter DOT chubb AT nicta.com.au
> > http://www.ertos.nicta.com.au ERTOS within National ICT Australia
> > All things shall perish from under the sky/Music alone shall live, never to die
> >
>
> Sergio.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] fix resume from suspend when CONFIG_CC_STACKPROTECTOR
2009-07-07 11:30 ` Rafael J. Wysocki
@ 2009-07-07 12:08 ` Thomas Gleixner
2009-07-07 21:15 ` Rafael J. Wysocki
0 siblings, 1 reply; 5+ messages in thread
From: Thomas Gleixner @ 2009-07-07 12:08 UTC (permalink / raw)
To: Rafael J. Wysocki
Cc: Sergio Luis, Ingo Molnar, Peter Chubb, linux-kernel, akpm
On Tue, 7 Jul 2009, Rafael J. Wysocki wrote:
> On Tuesday 07 July 2009, Sergio Luis wrote:
> > Hi,
> >
> > On Tue, Jul 7, 2009 at 3:37 AM, Peter Chubb<peter.chubb@nicta.com.au> wrote:
> > >
> > > Patch 08687aec71bc9134fe336e561f6did877bacf74fc0a (x86: unify
> > > power/cpu_(32|64).c) renamed cpu_32.c to cpu.c, but did not update
> > > the special compilation flags for the file for the new name.
> > >
> > > This patch fixes the compilation flags, and therefore fixes resume
> > > from suspend on my Acer Aspire One.
> > >
> >
> > yeah, I missed it, sorry for that. Thanks for catching it. CC'ing
> > Rafael and Ingo, as they will know the best way to push the fix.
>
> Thanks!
>
> Ingo, do you want me to handle it?
Yes, please. (Ingo is AFK this week)
Thanks,
tglx
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] fix resume from suspend when CONFIG_CC_STACKPROTECTOR
2009-07-07 12:08 ` Thomas Gleixner
@ 2009-07-07 21:15 ` Rafael J. Wysocki
0 siblings, 0 replies; 5+ messages in thread
From: Rafael J. Wysocki @ 2009-07-07 21:15 UTC (permalink / raw)
To: Thomas Gleixner; +Cc: Sergio Luis, Ingo Molnar, Peter Chubb, linux-kernel, akpm
On Tuesday 07 July 2009, Thomas Gleixner wrote:
> On Tue, 7 Jul 2009, Rafael J. Wysocki wrote:
>
> > On Tuesday 07 July 2009, Sergio Luis wrote:
> > > Hi,
> > >
> > > On Tue, Jul 7, 2009 at 3:37 AM, Peter Chubb<peter.chubb@nicta.com.au> wrote:
> > > >
> > > > Patch 08687aec71bc9134fe336e561f6did877bacf74fc0a (x86: unify
> > > > power/cpu_(32|64).c) renamed cpu_32.c to cpu.c, but did not update
> > > > the special compilation flags for the file for the new name.
> > > >
> > > > This patch fixes the compilation flags, and therefore fixes resume
> > > > from suspend on my Acer Aspire One.
> > > >
> > >
> > > yeah, I missed it, sorry for that. Thanks for catching it. CC'ing
> > > Rafael and Ingo, as they will know the best way to push the fix.
> >
> > Thanks!
> >
> > Ingo, do you want me to handle it?
>
> Yes, please. (Ingo is AFK this week)
I'll do that, then.
Thanks,
Rafael
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-07-07 21:15 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-07 6:37 [PATCH] fix resume from suspend when CONFIG_CC_STACKPROTECTOR Peter Chubb
2009-07-07 8:18 ` Sergio Luis
2009-07-07 11:30 ` Rafael J. Wysocki
2009-07-07 12:08 ` Thomas Gleixner
2009-07-07 21:15 ` Rafael J. Wysocki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox