OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [include/] [asm-arm/] [arch-anakin/] [time.h] - Blame information for rev 1774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1276 phoenix
/*
2
 *  linux/include/asm-arm/arch-anakin/time.h
3
 *
4
 *  Copyright (C) 2001 Aleph One Ltd. for Acunia N.V.
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 version 2 as
8
 * published by the Free Software Foundation.
9
 *
10
 *  Changelog:
11
 *   10-Apr-2001 TTC    Created
12
 */
13
 
14
#ifndef __ASM_ARCH_TIME_H
15
#define __ASM_ARCH_TIME_H
16
 
17
static void
18
anakin_timer_interrupt(int irq, void *dev_id, struct pt_regs *regs)
19
{
20
        do_timer(regs);
21
}
22
 
23
static inline void
24
setup_timer(void)
25
{
26
        timer_irq.handler = anakin_timer_interrupt;
27
        setup_arm_irq(IRQ_TICK, &timer_irq);
28
}
29
 
30
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.