From patchwork Tue Jun 28 10:51:34 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 71055 Delivered-To: patch@linaro.org Received: by 10.140.28.4 with SMTP id 4csp1516620qgy; Tue, 28 Jun 2016 03:53:47 -0700 (PDT) X-Received: by 10.98.87.138 with SMTP id i10mr652502pfj.1.1467111227917; Tue, 28 Jun 2016 03:53:47 -0700 (PDT) Return-Path: Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id g7si33187042pfg.88.2016.06.28.03.53.47 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Jun 2016 03:53:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) client-ip=2001:1868:205::9; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) smtp.mailfrom=linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bHqdP-0006Sv-Od; Tue, 28 Jun 2016 10:52:51 +0000 Received: from mail-wm0-x232.google.com ([2a00:1450:400c:c09::232]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bHqdL-0006By-E1 for linux-arm-kernel@lists.infradead.org; Tue, 28 Jun 2016 10:52:49 +0000 Received: by mail-wm0-x232.google.com with SMTP id r190so26444898wmr.0 for ; Tue, 28 Jun 2016 03:52:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=v665U1XnARY1+RQBHw4fOqtT4Vo8K6S7V8SnsKo5BGQ=; b=AuGUEYeFyyP9Th9nk+Q1Cg7xzSXTt7YXUI8BXbB769uWqKz0tj0zghNYuRtIJ1POE8 hoNol+CuQh08I4Cmh//NJwurzGI8PSxnEv0jxvKuFE0X3VH3m+Zz2ZLdXoRh5RmEiNhT 2lAMYtW2TAIlPdAZbTF10vWvDDsIfPrORfOfA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=v665U1XnARY1+RQBHw4fOqtT4Vo8K6S7V8SnsKo5BGQ=; b=iMvUsv27UgaKI+x6KVtA3MjPFATSfWNfGyNCly/+/U+firb79uRnWnO+glS5h0W4TU S1vLXbyaYtf2phk+Orh7zOF8LW2KFN/ykJKPS+O9Vs1XpI6xT87ZZdZ2So9W2dYGHpip QzU1DQ13LSChC5+vZ0cvGGWqIzwignJIxnwf2Ob2KAEmXgHWQzHfdvmbFpMtItyRM/L5 rZkU4+iZxjQzeOgtAOMlQAy8gN+nEn3hWHdIN9QO4mTtNN018UqeKn3kmezTJteV2GbK qYcBvG9Bes7/LpIQVsVDXcEOJa5bawv1OvotG/buoXPfhhDt6ncqHUrEpSi8noO0FVJF gdjg== X-Gm-Message-State: ALyK8tKsv6/E1jTx/QL5z8nJGohXtqt0SEnC3cRdHI6FH9aer6AgpjNyubMRA2bJJnERpqlG X-Received: by 10.194.89.5 with SMTP id bk5mr2680257wjb.55.1467111144966; Tue, 28 Jun 2016 03:52:24 -0700 (PDT) Received: from localhost.localdomain (sju31-1-78-210-255-2.fbx.proxad.net. [78.210.255.2]) by smtp.gmail.com with ESMTPSA id x194sm1577615wmf.13.2016.06.28.03.52.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 28 Jun 2016 03:52:24 -0700 (PDT) From: Daniel Lezcano To: daniel.lezcano@linaro.org, tglx@linutronix.de Subject: [PATCH 76/92] clocksource/drivers/armv7m_systick: Add the COMPILE_TEST option Date: Tue, 28 Jun 2016 12:51:34 +0200 Message-Id: <1467111111-12587-1-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <577251A4.7030508@linaro.org> References: <577251A4.7030508@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160628_035247_743826_24084625 X-CRM114-Status: GOOD ( 15.66 ) X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [2a00:1450:400c:c09:0:0:0:232 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org In order to increase the compilation test coverage, add the COMPILE_TEST so the driver can be compiled even if it does not belong to the platform or the architecture. The io.h header inclusion is also added as it the driver does not compile on UM platform. Signed-off-by: Daniel Lezcano --- drivers/clocksource/Kconfig | 2 +- drivers/clocksource/armv7m_systick.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) -- 1.9.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig index 0275b16..01ecd88 100644 --- a/drivers/clocksource/Kconfig +++ b/drivers/clocksource/Kconfig @@ -250,7 +250,7 @@ config CLKSRC_ARM_GLOBAL_TIMER_SCHED_CLOCK Use ARM global timer clock source as sched_clock config ARMV7M_SYSTICK - bool + bool "Support for the ARMv7M system time" if COMPILE_TEST select CLKSRC_OF if OF select CLKSRC_MMIO help diff --git a/drivers/clocksource/armv7m_systick.c b/drivers/clocksource/armv7m_systick.c index e93af1f..a315491 100644 --- a/drivers/clocksource/armv7m_systick.c +++ b/drivers/clocksource/armv7m_systick.c @@ -7,6 +7,7 @@ #include #include #include +#include #include #include #include