mirror of https://gitee.com/openkylin/linux.git
24 lines
519 B
C
24 lines
519 B
C
|
/*
|
||
|
* File...........: linux/include/asm/todclk.h
|
||
|
* Author(s)......: Holger Smolinski <Holger.Smolinski@de.ibm.com>
|
||
|
* Bugreports.to..: <Linux390@de.ibm.com>
|
||
|
* (C) IBM Corporation, IBM Deutschland Entwicklung GmbH, 1999,2000
|
||
|
*
|
||
|
* History of changes (starts July 2000)
|
||
|
*/
|
||
|
|
||
|
#ifndef __ASM_TODCLK_H
|
||
|
#define __ASM_TODCLK_H
|
||
|
|
||
|
#ifdef __KERNEL__
|
||
|
|
||
|
#define TOD_uSEC (0x1000ULL)
|
||
|
#define TOD_mSEC (1000 * TOD_uSEC)
|
||
|
#define TOD_SEC (1000 * TOD_mSEC)
|
||
|
#define TOD_MIN (60 * TOD_SEC)
|
||
|
#define TOD_HOUR (60 * TOD_MIN)
|
||
|
|
||
|
#endif
|
||
|
|
||
|
#endif
|