* [lm-sensors] [PATCH v3] hwmon (coretemp): Fix build breakage if SMP
@ 2010-09-28 1:32 ` Guenter Roeck
0 siblings, 0 replies; 10+ messages in thread
From: Guenter Roeck @ 2010-09-28 1:32 UTC (permalink / raw)
To: torvalds
Cc: linux-kernel, lm-sensors, Pekka Enberg, Ingo Molnar, Fenghua Yu,
Jean Delvare, Guenter Roeck
Commit e40cc4bdfd4b89813f072f72bd9c7055814d3f0f introduced
a build breakage if CONFIG_SMP is undefined. This commit
fixes the problem.
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
---
v2: Fix compile warning due to unused variable i if SMP is undefined
v3: include asm/smp.h instead of using ifdef CONFIG_SMP
drivers/hwmon/coretemp.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/hwmon/coretemp.c b/drivers/hwmon/coretemp.c
index baa842a..a23b17a 100644
--- a/drivers/hwmon/coretemp.c
+++ b/drivers/hwmon/coretemp.c
@@ -36,6 +36,7 @@
#include <linux/pci.h>
#include <asm/msr.h>
#include <asm/processor.h>
+#include <asm/smp.h>
#define DRVNAME "coretemp"
--
1.7.0.87.g0901d
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH v3] hwmon (coretemp): Fix build breakage if SMP is undefined
@ 2010-09-28 1:32 ` Guenter Roeck
0 siblings, 0 replies; 10+ messages in thread
From: Guenter Roeck @ 2010-09-28 1:32 UTC (permalink / raw)
To: torvalds
Cc: linux-kernel, lm-sensors, Pekka Enberg, Ingo Molnar, Fenghua Yu,
Jean Delvare, Guenter Roeck
Commit e40cc4bdfd4b89813f072f72bd9c7055814d3f0f introduced
a build breakage if CONFIG_SMP is undefined. This commit
fixes the problem.
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
---
v2: Fix compile warning due to unused variable i if SMP is undefined
v3: include asm/smp.h instead of using ifdef CONFIG_SMP
drivers/hwmon/coretemp.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/hwmon/coretemp.c b/drivers/hwmon/coretemp.c
index baa842a..a23b17a 100644
--- a/drivers/hwmon/coretemp.c
+++ b/drivers/hwmon/coretemp.c
@@ -36,6 +36,7 @@
#include <linux/pci.h>
#include <asm/msr.h>
#include <asm/processor.h>
+#include <asm/smp.h>
#define DRVNAME "coretemp"
--
1.7.0.87.g0901d
^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [lm-sensors] [PATCH v3] hwmon (coretemp): Fix build breakage if
2010-09-28 1:32 ` [PATCH v3] hwmon (coretemp): Fix build breakage if SMP is undefined Guenter Roeck
@ 2010-09-28 8:27 ` Ingo Molnar
-1 siblings, 0 replies; 10+ messages in thread
From: Ingo Molnar @ 2010-09-28 8:27 UTC (permalink / raw)
To: Guenter Roeck
Cc: torvalds, linux-kernel, lm-sensors, Pekka Enberg, Fenghua Yu,
Jean Delvare
* Guenter Roeck <guenter.roeck@ericsson.com> wrote:
> Commit e40cc4bdfd4b89813f072f72bd9c7055814d3f0f introduced
> a build breakage if CONFIG_SMP is undefined. This commit
> fixes the problem.
This commit works around the problem in a hacky but not-so-ugly way.
( You might also want to include Linus's suggestion about how to fix it
for real in the future - so that we have at least some kind of record
of it. )
> Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
> Cc: Fenghua Yu <fenghua.yu@intel.com>
FYI, while i dont care about my Reported-by's but you lost a Reported-by
tag here - you should be as careful about them as about your own
signoffs.
> v2: Fix compile warning due to unused variable i if SMP is undefined
> v3: include asm/smp.h instead of using ifdef CONFIG_SMP
I've started testing this fix - but i'd expect it to fix the problem -
so consider it fixed unless i report back within a few hours that
there's some breakage left.
Thanks,
Ingo
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH v3] hwmon (coretemp): Fix build breakage if SMP is undefined
@ 2010-09-28 8:27 ` Ingo Molnar
0 siblings, 0 replies; 10+ messages in thread
From: Ingo Molnar @ 2010-09-28 8:27 UTC (permalink / raw)
To: Guenter Roeck
Cc: torvalds, linux-kernel, lm-sensors, Pekka Enberg, Fenghua Yu,
Jean Delvare
* Guenter Roeck <guenter.roeck@ericsson.com> wrote:
> Commit e40cc4bdfd4b89813f072f72bd9c7055814d3f0f introduced
> a build breakage if CONFIG_SMP is undefined. This commit
> fixes the problem.
This commit works around the problem in a hacky but not-so-ugly way.
( You might also want to include Linus's suggestion about how to fix it
for real in the future - so that we have at least some kind of record
of it. )
> Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
> Cc: Fenghua Yu <fenghua.yu@intel.com>
FYI, while i dont care about my Reported-by's but you lost a Reported-by
tag here - you should be as careful about them as about your own
signoffs.
> v2: Fix compile warning due to unused variable i if SMP is undefined
> v3: include asm/smp.h instead of using ifdef CONFIG_SMP
I've started testing this fix - but i'd expect it to fix the problem -
so consider it fixed unless i report back within a few hours that
there's some breakage left.
Thanks,
Ingo
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [lm-sensors] [PATCH v3] hwmon (coretemp): Fix build breakage if
2010-09-28 8:27 ` [PATCH v3] hwmon (coretemp): Fix build breakage if SMP is undefined Ingo Molnar
@ 2010-09-28 10:14 ` Ingo Molnar
-1 siblings, 0 replies; 10+ messages in thread
From: Ingo Molnar @ 2010-09-28 10:14 UTC (permalink / raw)
To: Guenter Roeck
Cc: torvalds, linux-kernel, lm-sensors, Pekka Enberg, Fenghua Yu,
Jean Delvare
* Ingo Molnar <mingo@elte.hu> wrote:
> > v2: Fix compile warning due to unused variable i if SMP is undefined
> > v3: include asm/smp.h instead of using ifdef CONFIG_SMP
>
> I've started testing this fix [...]
Works fine here.
Tested-by: Ingo Molnar <mingo@elte.hu>
Thanks,
Ingo
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH v3] hwmon (coretemp): Fix build breakage if SMP is undefined
@ 2010-09-28 10:14 ` Ingo Molnar
0 siblings, 0 replies; 10+ messages in thread
From: Ingo Molnar @ 2010-09-28 10:14 UTC (permalink / raw)
To: Guenter Roeck
Cc: torvalds, linux-kernel, lm-sensors, Pekka Enberg, Fenghua Yu,
Jean Delvare
* Ingo Molnar <mingo@elte.hu> wrote:
> > v2: Fix compile warning due to unused variable i if SMP is undefined
> > v3: include asm/smp.h instead of using ifdef CONFIG_SMP
>
> I've started testing this fix [...]
Works fine here.
Tested-by: Ingo Molnar <mingo@elte.hu>
Thanks,
Ingo
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [lm-sensors] [PATCH v3] hwmon (coretemp): Fix build breakage if
2010-09-28 10:14 ` [PATCH v3] hwmon (coretemp): Fix build breakage if SMP is undefined Ingo Molnar
@ 2010-09-28 11:23 ` Guenter Roeck
-1 siblings, 0 replies; 10+ messages in thread
From: Guenter Roeck @ 2010-09-28 11:23 UTC (permalink / raw)
To: Ingo Molnar
Cc: torvalds@linux-foundation.org, linux-kernel@vger.kernel.org,
lm-sensors@lm-sensors.org, Pekka Enberg, Fenghua Yu, Jean Delvare
On Tue, Sep 28, 2010 at 06:14:08AM -0400, Ingo Molnar wrote:
>
> * Ingo Molnar <mingo@elte.hu> wrote:
>
> > > v2: Fix compile warning due to unused variable i if SMP is undefined
> > > v3: include asm/smp.h instead of using ifdef CONFIG_SMP
> >
> > I've started testing this fix [...]
>
> Works fine here.
>
> Tested-by: Ingo Molnar <mingo@elte.hu>
>
Great - thanks for your time!
Guenter
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH v3] hwmon (coretemp): Fix build breakage if SMP is undefined
@ 2010-09-28 11:23 ` Guenter Roeck
0 siblings, 0 replies; 10+ messages in thread
From: Guenter Roeck @ 2010-09-28 11:23 UTC (permalink / raw)
To: Ingo Molnar
Cc: torvalds@linux-foundation.org, linux-kernel@vger.kernel.org,
lm-sensors@lm-sensors.org, Pekka Enberg, Fenghua Yu, Jean Delvare
On Tue, Sep 28, 2010 at 06:14:08AM -0400, Ingo Molnar wrote:
>
> * Ingo Molnar <mingo@elte.hu> wrote:
>
> > > v2: Fix compile warning due to unused variable i if SMP is undefined
> > > v3: include asm/smp.h instead of using ifdef CONFIG_SMP
> >
> > I've started testing this fix [...]
>
> Works fine here.
>
> Tested-by: Ingo Molnar <mingo@elte.hu>
>
Great - thanks for your time!
Guenter
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [lm-sensors] [PATCH v3] hwmon (coretemp): Fix build breakage if
2010-09-28 8:27 ` [PATCH v3] hwmon (coretemp): Fix build breakage if SMP is undefined Ingo Molnar
@ 2010-09-28 11:24 ` Guenter Roeck
-1 siblings, 0 replies; 10+ messages in thread
From: Guenter Roeck @ 2010-09-28 11:24 UTC (permalink / raw)
To: Ingo Molnar
Cc: torvalds@linux-foundation.org, linux-kernel@vger.kernel.org,
lm-sensors@lm-sensors.org, Pekka Enberg, Fenghua Yu, Jean Delvare
On Tue, Sep 28, 2010 at 04:27:29AM -0400, Ingo Molnar wrote:
>
> * Guenter Roeck <guenter.roeck@ericsson.com> wrote:
>
> > Commit e40cc4bdfd4b89813f072f72bd9c7055814d3f0f introduced
> > a build breakage if CONFIG_SMP is undefined. This commit
> > fixes the problem.
>
> This commit works around the problem in a hacky but not-so-ugly way.
>
> ( You might also want to include Linus's suggestion about how to fix it
> for real in the future - so that we have at least some kind of record
> of it. )
>
Done.
> > Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
> > Cc: Fenghua Yu <fenghua.yu@intel.com>
>
> FYI, while i dont care about my Reported-by's but you lost a Reported-by
> tag here - you should be as careful about them as about your own
> signoffs.
>
Added it back in.
Thanks,
Guenter
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH v3] hwmon (coretemp): Fix build breakage if SMP is undefined
@ 2010-09-28 11:24 ` Guenter Roeck
0 siblings, 0 replies; 10+ messages in thread
From: Guenter Roeck @ 2010-09-28 11:24 UTC (permalink / raw)
To: Ingo Molnar
Cc: torvalds@linux-foundation.org, linux-kernel@vger.kernel.org,
lm-sensors@lm-sensors.org, Pekka Enberg, Fenghua Yu, Jean Delvare
On Tue, Sep 28, 2010 at 04:27:29AM -0400, Ingo Molnar wrote:
>
> * Guenter Roeck <guenter.roeck@ericsson.com> wrote:
>
> > Commit e40cc4bdfd4b89813f072f72bd9c7055814d3f0f introduced
> > a build breakage if CONFIG_SMP is undefined. This commit
> > fixes the problem.
>
> This commit works around the problem in a hacky but not-so-ugly way.
>
> ( You might also want to include Linus's suggestion about how to fix it
> for real in the future - so that we have at least some kind of record
> of it. )
>
Done.
> > Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
> > Cc: Fenghua Yu <fenghua.yu@intel.com>
>
> FYI, while i dont care about my Reported-by's but you lost a Reported-by
> tag here - you should be as careful about them as about your own
> signoffs.
>
Added it back in.
Thanks,
Guenter
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2010-09-28 11:25 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-28 1:32 [lm-sensors] [PATCH v3] hwmon (coretemp): Fix build breakage if SMP Guenter Roeck
2010-09-28 1:32 ` [PATCH v3] hwmon (coretemp): Fix build breakage if SMP is undefined Guenter Roeck
2010-09-28 8:27 ` [lm-sensors] [PATCH v3] hwmon (coretemp): Fix build breakage if Ingo Molnar
2010-09-28 8:27 ` [PATCH v3] hwmon (coretemp): Fix build breakage if SMP is undefined Ingo Molnar
2010-09-28 10:14 ` [lm-sensors] [PATCH v3] hwmon (coretemp): Fix build breakage if Ingo Molnar
2010-09-28 10:14 ` [PATCH v3] hwmon (coretemp): Fix build breakage if SMP is undefined Ingo Molnar
2010-09-28 11:23 ` [lm-sensors] [PATCH v3] hwmon (coretemp): Fix build breakage if Guenter Roeck
2010-09-28 11:23 ` [PATCH v3] hwmon (coretemp): Fix build breakage if SMP is undefined Guenter Roeck
2010-09-28 11:24 ` [lm-sensors] [PATCH v3] hwmon (coretemp): Fix build breakage if Guenter Roeck
2010-09-28 11:24 ` [PATCH v3] hwmon (coretemp): Fix build breakage if SMP is undefined Guenter Roeck
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.