From: Andrew Morton <akpm@digeo.com>
To: Shawn Starr <spstarr@sh0n.net>
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 01:49:10 -0700 [thread overview]
Message-ID: <3D956D06.D7370490@digeo.com> (raw)
In-Reply-To: <200209280428.23572.spstarr@sh0n.net>
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.)
next prev parent reply other threads:[~2002-09-28 8:43 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 [this message]
2002-09-29 1:26 ` Shawn Starr
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=3D956D06.D7370490@digeo.com \
--to=akpm@digeo.com \
--cc=jdike@karaya.com \
--cc=linux-kernel@vger.kernel.org \
--cc=spstarr@sh0n.net \
--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).