From: Ryan Harper Subject: [PATCH] sparse: link to i386 topology.o Date: Tue, 23 Aug 2005 11:15:27 -0500 Message-ID: <20050823161526.GL5523@us.ibm.com> References: <20050823145957.GK5523@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20050823145957.GK5523@us.ibm.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org * Ryan Harper [2005-08-23 10:01]: > Anyone running X86_64 DOM0 with CONFIG_SMP=y want to confirm whether > they have entries in sysfs for cpus? > > run: > > ls /sys/devices/system/cpu/ > > On my two-way Opteron running x86_32, I get: > > (bebop) ~ % ls /sys/devices/system/cpu/ > cpu0/ cpu1/ > > When I boot x86_64 SMP I get nothing in there. The arch_{register/unregister}_cpu() routines are in i386 topology code which x86_64 normally includes. The obj-y rule was commented out in x86_64/kernel/Makefile, maybe on purpose. With the attached patch, values are populated in sysfs correctly. -- Ryan Harper Software Engineer; Linux Technology Center IBM Corp., Austin, Tx (512) 838-9253 T/L: 678-9253 ryanh@us.ibm.com diffstat output: Makefile | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Signed-off-by: Ryan Harper --- diff -r 188c782fa9bb linux-2.6-xen-sparse/arch/xen/x86_64/kernel/Makefile --- a/linux-2.6-xen-sparse/arch/xen/x86_64/kernel/Makefile Fri Aug 19 13:05:31 2005 +++ b/linux-2.6-xen-sparse/arch/xen/x86_64/kernel/Makefile Tue Aug 23 11:10:59 2005 @@ -44,7 +44,7 @@ c-obj-$(CONFIG_MODULES) += module.o -#obj-y += topology.o +obj-y += topology.o c-obj-y += intel_cacheinfo.o bootflag-y += ../../../i386/kernel/bootflag.o