From patchwork Sat Jul 28 09:47:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Helge Deller X-Patchwork-Id: 10547919 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id CFF7D174A for ; Sat, 28 Jul 2018 09:47:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7F39929397 for ; Sat, 28 Jul 2018 09:47:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 72CDB2B105; Sat, 28 Jul 2018 09:47:56 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,FREEMAIL_FROM, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0CBD529397 for ; Sat, 28 Jul 2018 09:47:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727105AbeG1LNs (ORCPT ); Sat, 28 Jul 2018 07:13:48 -0400 Received: from mout.gmx.net ([212.227.17.21]:59525 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726266AbeG1LNs (ORCPT ); Sat, 28 Jul 2018 07:13:48 -0400 Received: from ls3530.fritz.box ([92.116.187.33]) by mail.gmx.com (mrgmx102 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MWhRH-1fUmZP1P0V-00XpMt; Sat, 28 Jul 2018 11:47:20 +0200 Date: Sat, 28 Jul 2018 11:47:17 +0200 From: Helge Deller To: linux-parisc@vger.kernel.org, James Bottomley , John David Anglin Subject: [PATCH] parisc: Enable CONFIG_MLONGCALLS by default Message-ID: <20180728094717.GA18179@ls3530.fritz.box> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.9.1 (2017-09-22) X-Provags-ID: V03:K1:ZFYwPXAxGiO7uM9Nlu/YaA7HBmYvM6EIccj6kew1c/6NzJfUxlO mG+aNVignCvaeCslIzTsarNakaTI5zHarJxzSIW0bJbQa9+7PliNKGrK4BZgCvJYkG89SpQ rq6AksmFvQtyowsQBKsv6s5GtSHDXhn/1KCmHZ/sAN7JXbhK1qHwuM1HapzKZ3oR7A8aJei 0cLAOHOj8XZ7NQ4uEN7BQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:innDAKpp4bM=:7oaylwyWF2JluAM0prZGgm mbc88HbAWcI0NRseGrpZ5hbz+zKY9TRuFnI4+YTwYbqaEh4lfpVMoCA32aUwF3JEiZwFV0uDz FnHI+U5xdY2GacBEo1dXukp2zuPCYkoEivBLUHfqD/b4tV5TzbXK0O8Sv02rkqNuYRkjiSe/u AHSSuauVkS4KSELppmfXTfwBQzR+rqsEOummqDGy3rdMHHScIhtU1IEhCDlPwTKpgiH7AsCTV fkzFY0mwAT6sEIsB4tVOnDalL4OqVe4YnJHxulNyrQbuL2JBLupoGieiTtNG4Doc6neBiZ5d/ JTauhpauiMbTcbA366/e3R5bSrpT8YbmARWT/raBLDH8Igvcuv42V+/iQ+XVsjaXwmOSpanyY 4ZNYFn5rIwdPV0WojvDFyCvA4akDsoyfgwOYzGKAX2U5iyJy4HqWfhUxnI1V57gvC6Ajx2s9P oHu5XsZVtLAfMCzslQqUP+Ncei2JWcPvqF3EU8LLe5zrIHYxil0SVW4qLyI8uCRuztmDuGJhP nYxNy2n8Ek46JGpmdxeJBL9SVUrgT5kT1iDB64cxERjcI+YbsgDK9q4O2cS7BKAxGvoo02YIc /rsN5WgOB+DSWxJ+oD7DxobZYgPHMo7yZfldAvpLWaTLinF7xSl2sgQUMI56aSngeauZPaSPW XpEt20+oLKSRBM4aJY8OjSMTtxU1Fu3yABwhyR1dgAiKlzqYICkPGPHvJWyqh2aiZzUu1btet gjNOrPbZXhWDt7yi+MV8Bj3bMfMyyMhM2Fp9+SsnkXxeb19SjHEN6Bt74As= Sender: linux-parisc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Enable the -mlong-calls compiler option by default, because otherwise in most cases linking the vmlinux binary fails due to truncations of R_PARISC_PCREL22F relocations. This happens e.g. with the 64-bit defconfigs. Signed-off-by: Helge Deller Cc: stable@vger.kernel.org # 4.14+ --- To unsubscribe from this list: send the line "unsubscribe linux-parisc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/parisc/Kconfig b/arch/parisc/Kconfig index 17526bebcbd2..46f656b8fc23 100644 --- a/arch/parisc/Kconfig +++ b/arch/parisc/Kconfig @@ -195,7 +195,7 @@ config PREFETCH config MLONGCALLS bool "Enable the -mlong-calls compiler option for big kernels" - def_bool y if (!MODULES) + default y depends on PA8X00 help If you configure the kernel to include many drivers built-in instead