]> git.baikalelectronics.ru Git - kernel.git/commit
tile: provide CONFIG_PAGE_SIZE_64KB etc for tilepro
authorChris Metcalf <cmetcalf@ezchip.com>
Tue, 22 Dec 2015 17:28:51 +0000 (12:28 -0500)
committerChris Metcalf <cmetcalf@ezchip.com>
Tue, 5 Jan 2016 13:16:09 +0000 (08:16 -0500)
commit24a003c5e4ba1db68b2f845485381c81f7318320
tree8d97ed94ddd5915443c1a2cf599ae860ddc9172e
parent4920d7d57f4b89e6c9ef52a8cf08c2582dcfa7a7
tile: provide CONFIG_PAGE_SIZE_64KB etc for tilepro

This allows the build system to know that it can't attempt to
configure the Lustre virtual block device, for example, when tilepro
is using 64KB pages (as it does by default).  The tilegx build
already provided those symbols.

Previously we required that the tilepro hypervisor be rebuilt with
a different hardcoded page size in its headers, and then Linux be
rebuilt using the updated hypervisor header.  Now we allow each of
the hypervisor and Linux to be built independently.  We still check
at boot time to ensure that the page size provided by the hypervisor
matches what Linux expects.

Signed-off-by: Chris Metcalf <cmetcalf@ezchip.com>
Cc: stable@vger.kernel.org [3.19+]
arch/tile/Kconfig
arch/tile/include/asm/page.h