From owner-freebsd-current@FreeBSD.ORG Thu Oct 16 14:01:53 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 25AF116A4BF for ; Thu, 16 Oct 2003 14:01:53 -0700 (PDT) Received: from mail.chesapeake.net (chesapeake.net [208.142.252.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id D668943FA3 for ; Thu, 16 Oct 2003 14:01:47 -0700 (PDT) (envelope-from jroberson@chesapeake.net) Received: from localhost (jroberson@localhost) by mail.chesapeake.net (8.11.6/8.11.6) with ESMTP id h9GL1hh47091; Thu, 16 Oct 2003 17:01:43 -0400 (EDT) (envelope-from jroberson@chesapeake.net) Date: Thu, 16 Oct 2003 17:01:42 -0400 (EDT) From: Jeff Roberson To: Valentin Chopov In-Reply-To: <20031016140005.N44337@valcho.net> Message-ID: <20031016170136.T30029-100000@mail.chesapeake.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: current@freebsd.org Subject: Re: 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 21:01:53 -0000 On Thu, 16 Oct 2003, Valentin Chopov wrote: > 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" Fixed, thanks. > > 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 > == > > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >