Skip to contentSkip to conversation

linux-next: build failure after merge of the akpm-current tree

DISCUSSION Stephen Rothwell 1 participant 2 messages Jan 13, 2016 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi Andrew,

After merging the akpm-current tree, today's linux-next build (arm multi_v7_defconfig) failed like this:

mm/vmalloc.c: In function '__vunmap':
mm/vmalloc.c:1482:21: error: 'VM_VPAGES' undeclared (first use in this function)
if (area->flags & VM_VPAGES)

                     ^

Caused by commit

7ab2843f2735 ("mm, vmalloc: remove VM_VPAGES")

Yesterday, there was a previous commit (which seems to have been removed)

"tree wide: use kvfree() than conditional kfree()/vfree()"

that removed this use of the VM_VPAGES flag.

I have reverted this commit for today.

Signature · 2 lines
Cheers,
Stephen Rothwell                    [email protected]
#1 lore raw

Hi Andrew,

Quoted 9 lines · On Wed, 13 Jan 2016 17:18:30 +1100 Stephen Rothwell <[email protected]>…

After merging the akpm-current tree, today's linux-next build (arm multi_v7_defconfig) failed like this:

mm/vmalloc.c: In function '__vunmap':
mm/vmalloc.c:1482:21: error: 'VM_VPAGES' undeclared (first use in this function)
if (area->flags & VM_VPAGES)

                     ^
Quoted 8 lines

Caused by commit

7ab2843f2735 ("mm, vmalloc: remove VM_VPAGES")

Yesterday, there was a previous commit (which seems to have been removed)

"tree wide: use kvfree() than conditional kfree()/vfree()"

I see that this patch is now in the akpm tree i.e. later on. So I guess you need to move the above patch as well.

Signature · 2 lines
Cheers,
Stephen Rothwell                    [email protected]