[PATCH 5/6 v2] kvm: powerpc: booke: Add linux pte lookup like booke3s
Benjamin Herrenschmidt
benh at kernel.crashing.org
Sat Aug 3 14:24:07 EST 2013
On Sat, 2013-08-03 at 02:58 +0000, Bhushan Bharat-R65777 wrote:
> One of the problem I saw was that if I put this code in
> asm/pgtable-32.h and asm/pgtable-64.h then pte_persent() and other
> friend function (on which this code depends) are defined in pgtable.h.
> And pgtable.h includes asm/pgtable-32.h and asm/pgtable-64.h before it
> defines pte_present() and friends functions.
>
> Ok I move wove this in asm/pgtable*.h, initially I fought with myself
> to take this code in pgtable* but finally end up doing here (got
> biased by book3s :)).
Is there a reason why these routines can not be completely generic
in pgtable.h ?
Ben.
More information about the Linuxppc-dev
mailing list