diff for duplicates of <20120417174213.GD3852@pengutronix.de> diff --git a/a/1.txt b/N1/1.txt index 4cec55b..89a8336 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -11,14 +11,14 @@ On Tue, Apr 17, 2012 at 08:54:03AM -0500, Rob Lee wrote: > >> --- a/arch/arm/plat-mxc/Makefile > >> +++ b/arch/arm/plat-mxc/Makefile > >> @@ -16,6 +16,8 @@ obj-$(CONFIG_MXC_ULPI) += ulpi.o -> >> ?obj-$(CONFIG_MXC_USE_EPIT) += epit.o -> >> ?obj-$(CONFIG_MXC_DEBUG_BOARD) += 3ds_debugboard.o -> >> ?obj-$(CONFIG_CPU_FREQ_IMX) ? ?+= cpufreq.o -> >> +obj-$(CONFIG_CPU_IDLE) ? ?+= cpuidle.o +> >> obj-$(CONFIG_MXC_USE_EPIT) += epit.o +> >> obj-$(CONFIG_MXC_DEBUG_BOARD) += 3ds_debugboard.o +> >> obj-$(CONFIG_CPU_FREQ_IMX) += cpufreq.o +> >> +obj-$(CONFIG_CPU_IDLE) += cpuidle.o > >> + -> >> ?ifdef CONFIG_SND_IMX_SOC -> >> ?obj-y += ssi-fiq.o -> >> ?obj-y += ssi-fiq-ksym.o +> >> ifdef CONFIG_SND_IMX_SOC +> >> obj-y += ssi-fiq.o +> >> obj-y += ssi-fiq-ksym.o > >> diff --git a/arch/arm/plat-mxc/cpuidle.c b/arch/arm/plat-mxc/cpuidle.c > >> new file mode 100644 > >> index 0000000..d1c9301 @@ -49,7 +49,7 @@ On Tue, Apr 17, 2012 at 08:54:03AM -0500, Rob Lee wrote: > >> + > >> +void __init imx_cpuidle_set_driver(struct cpuidle_driver *p) > >> +{ -> >> + ? ? drv = p; +> >> + drv = p; > >> +} > > > > You like it complicated, eh? Why do you introduce a function which sets @@ -62,15 +62,15 @@ On Tue, Apr 17, 2012 at 08:54:03AM -0500, Rob Lee wrote: > >> + > >> +void imx_cpuidle_devices_uninit(void) > >> +{ -> >> + ? ? int cpu_id; -> >> + ? ? struct cpuidle_device *dev; +> >> + int cpu_id; +> >> + struct cpuidle_device *dev; > >> + -> >> + ? ? for_each_possible_cpu(cpu_id) { -> >> + ? ? ? ? ? ? dev = per_cpu_ptr(imx_cpuidle_devices, cpu_id); -> >> + ? ? ? ? ? ? cpuidle_unregister_device(dev); -> >> + ? ? } +> >> + for_each_possible_cpu(cpu_id) { +> >> + dev = per_cpu_ptr(imx_cpuidle_devices, cpu_id); +> >> + cpuidle_unregister_device(dev); +> >> + } > >> + -> >> + ? ? free_percpu(imx_cpuidle_devices); +> >> + free_percpu(imx_cpuidle_devices); > >> +} > >> + > >> +static int __init imx_cpuidle_init(void) diff --git a/a/content_digest b/N1/content_digest index da60850..648c36b 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,10 +2,18 @@ "ref\01334620214-25803-2-git-send-email-rob.lee@linaro.org\0" "ref\020120417074301.GM20478@pengutronix.de\0" "ref\0CAMXH7KH41kWMPu_dEpetZc8OUD3C0-mtxGbXX0Vqd4EODPWJUg@mail.gmail.com\0" - "From\0s.hauer@pengutronix.de (Sascha Hauer)\0" - "Subject\0[PATCH 1/3] ARM: imx: Add common imx cpuidle init functionality.\0" + "From\0Sascha Hauer <s.hauer@pengutronix.de>\0" + "Subject\0Re: [PATCH 1/3] ARM: imx: Add common imx cpuidle init functionality.\0" "Date\0Tue, 17 Apr 2012 19:42:13 +0200\0" - "To\0linux-arm-kernel@lists.infradead.org\0" + "To\0Rob Lee <rob.lee@linaro.org>\0" + "Cc\0kernel@pengutronix.de" + linaro-dev@lists.linaro.org + patches@linaro.org + daniel.lezcano@linaro.org + linux-kernel@vger.kernel.org + amit.kucheria@linaro.org + shawn.guo@linaro.org + " linux-arm-kernel@lists.infradead.org\0" "\00:1\0" "b\0" "On Tue, Apr 17, 2012 at 08:54:03AM -0500, Rob Lee wrote:\n" @@ -21,14 +29,14 @@ "> >> --- a/arch/arm/plat-mxc/Makefile\n" "> >> +++ b/arch/arm/plat-mxc/Makefile\n" "> >> @@ -16,6 +16,8 @@ obj-$(CONFIG_MXC_ULPI) += ulpi.o\n" - "> >> ?obj-$(CONFIG_MXC_USE_EPIT) += epit.o\n" - "> >> ?obj-$(CONFIG_MXC_DEBUG_BOARD) += 3ds_debugboard.o\n" - "> >> ?obj-$(CONFIG_CPU_FREQ_IMX) ? ?+= cpufreq.o\n" - "> >> +obj-$(CONFIG_CPU_IDLE) ? ?+= cpuidle.o\n" + "> >> \302\240obj-$(CONFIG_MXC_USE_EPIT) += epit.o\n" + "> >> \302\240obj-$(CONFIG_MXC_DEBUG_BOARD) += 3ds_debugboard.o\n" + "> >> \302\240obj-$(CONFIG_CPU_FREQ_IMX) \302\240 \302\240+= cpufreq.o\n" + "> >> +obj-$(CONFIG_CPU_IDLE) \302\240 \302\240+= cpuidle.o\n" "> >> +\n" - "> >> ?ifdef CONFIG_SND_IMX_SOC\n" - "> >> ?obj-y += ssi-fiq.o\n" - "> >> ?obj-y += ssi-fiq-ksym.o\n" + "> >> \302\240ifdef CONFIG_SND_IMX_SOC\n" + "> >> \302\240obj-y += ssi-fiq.o\n" + "> >> \302\240obj-y += ssi-fiq-ksym.o\n" "> >> diff --git a/arch/arm/plat-mxc/cpuidle.c b/arch/arm/plat-mxc/cpuidle.c\n" "> >> new file mode 100644\n" "> >> index 0000000..d1c9301\n" @@ -59,7 +67,7 @@ "> >> +\n" "> >> +void __init imx_cpuidle_set_driver(struct cpuidle_driver *p)\n" "> >> +{\n" - "> >> + ? ? drv = p;\n" + "> >> + \302\240 \302\240 drv = p;\n" "> >> +}\n" "> >\n" "> > You like it complicated, eh? Why do you introduce a function which sets\n" @@ -72,15 +80,15 @@ "> >> +\n" "> >> +void imx_cpuidle_devices_uninit(void)\n" "> >> +{\n" - "> >> + ? ? int cpu_id;\n" - "> >> + ? ? struct cpuidle_device *dev;\n" + "> >> + \302\240 \302\240 int cpu_id;\n" + "> >> + \302\240 \302\240 struct cpuidle_device *dev;\n" "> >> +\n" - "> >> + ? ? for_each_possible_cpu(cpu_id) {\n" - "> >> + ? ? ? ? ? ? dev = per_cpu_ptr(imx_cpuidle_devices, cpu_id);\n" - "> >> + ? ? ? ? ? ? cpuidle_unregister_device(dev);\n" - "> >> + ? ? }\n" + "> >> + \302\240 \302\240 for_each_possible_cpu(cpu_id) {\n" + "> >> + \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 dev = per_cpu_ptr(imx_cpuidle_devices, cpu_id);\n" + "> >> + \302\240 \302\240 \302\240 \302\240 \302\240 \302\240 cpuidle_unregister_device(dev);\n" + "> >> + \302\240 \302\240 }\n" "> >> +\n" - "> >> + ? ? free_percpu(imx_cpuidle_devices);\n" + "> >> + \302\240 \302\240 free_percpu(imx_cpuidle_devices);\n" "> >> +}\n" "> >> +\n" "> >> +static int __init imx_cpuidle_init(void)\n" @@ -113,4 +121,4 @@ "Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |\n" Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -1a46f03199369766208fcea74f8c456a1c71538b0c2e10bfed1a121187085b37 +9ea6bfb2da70ffcc7a64afdf057728d82deee892f0d421eb778b4f53dd35487d
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.