From owner-freebsd-bugs Sat Jul 11 02:10:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA14869 for freebsd-bugs-outgoing; Sat, 11 Jul 1998 02:10:23 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA14834 for ; Sat, 11 Jul 1998 02:10:10 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id CAA19778; Sat, 11 Jul 1998 02:10:02 -0700 (PDT) Received: from tim.xenologics.com (tim.xenologics.com [194.77.5.24]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA13952 for ; Sat, 11 Jul 1998 02:01:23 -0700 (PDT) (envelope-from seggers@semyam.dinoco.de) Received: (from uucp@localhost) by tim.xenologics.com (8.8.5/8.8.8) with UUCP id KAA28119 for FreeBSD-gnats-submit@freebsd.org; Sat, 11 Jul 1998 10:59:09 +0200 (MET DST) Received: (from seggers@localhost) by semyam.dinoco.de (8.8.8/8.8.8) id KAA01531; Sat, 11 Jul 1998 10:56:31 +0200 (CEST) (envelope-from seggers) Message-Id: <199807110856.KAA01531@semyam.dinoco.de> Date: Sat, 11 Jul 1998 10:56:31 +0200 (CEST) From: Stefan Eggers Reply-To: seggers@semyam.dinoco.de To: FreeBSD-gnats-submit@FreeBSD.ORG Cc: seggers@semyam.dinoco.de X-Send-Pr-Version: 3.2 Subject: kern/7246: Another misleading comment in VM - vm_param.h Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 7246 >Category: kern >Synopsis: Another misleading comment in VM - vm_param.h >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Jul 11 02:10:01 PDT 1998 >Last-Modified: >Originator: Stefan Eggers >Organization: none >Release: FreeBSD 2.2.6-STABLE i386 >Environment: -current source from a few days ago. >Description: There is a comment in vm_param.h which doesn't belong to the code still left in there. The macros it describes disapeared some- time since 4.4BSD lite. >How-To-Repeat: Read the source. >Fix: --- vm_param.h.ORIG Sat Feb 22 10:48:37 1997 +++ vm_param.h Sat Jul 11 10:48:51 1998 @@ -149,10 +149,6 @@ #define KERN_NO_ACCESS 8 #ifndef ASSEMBLER -/* - * Convert addresses to pages and vice versa. - * No rounding is used. - */ #ifdef KERNEL #define num_pages(x) \ ((vm_offset_t)((((vm_offset_t)(x)) + PAGE_MASK) >> PAGE_SHIFT)) >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message