From patchwork Sat Jan 19 09:02:15 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [01/21] NTB: correct missing readq/writeq errors Date: Fri, 18 Jan 2013 23:02:15 -0000 From: Jon Mason X-Patchwork-Id: 213802 Message-Id: <1358586155-23322-2-git-send-email-jon.mason@intel.com> To: Greg KH Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Dave Jiang , Nicholas Bellinger Atomic readq and writeq do not exist by default on some 32bit architectures, thus causing compile errors due to non-existent symbols. In those cases, use the definitions of those symbols from include/asm-generic/io-64-nonatomic-hi-lo.h Signed-off-by: Jon Mason --- drivers/ntb/ntb_hw.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/ntb/ntb_hw.c b/drivers/ntb/ntb_hw.c index 4c71b17..0b46fef 100644 --- a/drivers/ntb/ntb_hw.c +++ b/drivers/ntb/ntb_hw.c @@ -45,6 +45,7 @@ * Contact Information: * Jon Mason */ +#include #include #include #include