linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: James Bottomley <James.Bottomley@HansenPartnership.com>
To: Josh McKinney <forming@charter.net>, Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.5.40-ac3 compile error
Date: Sat, 05 Oct 2002 11:55:35 -0400	[thread overview]
Message-ID: <200210051555.g95FtZA10167@localhost.localdomain> (raw)

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

> make[2]: *** [timer_pit.o] Error 1 make[2]: Leaving directory `/usr/
> src/linux-2.5/linux-2.5.40/arch/i386/kernel' 

This is caused by timer_pit.c not having quite the right #includes for the 
i386 subarch code.

The attached patch should fix it. (smp.h gets the smp_local_timer_interrupt, 
mpspec.h gets using_apic_timer and arch_hooks is the primer for the hooks in 
do_timer.h).

James


[-- Attachment #2: tmp.diff --]
[-- Type: text/plain , Size: 356 bytes --]

--- arch/i386/kernel/timer_pit.c~	Sat Oct  5 11:22:01 2002
+++ arch/i386/kernel/timer_pit.c	Sat Oct  5 11:48:05 2002
@@ -7,7 +7,10 @@
 #include <linux/module.h>
 #include <linux/device.h>
 #include <asm/timer.h>
+#include <asm/smp.h>
+#include <asm/mpspec.h>
 #include <asm/io.h>
+#include <asm/arch_hooks.h>
 
 /* fwd declarations */
 int init_pit(void);

             reply	other threads:[~2002-10-05 15:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-05 15:55 James Bottomley [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-10-04 17:49 2.5.40-ac3 compile error Josh McKinney

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=200210051555.g95FtZA10167@localhost.localdomain \
    --to=james.bottomley@hansenpartnership.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=forming@charter.net \
    --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;
as well as URLs for NNTP newsgroup(s).