Apologies for what is essentially a repost with a proper subject header in the sense of trying to get the attention of people who collect/approve patches for submission upstream. See my posting from earlier today (followup: [FTBFS] kernel 4.18-rc7 bitsperlong.h issue on alpha) for the back story. As mentioned there, this patch applies cleanly to at least all mainline kernel source trees >= version 4.18. Further apologies for including the patch as an attachment, but I don't trust my mailer not to impose unintended formatting. --Bob Signed-off-by: Bob Tracy <rct@xxxxxxxx> Tested-by: Bob Tracy <rct@xxxxxxxx>
--- a/tools/include/uapi/asm/bitsperlong.h 2019-01-20 14:40:32.522422998 -0600 +++ b/tools/include/uapi/asm/bitsperlong.h 2019-01-21 09:51:45.336938260 -0600 @@ -13,6 +13,8 @@ #include "../../arch/mips/include/uapi/asm/bitsperlong.h" #elif defined(__ia64__) #include "../../arch/ia64/include/uapi/asm/bitsperlong.h" +#elif defined(__alpha__) +#include "../../arch/alpha/include/uapi/asm/bitsperlong.h" #else #include <asm-generic/bitsperlong.h> #endif