public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Valdis.Kletnieks@vt.edu
To: Andrew Morton <akpm@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org, mm-commits@vger.kernel.org
Subject: Re: mmotm 2010-11-17-17-03 uploaded
Date: Thu, 18 Nov 2010 16:25:39 -0500	[thread overview]
Message-ID: <73121.1290115539@localhost> (raw)
In-Reply-To: Your message of "Wed, 17 Nov 2010 17:03:30 PST." <201011180135.oAI1Znl3017273@imap1.linux-foundation.org>

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

On Wed, 17 Nov 2010 17:03:30 PST, akpm@linux-foundation.org said:
> The mm-of-the-moment snapshot 2010-11-17-17-03 has been uploaded to
> 
>    http://userweb.kernel.org/~akpm/mmotm/

Using my current .config and a 'make oldconfig' dies a horrid quick death:

  CHK     include/linux/version.h
  CHK     include/generated/utsrelease.h
  CC      arch/x86/kernel/asm-offsets.s
In file included from /usr/src/linux-2.6.37-rc2-mmotm1117/arch/x86/include/asm/suspend_64.h:10:0,
                 from /usr/src/linux-2.6.37-rc2-mmotm1117/arch/x86/include/asm/suspend.h:4,
                 from arch/x86/kernel/asm-offsets_64.c:20,
                 from arch/x86/kernel/asm-offsets.c:4:
/usr/src/linux-2.6.37-rc2-mmotm1117/arch/x86/include/asm/i387.h: In function 'irq_ts_save':
/usr/src/linux-2.6.37-rc2-mmotm1117/arch/x86/include/asm/i387.h:348:2: error: implicit declaration of function 'kernel_locked'
make[1]: *** [arch/x86/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2

static inline int irq_ts_save(void)
{
        /*
         * If in process context and not atomic, we can take a spurious DNA fault.
         * Otherwise, doing clts() in process context requires disabling preemption
         * or some heavy lifting like kernel_fpu_begin()
         */
        if (!in_atomic())
                return 0;

in_atomic() did me in.  CONFIG_LOCK_KERNEL and CONFIG_BKL are both =y in this build.

Not sure if asm-offsets_64.c needs a #include <smp-locks.h> or if it's something else...

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

  parent reply	other threads:[~2010-11-18 21:26 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-18  1:03 mmotm 2010-11-17-17-03 uploaded akpm
2010-11-18  5:25 ` [PATCH -mmotm] w1: fix ds2423 build, needs to select CRC16 Randy Dunlap
2010-11-24  0:14   ` Mika Laitio
2010-11-18 11:42 ` mmotm 2010-11-17-17-03 uploaded Zimny Lech
2010-11-18 21:25 ` Valdis.Kletnieks [this message]
2010-11-18 21:29   ` Randy Dunlap
2010-11-18 21:46     ` Valdis.Kletnieks

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=73121.1290115539@localhost \
    --to=valdis.kletnieks@vt.edu \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mm-commits@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