From owner-freebsd-commit Wed Apr 12 21:55:44 1995 Return-Path: commit-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id VAA01457 for commit-outgoing; Wed, 12 Apr 1995 21:55:44 -0700 Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id VAA01444 for cvs-sys-outgoing; Wed, 12 Apr 1995 21:55:42 -0700 Received: (from wpaul@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id VAA01434 ; Wed, 12 Apr 1995 21:55:36 -0700 Date: Wed, 12 Apr 1995 21:55:36 -0700 From: Bill Paul Message-Id: <199504130455.VAA01434@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/i386/i386 machdep.c Sender: commit-owner@FreeBSD.org Precedence: bulk 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.