Subject: Re: port-amd64/37043
To: None <port-amd64-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: Arto Huusko <arto.huusko@pp2.inet.fi>
List: netbsd-bugs
Date: 10/03/2007 13:55:02
The following reply was made to PR port-amd64/37043; it has been noted by GNATS.
From: Arto Huusko <arto.huusko@pp2.inet.fi>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: port-amd64/37043
Date: Wed, 3 Oct 2007 16:51:32 +0300 (EEST)
The following patch fixes the problem. I didn't look if there are
similar problems elsewhere in mtrr_i686.c or in other files.
Index: mtrr_i686.c
===================================================================
RCS file: /cvsroot/src/sys/arch/x86/x86/mtrr_i686.c,v
retrieving revision 1.10
diff -r1.10 mtrr_i686.c
159,160c159,162
< uint32_t cr0, cr3, cr4;
< uint32_t origcr0, origcr4;
---
> u_int cr0;
> vaddr_t cr3, cr4;
> u_int origcr0;
> vaddr_t origcr4;