mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-09 14:50:19 +00:00
staging/zsmalloc: Fixed up incorrect formatted comments
The existing comments are using an odd style. Fixed them up to adhere to the StyleGuide. No code changes. Signed-off-by: Sara Bird <sara.bird.iar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
0e1e9b44ab
commit
396b7fd6f9
@ -224,7 +224,7 @@ struct zs_pool {
|
||||
* performs VM mapping faster than copying, then it should be added here
|
||||
* so that USE_PGTABLE_MAPPING is defined. This causes zsmalloc to use
|
||||
* page table mapping rather than copying for object mapping.
|
||||
*/
|
||||
*/
|
||||
#if defined(CONFIG_ARM) && !defined(MODULE)
|
||||
#define USE_PGTABLE_MAPPING
|
||||
#endif
|
||||
@ -967,7 +967,7 @@ EXPORT_SYMBOL_GPL(zs_free);
|
||||
* against nested mappings.
|
||||
*
|
||||
* This function returns with preemption and page faults disabled.
|
||||
*/
|
||||
*/
|
||||
void *zs_map_object(struct zs_pool *pool, unsigned long handle,
|
||||
enum zs_mapmode mm)
|
||||
{
|
||||
|
@ -19,7 +19,7 @@
|
||||
* zsmalloc mapping modes
|
||||
*
|
||||
* NOTE: These only make a difference when a mapped object spans pages
|
||||
*/
|
||||
*/
|
||||
enum zs_mapmode {
|
||||
ZS_MM_RW, /* normal read-write mapping */
|
||||
ZS_MM_RO, /* read-only (no copy-out at unmap time) */
|
||||
|
Loading…
x
Reference in New Issue
Block a user