X-Git-Url: http://git.monstr.eu/?p=linux-2.6-microblaze.git;a=blobdiff_plain;f=Documentation%2Fcore-api%2Fcpu_hotplug.rst;h=b66e3cae14727cc16742e33ad198a1b3c21b30ea;hp=0c872cbea7d56cc57e84dd013ded76423a85bd99;hb=d6742212c0c6ccee2351499db80acba71fa36052;hpb=f8c6a07c25ce7ff99f6d7e19352e495af6af1d69 diff --git a/Documentation/core-api/cpu_hotplug.rst b/Documentation/core-api/cpu_hotplug.rst index 0c872cbea7d5..b66e3cae1472 100644 --- a/Documentation/core-api/cpu_hotplug.rst +++ b/Documentation/core-api/cpu_hotplug.rst @@ -226,7 +226,7 @@ goes online (offline) and during initial setup (shutdown) of the driver. However each registration and removal function is also available with a ``_nocalls`` suffix which does not invoke the provided callbacks if the invocation of the callbacks is not desired. During the manual setup (or teardown) the functions -``get_online_cpus()`` and ``put_online_cpus()`` should be used to inhibit CPU +``cpus_read_lock()`` and ``cpus_read_unlock()`` should be used to inhibit CPU hotplug operations.