git: amd64 - Add via variable decls to md_var.h

YONETANI Tomokazu qhwt+dfly at les.ath.cx
Sat Oct 3 10:43:38 PDT 2009


Well, it's used in platform/pc64/amd64/initcpu.c, but not defined anywhere:
$ grep -r AMD64_CPU_ /sys
/sys/platform/pc64/amd64/initcpu.c:         AMD64_CPU_FAMILY(cpu_id) == 0x6 &&
/sys/platform/pc64/amd64/initcpu.c:         AMD64_CPU_MODEL(cpu_id) >= 0xf)

and the kernel doesn't compile unless I comment them out.  Am I missing
something?

On Sat, Oct 03, 2009 at 06:20:12PM +0100, Alex Hornung wrote:
> No, why, did I miss something?
> 
> : -----Original Message-----
> : From: commits-errors at crater.dragonflybsd.org [mailto:commits-
> : errors at crater.dragonflybsd.org] On Behalf Of YONETANI Tomokazu
> : Sent: Saturday, October 03, 2009 5:58 PM
> : To: commits at crater.dragonflybsd.org
> : Subject: Re: git: amd64 - Add via variable decls to md_var.h
> : 
> : On Sat, Oct 03, 2009 at 08:54:33AM -0700, Alex Hornung wrote:
> : > Summary of changes:
> : >  sys/platform/pc64/include/md_var.h |    2 ++
> : >  1 files changed, 2 insertions(+), 0 deletions(-)
> : >
> : >
> : http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ff0a2b41d2c350ce6b8
> : b90093b8f64e513c48fd0
> : 
> : Do you have a yet-to-be-pushed change to add the definitions of macros
> : AMD64_CPU_{FAMILY,MODEL} in your source tree?
> 





More information about the Commits mailing list