Thread (27 messages) 27 messages, 5 authors, 2013-08-07

Re: [PATCH 5/6 v2] kvm: powerpc: booke: Add linux pte lookup like booke3s

flat view

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2013-08-03 04:24:22
Also in: kvm

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help