OSDN Git Service

arm64: mm: EXPORT vabits_user to modules
authorWill Deacon <will.deacon@arm.com>
Mon, 10 Dec 2018 19:20:23 +0000 (19:20 +0000)
committerWill Deacon <will.deacon@arm.com>
Mon, 10 Dec 2018 19:20:23 +0000 (19:20 +0000)
commit4a1daf29d33d766a1a6f03015b93bfb01b93f46e
treeb5d10acd3ed364aae940bb13b58183288546fe77
parentd34664f63bba9c884920d86ab67379a08a4ee8e9
arm64: mm: EXPORT vabits_user to modules

TASK_SIZE is defined using the vabits_user variable for 64-bit tasks,
so ensure that this variable is exported to modules to avoid the
following build breakage with allmodconfig:

 | ERROR: "vabits_user" [lib/test_user_copy.ko] undefined!
 | ERROR: "vabits_user" [drivers/misc/lkdtm/lkdtm.ko] undefined!
 | ERROR: "vabits_user" [drivers/infiniband/hw/mlx5/mlx5_ib.ko] undefined!

Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/mm/mmu.c