Bug 20677 - smp_num_cpus undefined
Summary: smp_num_cpus undefined
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: kernel
Version: 7.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Michael K. Johnson
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-11-11 16:24 UTC by Todd Krein
Modified: 2007-04-18 16:29 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2000-11-11 16:24:21 UTC
Embargoed:


Attachments (Terms of Use)

Description Todd Krein 2000-11-11 16:24:18 UTC
In a stock 7.0 kernel, I do:

make oldconfig
make dep
make bzImage


I get errors that smp_num_cpus is redefined and ultimately undefined in 
ksym.c, amongst others.

Fix is to change include/linux/modules/i386_ksym.ver

#define smp_num_cpus _set_ver(smp_num_cpus)

to

#ifndef smp_num_cpus
#define smp_num_cpus _set_ver(smp_num_cpus)
#endif

Comment 1 Bill Nottingham 2000-11-13 07:20:23 UTC
You need to run 'make mrproper' before rebuilding.


Note You need to log in before you can comment on or make changes to this bug.