|
@@ -332,9 +332,10 @@ void __vunmap(void *addr, int deallocate_pages)
|
|
* @addr: memory base address
|
|
* @addr: memory base address
|
|
*
|
|
*
|
|
* Free the virtually contiguous memory area starting at @addr, as
|
|
* Free the virtually contiguous memory area starting at @addr, as
|
|
- * obtained from vmalloc(), vmalloc_32() or __vmalloc().
|
|
|
|
|
|
+ * obtained from vmalloc(), vmalloc_32() or __vmalloc(). If @addr is
|
|
|
|
+ * NULL, no operation is performed.
|
|
*
|
|
*
|
|
- * May not be called in interrupt context.
|
|
|
|
|
|
+ * Must not be called in interrupt context.
|
|
*/
|
|
*/
|
|
void vfree(void *addr)
|
|
void vfree(void *addr)
|
|
{
|
|
{
|
|
@@ -352,7 +353,7 @@ EXPORT_SYMBOL(vfree);
|
|
* Free the virtually contiguous memory area starting at @addr,
|
|
* Free the virtually contiguous memory area starting at @addr,
|
|
* which was created from the page array passed to vmap().
|
|
* which was created from the page array passed to vmap().
|
|
*
|
|
*
|
|
- * May not be called in interrupt context.
|
|
|
|
|
|
+ * Must not be called in interrupt context.
|
|
*/
|
|
*/
|
|
void vunmap(void *addr)
|
|
void vunmap(void *addr)
|
|
{
|
|
{
|