License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[linux-2.6/btrfs-unstable.git] / arch / s390 / include / asm / delay.h
blob898323fd93d2b9b0885bda17cd097ab6dfef20dc
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * S390 version
4 * Copyright IBM Corp. 1999
5 * Author(s): Martin Schwidefsky (schwidefsky@de.ibm.com)
7 * Derived from "include/asm-i386/delay.h"
8 * Copyright (C) 1993 Linus Torvalds
10 * Delay routines calling functions in arch/s390/lib/delay.c
13 #ifndef _S390_DELAY_H
14 #define _S390_DELAY_H
16 void __ndelay(unsigned long long nsecs);
17 void __udelay(unsigned long long usecs);
18 void udelay_simple(unsigned long long usecs);
19 void __delay(unsigned long loops);
21 #define ndelay(n) __ndelay((unsigned long long) (n))
22 #define udelay(n) __udelay((unsigned long long) (n))
23 #define mdelay(n) __udelay((unsigned long long) (n) * 1000)
25 #endif /* defined(_S390_DELAY_H) */