slub: don't export static kmem_cache_open
Subsystems (2)
PATCH 1/1 slub: don't export static kmem_cache_open
kmem_cache_open is static so shouldn't be exported.
--- mm/slub.c | 1 - 1 file changed, 1 deletion(-)
mm/slub.c +0 -1
@@ -2016,7 +2016,6 @@ error: s->offset, flags);return 0 ; } -EXPORT_SYMBOL (kmem_cache_open);/* * Check if a given pointer is valid
Quoted 3 lines · Johannes Berg
kmem_cache_openis static so shouldn't be exported.Signed-off-by Johannes Berg <[email protected]>
I already fixed that. Patch is in Andrew's tree.
Quoted 7 lines · Christoph Lameter
Quoted 3 lines · Johannes Berg
kmem_cache_openis static so shouldn't be exported.Signed-off-by Johannes Berg <[email protected]>I already fixed that. Patch is in Andrew's tree.
Oh good. I actually got build problems from that due to a powerpc64 gcc bug so... :)
johannes
Quoted 4 lines · Johannes Berg
Quoted 1 line
I already fixed that. Patch is in Andrew's tree.
Oh good. I actually got build problems from that due to a powerpc64 gcc bug so... :)
Well in that case we may have to push the patch into 2.6.22 or stable.
Quoted 8 lines · Christoph Lameter
Quoted 4 lines · Johannes Berg
Quoted 1 line
I already fixed that. Patch is in Andrew's tree.
Oh good. I actually got build problems from that due to a powerpc64 gcc bug so... :)
Well in that case we may have to push the patch into 2.6.22 or stable.
Dunno. I had three such errors and have sent patches for all of them, DaveM just accepted one, Paulus hasn't said anything yet and this was the third. Olaf said the GCC PR is http://gcc.gnu.org/PR31490 and it seems to fit.
johannes
Quoted 5 lines · Johannes Berg
Quoted 4 lines · Christoph Lameter
Quoted 2 lines · Johannes Berg
kmem_cache_openis static so shouldn't be exported.
Quoted 10 lines
Quoted 3 lines
Quoted 1 line
Signed-off-by Johannes Berg <[email protected]>I already fixed that. Patch is in Andrew's tree.
Oh good. I actually got build problems from that due to a powerpc64 gcc bug so... :)
johannes
this also looks to solve booting issue on a g4 mac mini also
Quoted 6 lines · Bret Towe
Quoted 2 lines · Johannes Berg
Oh good. I actually got build problems from that due to a powerpc64 gcc bug so... :)
this also looks to solve booting issue on a g4 mac mini also
Huh? That doesn't really make sense, but who knows what else that gcc problem caused.
johannes
Quoted 6 lines · Johannes Berg
Quoted 4 lines · Bret Towe
Quoted 2 lines · Johannes Berg
Oh good. I actually got build problems from that due to a powerpc64 gcc bug so... :)
Quoted 8 lines
Quoted 1 line
this also looks to solve booting issue on a g4 mac mini also
Huh? That doesn't really make sense, but who knows what else that gcc problem caused.
johannes
if you want I can revert the patch and make sure thats what caused it as when i applied this i also updated from cfs v18 to v19 but v18 was working fine before on rc7 i only updated to current -git
way I saw it was
-rc7-cfs-v18 working
-rc7-git-cfs-v18 broken booting with slub -rc7-git-cfs-v19 working with slub with this patch