mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-31 08:28:13 +00:00
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
|