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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [include/] [asm-or32/] [timex.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1276 phoenix
/*
2
 * linux/include/asm-or32/timex.h
3
 *
4
 * Based on:
5
 * include/asm-cris/timex.h
6
 */
7
#ifndef _OR32_TIMEX_H
8
#define _OR32_TIMEX_H
9
 
10
#include <asm/param.h>
11
 
12
#define SYS_TICK_PER    ((CONFIG_OR32_SYS_CLK*1000000)/HZ)
13
 
14
/*
15
 * We don't have a cycle-counter.. but we do not support SMP anyway where this is
16
 * used so it does not matter.
17
 */
18
 
19
typedef unsigned int cycles_t;
20
 
21
static inline cycles_t get_cycles(void)
22
{
23
        return 0;
24
}
25
 
26
#define vxtime_lock()           do {} while (0)
27
#define vxtime_unlock()         do {} while (0)
28
 
29
#endif

powered by: WebSVN 2.1.0

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