Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
awilliam
GitHub Repository: awilliam/linux-vfio
Path: blob/master/arch/arm/mach-exynos4/localtimer.c
10817 views
1
/* linux/arch/arm/mach-exynos4/localtimer.c
2
*
3
* Cloned from linux/arch/arm/mach-realview/localtimer.c
4
*
5
* Copyright (C) 2002 ARM Ltd.
6
* All Rights Reserved
7
*
8
* This program is free software; you can redistribute it and/or modify
9
* it under the terms of the GNU General Public License version 2 as
10
* published by the Free Software Foundation.
11
*/
12
13
#include <linux/clockchips.h>
14
15
#include <asm/irq.h>
16
#include <asm/localtimer.h>
17
18
/*
19
* Setup the local clock events for a CPU.
20
*/
21
int __cpuinit local_timer_setup(struct clock_event_device *evt)
22
{
23
evt->irq = IRQ_LOCALTIMER;
24
twd_timer_setup(evt);
25
return 0;
26
}
27
28