cevt-gt641xx.c (7a996d3ab150bb0e1b71fa182f70199a703efdd1) | cevt-gt641xx.c (ca4d3e6746bdcfccb517349bce2d2c5b5614fb6f) |
---|---|
1/* 2 * GT641xx clockevent routines. 3 * 4 * Copyright (C) 2007 Yoichi Yuasa <yuasa@linux-mips.org> 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or --- 7 unchanged lines hidden (view full) --- 16 * You should have received a copy of the GNU General Public License 17 * along with this program; if not, write to the Free Software 18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 */ 20#include <linux/clockchips.h> 21#include <linux/init.h> 22#include <linux/interrupt.h> 23#include <linux/spinlock.h> | 1/* 2 * GT641xx clockevent routines. 3 * 4 * Copyright (C) 2007 Yoichi Yuasa <yuasa@linux-mips.org> 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or --- 7 unchanged lines hidden (view full) --- 16 * You should have received a copy of the GNU General Public License 17 * along with this program; if not, write to the Free Software 18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 */ 20#include <linux/clockchips.h> 21#include <linux/init.h> 22#include <linux/interrupt.h> 23#include <linux/spinlock.h> |
24#include <linux/irq.h> |
|
24 25#include <asm/gt64120.h> 26#include <asm/time.h> 27 28static DEFINE_RAW_SPINLOCK(gt641xx_timer_lock); 29static unsigned int gt641xx_base_clock; 30 31void gt641xx_set_base_clock(unsigned int clock) --- 109 unchanged lines hidden --- | 25 26#include <asm/gt64120.h> 27#include <asm/time.h> 28 29static DEFINE_RAW_SPINLOCK(gt641xx_timer_lock); 30static unsigned int gt641xx_base_clock; 31 32void gt641xx_set_base_clock(unsigned int clock) --- 109 unchanged lines hidden --- |