Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932073Ab3GBVMm (ORCPT ); Tue, 2 Jul 2013 17:12:42 -0400 Received: from mail-wi0-f175.google.com ([209.85.212.175]:55419 "EHLO mail-wi0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754428Ab3GBVMk convert rfc822-to-8bit (ORCPT ); Tue, 2 Jul 2013 17:12:40 -0400 MIME-Version: 1.0 In-Reply-To: <1372758414-21513-1-git-send-email-vincent.stehle@freescale.com> References: <1372758414-21513-1-git-send-email-vincent.stehle@freescale.com> Date: Tue, 2 Jul 2013 14:12:39 -0700 Message-ID: Subject: Re: [PATCH linux-next] i2c-designware: use div_u64 to fix link From: Kevin Hilman To: =?ISO-8859-1?Q?Vincent_Stehl=E9?= Cc: linux-next@vger.kernel.org, LKML , linux-i2c@vger.kernel.org, Wolfram Sang , Christian Ruppert , Pierrick Hascoet Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1364 Lines: 39 On Tue, Jul 2, 2013 at 2:46 AM, Vincent Stehl? wrote: > This fixes the following link error: > > drivers/built-in.o: In function `dw_i2c_probe': > of_iommu.c:(.text+0x18c8f0): undefined reference to `__aeabi_uldivmod' > make: *** [vmlinux] Error 1 > > Signed-off-by: Vincent Stehl? > Cc: Wolfram Sang > Cc: Christian Ruppert > Cc: Pierrick Hascoet > --- > > > Hi, > > Linux next-20130702 link broke for ARM config multi_v7_defconfig. This is with > gcc 4.7.2 but I am not sure it matters much here. > > This patch repairs the link. > > It did not break anything for me on i.MX6 sabre sd, but it does'nt have a > designware i2c, so more reviewing/testing is welcome. This also broke a handful of other ARM defconfigs (notably spear*_defconfig,) I build tested this on top of next-20130702 for multi_v7_defconfig as well as all 3 spear defconfigs, and confirm that linux-next is back to building for those platforms. Tested-by: Kevin Hilman