Messages in this thread | | | Date | Wed, 15 Jan 2014 15:33:28 -0800 | From | Andrew Morton <> | Subject | Re: [PATCH] Documentation / CPU hotplug: Fix the typo in example code |
| |
On Wed, 15 Jan 2014 14:10:26 +0900 Sangjung Woo <sangjung.woo@samsung.com> wrote:
> As the notifier_block name (i.e. foobar_cpu_notifer) is different from > the parameter (i.e.foobar_cpu_notifier) of register function, that is > definitely error and it also makes readers confused. >
btw, that document doesn't mention hotcpu_notifier(), which is actually the preferred means of registration. Because it causes all the hotplug code to be elided when CONFIG_HOTPLUG_CPU=n, without using ifdefs.
| |