Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp5679233imd; Tue, 30 Oct 2018 23:45:34 -0700 (PDT) X-Google-Smtp-Source: AJdET5fbwepWyc6WrMY3h+xFvQC9d5xvcgR+XUptAsOYa4Q3X/P+eptoOjTwQ8oNLh9MjCIp+fWA X-Received: by 2002:a65:4683:: with SMTP id h3mr1822819pgr.225.1540968334526; Tue, 30 Oct 2018 23:45:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540968334; cv=none; d=google.com; s=arc-20160816; b=02e2UQ44Ts6krA3tt3wGxficvNQ9IkLsYKBjvgrvVOvLanLYIidl8otpdPCjKI8iF0 4Xp52XF+uJpleJsNwycl8aqqR3b+tXz4StMJwoCB5BRJ8jKI7amCHoVahS0K3Yiqj7Pm e0g0ydysb4BDSDE1UvuNmsYoUqX/2TEcNpJaaSM6CL4cFqC7vIRLditZdh0VvjDa0lCv atVE/xE2g77+bmaBC2AIEPJztu4u0jrtqdnargFtazOHyYVeJ/DkerLW+dWQMzYMn8XQ xrcAUnEU9yG+V+ECJC8E8r5IobVug3unVjb8DbxDLq8/+eqm+x771tTNOhzTOy8ebd7W kAkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=1fwqQ9aRSAqM7zyF84//NoXF0ruX4u0DGZ2rO3Fr/rk=; b=Ee5KbzCzjLbNgztMBN4IZUc/SgnU2FinnaecDfzduVA+EXXeAOEb38QcAx0nbpqr39 IUVZ+yX85672NejtrPC/MVVvg6SkdNVc9QJ6sQjZBKh68lIRFaH87eT6TYa1TNUrJWU+ YlBN+4SzrlsbO3kLVuzqA00Z2fgjeyDYdFk0KR4luqqIRnNCWaeeU6xJXbIJA1vXKID3 hWKZkjz+plsMXap3IT5qQ06v0knj8D5cWhkR7HmhW07+CNnzkBegSkgtT8tqH966wwbz IZyVIRZ1FDIRAArqEuyvXM8tWEGapG48feUc8nkVjUS3RVrLgCYQ4cOn41my7XLCVgBw Yp9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lixom-net.20150623.gappssmtp.com header.s=20150623 header.b=P1xeNk4V; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 14-v6si18856045pfw.217.2018.10.30.23.45.17; Tue, 30 Oct 2018 23:45:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@lixom-net.20150623.gappssmtp.com header.s=20150623 header.b=P1xeNk4V; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729209AbeJaPkN (ORCPT + 99 others); Wed, 31 Oct 2018 11:40:13 -0400 Received: from mail-lj1-f195.google.com ([209.85.208.195]:47090 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728562AbeJaPkN (ORCPT ); Wed, 31 Oct 2018 11:40:13 -0400 Received: by mail-lj1-f195.google.com with SMTP id x3-v6so13758114lji.13 for ; Tue, 30 Oct 2018 23:43:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lixom-net.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=1fwqQ9aRSAqM7zyF84//NoXF0ruX4u0DGZ2rO3Fr/rk=; b=P1xeNk4VZ2KONvH+f9hoBPd4w8hoFJ3ho6asLuiQfPz/1gOlM8GOb1HWvnv3IyuaUs xdUD9dZ25ywaOUI/2UIaUzneVDFG4XV5kmYwoN1ZNelQHirZR5q0A+W9ENPnDLg6Sukg ZSsfWmZg33D/dG2pFOa3aliC1wnw6buoIfVHeEuJz5tqU6PR2beagVWL781dCc0y31yo j7ORoWIoprQ27QSj586FlINuTbQZM4aNYXbqEbG8y5CDmazazSe0r3GcqYCrwQMPAvj+ dDT42wKrLWzFoqbzUFbgJRvdCuma8lXmxmlV0AAF0ey4L5J9Kgk3hPvxANsyUIU6LNcK SYBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=1fwqQ9aRSAqM7zyF84//NoXF0ruX4u0DGZ2rO3Fr/rk=; b=BkQbXh7JdjTmDvcb/knwcDloBjCi0pi6w71Di2fyy8kNU0zzlm3MhhL9SyEecG1pzc sX1w7lgiEwzQ2Sj3vkdaUNPaTvwHhMKbmxJciE+iTUtGh50Xy9wBEnbpTzBpHuTh2gz/ KQYp9YWuo4gLTSVID+ioGcVezwDiEJVlTNx0f0ckBqu11WLB9tgWWf7jSPHsNge/UzJE XYO4B8uuWx1mm6RevU8S7TAIaO5t4fv4Fnqr2zbMD0b33Y/dU+vOOkn7UzFROUjdfaRL ciENra0inhJwhmU03kcdwPanYiEBvWiwtEPmV85oMZLC1TlHur68hSlwOAOgQV6mx8cW 4NMA== X-Gm-Message-State: AGRZ1gLJEY3NJGfUEUbjMknVNsmKV33uOG9vmlxd1mLdOx140CAKNiBA /8kpHZf6AjR+sGC3TcTWqaQbP4mF7deFbdsvrZot8w== X-Received: by 2002:a2e:b1d2:: with SMTP id e18-v6mr1113525lja.34.1540968204058; Tue, 30 Oct 2018 23:43:24 -0700 (PDT) MIME-Version: 1.0 References: <20181031000413.30123-1-olof@lixom.net> In-Reply-To: From: Olof Johansson Date: Tue, 30 Oct 2018 23:43:12 -0700 Message-ID: Subject: Re: [PATCH] RISC-V: lib: Fix build error for 64-bit To: Palmer Dabbelt Cc: Albert Ou , Zong Li , linux-riscv@lists.infradead.org, Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 30, 2018 at 5:05 PM Olof Johansson wrote: > > On Tue, Oct 30, 2018 at 5:04 PM Olof Johansson wrote: > > > > Fixes the following build error from tinyconfig: > > > > riscv64-unknown-linux-gnu-ld: kernel/sched/fair.o: in function `.L8': > > fair.c:(.text+0x70): undefined reference to `__lshrti3' > > riscv64-unknown-linux-gnu-ld: kernel/time/clocksource.o: in function `.L0 ': > > clocksource.c:(.text+0x334): undefined reference to `__lshrti3' > > Err, fixed the whitespace in tishift.S while I was at it. Undo if you want. Ended up with a few more fixes, so I split this in two and will repost as a series. Apologies for the noise. -Olof