~ubuntu-branches/ubuntu/precise/linux-lowlatency/precise

« back to all changes in this revision

Viewing changes to arch/s390/include/asm/delay.h

  • Committer: Package Import Robot
  • Author(s): Alessio Igor Bogani
  • Date: 2011-10-26 11:13:05 UTC
  • Revision ID: package-import@ubuntu.com-20111026111305-tz023xykf0i6eosh
Tags: upstream-3.2.0
ImportĀ upstreamĀ versionĀ 3.2.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 *  include/asm-s390/delay.h
 
3
 *
 
4
 *  S390 version
 
5
 *    Copyright (C) 1999 IBM Deutschland Entwicklung GmbH, IBM Corporation
 
6
 *    Author(s): Martin Schwidefsky (schwidefsky@de.ibm.com)
 
7
 *
 
8
 *  Derived from "include/asm-i386/delay.h"
 
9
 *    Copyright (C) 1993 Linus Torvalds
 
10
 *
 
11
 *  Delay routines calling functions in arch/s390/lib/delay.c
 
12
 */
 
13
 
 
14
#ifndef _S390_DELAY_H
 
15
#define _S390_DELAY_H
 
16
 
 
17
void __ndelay(unsigned long long nsecs);
 
18
void __udelay(unsigned long long usecs);
 
19
void udelay_simple(unsigned long long usecs);
 
20
void __delay(unsigned long loops);
 
21
 
 
22
#define ndelay(n) __ndelay((unsigned long long) (n))
 
23
#define udelay(n) __udelay((unsigned long long) (n))
 
24
#define mdelay(n) __udelay((unsigned long long) (n) * 1000)
 
25
 
 
26
#endif /* defined(_S390_DELAY_H) */