]> git.baikalelectronics.ru Git - kernel.git/commit
Doc/memory-hotplug.txt: corrections and callback function prototype
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 21 Feb 2015 23:18:49 +0000 (00:18 +0100)
committerJonathan Corbet <corbet@lwn.net>
Fri, 27 Feb 2015 22:05:08 +0000 (15:05 -0700)
commitfb33f669dd0bf261ec42ac8f5573b283a46ee3d7
tree4b71b69bdc720024bcfecf30c71cfe2992e183c3
parent2c250cb0faca9d249d1cfc3025d9c70f50ab800f
Doc/memory-hotplug.txt: corrections and callback function prototype

Documentation/memory-hotplug.txt describes that a callback function can
be added to the notification chain by calling hotplug_memory_notifier().
The function prototype of the callback function is mssing. This missing
information is added by the patch.

The description of the arguments of the callback function is
reworked.

The constants for the event types are corrected.

The possible return values are explained.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/memory-hotplug.txt