From: viro@parcelfarce.linux.theplanet.co.uk
To: Oliver Pitzeier <oliver@linux-kernel.at>
Cc: Linus Torvalds <torvalds@osdl.org>,
Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Linux 2.6.0-test6
Date: Sun, 28 Sep 2003 13:53:18 +0100 [thread overview]
Message-ID: <20030928125318.GM7665@parcelfarce.linux.theplanet.co.uk> (raw)
In-Reply-To: <200309281216.h8SCGWsl026399@indianer.linux-kernel.at>
On Sun, Sep 28, 2003 at 02:19:24PM +0200, Oliver Pitzeier wrote:
> Hi folks/Linus!
>
> Linus Torvalds wrote:
> > Ok, too long between test5 and test6 again, so the patch is
> > pretty big. Lots of driver updates and architectures fixed,
> > but also lots of merges from Andrew Morton. Most notably
> > perhaps Con's scheduler changes that have been discussed
> > extensively and made it into the -mm tree for testing.
>
> It work's on my Intel machine, but on Alpha, I get this:
> <snip>
> CC init/version.o
> LD init/built-in.o
> LD .tmp_vmlinux1
> kernel/built-in.o: In function `try_to_wake_up':
> kernel/built-in.o(.text+0x438): undefined reference to `sched_clock'
Add
unsigned long long default_sched_clock(void)
{
return (unsigned long long)jiffies * (1000000000 / HZ);
}
in kernel/sched.c and
#define sched_clock default_sched_clock
in include/asm-alpha/system.h
FWIW, the former should've been done from the very beginning and sched_clock
should've been made a weak alias for default_sched_clock. That would avoid
the breakage of platforms original patch didn't update.
BTW, how about adding weak_alias(type, name, args, default_variant) to
compiler.h? For most platforms it would be
#define weak_alias(type, name, args, default_variant) \
type name args __attribute__((weak, alias(#default_variant)));
Note that we already have something similar - cond_syscall(name) would
become weak_alias(asmlinkage long, name, (void), sys_ni_syscall) and
platform-specific stuff could be taken from current definitions of this
beast.
next prev parent reply other threads:[~2003-09-28 12:53 UTC|newest]
Thread overview: 65+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-28 12:19 Linux 2.6.0-test6 Oliver Pitzeier
2003-09-28 12:52 ` Geert Uytterhoeven
2003-09-28 21:41 ` Andrew Morton
2003-09-29 9:58 ` Geert Uytterhoeven
2003-09-29 10:08 ` Russell King
2003-09-29 19:19 ` Anton Blanchard
2003-09-28 12:53 ` viro [this message]
2003-09-28 13:54 ` Urban Widmark
[not found] <<3F7CBDD4.7010503@cyberone.com.au>>
2003-10-03 3:51 ` Jason Munro
2003-10-06 3:05 ` bill davidsen
2003-10-09 18:44 ` bill davidsen
-- strict thread matches above, loose matches on Subject: below --
2003-09-29 9:00 Oliver Pitzeier
2003-09-28 10:14 Geert Uytterhoeven
2003-09-28 12:50 ` Russell King
2003-09-28 13:54 ` Bernardo Innocenti
2003-09-28 17:37 ` Linus Torvalds
2003-09-28 18:46 ` Sam Ravnborg
2003-09-28 18:52 ` Linus Torvalds
2003-09-28 19:44 ` Jamie Lokier
2003-09-28 19:16 ` Jörn Engel
2003-09-28 19:31 ` Sam Ravnborg
2003-09-28 19:44 ` Jörn Engel
2003-09-28 19:42 ` Russell King
2003-09-28 20:00 ` Jörn Engel
2003-09-28 21:43 ` Tim Schmielau
2003-09-28 21:54 ` Arnaldo Carvalho de Melo
2003-09-29 15:08 ` Chris Friesen
2003-09-29 15:14 ` Geert Uytterhoeven
2003-09-28 19:28 ` Russell King
2003-09-29 8:52 ` Geert Uytterhoeven
2003-09-29 19:19 ` bill davidsen
2003-09-30 10:42 ` Jörn Engel
2003-09-30 15:17 ` Bill Davidsen
2003-10-01 9:08 ` Jörn Engel
2003-09-28 1:27 Linus Torvalds
2003-09-28 7:03 ` Con Kolivas
2003-09-28 10:02 ` Rob Landley
2003-09-29 4:55 ` Nick Piggin
2003-09-29 7:35 ` Rob Landley
2003-09-29 16:55 ` Ed Sweetman
2003-09-30 0:03 ` Nick Piggin
2003-10-02 0:41 ` Pedro Larroy
2003-10-02 3:05 ` Nick Piggin
2003-10-02 19:07 ` Pedro Larroy
2003-10-03 0:07 ` Nick Piggin
2003-10-03 19:34 ` Pedro Larroy
2003-09-29 18:45 ` bill davidsen
2003-09-30 1:12 ` Nick Piggin
2003-10-01 21:13 ` bill davidsen
2003-10-02 2:45 ` Nick Piggin
2003-09-28 8:26 ` Markus Hästbacka
2003-09-28 10:54 ` Jeff Garzik
2003-09-28 10:09 ` Rafał 'rmrmg' Roszak
2003-09-28 11:05 ` Andreas Jellinghaus
2003-09-28 12:34 ` Dave Jones
2003-09-28 16:12 ` Andreas Jellinghaus
2003-09-28 17:51 ` Andries Brouwer
2003-09-28 16:42 ` Ivan Gyurdiev
2003-09-29 13:23 ` Florin Iucha
2003-09-29 13:55 ` Muli Ben-Yehuda
2003-09-29 14:01 ` Jaroslav Kysela
2003-09-29 14:18 ` Muli Ben-Yehuda
2003-09-29 19:04 ` bill davidsen
2003-09-29 14:30 ` Takashi Iwai
2003-09-29 13:58 ` Jaroslav Kysela
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=20030928125318.GM7665@parcelfarce.linux.theplanet.co.uk \
--to=viro@parcelfarce.linux.theplanet.co.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=oliver@linux-kernel.at \
--cc=torvalds@osdl.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).