From: Sean MacLennan <smaclennan@pikatech.com>
To: benh@kernel.crashing.org
Cc: linuxppc-dev@ozlabs.org, Sean MacLennan <smaclennan@ottawa.kanatek.ca>
Subject: Re: asm-offsets.c
Date: Thu, 07 Feb 2008 15:24:42 -0500 [thread overview]
Message-ID: <47AB690A.70807@pikatech.com> (raw)
In-Reply-To: <1202373888.7079.124.camel@pasglop>
Benjamin Herrenschmidt wrote:
> On Wed, 2008-02-06 at 23:43 -0500, Sean MacLennan wrote:
>
>> I just did a git pull of Josh's tree, and
>> arch/powerpc/kernel/asm-offsets.c does not compile. I have only been
>> glossing over the linuxppc-dev emails, so forgive me if this already
>> came up.
>>
>> It looks like, at least for the Warp, CLOCK_REALTIME_RES is not defined
>> so asm-offsets.c gets an error. The following patch fixes it.... but I
>> am not sure it is right since I don't know if CLOCK_REALTIME_RES should
>> be defined.
>>
>
> Hrm... this macro should -define- CLOCK_REALTIME_RES, not rely on an
> existing definition...
>
If I comment out CLOCK_REALTIME in include/linux/time.h then I fail:
CC arch/powerpc/kernel/asm-offsets.s
arch/powerpc/kernel/asm-offsets.c: In function 'main':
arch/powerpc/kernel/asm-offsets.c:313: error: 'CLOCK_REALTIME' undeclared (first use in this function)
arch/powerpc/kernel/asm-offsets.c:313: error: (Each undeclared identifier is reported only once
arch/powerpc/kernel/asm-offsets.c:313: error: for each function it appears in.)
make[1]: *** [arch/powerpc/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2
make: Leaving directory `/home/seanm/taco/for-2.6.25'
It looks like the first arg must be defined?
Cheers,
Sean
next prev parent reply other threads:[~2008-02-07 20:24 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-07 4:43 asm-offsets.c Sean MacLennan
2008-02-07 4:51 ` asm-offsets.c Christoph Hellwig
2008-02-07 6:49 ` asm-offsets.c Nathan Lynch
2008-02-07 6:55 ` asm-offsets.c Christoph Hellwig
2008-02-07 7:02 ` asm-offsets.c Sean MacLennan
2008-02-07 7:16 ` asm-offsets.c Nathan Lynch
2008-02-07 7:26 ` asm-offsets.c Sean MacLennan
2008-02-07 5:07 ` asm-offsets.c Tony Breeds
2008-02-07 5:13 ` asm-offsets.c Sean MacLennan
2008-02-07 8:44 ` asm-offsets.c Benjamin Herrenschmidt
2008-02-07 20:24 ` Sean MacLennan [this message]
2008-02-07 19:01 ` asm-offsets.c Christoph Hellwig
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=47AB690A.70807@pikatech.com \
--to=smaclennan@pikatech.com \
--cc=benh@kernel.crashing.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=smaclennan@ottawa.kanatek.ca \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.