From: Stephen Rothwell <hidden> Date: 2016-01-07 08:16:16
Hi all,
After merging the powerpc tree, today's linux-next build (powerpc64
allnoconfig) failed like this:
arch/powerpc/mm/hash_utils_64.c: In function 'get_paca_psize':
arch/powerpc/mm/hash_utils_64.c:869:19: error: 'struct paca_struct' has no member named 'context'
return get_paca()->context.user_psize;
^
arch/powerpc/mm/hash_utils_64.c:870:1: error: control reaches end of non-void function [-Werror=return-type]
}
^
Caused by commit
2fc251a8dda5 ("powerpc: Copy only required pieces of the mm_context_t to the paca")
This build has CONFIG_PPC_MM_SLICES not set ...
I have applied the following patch for today:
From: Stephen Rothwell <redacted>
Date: Thu, 7 Jan 2016 19:07:18 +1100
Subject: [PATCH] powerpc: restore the user_psize member of the mm_context_t in
the paca
It is used when CONFIG_PPC_MM_SLICES is not set.
Fixes: 2fc251a8dda5 ("powerpc: Copy only required pieces of the mm_context_t to the paca")
Signed-off-by: Stephen Rothwell <redacted>
---
arch/powerpc/include/asm/paca.h | 2 ++
arch/powerpc/mm/hash_utils_64.c | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
@@ -866,7 +866,7 @@ static unsigned int get_paca_psize(unsigned long addr)#elseunsignedintget_paca_psize(unsignedlongaddr){-returnget_paca()->context.user_psize;+returnget_paca()->mm_ctx_user_psize;}#endif
--
2.6.4
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
From: Michael Ellerman <mpe@ellerman.id.au> Date: 2016-01-07 10:31:00
On Thu, 2016-01-07 at 19:16 +1100, Stephen Rothwell wrote:
Hi all,
After merging the powerpc tree, today's linux-next build (powerpc64
allnoconfig) failed like this:
arch/powerpc/mm/hash_utils_64.c: In function 'get_paca_psize':
arch/powerpc/mm/hash_utils_64.c:869:19: error: 'struct paca_struct' has no member named 'context'
return get_paca()->context.user_psize;
^
arch/powerpc/mm/hash_utils_64.c:870:1: error: control reaches end of non-void function [-Werror=return-type]
}
^
Caused by commit
2fc251a8dda5 ("powerpc: Copy only required pieces of the mm_context_t to the paca")
Well that's rather embarrassing, for Mikey ;D
This build has CONFIG_PPC_MM_SLICES not set ...
Ugh, but it would seem none of our defconfigs do :/
I have applied the following patch for today:
Thanks.
I'll merge it or something similar once I get a chance to test it.
cheers
From: Michael Ellerman <mpe@ellerman.id.au> Date: 2016-01-12 12:32:52
On Thu, 2016-07-01 at 08:16:13 UTC, Stephen Rothwell wrote:
Hi all,
After merging the powerpc tree, today's linux-next build (powerpc64
allnoconfig) failed like this:
arch/powerpc/mm/hash_utils_64.c: In function 'get_paca_psize':
arch/powerpc/mm/hash_utils_64.c:869:19: error: 'struct paca_struct' has no member named 'context'
return get_paca()->context.user_psize;
^
arch/powerpc/mm/hash_utils_64.c:870:1: error: control reaches end of non-void function [-Werror=return-type]
}
^
Caused by commit
2fc251a8dda5 ("powerpc: Copy only required pieces of the mm_context_t to the paca")
This build has CONFIG_PPC_MM_SLICES not set ...
I have applied the following patch for today:
From: Stephen Rothwell <redacted>
Date: Thu, 7 Jan 2016 19:07:18 +1100
Subject: [PATCH] powerpc: restore the user_psize member of the mm_context_t in
the paca
It is used when CONFIG_PPC_MM_SLICES is not set.
Fixes: 2fc251a8dda5 ("powerpc: Copy only required pieces of the mm_context_t to the paca")
Signed-off-by: Stephen Rothwell <redacted>
On Thu, 2016-01-07 at 19:16 +1100, Stephen Rothwell wrote:
quoted
Hi all,
After merging the powerpc tree, today's linux-next build (powerpc64
allnoconfig) failed like this:
arch/powerpc/mm/hash_utils_64.c: In function 'get_paca_psize':
arch/powerpc/mm/hash_utils_64.c:869:19: error: 'struct paca_struct' has no member named 'context'
return get_paca()->context.user_psize;
^
arch/powerpc/mm/hash_utils_64.c:870:1: error: control reaches end of non-void function [-Werror=return-type]
}
^
Caused by commit
2fc251a8dda5 ("powerpc: Copy only required pieces of the mm_context_t to the paca")
Well that's rather embarrassing, for Mikey ;D
quoted
This build has CONFIG_PPC_MM_SLICES not set ...
Ugh, but it would seem none of our defconfigs do :/
4K page size with hugetlb disabled will get that
-aneesh
From: Michael Ellerman <mpe@ellerman.id.au> Date: 2016-01-13 07:44:43
On Wed, 2016-01-13 at 11:16 +0530, Aneesh Kumar K.V wrote:
Michael Ellerman [off-list ref] writes:
quoted
On Thu, 2016-01-07 at 19:16 +1100, Stephen Rothwell wrote:
quoted
After merging the powerpc tree, today's linux-next build (powerpc64
allnoconfig) failed like this:
arch/powerpc/mm/hash_utils_64.c: In function 'get_paca_psize':
arch/powerpc/mm/hash_utils_64.c:869:19: error: 'struct paca_struct' has no member named 'context'
return get_paca()->context.user_psize;
^
arch/powerpc/mm/hash_utils_64.c:870:1: error: control reaches end of non-void function [-Werror=return-type]
}
^
Caused by commit
2fc251a8dda5 ("powerpc: Copy only required pieces of the mm_context_t to the paca")
Well that's rather embarrassing, for Mikey ;D
quoted
quoted
This build has CONFIG_PPC_MM_SLICES not set ...
Ugh, but it would seem none of our defconfigs do :/