[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4880A9D0.3060300@goop.org>
Date: Fri, 18 Jul 2008 07:33:52 -0700
From: Jeremy Fitzhardinge <jeremy@...p.org>
To: Dhaval Giani <dhaval@...ux.vnet.ibm.com>
CC: Ingo Molnar <mingo@...e.hu>, Thomas Gleixner <tglx@...utronix.de>,
lkml <linux-kernel@...r.kernel.org>,
"H. Peter Anvin" <hpa@...or.com>
Subject: Re: Current git fails to compile
Dhaval Giani wrote:
> This patch also pulls the pmd preallocation and mop-up functions out
> to be common, assuming that the compiler will generate no code for
> them when PREALLOCTED_PMDS is 0.
Well, there's nothing particularly special in that code. The only
slightly complex requirement on the compiler is that it notice that a
0-iteration for loop is a do-nothing, and that it eliminate the code.
And that's not really a requirement, it's just nice to have.
The fact that your compiler is warning about an unused variable in an
unused function suggests that it isn't doing this (I'm assuming your
config has CONFIG_X86_PAE=n). But there are no inline asms or other
things which traditionally cause compilers to fall over.
So, I'm not really sure what to do about this. Any chance of using a
newer compiler?
J
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists