Date: Sat, 11 Jul 1998 10:56:31 +0200 (CEST) From: Stefan Eggers <seggers@semyam.dinoco.de> To: FreeBSD-gnats-submit@FreeBSD.ORG Cc: seggers@semyam.dinoco.de Subject: kern/7246: Another misleading comment in VM - vm_param.h Message-ID: <199807110856.KAA01531@semyam.dinoco.de>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807110856.KAA01531>