]> git.baikalelectronics.ru Git - kernel.git/commit
x86, mm: Create symbolic index into address_markers array
authorAndres Salomon <dilinger@queued.net>
Tue, 20 Jul 2010 22:19:46 +0000 (15:19 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Tue, 20 Jul 2010 23:56:19 +0000 (16:56 -0700)
commitb350a9e754f85d2968fb2f99cdadbe78f18e5639
treeec048dcc4d557118cf125630c94eee84b7cdc564
parente2313a38d105f9a0d814f54f2b798e28e636364a
x86, mm: Create symbolic index into address_markers array

Without this, adding entries into the address_markers array means adding
more and more of an #ifdef maze in pt_dump_init().  By using indices, we
can keep it a bit saner.

Signed-off-by: Andres Salomon <dilinger@queued.net>
LKML-Reference: <201007202219.o6KMJkUs021052@imap1.linux-foundation.org>
Cc: Jordan Crouse <jordan.crouse@amd.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/mm/dump_pagetables.c