]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
x86 boot: simplify pageblock_bits enum declaration
authorPaul Jackson <pj@sgi.com>
Wed, 14 May 2008 15:15:23 +0000 (08:15 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 25 May 2008 08:55:11 +0000 (10:55 +0200)
commitc801ed3860fe2f84281d4cae4c3e6ca87e81e890
tree959f561835bd686cc7b8e711bd8d32edb8aa0e48
parentcb5dd7c104c64d7ba8ff4dd3eec3d9b92c378937
x86 boot: simplify pageblock_bits enum declaration

The use of #defines with '##' pre-processor concatenation is a useful
way to form several symbol names with a common pattern.  But when there
is just a single name obtained from that #define, it's just obfuscation.
Better to just write the plain symbol name, as is.

The following patch is a result of my wasting ten minutes looking through
the kernel to figure out what 'PB_migrate_end' meant, and forgetting what
I came to do, by the time I figured out that the #define PB_range macro
defined it.

Signed-off-by: Paul Jackson <pj@sgi.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/pageblock-flags.h