Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Apr 1995 21:55:36 -0700
From:      Bill Paul <wpaul>
To:        CVS-commiters, cvs-sys
Subject:   cvs commit: src/sys/i386/i386 machdep.c
Message-ID:  <199504130455.VAA01434@freefall.cdrom.com>

next in thread | raw e-mail | index | archive | help
wpaul       95/04/12 21:55:36

  Modified:    sys/i386/i386 machdep.c
  Log:
  This a subtle reminder to people that not everybody compiles their
  kernels with 'options I586_CPU.'
  
  The declaration for pentium_mhz is hidden inside an #ifdef I586_CPU,
  but machdep.c refers to it whether I586_CPU is defined or not. This
  temporary hack puts the offending code inside an #ifdef I586_CPU as
  well so that a kernel without it will successfully compile.
  
  I must emphasize the word 'temporary:' somebody needs to seriously
  beat on the identifycpu() function with an #ifdef stick so that
  I386_CPU, I486_CPU and I586_CPU will do the right things.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199504130455.VAA01434>