lkml.org 
[lkml]   [2010]   [Aug]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 14/24] msm: add hotplug stub functions
    Date
    From: Daniel Walker <dwalker@codeaurora.org>

    We don't actually do anything for hotplug yet. This just lets
    everything compile, even when hotplug is enabled.

    Signed-off-by: Daniel Walker <dwalker@codeaurora.org>
    Signed-off-by: Jeff Ohlstein <johlstei@codeaurora.org>
    ---
    arch/arm/mach-msm/Makefile | 1 +
    arch/arm/mach-msm/hotplug.c | 22 ++++++++++++++++++++++
    2 files changed, 23 insertions(+), 0 deletions(-)
    create mode 100644 arch/arm/mach-msm/hotplug.c

    diff --git a/arch/arm/mach-msm/Makefile b/arch/arm/mach-msm/Makefile
    index ff19e01..8a01f8a 100644
    --- a/arch/arm/mach-msm/Makefile
    +++ b/arch/arm/mach-msm/Makefile
    @@ -21,4 +21,5 @@ obj-y += gpiomux.o
    obj-$(CONFIG_ARCH_MSM7X30) += gpiomux-7x30.o gpiomux-7x00.o
    obj-$(CONFIG_ARCH_QSD8X50) += gpiomux-8x50.o gpiomux-7x00.o
    obj-$(CONFIG_ARCH_MSM8X60) += gpiomux-8x60.o
    +obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o
    obj-$(CONFIG_MACH_MSM8X60_RUMI3) += board-msm8x60.o
    diff --git a/arch/arm/mach-msm/hotplug.c b/arch/arm/mach-msm/hotplug.c
    new file mode 100644
    index 0000000..ba0803a
    --- /dev/null
    +++ b/arch/arm/mach-msm/hotplug.c
    @@ -0,0 +1,22 @@
    +/*
    + * Do nothing for now.
    + */
    +
    +int platform_cpu_kill(unsigned int cpu)
    +{
    + return 0;
    +}
    +
    +void platform_cpu_die(unsigned int cpu)
    +{
    +}
    +
    +int platform_cpu_disable(unsigned int cpu)
    +{
    + return 0;
    +}
    +
    +void local_timer_stop(void)
    +{
    +}
    +
    --
    1.7.2.1
    Sent by an employee of the Qualcomm Innovation Center, Inc.
    The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.


    \
     
     \ /
      Last update: 2010-08-25 07:03    [W:2.981 / U:0.020 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site