linux-next: build failure after merge of the final tree (stagingtree related)

From: Stephen Rothwell
Date: Mon Feb 13 2012 - 01:20:07 EST


Hi ,

After merging the final tree, today's linux-next build (powerpc allyesconfig)
failed like this:

drivers/staging/zsmalloc/zsmalloc-main.c: In function 'zs_cpu_notifier':
drivers/staging/zsmalloc/zsmalloc-main.c:451:3: error: implicit declaration of function 'alloc_vm_area' [-Werror=implicit-function-declaration]
drivers/staging/zsmalloc/zsmalloc-main.c:451:12: warning: assignment makes pointer from integer without a cast [enabled by default]
drivers/staging/zsmalloc/zsmalloc-main.c:459:4: error: implicit declaration of function 'free_vm_area' [-Werror=implicit-function-declaration]
drivers/staging/zsmalloc/zsmalloc-main.c: In function 'zs_map_object':
drivers/staging/zsmalloc/zsmalloc-main.c:705:3: error: implicit declaration of function 'set_pte' [-Werror=implicit-function-declaration]
drivers/staging/zsmalloc/zsmalloc-main.c:709:27: error: dereferencing pointer to incomplete type
drivers/staging/zsmalloc/zsmalloc-main.c: In function 'zs_unmap_object':
drivers/staging/zsmalloc/zsmalloc-main.c:739:3: error: implicit declaration of function '__flush_tlb_one' [-Werror=implicit-function-declaration]

Caused by commit 61989a80fb3a ("staging: zsmalloc: zsmalloc memory
allocation library"). This needs to include linux/vmalloc.h at least. I
couldn't find set_pte at all or __flush_tlb_one for powerpc.

This was too hard to revert, so I have left powerpc allyesconfig broken
for today. I may revert it (and some dependent commits) tomorrow.
--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/

Attachment: pgp00000.pgp
Description: PGP signature