From patchwork Mon Apr 23 08:36:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 133986 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp731777lji; Mon, 23 Apr 2018 01:38:27 -0700 (PDT) X-Google-Smtp-Source: AIpwx49IThdH73AfmhBST+l/xE9K4Bt3FWjGenWVnnXx84MEa3FBk0i5oiNXTuv58KnxZi+mqkWj X-Received: by 2002:a17:902:a5c2:: with SMTP id t2-v6mr20111206plq.360.1524472707443; Mon, 23 Apr 2018 01:38:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524472707; cv=none; d=google.com; s=arc-20160816; b=lgR/bIrd17n2EjN/rvAUR4/bZdah3iwv1PTameK5TYn3L6ESxIUcL8ty6v4r7JrKPt W4jqV2rRYDrRam662XZBjBxkJ2hq01/ay+TVNEtZzOhZWgTqRNRsPxLHlRWdpsAdxJ13 NVmdWye7Uyp/FxMMYcVcV8zxyYDvYJdakYv9w71iHJvGAE24IsUr7EUNWvJZPSprloEX xlG5XBunIos4Zp0R9q2mAlmtbHWMNolnV1NkXeoAMbdB8twQ9ITxXDXgcZlGQwEJPzzj K7U4uBm0D46LWpLroagLpxJqvFs7XRROljh6uNl90qM2MorSv0MCMVmodlRCwSIbVCOh uMVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=d2ms9k8Y9mM6hATgFZ5uXo3J/8p2b/hYi5KZ41y97l0=; b=0PT03Qil/xC2nhDVD7Uf7fGtyL4Ezv2ItjCRVpsgqLXEVHxrwZRIKiXLvULZhZi7Z/ xFZYs/I0gDXA4wIXC7L4gnvSwpyw7XnS/R2KwRoHimP0HumCeHxK5+DR9WH+6UliuJk+ Mo3k/Rpn29qvZCKnx0uGJgayCA2NsJ0CfeIH3qqizVFg0hguopTIgC69G4PkJ1GHyzQF yravNP/XHO3UOPhKC14BDCWYCALXoYYg41ITUAWjehVYOi98jbuGcG3/ayqPwla0VkGA 2umYJBNWB05mrJZ7fS+0GjGDW9poVZu9XdXJV5cddp/2Py509OfKjXn+5v8BU5zd+A2x xV5Q== ARC-Authentication-Results: i=1; mx.google.com; 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 n71si10919505pfk.277.2018.04.23.01.38.27; Mon, 23 Apr 2018 01:38:27 -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; 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 S1754699AbeDWIiY (ORCPT + 29 others); Mon, 23 Apr 2018 04:38:24 -0400 Received: from mout.kundenserver.de ([212.227.17.10]:40907 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754594AbeDWIhM (ORCPT ); Mon, 23 Apr 2018 04:37:12 -0400 Received: from wuerfel.lan ([95.208.111.237]) by mrelayeu.kundenserver.de (mreue103 [212.227.15.145]) with ESMTPA (Nemesis) id 0M8opw-1fG3nh0Eay-00C6Rk; Mon, 23 Apr 2018 10:36:57 +0200 From: Arnd Bergmann To: Michael Ellerman Cc: Paul Mackerras , Benjamin Herrenschmidt , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, y2038@lists.linaro.org, arnd@arndb.de Subject: [PATCH 1/5] powerpc: always enable RTC_LIB Date: Mon, 23 Apr 2018 10:36:38 +0200 Message-Id: <20180423083642.2608886-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K1:zWvL38seKXvP56XrNeY+SIJ3zKyG1Pbqt5VEep1gY3DXFLKqyeK EXHINLugZb6isRtvYVOUvAEFpX6yyRLaMVZrVx1tgY+zbTynqhtsJVlDqOHdvNR/wdLC9vC p7lVZTBtCgf3Glnbp28T6XYzskc7pelhzP5hJ8ZRvFSNWZCnf5Jv8XEXiF31UO0PRvmTcIc J4yIARrcNuU4sXDW+IEDw== X-UI-Out-Filterresults: notjunk:1; V01:K0:NUv5yRseWb4=:UJDT8Mw5NiSYLjWnRIgAPM 6bfCBb7SSzDj1dDqyL8H9Sb+713n650iQrdWl8wkXG0merynvDrQquy1HVQmU/U/UJfHjhBQF c+c8L45MJxdE9PgU/X8IN9jpAMw//WHuNvoYrnmxDaqcAa+dNH8/elMcxiKnwjjMI943jsDDT DjPD/8RMPMyC112G4itCVt8Z4/B4hT78is9TYENlhUgQYbrbqCefQ+WDounNotdtAICsDALKM 7gA6GY84pDHku38D0Sus82b7mXntv7VJ0UZWMozYtS+/e2cRuBOsjD2f4bYr93BfgrnLlf5mq keLZt24sOOQ/ap4gbbjvLZudwmc/8NV0wVNrNOnmbn/jCXmbmA7KiH6IKK+9IH8GGGGLdmHUI aePaK2kHNvtxy/HAatHzdOcNSKn4OSpDG+/Q71/P1npA4yyVmMHM513/yO88yagWRtMelhlsb 2bxRW1nL8gwI9iLXrCVA+TGUhRuMOePg6U4LwfH9I1UmwTEr0+ss94KTCRrgjqw0ld0HDhZSG Ji/dMo4OmSPnDbSYtGNCHGBUfK9y7wvU1vak0b5iPrZtFa6wwus6NQJJplk+wFCTeZAV0PV36 IODVHSpI8bbyILxtASEOD3ul37D8UXdxlw0DvDBSfd1OrmSeP1IWGyQLF2s6ioreGwXXqdVRv AvJkBnGJWkUqNLcvih6H+YwfCDz5mwZB8NnaQU9gXsW9zupXsQxdKSdDpNdlSQwcdTMdDElGV 5rkSt2htKeGbCa1HgAfOqi7pH3Fue+kSes7TvQ== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In order to use the rtc_tm_to_time64() and rtc_time64_to_tm() helper functions in later patches, we have to ensure that CONFIG_RTC_LIB is always built-in. Note that this symbol only controls a couple of helper functions, not the actual RTC subsystem, which remains optional and is enabled with CONFIG_RTC_CLASS. Signed-off-by: Arnd Bergmann --- arch/powerpc/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.9.0 diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index c32a181a7cbb..de2cda320fdd 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig @@ -232,6 +232,7 @@ config PPC select OF_RESERVED_MEM select OLD_SIGACTION if PPC32 select OLD_SIGSUSPEND + select RTC_LIB select SPARSE_IRQ select SYSCTL_EXCEPTION_TRACE select VIRT_TO_BUS if !PPC64