diff options
author | Matthew Wilcox <willy@infradead.org> | 2018-11-05 16:37:15 -0500 |
---|---|---|
committer | Matthew Wilcox <willy@infradead.org> | 2018-11-05 16:38:10 -0500 |
commit | 804dfaf01bcc9daa4298c608ba9018abf616ec48 (patch) | |
tree | 6980e540f3043fb47016c3ff6259caaee44bb689 /include/linux/xarray.h | |
parent | d9c480435add8257f9069941f0e6196647f6d746 (diff) | |
download | linux-stable-804dfaf01bcc9daa4298c608ba9018abf616ec48.tar.gz linux-stable-804dfaf01bcc9daa4298c608ba9018abf616ec48.tar.bz2 linux-stable-804dfaf01bcc9daa4298c608ba9018abf616ec48.zip |
XArray: Fix Documentation
Minor fixes.
Signed-off-by: Matthew Wilcox <willy@infradead.org>
Diffstat (limited to 'include/linux/xarray.h')
-rw-r--r-- | include/linux/xarray.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/xarray.h b/include/linux/xarray.h index 52d9732e4ec4..564892e19f8c 100644 --- a/include/linux/xarray.h +++ b/include/linux/xarray.h @@ -487,7 +487,7 @@ static inline void *xa_store_irq(struct xarray *xa, unsigned long index, * the third argument. The XArray does not need to allocate memory, so * the user does not need to provide GFP flags. * - * Context: Process context. Takes and releases the xa_lock while + * Context: Any context. Takes and releases the xa_lock while * disabling softirqs. * Return: The entry which used to be at this index. */ @@ -622,7 +622,7 @@ static inline int xa_alloc(struct xarray *xa, u32 *id, u32 max, void *entry, * Updates the @id pointer with the index, then stores the entry at that * index. A concurrent lookup will not see an uninitialised @id. * - * Context: Process context. Takes and releases the xa_lock while + * Context: Any context. Takes and releases the xa_lock while * disabling softirqs. May sleep if the @gfp flags permit. * Return: 0 on success, -ENOMEM if memory allocation fails or -ENOSPC if * there is no more space in the XArray. |