linux-um archives
 help / color / mirror / Atom feed
From: Gerd Knorr <kraxel@bytesex.org>
To: Jeff Dike <jdike@addtoit.com>,
	uml devel <user-mode-linux-devel@lists.sourceforge.net>
Subject: [uml-devel] post-2.6.3 build error
Date: Mon, 23 Feb 2004 18:20:12 +0100	[thread overview]
Message-ID: <20040223172012.GA29046@bytesex.org> (raw)

  Hi,

You might have noticed already that in latest linus tree um doesn't
build any more.  The reason is that sys_sched_setscheduler() is declared
now in linux/sched.h, which conflicts with the declaration in
arch/um/kernel/sys_call_table.c.  As quick+dirty fix I've just commented
the declaration.  It builds now, but gives a warning (which is harmless I
think as the exact type of the function shouldn't matter for the syscall
table).  Anyone has a better/cleaner fix for that?

  Gerd

--- linux-2004-02-22/arch/um/kernel/sys_call_table.c~	2004-02-23 15:39:51.000000000 +0100
+++ linux-2004-02-22/arch/um/kernel/sys_call_table.c	2004-02-23 17:30:16.995802718 +0100
@@ -151,7 +151,7 @@
 extern syscall_handler_t sys_munlockall;
 extern syscall_handler_t sys_sched_setparam;
 extern syscall_handler_t sys_sched_getparam;
-extern syscall_handler_t sys_sched_setscheduler;
+//extern syscall_handler_t sys_sched_setscheduler;
 extern syscall_handler_t sys_sched_getscheduler;
 extern syscall_handler_t sys_sched_get_priority_max;
 extern syscall_handler_t sys_sched_get_priority_min;


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

             reply	other threads:[~2004-02-23 17:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-23 17:20 Gerd Knorr [this message]
2004-02-25 19:47 ` [uml-devel] post-2.6.3 build error BlaisorBlade
2004-02-25 21:12   ` [uml-devel] " Gerd Knorr
2004-02-26 19:30     ` BlaisorBlade
2004-02-26 21:10       ` Gerd Knorr

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=20040223172012.GA29046@bytesex.org \
    --to=kraxel@bytesex.org \
    --cc=jdike@addtoit.com \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /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