Received: by 10.223.164.202 with SMTP id h10csp1597883wrb; Mon, 27 Nov 2017 05:03:19 -0800 (PST) X-Google-Smtp-Source: AGs4zMYZZM58rjKUWmHfyBL7tm33IRAwUVQxKwpnbVVzVHk2iTg5rB7FOTYCkD9b0f0UDpGMy4mS X-Received: by 10.101.67.140 with SMTP id m12mr35819778pgp.51.1511787799551; Mon, 27 Nov 2017 05:03:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511787799; cv=none; d=google.com; s=arc-20160816; b=T2c3AupipCkReW1gkhHxDZHU3zzAXHUt4SF2W1BqMjWeyNEgrfgGbVe3yUUKL8nqHj cBEFR1D/Tg0m3XbroEmT8wHJRA78J4ZjSg0LvPcqQn2WACES+p5sRhvEWEAasRkY/HQJ yDnkh9F3Wzw3HVrZ8bAm5sQjn8Kn8nf+kA2Rn7zRemGZqQ5CONTZw0AdPlD9M2Ao9x9q xVIRNf14IRHCbYVmAgRxWWlNaYkxEtUUIT128Iye82l3FYQIydZh4nCIWjLeLdHfpfs5 fOmDNgrcXUDmE3dB0k35ttfYnDRtnivrS7GxesJAiYmzwk6ALOfzu6PFc+SfY5RhvYYu USEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=J7rS8ZX6jzj9eAmpBe48BYuIHTQuWamCnGGtXjyGAao=; b=G5wdK8ml9XkSUp70f17omFK5PjOwjlmbLsm9hluTbvBKb+u8Y0GNe+v9OzZQ4oz2qw BGiM+E1Pekqfjza0KaB7109x/R628SeBdUP4GEHAewQ8img7H2BbhvKuhMNwlvmhRLJL 6vxF9p1QJAY0NgwuT+KwdRujfSm3zhtWUUDjxIymeza4SxmBKAexAjq1NHixXt56+QmH XrUUaFAXAWrdmrPm0GNJ+mohuu1RtpDsKJ8BldDDXCCWY2KRw4/6odOskOudpn0t3sWE dZWouRdD85TSOkhfsRZLhYH/A3e9pB/qSWFJbVHqbty8rr5nC94DRnEu+1CFGC2N1hIQ H4fQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=KOWahFiF; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l7si22823800pgs.719.2017.11.27.05.03.07; Mon, 27 Nov 2017 05:03:19 -0800 (PST) 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=@gmail.com header.s=20161025 header.b=KOWahFiF; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752650AbdK0Myl (ORCPT + 77 others); Mon, 27 Nov 2017 07:54:41 -0500 Received: from mail-pf0-f196.google.com ([209.85.192.196]:40585 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752093AbdK0Myh (ORCPT ); Mon, 27 Nov 2017 07:54:37 -0500 Received: by mail-pf0-f196.google.com with SMTP id q63so6021549pfd.7; Mon, 27 Nov 2017 04:54:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=J7rS8ZX6jzj9eAmpBe48BYuIHTQuWamCnGGtXjyGAao=; b=KOWahFiFKiOp9UNKy7sV51OmwEfuyfe56q28nSq+NB63DWZZv34I+ooqUvGtkeQcrR nzk0lmYtYJfelVcq53G7x+kM50tpqI4ZAWxvkhCGrUgKrrzHp3i7hAmWCHjFwkxApYIr t1XRYejU4q0MJaErlRJgxcgfZ3utzlU/0x83L5xhA2szcmDjDJ70kZFlceNMQ2EOVfVG 7ZoGU1FhGNB2Ey16PPBppJ06H4gxZnlWXJbVTFrC1x1E66a3hbZCuXiLZMovIgp5B9wF bANdsogqh7Qq2Y3+iQTW1dCXo9Ja2X9Xwyp3Lh0uTo9mCc9LK81Dyiyk4B1+RhkVcPe7 9LyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=J7rS8ZX6jzj9eAmpBe48BYuIHTQuWamCnGGtXjyGAao=; b=hu6D/kyJa45uG0d9wO5+Q7yQofmeleYL24t3EgWNQohi4OmyK2UySSk7CZyHFqclHy B6hf7WhVAz2+alSmK6/kuY/8SGFdrAGGJS37iGEYxIihHerLflZuhAqZWgfM4SGjIy3k WAuSlT7DAeYrnCfg2vJrvFz21OMmVDe6TC3wdzQhQJQ+1VqzU3SdUjBbTme0b7gDl1UL dGug7kQzNl16qaeP4KhJDWPFMP4jry2etn8O9q5C5dvYR1mS1hlmj7edhh0SWQrvqx5u ubZXtZWLNc/+jqCqERCRVzp2Yn6cXVekuyqp3R+7B2Lugd0fXINf5iiJDOKRvoPnPAlp 7nDA== X-Gm-Message-State: AJaThX5U4qvoC3f15aVYJ3pmdav0l5l8EwSXEN5Isv/utmpVQCzLgoQt HSZoUqkgcy7oga94T42wW64FCGLF X-Received: by 10.101.80.197 with SMTP id s5mr16471216pgp.399.1511787276517; Mon, 27 Nov 2017 04:54:36 -0800 (PST) Received: from app09.andestech.com ([118.163.51.199]) by smtp.gmail.com with ESMTPSA id w64sm55225459pfj.62.2017.11.27.04.54.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Nov 2017 04:54:35 -0800 (PST) From: Greentime Hu To: greentime@andestech.com, linux-kernel@vger.kernel.org, arnd@arndb.de, linux-arch@vger.kernel.org, tglx@linutronix.de, jason@lakedaemon.net, marc.zyngier@arm.com, robh+dt@kernel.org, netdev@vger.kernel.org, deanbo422@gmail.com, devicetree@vger.kernel.org, viro@zeniv.linux.org.uk, dhowells@redhat.com, will.deacon@arm.com, daniel.lezcano@linaro.org, linux-serial@vger.kernel.org Cc: green.hu@gmail.com, Vincent Chen Subject: [PATCH v2 21/35] nds32: Generic timers support Date: Mon, 27 Nov 2017 20:28:08 +0800 Message-Id: X-Mailer: git-send-email 1.7.9.5 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Greentime Hu This patch adds support for timer. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/kernel/time.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 arch/nds32/kernel/time.c diff --git a/arch/nds32/kernel/time.c b/arch/nds32/kernel/time.c new file mode 100644 index 0000000..96e2f87 --- /dev/null +++ b/arch/nds32/kernel/time.c @@ -0,0 +1,22 @@ +/* + * Copyright (C) 2005-2017 Andes Technology Corporation + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#include + +void __init time_init(void) +{ + timer_probe(); +} -- 1.7.9.5 From 1585216852413714865@xxx Mon Nov 27 11:03:18 +0000 2017 X-GM-THRID: 1585216852413714865 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread