From owner-freebsd-current@FreeBSD.ORG Thu Oct 16 11:04:46 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E223516A4B3 for ; Thu, 16 Oct 2003 11:04:46 -0700 (PDT) Received: from valcho.net (valcho.net [206.162.201.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id 510A443FA3 for ; Thu, 16 Oct 2003 11:04:44 -0700 (PDT) (envelope-from valentin@valcho.net) Received: from drweb by valcho.net with drweb-scanned (Exim 4.24; FreeBSD 4.8) id 1AACUN-000Dyn-LQ for current@freebsd.org; Thu, 16 Oct 2003 14:04:43 -0400 Received: from valentin (helo=localhost) by valcho.net with local-esmtp (Exim 4.24; FreeBSD 4.8) id 1AACUM-000Dyh-RS for current@freebsd.org; Thu, 16 Oct 2003 14:04:42 -0400 Date: Thu, 16 Oct 2003 14:04:42 -0400 (EDT) From: Valentin Chopov To: current@freebsd.org In-Reply-To: <3F8E8422.3050207@anduin.net> Message-ID: <20031016140005.N44337@valcho.net> References: <20031016043006.B30029-100000@mail.chesapeake.net> <3F8E8422.3050207@anduin.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: sched_ule.c & SMP error X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2003 18:04:47 -0000 I'm getting an error in the sched_ule.c It looks that sched_add is called with "struct kse" arg. instead of "struct thread" Thanks, Val cc -c -O -pipe -march=pentiumpro -Wall -Wredundant-decls -Wnested-externs -Wstri ct-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fform at-extensions -std=c99 -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib /dev/acpica -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/dev/ath -I/us r/src/sys/contrib/dev/ath/freebsd -D_KERNEL -include opt_global.h -fno-common -f inline-limit=15000 -fno-strict-aliasing -mno-align-long-strings -mpreferred-sta ck-boundary=2 -ffreestanding -Werror /usr/src/sys/kern/sched_ule.c /usr/src/sys/kern/sched_ule.c: In function `kseq_move': /usr/src/sys/kern/sched_ule.c:465: warning: passing arg 1 of `sched_add' from in compatible pointer type *** Error code 1 Stop in /usr/obj/usr/src/sys/MYKERNEL. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. == Valentin S. Chopov, CC[ND]P Sys/Net Admin SEI Data Inc. E-Mail: valentin@valcho.net ==