[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] sparse: link to i386 topology.o



* Ryan Harper <ryanh@xxxxxxxxxx> [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@xxxxxxxxxx

diffstat output:
 Makefile |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

Signed-off-by: Ryan Harper <ryanh@xxxxxxxxxx>
---
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

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.