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)
commit433b89cfb40f6bb6e6b6c899d06e40dd4f2ed100
tree4b71b69bdc720024bcfecf30c71cfe2992e183c3
parent09677e0ff8a115162cfa763b7ad2d753f11fce9f
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