From owner-freebsd-bugs Wed Apr 25 14:50:10 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id E9C8937B424 for ; Wed, 25 Apr 2001 14:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f3PLo1155430; Wed, 25 Apr 2001 14:50:01 -0700 (PDT) (envelope-from gnats) Received: from h132-197-97-45.gte.com (h132-197-97-45.gte.com [132.197.97.45]) by hub.freebsd.org (Postfix) with ESMTP id 5DF8737B422 for ; Wed, 25 Apr 2001 14:40:32 -0700 (PDT) (envelope-from ak03@gte.com) Received: (from ak03@localhost) by h132-197-97-45.gte.com (8.11.3/8.11.3) id f3PLeVU04237; Wed, 25 Apr 2001 17:40:31 -0400 (EDT) (envelope-from ak03) Message-Id: <200104252140.f3PLeVU04237@h132-197-97-45.gte.com> Date: Wed, 25 Apr 2001 17:40:31 -0400 (EDT) From: ak03@gte.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: kern/26858: small typo in i386/i386/support.s Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 26858 >Category: kern >Synopsis: typo in support.s prevent I386_CPU kernel compiles >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Apr 25 14:50:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Alexander N. Kabaev >Release: FreeBSD 5.0-CURRENT i386 >Organization: Verizon Laboratories Inc. >Environment: System: FreeBSD kanpc.gte.com 5.0-CURRENT FreeBSD 5.0-CURRENT #2: Mon Apr 23 14:50:40 EDT 2001 root@kanpc.gte.com:/usr/src/sys/compile/KANPC i386 >Description: There is apparently a typo in support.s. It tries to access _PTmap(edx) exactly in one place in the file under I386_CPU define, while all other places use PTmap(edx) (no leading underscore). >How-To-Repeat: Define I386_CPU and attempt to compile the kernel on -CURRENT >Fix: Index: support.s =================================================================== RCS file: /usr/ncvs/src/sys/i386/i386/support.s,v retrieving revision 1.81 diff -u -r1.81 support.s --- support.s 2001/03/24 08:27:57 1.81 +++ support.s 2001/04/25 20:19:37 @@ -1301,7 +1301,7 @@ shrl $IDXSHIFT,%edx andb $0xfc,%dl - leal _PTmap(%edx),%ecx + leal PTmap(%edx),%ecx shrl $IDXSHIFT,%ecx andb $0xfc,%cl testb $PG_V,PTmap(%ecx) /* PTE page must be valid */ >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message