Messages in this thread | | | Date | Tue, 24 Aug 2010 12:07:14 +1000 | From | Stephen Rothwell <> | Subject | linux-next: build failure after merge of the final tree (slab tree related) |
| |
Hi all,
After merging the final tree, today's linux-next build (powerpc allnoconfig) failed like this:
mm/slub.c: In function 'alloc_kmem_cache_cpus': mm/slub.c:2094: error: 'PERCPU_DYNAMIC_EARLY_SIZE' undeclared (first use in this function) mm/slub.c:2094: error: (Each undeclared identifier is reported only once mm/slub.c:2094: error: for each function it appears in.) mm/slub.c:2094: error: bit-field '<anonymous>' width not an integer constant
Caused by commit e18d65f0500b95d8724b17d8ea9f1116cf390bbe ("slub: Remove static kmem_cache_cpu array for boot"). PERCPU_DYNAMIC_EARLY_SIZE is only defined for SMP (and only in linux/percpu.h which is not explicitly included). This build does not have CONFIG_SMP set.
I have used the version of the slab tree from next-20100823 for today. -- Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/ [unhandled content-type:application/pgp-signature] | |