From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f181.google.com ([209.85.192.181]:36219 "EHLO mail-pf0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751053AbcEFGMT (ORCPT ); Fri, 6 May 2016 02:12:19 -0400 To: "linux-kernel@vger.kernel.org" Cc: Dan Williams , stable From: Guenter Roeck Subject: Mainline: Build error in drivers/nvdimm/pmem.c due to commit 658922e57b84 Message-ID: <572C35BF.80908@roeck-us.net> Date: Thu, 5 May 2016 23:12:15 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: stable-owner@vger.kernel.org List-ID: alpha:allmodconfig fails to build with the following error. drivers/nvdimm/pmem.c: In function 'nd_pfn_init': drivers/nvdimm/pmem.c:407:17: error: 'HPAGE_SIZE' undeclared Problem is due to commit 658922e57b84 ("libnvdimm, pfn: fix memmap reservation sizing"). HPAGE_SIZE is not defined for all architectures and was up to now not used in driver code. All other architectures with 64 bit physical address provide the definition, though, as far as I can see, so it may be that only alpha is affected. Since stable is copied - this will also result in stable build errors if applied to -stable branches. Guenter