public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Dominik Brodowski <linux@brodo.de>
To: Adrian Bunk <bunk@fs.tum.de>
Cc: Alan Cox <alan@redhat.com>, linux-kernel@vger.kernel.org
Subject: Re: Linux 2.4.20-pre7-ac2
Date: Thu, 19 Sep 2002 10:42:33 +0200	[thread overview]
Message-ID: <20020919104233.A1812@brodo.de> (raw)
In-Reply-To: <Pine.NEB.4.44.0209191003250.15721-100000@mimas.fachschaften.tu-muenchen.de>; from bunk@fs.tum.de on Thu, Sep 19, 2002 at 10:06:34AM +0200

Not really CPUfreq related, but this should fix it:
(note to Alan: second part already sent to you directly)

	Dominik

--- linux/include/asm/hw_irq.h.original	Thu Sep 19 10:28:43 2002
+++ linux/include/asm/hw_irq.h	Thu Sep 19 10:37:43 2002
@@ -15,6 +15,7 @@
 #include <linux/config.h>
 #include <asm/atomic.h>
 #include <asm/irq.h>
+#include <asm/current.h>
 
 /*
  * IDT vectors usable for external interrupt sources start
--- linux-24ac/include/linux/interrupt.h.original	Thu Sep 19 01:38:24 2002
+++ linux-24ac/include/linux/interrupt.h	Thu Sep 19 01:38:36 2002
@@ -10,6 +10,7 @@
 #include <asm/bitops.h>
 #include <asm/atomic.h>
 #include <asm/ptrace.h>
+#include <asm/system.h>
 
 struct irqaction {
 	void (*handler)(int, void *, struct pt_regs *);




On Thu, Sep 19, 2002 at 10:06:34AM +0200, Adrian Bunk wrote:
> On Wed, 18 Sep 2002, Alan Cox wrote:
> 
> >...
> > Linux 2.4.20-pre7-ac1
> >...
> > o	CPUfreq update					(Dominik Brodowski)
> >...
> 
> <--  snip  -->
> 
> ...
> gcc -D__KERNEL__ -I/home/bunk/linux/kernel-2.4/linux-2.4.19-full/include
> -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing
> -fno-common -pipe -mpreferred-stack-boundary=2 -march=k6   -nostdinc
> -iwithprefix include -DKBUILD_BASENAME=cpufreq  -c -o cpufreq.o cpufreq.c
> In file included from
> /home/bunk/linux/kernel-2.4/linux-2.4.19-full/include/linux/irq.h:69,
>                  from
> /home/bunk/linux/kernel-2.4/linux-2.4.19-full/include/asm/hardirq.h:6,
>                  from
> /home/bunk/linux/kernel-2.4/linux-2.4.19-full/include/linux/interrupt.h:45,
>                  from cpufreq.c:21:
> /home/bunk/linux/kernel-2.4/linux-2.4.19-full/include/asm/hw_irq.h: In
> function `x86_do_profile':
> /home/bunk/linux/kernel-2.4/linux-2.4.19-full/include/asm/hw_irq.h:201:
> `current' undeclared (first use in this function)
> /home/bunk/linux/kernel-2.4/linux-2.4.19-full/include/asm/hw_irq.h:201:
> (Each undeclared identifier is reported only once
> /home/bunk/linux/kernel-2.4/linux-2.4.19-full/include/asm/hw_irq.h:201:
> for each function it appears in.)
> make[2]: *** [cpufreq.o] Error 1
> make[2]: Leaving directory `/home/bunk/linux/kernel-2.4/linux-2.4.19-full/kernel'
> 
> cu
> Adrian

  reply	other threads:[~2002-09-19  8:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-18 21:33 Linux 2.4.20-pre7-ac2 Alan Cox
2002-09-19  8:06 ` Adrian Bunk
2002-09-19  8:42   ` Dominik Brodowski [this message]
2002-09-19  9:07     ` Adrian Bunk
2002-09-19 15:12       ` Dominik Brodowski

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=20020919104233.A1812@brodo.de \
    --to=linux@brodo.de \
    --cc=alan@redhat.com \
    --cc=bunk@fs.tum.de \
    --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