1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00

Fixed PHYSTOKV, addition operator on pointers is the wrong thing to do

here.  This is really a crock, but it works.
This commit is contained in:
Rodney W. Grimes 1993-10-12 12:08:16 +00:00
parent 7a94ec038f
commit da73bf46a5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=586

View File

@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)param.h 5.8 (Berkeley) 6/28/91
* $Id: param.h,v 1.4 1993/10/08 13:01:34 rgrimes Exp $
* $Id: param.h,v 1.5 1993/10/12 07:13:12 rgrimes Exp $
*/
/*
@ -158,4 +158,4 @@
/*
* phystokv stolen from SCSI device drivers and fixed to use KERNBASE
*/
#define PHYSTOKV(x) (x + KERNBASE)
#define PHYSTOKV(x) (x | KERNBASE)