WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Attempt to apply xen-patches-2.6.34-4.tar.bz2 to 2.6.34.

To: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Subject: Re: [Xen-users] Attempt to apply xen-patches-2.6.34-4.tar.bz2 to 2.6.34.7 vanilla
From: listmail <listmail@xxxxxxxxxxxx>
Date: Sun, 10 Oct 2010 13:37:54 -0400
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 10 Oct 2010 10:39:15 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <856461.78310.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <856461.78310.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4
On 10/10/2010 12:59 PM, Boris Derzhavets wrote:
> Does it compile as is with CONFIG_HOTPLUG_CPU=n ?

Not exactly.  To set  CONFIG_HOTPLUG_CPU=n  I had to do 
( not sure steps are really required ) :-

1) kernel/power/Kconfig.
Step 1
config PM_SLEEP_SMP
        bool
        depends on SMP
        depends on ARCH_SUSPEND_POSSIBLE || ARCH_HIBERNATION_POSSIBLE
        depends on PM_SLEEP
#       select HOTPLUG_CPU
        default y

2) arch/x86/Kconfig
Step 2
config HOTPLUG_CPU
#       bool "Support for hot-pluggable CPUs"
        def_bool n
#       depends on SMP && HOTPLUG
        ---help---
          Say Y here to allow turning CPUs off and on. CPUs can be
          controlled through /sys/devices/system/cpu.
          ( Note: power management support will enable this option
            automatically on SMP systems. )
          Say N if you want to disable CPU hotplug.



those functions (undefined references) are defined here http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.34.y.git;a=blob_plain;f=arch/x86/kernel/smpboot.c;hb=f42346985c7721798c577606cb4d0f719940d33e

I wonder if this file is not getting used because of some other setting is not set or perhaps its because arch is xen and there are no such file smpboot.c in arch / x86 / xen ?

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