public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Brice Goglin <Brice.Goglin@ens-lyon.org>
To: Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6.12-rc3-mm1
Date: Sat, 30 Apr 2005 11:40:44 +0200	[thread overview]
Message-ID: <4273529C.4060000@ens-lyon.org> (raw)
In-Reply-To: <20050429231653.32d2f091.akpm@osdl.org>

[-- Attachment #1: Type: text/plain, Size: 1684 bytes --]

Hi Andrew,

CONFIG_X86_MCE_INTEL=y doesn't compile on my Compaq Evo
(except when CONFIG_SMP is set).
I had to include asm/apic.h in mce_intel.c to fix it.
Patch attached.

Signed-off-by: Brice Goglin <Brice.Goglin@ens-lyon.org>

Regards,
Brice


   CC      arch/i386/kernel/cpu/mcheck/mce_intel.o
arch/i386/kernel/cpu/mcheck/mce_intel.c: In function 
`smp_thermal_interrupt':
arch/i386/kernel/cpu/mcheck/mce_intel.c:25: warning: implicit 
declaration of function `ack_APIC_irq'
arch/i386/kernel/cpu/mcheck/mce_intel.c: In function `intel_init_thermal':
arch/i386/kernel/cpu/mcheck/mce_intel.c:67: warning: implicit 
declaration of function `apic_read'
arch/i386/kernel/cpu/mcheck/mce_intel.c:67: error: `APIC_LVTTHMR' 
undeclared (first use in this function)
arch/i386/kernel/cpu/mcheck/mce_intel.c:67: error: (Each undeclared 
identifier is reported only once
arch/i386/kernel/cpu/mcheck/mce_intel.c:67: error: for each function it 
appears in.)
arch/i386/kernel/cpu/mcheck/mce_intel.c:68: error: `APIC_DM_SMI' 
undeclared (first use in this function)
arch/i386/kernel/cpu/mcheck/mce_intel.c:77: error: `APIC_VECTOR_MASK' 
undeclared (first use in this function)
arch/i386/kernel/cpu/mcheck/mce_intel.c:85: error: `APIC_DM_FIXED' 
undeclared (first use in this function)
arch/i386/kernel/cpu/mcheck/mce_intel.c:85: error: `APIC_LVT_MASKED' 
undeclared (first use in this function)
arch/i386/kernel/cpu/mcheck/mce_intel.c:86: warning: implicit 
declaration of function `apic_write_around'
make[3]: *** [arch/i386/kernel/cpu/mcheck/mce_intel.o] Error 1
make[2]: *** [arch/i386/kernel/cpu/mcheck] Error 2
make[1]: *** [arch/i386/kernel/cpu] Error 2
make: *** [arch/i386/kernel] Error 2

[-- Attachment #2: include_apic_in_intel_mce.patch --]
[-- Type: text/x-patch, Size: 349 bytes --]

--- arch/i386/kernel/cpu/mcheck/mce_intel.c.old	2005-04-30 11:36:56.000000000 +0200
+++ 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);

  reply	other threads:[~2005-04-30  9:41 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 ` Brice Goglin [this message]
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     ` 2.6.12-rc3-mm1 Brice Goglin
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=4273529C.4060000@ens-lyon.org \
    --to=brice.goglin@ens-lyon.org \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    /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