Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756448AbZCCQRU (ORCPT ); Tue, 3 Mar 2009 11:17:20 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753730AbZCCQRN (ORCPT ); Tue, 3 Mar 2009 11:17:13 -0500 Received: from mx1.emlix.com ([193.175.82.87]:49935 "EHLO mx1.emlix.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754151AbZCCQRN (ORCPT ); Tue, 3 Mar 2009 11:17:13 -0500 References: User-Agent: quilt/0.46-1 Date: Tue, 03 Mar 2009 16:30:44 +0100 From: Johannes Weiner To: Chris Zankel Cc: linux-kernel@vger.kernel.org, Johannes Weiner Subject: [patch 1/3] xtensa: use generic sched_clock() Content-Disposition: inline; filename=xtensa-generic-sched_clock.patch Message-Id: Organization: emlix gmbh, Goettingen, Germany Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1059 Lines: 37 From: Johannes Weiner Current xtensa implementation of sched_clock() is the same as the generic one. Just remove it, the weak symbol in kernel/sched_clock.c will be used instead. Signed-off-by: Johannes Weiner --- arch/xtensa/kernel/time.c | 9 --------- 1 file changed, 9 deletions(-) --- a/arch/xtensa/kernel/time.c +++ b/arch/xtensa/kernel/time.c @@ -37,15 +37,6 @@ unsigned long nsec_per_ccount; /* nsec static long last_rtc_update = 0; -/* - * Scheduler clock - returns current tim in nanosec units. - */ - -unsigned long long sched_clock(void) -{ - return (unsigned long long)jiffies * (1000000000 / HZ); -} - static irqreturn_t timer_interrupt(int irq, void *dev_id); static struct irqaction timer_irqaction = { .handler = timer_interrupt, -- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/