mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-09 16:01:19 +01:00
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. PR: 7246 Reviewed by: phk Submitted by: Stefan Eggers <seggers@semyam.dinoco.de>
This commit is contained in:
parent
2eec1ab091
commit
db7ac2451b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=37821
@ -61,7 +61,7 @@
|
||||
* any improvements or extensions that they make and grant Carnegie the
|
||||
* rights to redistribute these changes.
|
||||
*
|
||||
* $Id$
|
||||
* $Id: vm_param.h,v 1.8 1997/02/22 09:48:37 peter Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -149,10 +149,6 @@ extern int page_shift;
|
||||
#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))
|
||||
|
Loading…
Reference in New Issue
Block a user