Merge tag 'pm+acpi-4.2-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael...
[linux/fpc-iii.git] / arch / s390 / include / asm / delay.h
blob3f6e4095f4715f5c92aaf01b69b416efad9ac69f
1 /*
2 * S390 version
3 * Copyright IBM Corp. 1999
4 * Author(s): Martin Schwidefsky (schwidefsky@de.ibm.com)
6 * Derived from "include/asm-i386/delay.h"
7 * Copyright (C) 1993 Linus Torvalds
9 * Delay routines calling functions in arch/s390/lib/delay.c
12 #ifndef _S390_DELAY_H
13 #define _S390_DELAY_H
15 void __ndelay(unsigned long long nsecs);
16 void __udelay(unsigned long long usecs);
17 void udelay_simple(unsigned long long usecs);
18 void __delay(unsigned long loops);
20 #define ndelay(n) __ndelay((unsigned long long) (n))
21 #define udelay(n) __udelay((unsigned long long) (n))
22 #define mdelay(n) __udelay((unsigned long long) (n) * 1000)
24 #endif /* defined(_S390_DELAY_H) */