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.

Change-Id: I24a720787c00a79883cb268ebf1257b525655f7d
Signed-off-by: Sara Bird <sara.bird.iar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Git-commit: 396b7fd6f9668c04f20ee6daca3054f5c5ec1056
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
This commit is contained in:
Sara Bird 2013-05-20 15:18:14 -04:00 committed by Olav Haugan
parent df1df8fd05
commit 27671df771
2 changed files with 3 additions and 3 deletions

View file

@ -224,7 +224,7 @@ struct zs_pool {
* performs VM mapping faster than copying, then it should be added here * performs VM mapping faster than copying, then it should be added here
* so that USE_PGTABLE_MAPPING is defined. This causes zsmalloc to use * so that USE_PGTABLE_MAPPING is defined. This causes zsmalloc to use
* page table mapping rather than copying for object mapping. * page table mapping rather than copying for object mapping.
*/ */
#if defined(CONFIG_ARM) && !defined(MODULE) #if defined(CONFIG_ARM) && !defined(MODULE)
#define USE_PGTABLE_MAPPING #define USE_PGTABLE_MAPPING
#endif #endif
@ -967,7 +967,7 @@ EXPORT_SYMBOL_GPL(zs_free);
* against nested mappings. * against nested mappings.
* *
* This function returns with preemption and page faults disabled. * This function returns with preemption and page faults disabled.
*/ */
void *zs_map_object(struct zs_pool *pool, unsigned long handle, void *zs_map_object(struct zs_pool *pool, unsigned long handle,
enum zs_mapmode mm) enum zs_mapmode mm)
{ {

View file

@ -19,7 +19,7 @@
* zsmalloc mapping modes * zsmalloc mapping modes
* *
* NOTE: These only make a difference when a mapped object spans pages * NOTE: These only make a difference when a mapped object spans pages
*/ */
enum zs_mapmode { enum zs_mapmode {
ZS_MM_RW, /* normal read-write mapping */ ZS_MM_RW, /* normal read-write mapping */
ZS_MM_RO, /* read-only (no copy-out at unmap time) */ ZS_MM_RO, /* read-only (no copy-out at unmap time) */