Revision d1402fc708e4c355813e49df6d15bc3466ba5114 authored by Logan Gunthorpe on 14 December 2018, 22:16:53 UTC, committed by Linus Torvalds on 14 December 2018, 23:05:45 UTC
This define is used by arm64 to calculate the size of the vmemmap
region.  It is defined as the log2 of the upper bound on the size of a
struct page.

We move it into mm_types.h so it can be defined properly instead of set
and checked with a build bug.  This also allows us to use the same
define for riscv.

Link: http://lkml.kernel.org/r/20181107205433.3875-2-logang@deltatee.com
Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Acked-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 5b52609
History
File Mode Size
ib.h -rw-r--r-- 3.3 KB
ib_addr.h -rw-r--r-- 8.9 KB
ib_cache.h -rw-r--r-- 5.1 KB
ib_cm.h -rw-r--r-- 19.3 KB
ib_fmr_pool.h -rw-r--r-- 3.4 KB
ib_hdrs.h -rw-r--r-- 8.6 KB
ib_mad.h -rw-r--r-- 29.2 KB
ib_marshall.h -rw-r--r-- 2.0 KB
ib_pack.h -rw-r--r-- 9.0 KB
ib_pma.h -rw-r--r-- 5.4 KB
ib_sa.h -rw-r--r-- 21.5 KB
ib_smi.h -rw-r--r-- 5.5 KB
ib_umem.h -rw-r--r-- 3.4 KB
ib_umem_odp.h -rw-r--r-- 5.4 KB
ib_verbs.h -rw-r--r-- 120.7 KB
iw_cm.h -rw-r--r-- 8.6 KB
iw_portmap.h -rw-r--r-- 7.5 KB
mr_pool.h -rw-r--r-- 954 bytes
opa_addr.h -rw-r--r-- 4.4 KB
opa_port_info.h -rw-r--r-- 14.8 KB
opa_smi.h -rw-r--r-- 4.3 KB
opa_vnic.h -rw-r--r-- 4.0 KB
rdma_cm.h -rw-r--r-- 15.0 KB
rdma_cm_ib.h -rw-r--r-- 2.1 KB
rdma_netlink.h -rw-r--r-- 3.3 KB
rdma_vt.h -rw-r--r-- 17.0 KB
rdmavt_cq.h -rw-r--r-- 3.4 KB
rdmavt_mr.h -rw-r--r-- 6.0 KB
rdmavt_qp.h -rw-r--r-- 21.6 KB
restrack.h -rw-r--r-- 4.7 KB
rw.h -rw-r--r-- 2.8 KB
uverbs_ioctl.h -rw-r--r-- 23.2 KB
uverbs_named_ioctl.h -rw-r--r-- 6.4 KB
uverbs_std_types.h -rw-r--r-- 6.2 KB
uverbs_types.h -rw-r--r-- 6.4 KB

back to top