X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=arch%2Fi386%2Fmm%2Finit.c;h=567ec7c490971f4c3d15c366967849e3e5280009;hb=c7b5ebbddf7bcd3651947760f423e3783bbe6573;hp=a8bd0544ab2c93f20eb8f28dcb46f128f719f2a8;hpb=a2c21200f1c81b08cb55e417b68150bba439b646;p=linux-2.6.git diff --git a/arch/i386/mm/init.c b/arch/i386/mm/init.c index a8bd0544a..567ec7c49 100644 --- a/arch/i386/mm/init.c +++ b/arch/i386/mm/init.c @@ -40,10 +40,12 @@ #include #include +unsigned int __VMALLOC_RESERVE = 128 << 20; + DEFINE_PER_CPU(struct mmu_gather, mmu_gathers); unsigned long highstart_pfn, highend_pfn; -static int do_test_wp_bit(void); +static int noinline do_test_wp_bit(void); /* * Creates a middle page table and puts a pointer to it in the @@ -671,7 +673,7 @@ void __init pgtable_cache_init(void) * This function cannot be __init, since exceptions don't work in that * section. Put this after the callers, so that it cannot be inlined. */ -static int do_test_wp_bit(void) +static int noinline do_test_wp_bit(void) { char tmp_reg; int flag;