From 320273c7d4c3b0c69252036a2a6cbd5a63e01537 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Mon, 16 Aug 1999 16:01:34 +0000 Subject: *** empty log message *** --- rc.d/rc.sysinit | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'rc.d/rc.sysinit') diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index eaa65c98..c88b75c6 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -423,16 +423,18 @@ fi # Generate a header that defines the boot kernel. if uname -r | grep -q smp ; then - KVER="#define __BOOT_KERNEL_SMP" + KVER="1" else - KVER= + KVER="0" fi cat > /boot/kernel.h << EOF /* This file is automatically generated at boot time. */ #ifndef __KERNEL_VERSION_H_ #define __KERNEL_VERSION_H_ -$KVER +#ifndef __BOOT_KERNEL_SMP +#define __BOOT_KERNEL_SMP $KVER +#endif #endif EOF -- cgit v1.2.1