Received: by 10.223.164.202 with SMTP id h10csp1193721wrb; Tue, 7 Nov 2017 23:51:58 -0800 (PST) X-Google-Smtp-Source: ABhQp+TMwpac2kvTk1WSRevAsllq7XmmV18GBe2iKAyYUJ2CCGPV60Cz9QqBumK495PEOJ8DX/L/ X-Received: by 10.101.69.137 with SMTP id o9mr1473352pgq.127.1510127518287; Tue, 07 Nov 2017 23:51:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510127518; cv=none; d=google.com; s=arc-20160816; b=TG8F3wOKySxhCKShR0ddaC7OwwwB61qS3nQdmJyEKv6rH1IHiHzAthGtr5dwlDDkQW ZrwBgEF27JDY8/kkHLDbggXOYkE9yvqsFJLMlAskmqNIcfQd/9ktcLW9pO0aVaMkD+zw Wo7Xq+dslU0Kqup+MMJIsfe9qtFkMqosjFO4LhAclLwsdDfOvdJdUeULldR1glfM5JNa k/Vs6aLrOB/o14XNiVw/Y/47eh0sYGdZyZpnD0d21uikZ0nmpJEfYHdjqstW/l7Nv+KC Ih+IWmGiyX7nRTVWmRt2wjOyW0oEQzCjZjWvJfSfDh4QVI2ykEHv7YGNGpOTwsq+0w5c 3sng== 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=ZgVoCLpbLPQSXK54H/Nr6QHPPXtr20YqXR9i09xS+Us=; b=YkqA8na1E8M6SBd02oFSKpnC9jmtd8FQtIzWI+BwoC/vvG14hpLYdc1HXxOvaQ+d9d H0GpJ3Mibp+j2evQSNGKC7qVM8KXo7D+6/MBX0Hvk9zR6fh9YbPxV2lXVN8lc5hOyD5y CL3IycTUyk9V8MugUyRUZhrriPswITWsiWsDo3TaJQU0ihNkn5yqzDXOUSW770fEgrDK vqI2lEtPi9j9zy6DnqEun+LZ3y44dU6ZVRxLAnYGQNvALVThrFvUq3VgvV4X+cDollnd d8FWCXYTlJcwi22voR+Gvvm0k9qjBEksRoTT6KNjTT97ifg0v8zTNlhoQ8t4CAV0Trc9 hnXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=pVwtW9XJ; 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 c1si3240927pld.101.2017.11.07.23.51.45; Tue, 07 Nov 2017 23:51:58 -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=pVwtW9XJ; 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 S932097AbdKHGY5 (ORCPT + 91 others); Wed, 8 Nov 2017 01:24:57 -0500 Received: from mail-pg0-f68.google.com ([74.125.83.68]:56457 "EHLO mail-pg0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754178AbdKHGUx (ORCPT ); Wed, 8 Nov 2017 01:20:53 -0500 Received: by mail-pg0-f68.google.com with SMTP id m18so1154573pgd.13; Tue, 07 Nov 2017 22:20:52 -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=ZgVoCLpbLPQSXK54H/Nr6QHPPXtr20YqXR9i09xS+Us=; b=pVwtW9XJhFTUufr7XKdKsZZhgRAbuOLs6cwIxlLbqnVxTKIGqbpPez9H0CeONg7w7i fufzvpcy4B+WYYEXLTHHXuqhlZMRkl/h1w5ZoVR+9KxZWlo/cEykVZp99gHHpQiVd7Hk PjKzd9R0zGEFmfCZ675PCXA0fuAnlQgS5PTKRCGey8htPNzi+HCmaYqSz+DX8Igpfs86 V1ZtkQ6gqm9ZJYG2xCxt/PN2SxiVKUaB8YHfrcxcNmc1q0kPj9oP9Gy8Igz8SNZyeRDd hbcmvvrRgE+YEJfhCXSOdUNqZExpzkbRmVSpTfGJMK2P5FLOempM6Vul3ALDDVwsqzEi cKJw== 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=ZgVoCLpbLPQSXK54H/Nr6QHPPXtr20YqXR9i09xS+Us=; b=gvTq7XM/NqYUje1B/wxa5NRnrlcYZNq9TRI8YDDINvM2lUwcYFukn5ROHfIvqGFuHN 5fQvzgQNY5V1lHrScSvMXt/CEXI4N0ZlPEBR6dL1f6E2CCm2Xs0Hs484vGDZizDPdSjJ ejr88mqDlkG5kcwUKFAEqVpwpIQ5ltMFqH/wtY7sMmWrBmMmUG3DV1Hew1U4MR0i6AUH /0zlEWalmAfbbdsHYewFNJdfpOLwIJCR8ULw2e/gFMGBBmvzV+P3ALUJXxTczPbkqU/o lEHYa09g6vPFq7wZIugfdzppAskk3K8KebB/FuWUV7LFl0bp2OhDrMyXUKlYo/0TA27Z zR2w== X-Gm-Message-State: AJaThX7/4bO1csYnveVDjqbip95Rp0oL+gHUTSmua90fdTIqHiZ9rm7h gSCKyB4vk3YPH0h+pflxglY= X-Received: by 10.99.104.6 with SMTP id d6mr1266710pgc.319.1510122052361; Tue, 07 Nov 2017 22:20:52 -0800 (PST) Received: from app09.andestech.com ([118.163.51.199]) by smtp.gmail.com with ESMTPSA id a4sm6581339pfj.72.2017.11.07.22.20.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 Nov 2017 22:20:51 -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 Cc: green.hu@gmail.com, Vincent Chen Subject: [PATCH 22/31] nds32: Generic timers support Date: Wed, 8 Nov 2017 13:55:10 +0800 Message-Id: <33e12422e3ac76495fd9b24b81a2f00ea50d336a.1510118606.git.green.hu@gmail.com> 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 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 1583535045173758199@xxx Wed Nov 08 21:31:41 +0000 2017 X-GM-THRID: 1583471143734724398 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread