Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1754e44e authored by Wang Sheng-Hui's avatar Wang Sheng-Hui Committed by Linus Torvalds
Browse files

include/linux/bootmem.h: cleanup the comment for BOOTMEM_ flags



Use BOOTMEM_DEFAULT instead of 0 in the comment.

Signed-off-by: default avatarWang Sheng-Hui <shhuiw@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent d2ee40ea
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -58,9 +58,9 @@ extern void free_bootmem_late(unsigned long physaddr, unsigned long size);
 * Flags for reserve_bootmem (also if CONFIG_HAVE_ARCH_BOOTMEM_NODE,
 * the architecture-specific code should honor this).
 *
 * If flags is 0, then the return value is always 0 (success). If
 * flags contains BOOTMEM_EXCLUSIVE, then -EBUSY is returned if the
 * memory already was reserved.
 * If flags is BOOTMEM_DEFAULT, then the return value is always 0 (success).
 * If flags contains BOOTMEM_EXCLUSIVE, then -EBUSY is returned if the memory
 * already was reserved.
 */
#define BOOTMEM_DEFAULT		0
#define BOOTMEM_EXCLUSIVE	(1<<0)