public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Emmanuel Fleury <fleury@labri.fr>
To: jdike@addtoit.com, Linux Kernel <linux-kernel@vger.kernel.org>
Subject: [UML] arch/um/os-Linux/skas/process.c:328: error: 'PAGE_SHIFT' undeclared
Date: Tue, 14 Nov 2006 11:56:23 +0100	[thread overview]
Message-ID: <4559A0D7.6050808@labri.fr> (raw)

Hi,

Some problems in 2.6.18.2 with UML:

arch/um/os-Linux/skas/process.c: In function 'copy_context_skas0':
arch/um/os-Linux/skas/process.c:328: error: 'PAGE_SHIFT' undeclared
(first use in this function)
arch/um/os-Linux/skas/process.c:328: error: (Each undeclared identifier
is reported only once
arch/um/os-Linux/skas/process.c:328: error: for each function it appears
in.)
arch/um/os-Linux/skas/process.c:560:2: warning: #warning need cpu pid in
switch_mm_skas
make[2]: *** [arch/um/os-Linux/skas/process.o] Error 1
make[1]: *** [arch/um/os-Linux/skas] Error 2
make[1]: *** Waiting for unfinished jobs....

Solved with the following patch (probably already solved but just in
case you didn't...):

--- arch/um/include/sysdep-i386/stub.h.orig 2006-11-04
02:33:58.000000000 +0100
+++ arch/um/include/sysdep-i386/stub.h      2006-11-14
11:23:20.000000000 +0100
@@ -12,6 +12,7 @@
 #include "stub-data.h"
 #include "kern_constants.h"
 #include "uml-config.h"
+#include "asm/page.h"

 extern void stub_segv_handler(int sig);
 extern void stub_clone_handler(void);

Regards
-- 
Emmanuel Fleury              | Office: 261
Associate Professor,         | Phone: +33 (0)5 40 00 69 34
LaBRI, Domaine Universitaire | Fax:   +33 (0)5 40 00 66 69
351, Cours de la Libération  | email: emmanuel.fleury@labri.fr
33405 Talence Cedex, France  | URL: http://www.labri.fr/~fleury

             reply	other threads:[~2006-11-14 10:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-14 10:56 Emmanuel Fleury [this message]
2006-11-14 15:32 ` [UML] arch/um/os-Linux/skas/process.c:328: error: 'PAGE_SHIFT' undeclared 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=4559A0D7.6050808@labri.fr \
    --to=fleury@labri.fr \
    --cc=jdike@addtoit.com \
    --cc=linux-kernel@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