From: Brice Goglin <Brice.Goglin@ens-lyon.fr>
To: Zwane Mwaikambo <zwane@arm.linux.org.uk>, coywolf@lovecn.org
Cc: Andrew Morton <akpm@osdl.org>, linux-kernel@vger.kernel.org
Subject: Re: 2.6.12-rc3-mm1
Date: Sat, 30 Apr 2005 17:44:13 +0200 [thread overview]
Message-ID: <4273A7CD.8000305@ens-lyon.fr> (raw)
In-Reply-To: <Pine.LNX.4.61.0504300937190.12903@montezuma.fsmlabs.com>
[-- Attachment #1: Type: text/plain, Size: 2842 bytes --]
Hi,
I posted this patch to fix this error (asm/apic.h must be included).
Regards,
Brice
Zwane Mwaikambo a écrit :
> On Sat, 30 Apr 2005, Coywolf Qi Hunt wrote:
>
>
>> CC arch/i386/kernel/cpu/amd.o
>> CC arch/i386/kernel/cpu/cyrix.o
>> CC arch/i386/kernel/cpu/intel_cacheinfo.o
>> CC arch/i386/kernel/cpu/mcheck/init.o
>> CC arch/i386/kernel/cpu/mcheck/mce.o
>> CC arch/i386/kernel/cpu/mcheck/p5.o
>> CC arch/i386/kernel/cpu/mcheck/winchip.o
>> CC arch/i386/kernel/cpu/mcheck/mce_intel.o
>>/home/coywolf/2.6.12-rc3-mm1-cy/arch/i386/kernel/cpu/mcheck/mce_intel.c:
>>In function `smp_thermal_interrupt':
>>/home/coywolf/2.6.12-rc3-mm1-cy/arch/i386/kernel/cpu/mcheck/mce_intel.c:25:
>>warning: implicit declaration of function `ack_APIC_irq'
>>/home/coywolf/2.6.12-rc3-mm1-cy/arch/i386/kernel/cpu/mcheck/mce_intel.c:
>>In function `intel_init_thermal':
>>/home/coywolf/2.6.12-rc3-mm1-cy/arch/i386/kernel/cpu/mcheck/mce_intel.c:67:
>>warning: implicit declaration of function `apic_read'
>>/home/coywolf/2.6.12-rc3-mm1-cy/arch/i386/kernel/cpu/mcheck/mce_intel.c:67:
>>error: `APIC_LVTTHMR' undeclared (first use in this function)
>>/home/coywolf/2.6.12-rc3-mm1-cy/arch/i386/kernel/cpu/mcheck/mce_intel.c:67:
>>error: (Each undeclared identifie r is reported only once
>>/home/coywolf/2.6.12-rc3-mm1-cy/arch/i386/kernel/cpu/mcheck/mce_intel.c:67:
>>error: for each function it appea rs in.)
>>/home/coywolf/2.6.12-rc3-mm1-cy/arch/i386/kernel/cpu/mcheck/mce_intel.c:68:
>>error: `APIC_DM_SMI' undeclared ( first use in this function)
>>/home/coywolf/2.6.12-rc3-mm1-cy/arch/i386/kernel/cpu/mcheck/mce_intel.c:77:
>>error: `APIC_VECTOR_MASK' undecla red (first use in this function)
>>/home/coywolf/2.6.12-rc3-mm1-cy/arch/i386/kernel/cpu/mcheck/mce_intel.c:85:
>>error: `APIC_DM_FIXED' undeclared (first use in this function)
>>/home/coywolf/2.6.12-rc3-mm1-cy/arch/i386/kernel/cpu/mcheck/mce_intel.c:85:
>>error: `APIC_LVT_MASKED' undeclar ed (first use in this function)
>>/home/coywolf/2.6.12-rc3-mm1-cy/arch/i386/kernel/cpu/mcheck/mce_intel.c:86:
>>warning: implicit declaration of function `apic_write_around'
>>make[4]: *** [arch/i386/kernel/cpu/mcheck/mce_intel.o] Error 1
>>make[3]: *** [arch/i386/kernel/cpu/mcheck] Error 2
>>make[2]: *** [arch/i386/kernel/cpu] Error 2
>>make[1]: *** [arch/i386/kernel] Error 2
>>make: *** [_all] Error 2
>
>
> Could you send your .config please?
>
> Thanks,
> Zwane
--
Brice Goglin
================================================
Etudiant en These Bureau 343
Laboratoire de l'Informatique et du Parallélisme
UMR CNRS-INRIA-ENS Lyon 5668
46, allée d'Italie 69364 Lyon Cedex 07
Tél 04 72 72 87 59 Fax 04 72 72 80 80
Ph.D Student
Laboratoire de l'Informatique et du Parallélisme
CNRS-ENS Lyon-INRIA-UCB Lyon
France
[-- Attachment #2: 01_include_apic_in_intel_mce.patch --]
[-- Type: text/x-patch, Size: 367 bytes --]
--- linux-mm/arch/i386/kernel/cpu/mcheck/mce_intel.c.old 2005-04-30 11:36:56.000000000 +0200
+++ linux-mm/arch/i386/kernel/cpu/mcheck/mce_intel.c 2005-04-30 11:36:19.000000000 +0200
@@ -9,6 +9,7 @@
#include <asm/processor.h>
#include <asm/msr.h>
#include <asm/hw_irq.h>
+#include <asm/apic.h>
#include "mce.h"
static DEFINE_PER_CPU(unsigned long, next_check);
next prev parent reply other threads:[~2005-04-30 15:44 UTC|newest]
Thread overview: 56+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-30 6:16 2.6.12-rc3-mm1 Andrew Morton
2005-04-30 9:40 ` 2.6.12-rc3-mm1 Brice Goglin
2005-04-30 10:30 ` 2.6.12-rc3-mm1 Brice Goglin
2005-04-30 10:38 ` 2.6.12-rc3-mm1 Andrew Morton
2005-04-30 11:10 ` 2.6.12-rc3-mm1 Alexander Nyberg
2005-04-30 11:26 ` 2.6.12-rc3-mm1 Andrew Morton
2005-04-30 11:52 ` [-mm patch] SIS900 must select MII Adrian Bunk
2005-05-01 16:43 ` Daniele Venzano
2005-05-15 22:24 ` Jeff Garzik
2005-04-30 12:27 ` 2.6.12-rc3-mm1 Ed Tomlinson
2005-04-30 22:08 ` 2.6.12-rc3-mm1 Valdis.Kletnieks
2005-04-30 22:36 ` 2.6.12-rc3-mm1 Zwane Mwaikambo
2005-04-30 22:51 ` 2.6.12-rc3-mm1 Jesper Juhl
2005-04-30 22:53 ` 2.6.12-rc3-mm1 Ed Tomlinson
2005-04-30 23:05 ` 2.6.12-rc3-mm1 Zwane Mwaikambo
2005-04-30 23:10 ` 2.6.12-rc3-mm1 Randy.Dunlap
2005-05-01 13:09 ` 2.6.12-rc3-mm1 Ed Tomlinson
2005-05-01 13:30 ` 2.6.12-rc3-mm1 Adrian Bunk
2005-05-02 15:28 ` 2.6.12-rc3-mm1 Valdis.Kletnieks
2005-05-02 15:49 ` 2.6.12-rc3-mm1 Randy.Dunlap
2005-05-02 16:11 ` 2.6.12-rc3-mm1 Valdis.Kletnieks
2005-05-02 22:20 ` 2.6.12-rc3-mm1 Andrew Morton
2005-05-02 22:39 ` 2.6.12-rc3-mm1 Olivier Galibert
2005-05-03 0:34 ` 2.6.12-rc3-mm1 Randy.Dunlap
2005-05-02 22:41 ` 2.6.12-rc3-mm1 Frank Sorenson
2005-05-03 16:02 ` 2.6.12-rc3-mm1 Bill Davidsen
2005-05-01 13:19 ` 2.6.12-rc3-mm1 Adrian Bunk
2005-04-30 12:46 ` 2.6.12-rc3-mm1 doesn't boot Adrian Bunk
2005-04-30 12:57 ` Carlos Martin
2005-04-30 13:25 ` 2.6.12-rc3-mm1 Alexander Nyberg
2005-04-30 13:50 ` 2.6.12-rc3-mm1 Adrian Bunk
2005-04-30 14:07 ` 2.6.12-rc3-mm1 Richard Purdie
2005-04-30 15:04 ` 2.6.12-rc3-mm1 Russell King
2005-04-30 19:49 ` 2.6.12-rc3-mm1 Andrew Morton
2005-04-30 22:03 ` 2.6.12-rc3-mm1 Richard Purdie
2005-04-30 14:20 ` 2.6.12-rc3-mm1 Adrian Bunk
2005-04-30 16:43 ` 2.6.12-rc3-mm1 Zwane Mwaikambo
2005-04-30 17:05 ` 2.6.12-rc3-mm1 Coywolf Qi Hunt
2005-04-30 18:08 ` 2.6.12-rc3-mm1 Coywolf Qi Hunt
2005-04-30 18:56 ` 2.6.12-rc3-mm1 Adrian Bunk
2005-04-30 19:46 ` 2.6.12-rc3-mm1 Andrew Morton
2005-04-30 20:01 ` 2.6.12-rc3-mm1 Coywolf Qi Hunt
2005-05-08 3:53 ` 2.6.12-rc3-mm1 Li Shaohua
2005-04-30 18:30 ` 2.6.12-rc3-mm1 Coywolf Qi Hunt
2005-04-30 18:58 ` 2.6.12-rc3-mm1 Adrian Bunk
2005-04-30 15:29 ` 2.6.12-rc3-mm1 Coywolf Qi Hunt
2005-04-30 15:39 ` 2.6.12-rc3-mm1 Zwane Mwaikambo
2005-04-30 15:44 ` Brice Goglin [this message]
2005-04-30 16:02 ` 2.6.12-rc3-mm1 Zwane Mwaikambo
2005-04-30 15:48 ` 2.6.12-rc3-mm1 Carlos Martin
2005-04-30 15:48 ` 2.6.12-rc3-mm1 Coywolf Qi Hunt
2005-04-30 23:34 ` 2.6.12-rc3-mm1 (a-new-10gb-ethernet-driver-by-chelsio-communications.patch) Alexey Dobriyan
-- strict thread matches above, loose matches on Subject: below --
2005-05-01 8:49 2.6.12-rc3-mm1 Li, Shaohua
[not found] <fa.gbejpad.1vj8f9r@ifi.uio.no>
2005-05-03 9:00 ` 2.6.12-rc3-mm1 Reuben Farrelly
2005-05-03 9:07 ` 2.6.12-rc3-mm1 Andrew Morton
2005-05-03 9:49 ` 2.6.12-rc3-mm1 Reuben Farrelly
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4273A7CD.8000305@ens-lyon.fr \
--to=brice.goglin@ens-lyon.fr \
--cc=akpm@osdl.org \
--cc=coywolf@lovecn.org \
--cc=linux-kernel@vger.kernel.org \
--cc=zwane@arm.linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox