summaryrefslogtreecommitdiffstats
path: root/include/asm-x86/fixmap_64.h
diff options
context:
space:
mode:
authorYinghai Lu <yhlu.kernel@gmail.com>2008-09-14 02:33:12 -0700
committerIngo Molnar <mingo@elte.hu>2008-10-13 10:34:23 +0200
commitc1a2f4b10852ce68e70f7e4c53600c36cc63ea45 (patch)
tree5d3d86a73735d0b5cb3309175d4678b8a18f515c /include/asm-x86/fixmap_64.h
parent79aa10dd9fb0f896ce358314fdba20606c038864 (diff)
downloadop-kernel-dev-c1a2f4b10852ce68e70f7e4c53600c36cc63ea45.zip
op-kernel-dev-c1a2f4b10852ce68e70f7e4c53600c36cc63ea45.tar.gz
x86: change early_ioremap to use slots instead of nesting
so we could remove the requirement that one needs to call early_iounmap() in exactly reverse order of early_ioremap(). Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86/fixmap_64.h')
-rw-r--r--include/asm-x86/fixmap_64.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-x86/fixmap_64.h b/include/asm-x86/fixmap_64.h
index 33df64f..dab4751 100644
--- a/include/asm-x86/fixmap_64.h
+++ b/include/asm-x86/fixmap_64.h
@@ -65,10 +65,10 @@ enum fixed_addresses {
* can have a single pgd entry and a single pte table:
*/
#define NR_FIX_BTMAPS 64
-#define FIX_BTMAPS_NESTING 4
+#define FIX_BTMAPS_SLOTS 4
FIX_BTMAP_END = __end_of_permanent_fixed_addresses + 256 -
(__end_of_permanent_fixed_addresses & 255),
- FIX_BTMAP_BEGIN = FIX_BTMAP_END + NR_FIX_BTMAPS*FIX_BTMAPS_NESTING - 1,
+ FIX_BTMAP_BEGIN = FIX_BTMAP_END + NR_FIX_BTMAPS*FIX_BTMAPS_SLOTS - 1,
__end_of_fixed_addresses
};
OpenPOWER on IntegriCloud