LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] x86: Add missing idle.h include to process_32.c
@ 2008-09-23 23:37 Rafael J. Wysocki
2008-09-24 7:40 ` Ingo Molnar
0 siblings, 1 reply; 7+ messages in thread
From: Rafael J. Wysocki @ 2008-09-23 23:37 UTC (permalink / raw)
To: Ingo Molnar; +Cc: Andrew Morton, Linus Torvalds, LKML, Thomas Gleixner
Hi,
This fixes a very recent compilation breakage on 32-bit x86.
Please apply.
Thanks,
Rafael
---
From: Rafael J. Wysocki <rjw@sisk.pl>
x86: Add missing idle.h include to process_32.c
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
---
arch/x86/kernel/process_32.c | 1 +
1 file changed, 1 insertion(+)
Index: linux-2.6/arch/x86/kernel/process_32.c
===================================================================
--- linux-2.6.orig/arch/x86/kernel/process_32.c
+++ linux-2.6/arch/x86/kernel/process_32.c
@@ -55,6 +55,7 @@
#include <asm/tlbflush.h>
#include <asm/cpu.h>
#include <asm/kdebug.h>
+#include <asm/idle.h>
asmlinkage void ret_from_fork(void) __asm__("ret_from_fork");
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] x86: Add missing idle.h include to process_32.c
2008-09-23 23:37 [PATCH] x86: Add missing idle.h include to process_32.c Rafael J. Wysocki
@ 2008-09-24 7:40 ` Ingo Molnar
2008-09-24 7:42 ` [git pull] timers fixes Ingo Molnar
0 siblings, 1 reply; 7+ messages in thread
From: Ingo Molnar @ 2008-09-24 7:40 UTC (permalink / raw)
To: Rafael J. Wysocki; +Cc: Andrew Morton, Linus Torvalds, LKML, Thomas Gleixner
* Rafael J. Wysocki <rjw@sisk.pl> wrote:
> Hi,
>
> This fixes a very recent compilation breakage on 32-bit x86.
the fix is queued up in tip/timers/urgent - sorry about that.
Ingo
^ permalink raw reply [flat|nested] 7+ messages in thread
* [git pull] timers fixes
2008-09-24 7:40 ` Ingo Molnar
@ 2008-09-24 7:42 ` Ingo Molnar
2008-09-24 8:49 ` Benjamin Herrenschmidt
0 siblings, 1 reply; 7+ messages in thread
From: Ingo Molnar @ 2008-09-24 7:42 UTC (permalink / raw)
To: Linus Torvalds
Cc: Andrew Morton, Linus Torvalds, LKML, Thomas Gleixner,
Rafael J. Wysocki, H. Peter Anvin
Linus,
Please pull the latest timers-fixes-for-linus git tree from:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip.git timers-fixes-for-linus
Thanks,
Ingo
------------------>
Marc Dionne (1):
x86: prevent stale state of c1e_mask across CPU offline/online, fix
arch/x86/kernel/process_32.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/x86/kernel/process_32.c b/arch/x86/kernel/process_32.c
index 4b3cfdf..31f40b2 100644
--- a/arch/x86/kernel/process_32.c
+++ b/arch/x86/kernel/process_32.c
@@ -55,6 +55,7 @@
#include <asm/tlbflush.h>
#include <asm/cpu.h>
#include <asm/kdebug.h>
+#include <asm/idle.h>
asmlinkage void ret_from_fork(void) __asm__("ret_from_fork");
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [git pull] timers fixes
2008-09-24 7:42 ` [git pull] timers fixes Ingo Molnar
@ 2008-09-24 8:49 ` Benjamin Herrenschmidt
2008-09-24 8:51 ` Benjamin Herrenschmidt
2008-09-24 8:53 ` Ingo Molnar
0 siblings, 2 replies; 7+ messages in thread
From: Benjamin Herrenschmidt @ 2008-09-24 8:49 UTC (permalink / raw)
To: Ingo Molnar
Cc: Linus Torvalds, Andrew Morton, LKML, Thomas Gleixner,
Rafael J. Wysocki, H. Peter Anvin
On Wed, 2008-09-24 at 09:42 +0200, Ingo Molnar wrote:
> Linus,
>
> Please pull the latest timers-fixes-for-linus git tree from:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip.git timers-fixes-for-linus
>
> Thanks,
>
> Ingo
>
> ------------------>
> Marc Dionne (1):
> x86: prevent stale state of c1e_mask across CPU offline/online, fix
Is that all the changeset comment ? Am I the only one to find that
totally useless ? Or is that the mail doesn't contain the actual
comment, only the title followed by the patch ?
Cheers,
Ben.
>
> arch/x86/kernel/process_32.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/arch/x86/kernel/process_32.c b/arch/x86/kernel/process_32.c
> index 4b3cfdf..31f40b2 100644
> --- a/arch/x86/kernel/process_32.c
> +++ b/arch/x86/kernel/process_32.c
> @@ -55,6 +55,7 @@
> #include <asm/tlbflush.h>
> #include <asm/cpu.h>
> #include <asm/kdebug.h>
> +#include <asm/idle.h>
>
> asmlinkage void ret_from_fork(void) __asm__("ret_from_fork");
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [git pull] timers fixes
2008-09-24 8:49 ` Benjamin Herrenschmidt
@ 2008-09-24 8:51 ` Benjamin Herrenschmidt
2008-09-24 8:55 ` Ingo Molnar
2008-09-24 8:53 ` Ingo Molnar
1 sibling, 1 reply; 7+ messages in thread
From: Benjamin Herrenschmidt @ 2008-09-24 8:51 UTC (permalink / raw)
To: Ingo Molnar
Cc: Linus Torvalds, Andrew Morton, LKML, Thomas Gleixner,
Rafael J. Wysocki, H. Peter Anvin
On Wed, 2008-09-24 at 18:49 +1000, Benjamin Herrenschmidt wrote:
> On Wed, 2008-09-24 at 09:42 +0200, Ingo Molnar wrote:
> > Linus,
> >
> > Please pull the latest timers-fixes-for-linus git tree from:
> >
> > git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip.git timers-fixes-for-linus
> >
> > Thanks,
> >
> > Ingo
> >
> > ------------------>
> > Marc Dionne (1):
> > x86: prevent stale state of c1e_mask across CPU offline/online, fix
>
> Is that all the changeset comment ? Am I the only one to find that
> totally useless ? Or is that the mail doesn't contain the actual
> comment, only the title followed by the patch ?
Allright, so in fact, it's more like the log doesn't match
the patch in the email..
Ben.
> Cheers,
> Ben.
>
> >
> > arch/x86/kernel/process_32.c | 1 +
> > 1 files changed, 1 insertions(+), 0 deletions(-)
> >
> > diff --git a/arch/x86/kernel/process_32.c b/arch/x86/kernel/process_32.c
> > index 4b3cfdf..31f40b2 100644
> > --- a/arch/x86/kernel/process_32.c
> > +++ b/arch/x86/kernel/process_32.c
> > @@ -55,6 +55,7 @@
> > #include <asm/tlbflush.h>
> > #include <asm/cpu.h>
> > #include <asm/kdebug.h>
> > +#include <asm/idle.h>
> >
> > asmlinkage void ret_from_fork(void) __asm__("ret_from_fork");
> >
> >
> > --
> > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at http://vger.kernel.org/majordomo-info.html
> > Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [git pull] timers fixes
2008-09-24 8:49 ` Benjamin Herrenschmidt
2008-09-24 8:51 ` Benjamin Herrenschmidt
@ 2008-09-24 8:53 ` Ingo Molnar
1 sibling, 0 replies; 7+ messages in thread
From: Ingo Molnar @ 2008-09-24 8:53 UTC (permalink / raw)
To: Benjamin Herrenschmidt
Cc: Linus Torvalds, Andrew Morton, LKML, Thomas Gleixner,
Rafael J. Wysocki, H. Peter Anvin
* Benjamin Herrenschmidt <benh@kernel.crashing.org> wrote:
> On Wed, 2008-09-24 at 09:42 +0200, Ingo Molnar wrote:
> > Linus,
> >
> > Please pull the latest timers-fixes-for-linus git tree from:
> >
> > git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip.git timers-fixes-for-linus
> >
> > Thanks,
> >
> > Ingo
> >
> > ------------------>
> > Marc Dionne (1):
> > x86: prevent stale state of c1e_mask across CPU offline/online, fix
>
> Is that all the changeset comment ? Am I the only one to find that
> totally useless ? Or is that the mail doesn't contain the actual
> comment, only the title followed by the patch ?
yeah. The build error is something like:
arch/x86/kernel/process_32.c:78: warning: data definition has no type or storage class
arch/x86/kernel/process_32.c:78: warning: type defaults to 'int' in declaration of 'c1e_remove_cpu'
arch/x86/kernel/process_32.c:78: warning: parameter names (without types) in function declaration
Ingo
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [git pull] timers fixes
2008-09-24 8:51 ` Benjamin Herrenschmidt
@ 2008-09-24 8:55 ` Ingo Molnar
0 siblings, 0 replies; 7+ messages in thread
From: Ingo Molnar @ 2008-09-24 8:55 UTC (permalink / raw)
To: Benjamin Herrenschmidt
Cc: Linus Torvalds, Andrew Morton, LKML, Thomas Gleixner,
Rafael J. Wysocki, H. Peter Anvin
* Benjamin Herrenschmidt <benh@kernel.crashing.org> wrote:
> On Wed, 2008-09-24 at 18:49 +1000, Benjamin Herrenschmidt wrote:
> > On Wed, 2008-09-24 at 09:42 +0200, Ingo Molnar wrote:
> > > Linus,
> > >
> > > Please pull the latest timers-fixes-for-linus git tree from:
> > >
> > > git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip.git timers-fixes-for-linus
> > >
> > > Thanks,
> > >
> > > Ingo
> > >
> > > ------------------>
> > > Marc Dionne (1):
> > > x86: prevent stale state of c1e_mask across CPU offline/online, fix
> >
> > Is that all the changeset comment ? Am I the only one to find that
> > totally useless ? Or is that the mail doesn't contain the actual
> > comment, only the title followed by the patch ?
>
> Allright, so in fact, it's more like the log doesn't match
> the patch in the email..
only because i already picked up a different submission at that time,
and posted in this thread.
i picked up this one from lkml:
Subject: [PATCH] Fix build error introduced by commit 4faac97d44ac27bdbb010a9c3597401a8f89341f
see the full commit log below, it has all the details.
Ingo
------------>
>From 1eda81495a49a4ee91d8863b0a441a624375efea Mon Sep 17 00:00:00 2001
From: Marc Dionne <marc.c.dionne@gmail.com>
Date: Tue, 23 Sep 2008 22:40:02 -0400
Subject: [PATCH] x86: prevent stale state of c1e_mask across CPU offline/online, fix
Fix build error introduced by commit 4faac97d44ac27 ("x86: prevent stale
state of c1e_mask across CPU offline/online").
process_32.c needs to include idle.h to get the prototype for
c1e_remove_cpu()
Signed-off-by: Marc Dionne <marc.c.dionne@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
arch/x86/kernel/process_32.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/x86/kernel/process_32.c b/arch/x86/kernel/process_32.c
index 4b3cfdf..31f40b2 100644
--- a/arch/x86/kernel/process_32.c
+++ b/arch/x86/kernel/process_32.c
@@ -55,6 +55,7 @@
#include <asm/tlbflush.h>
#include <asm/cpu.h>
#include <asm/kdebug.h>
+#include <asm/idle.h>
asmlinkage void ret_from_fork(void) __asm__("ret_from_fork");
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2008-09-24 9:08 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-23 23:37 [PATCH] x86: Add missing idle.h include to process_32.c Rafael J. Wysocki
2008-09-24 7:40 ` Ingo Molnar
2008-09-24 7:42 ` [git pull] timers fixes Ingo Molnar
2008-09-24 8:49 ` Benjamin Herrenschmidt
2008-09-24 8:51 ` Benjamin Herrenschmidt
2008-09-24 8:55 ` Ingo Molnar
2008-09-24 8:53 ` Ingo Molnar
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).