NetBSD Problem Report #37084
From mrg@eterna.com.au Tue Oct 9 05:34:04 2007
Return-Path: <mrg@eterna.com.au>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id AC60663B8D8
for <gnats-bugs@gnats.NetBSD.org>; Tue, 9 Oct 2007 05:34:04 +0000 (UTC)
Message-Id: <20071009053402.35C4B3752E@splode.eterna.com.au>
Date: Tue, 9 Oct 2007 15:34:02 +1000 (EST)
From: mrg@eterna.com.au
Reply-To: mrg@eterna.com.au
To: gnats-bugs@NetBSD.org
Subject: evbarm kernels fail to build - missing splstatclock()
X-Send-Pr-Version: 3.95
>Number: 37084
>Category: port-evbarm
>Synopsis: evbarm kernels fail to build - missing splstatclock()
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: port-evbarm-maintainer
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Oct 09 05:35:00 +0000 2007
>Closed-Date: Wed Oct 17 17:36:31 +0000 2007
>Last-Modified: Wed Oct 17 17:36:31 +0000 2007
>Originator: matthew green
>Release: NetBSD 4.99.22
>Organization:
people's front against (bozotic) www (softwar foundation)
>Environment:
any
>Description:
building evbarm release results in CP1300 kernel failing to build
as splstatclock() is missing.
>How-To-Repeat:
./build.sh -m evbarm release
>Fix:
this fixes the build for me but i assume it is wrong (or at least
sub optimal) as in the old arm intr/spl code, splclock() and
splstatclock() are not the same.
Index: include/intr.h
===================================================================
RCS file: /cvsroot/src/sys/arch/evbarm/include/intr.h,v
retrieving revision 1.17
diff -p -r1.17 intr.h
*** include/intr.h 9 Mar 2007 06:45:20 -0000 1.17
--- include/intr.h 9 Oct 2007 05:32:54 -0000
***************
*** 88,93 ****
--- 88,95 ----
#define __NEWINTR /* enables new hooks in cpu_fork()/cpu_switch() */
+ #define splstatclock() splclock()
+
#ifndef _LOCORE
#include <sys/device.h>
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback
State-Changed-By: ad@netbsd.org
State-Changed-When: Wed, 17 Oct 2007 17:36:07 +0000
State-Changed-Why:
Replaced last uses of splstatclock().
State-Changed-From-To: feedback->closed
State-Changed-By: ad@netbsd.org
State-Changed-When: Wed, 17 Oct 2007 17:36:31 +0000
State-Changed-Why:
Confusing this with another PR - fixed now.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.