]> bbs.cooldavid.org Git - net-next-2.6.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)
commit92851e2fca48f1893f899963c13b55b61ac6956c
treeec048dcc4d557118cf125630c94eee84b7cdc564
parent35be1b716a475717611b2dc04185e9d80b9cb693
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