From: Zi Yan <zi.yan@xxxxxxxx> Date: Thu, 3 Aug 2017 09:17:21 -0400 > From: Zi Yan <zi.yan@xxxxxxxxxxxxxx> > > THP migration is added but only supports x86_64 at the moment. For all > other architectures, swp_entry_to_pmd() only returns a zero pmd_t. > > Due to a GCC zero initializer bug #53119, the standard (pmd_t){0} > initializer is not accepted by all GCC versions. __pmd() is a feasible > workaround. In addition, sparc32's pmd_t is an array instead of a single > value, so we need (pmd_t){ {0}, } instead of (pmd_t){0}. Thus, > a different __pmd() definition is needed in sparc32. > > Signed-off-by: Zi Yan <zi.yan@xxxxxxxxxxxxxx> Applied. -- To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html