linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Stephen Rothwell <sfr@canb.auug.org.au>
To: Randy Dunlap <rdunlap@infradead.org>
Cc: akpm@linux-foundation.org, mm-commits@vger.kernel.org,
	linux-kernel@vger.kernel.org, linux-mm@kvack.org,
	linux-fsdevel@vger.kernel.org, linux-next@vger.kernel.org,
	Joe Perches <joe@perches.com>
Subject: Re: mmotm 2013-01-11-15-47 uploaded (x86 asm-offsets broken)
Date: Sat, 12 Jan 2013 13:17:13 +1100	[thread overview]
Message-ID: <20130112131713.749566c8d374cd77b1f2885e@canb.auug.org.au> (raw)
In-Reply-To: <50F0BFAA.10902@infradead.org>

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

On Fri, 11 Jan 2013 17:43:06 -0800 Randy Dunlap <rdunlap@infradead.org> wrote:
>
> b0rked.
> 
> Some (randconfig?) causes this set of errors:
> 
>   CC      arch/x86/kernel/asm-offsets.s
> In file included from include/linux/ktime.h:25:0,
>                  from include/linux/timer.h:5,
>                  from include/linux/workqueue.h:8,
>                  from include/linux/srcu.h:34,
>                  from include/linux/notifier.h:15,
>                  from include/linux/memory_hotplug.h:6,
>                  from include/linux/mmzone.h:761,
>                  from include/linux/gfp.h:4,
>                  from include/linux/slab.h:12,
>                  from include/linux/crypto.h:24,
>                  from arch/x86/kernel/asm-offsets.c:8:
> include/linux/jiffies.h: In function '__inline_jiffies_to_msecs':
> include/linux/jiffies.h:306:10: error: 'HZ_TO_MSEC_MUL32' undeclared (first use in this function)
> include/linux/jiffies.h:306:10: note: each undeclared identifier is reported only once for each function it appears in
> include/linux/jiffies.h:306:35: error: 'HZ_TO_MSEC_SHR32' undeclared (first use in this function)
> include/linux/jiffies.h: In function '__inline_jiffies_to_usecs':
> include/linux/jiffies.h:328:10: error: 'HZ_TO_USEC_MUL32' undeclared (first use in this function)
> include/linux/jiffies.h:328:35: error: 'HZ_TO_USEC_SHR32' undeclared (first use in this function)
> include/linux/jiffies.h: In function '__inline_msecs_to_jiffies':
> include/linux/jiffies.h:392:10: error: 'MSEC_TO_HZ_MUL32' undeclared (first use in this function)
> include/linux/jiffies.h:392:33: error: 'MSEC_TO_HZ_ADJ32' undeclared (first use in this function)
> include/linux/jiffies.h:393:6: error: 'MSEC_TO_HZ_SHR32' undeclared (first use in this function)
> include/linux/jiffies.h: In function '__inline_usecs_to_jiffies':
> include/linux/jiffies.h:413:10: error: 'USEC_TO_HZ_MUL32' undeclared (first use in this function)
> include/linux/jiffies.h:413:33: error: 'USEC_TO_HZ_ADJ32' undeclared (first use in this function)
> include/linux/jiffies.h:414:6: error: 'USEC_TO_HZ_SHR32' undeclared (first use in this function)

So, what am I missing? ... how could that have worked - those constants are
generated into kernel/timeconst.h which is only included in kernel/time.c
(from where all this code was moved to jiffies.h).

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

  reply	other threads:[~2013-01-12  2:17 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-11 23:48 mmotm 2013-01-11-15-47 uploaded akpm
2013-01-12  1:43 ` mmotm 2013-01-11-15-47 uploaded (x86 asm-offsets broken) Randy Dunlap
2013-01-12  2:17   ` Stephen Rothwell [this message]
2013-01-12  2:29     ` Joe Perches
2013-01-12 10:13       ` Sedat Dilek
2013-01-12 11:12         ` Sedat Dilek
2013-01-12 16:52         ` Joe Perches
2013-01-14  4:03       ` Stephen Rothwell
2013-01-12 15:47 ` mmotm 2013-01-11-15-47 (trouble starting kvm) Zlatko Calusic
2013-01-15 18:46   ` Jiri Kosina

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=20130112131713.749566c8d374cd77b1f2885e@canb.auug.org.au \
    --to=sfr@canb.auug.org.au \
    --cc=akpm@linux-foundation.org \
    --cc=joe@perches.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=linux-next@vger.kernel.org \
    --cc=mm-commits@vger.kernel.org \
    --cc=rdunlap@infradead.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