linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Shawn Starr <spstarr@sh0n.net>
To: Andrew Morton <akpm@digeo.com>
Cc: linux-kernel@vger.kernel.org, Jeff Dike <jdike@karaya.com>
Subject: Re: [PROBLEM] 2.5.39 - might_sleep() exception - ACPI/APIC, UML compile  issues on MP 2000+
Date: Sat, 28 Sep 2002 21:26:48 -0400	[thread overview]
Message-ID: <200209282126.48790.spstarr@sh0n.net> (raw)
In-Reply-To: <3D956D06.D7370490@digeo.com>


I don't get that error anymore but UML won't compile:

Unless im doing something wrong this is how i've been building UML (in 2.4)

make menuconfig ARCH=um
make modules ARCH=um
make modules_install ARCH=um
make linux ARCH=um

Is this correct?

Shawn.

On September 28, 2002 04:49 am, Andrew Morton wrote:

> Shawn Starr wrote:
> > ...
> > 3) Compile errors with UML:
> >
> > In file included from sched.c:19:
> > /usr/src/linux-2.5.39/include/linux/mm.h:165: parse error before
> > "pte_addr_t" /usr/src/linux-2.5.39/include/linux/mm.h:165: warning: no
> > semicolon at end of struct or union
> > /usr/src/linux-2.5.39/include/linux/mm.h:165: warning: no semicolon at
> > end of struct or union /usr/src/linux-2.5.39/include/linux/mm.h:166:
> > warning: type defaults to `int' in declaration of `pte'
>
> It's strange that this ever worked.  Does this fix?
>
> --- linux-2.5.39/include/asm-um/pgtable.h	Sun Sep 15 20:53:43 2002
> +++ 25/include/asm-um/pgtable.h	Sat Sep 28 01:47:43 2002
> @@ -215,6 +215,8 @@ static inline void set_pte(pte_t *pteptr
>  	if(pte_present(*pteptr)) *pteptr = pte_mknewprot(*pteptr);
>  }
>
> +typedef pte_t *pte_addr_t;
> +
>  /*
>   * (pmds are folded into pgds so this doesnt get actually called,
>   * but the define is needed for a generic inline function.)


  reply	other threads:[~2002-09-29  1:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-28  8:28 Shawn Starr
2002-09-28  8:49 ` Andrew Morton
2002-09-29  1:26   ` Shawn Starr [this message]
2002-09-29  2:50     ` Jeff Dike
2002-10-01  2:43   ` Jeff Dike

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=200209282126.48790.spstarr@sh0n.net \
    --to=spstarr@sh0n.net \
    --cc=akpm@digeo.com \
    --cc=jdike@karaya.com \
    --cc=linux-kernel@vger.kernel.org \
    --subject='Re: [PROBLEM] 2.5.39 - might_sleep() exception - ACPI/APIC, UML compile  issues on MP 2000+' \
    /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

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).