Re: [PATCH v2] powerpc: fix compile error on 64K pages on 40x, 44x

2017-10-02 Thread Christian Lamparter
On Saturday, September 30, 2017 10:25:45 AM CEST christophe leroy wrote: > > Le 28/09/2017 à 20:32, Christian Lamparter a écrit : > > The mmu context on the 40x, 44x does not define pte_frag > > entry. This causes gcc abort the compilation due to: > > > > setup-common.c: In function ‘setup_arch’:

Re: [PATCH v2] powerpc: fix compile error on 64K pages on 40x, 44x

2017-09-30 Thread christophe leroy
Le 28/09/2017 à 20:32, Christian Lamparter a écrit : The mmu context on the 40x, 44x does not define pte_frag entry. This causes gcc abort the compilation due to: setup-common.c: In function ‘setup_arch’: setup-common.c:908: error: ‘mm_context_t’ has no ‘pte_frag’ This patch fixes the issue b

[PATCH v2] powerpc: fix compile error on 64K pages on 40x, 44x

2017-09-28 Thread Christian Lamparter
The mmu context on the 40x, 44x does not define pte_frag entry. This causes gcc abort the compilation due to: setup-common.c: In function ‘setup_arch’: setup-common.c:908: error: ‘mm_context_t’ has no ‘pte_frag’ This patch fixes the issue by adding additional guard conditions, that limit the init