aboutsummaryrefslogtreecommitdiffstats
path: root/udelay.h
diff options
context:
space:
mode:
Diffstat (limited to 'udelay.h')
-rw-r--r--udelay.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/udelay.h b/udelay.h
index 60623ab..02c7835 100644
--- a/udelay.h
+++ b/udelay.h
@@ -1,9 +1,9 @@
-/* $Id: udelay.h 728 2007-01-14 11:14:38Z michael $
- * $URL: https://ssl.bulix.org/svn/lcd4linux/branches/0.10.1/udelay.h $
+/* $Id: udelay.h 1126 2010-07-13 03:25:44Z michael $
+ * $URL: https://ssl.bulix.org/svn/lcd4linux/trunk/udelay.h $
*
* short delays
*
- * Copyright (C) 1999, 2000 Michael Reinelt <reinelt@eunet.at>
+ * Copyright (C) 1999, 2000 Michael Reinelt <michael@reinelt.co.at>
* Copyright (C) 2004 The LCD4Linux Team <lcd4linux-devel@users.sourceforge.net>
*
* This file is part of LCD4Linux.
@@ -31,14 +31,14 @@
/* REP NOP (PAUSE) is a good thing to insert into busy-wait loops. */
static inline void rep_nop(void)
{
-# if defined(__i386) || defined(__i386__) || defined(__AMD64__) || defined(__x86_64__) || defined(__amd64__)
+#if defined(__i386) || defined(__i386__) || defined(__AMD64__) || defined(__x86_64__) || defined(__amd64__)
/* intel or amd64 arch, the "rep" and "nop" opcodes are available */
__asm__ __volatile__("rep; nop");
-# else
+#else
/* other Arch, maybe add core cooldown code here, too. */
do {
} while (0);
-# endif
+#endif
}
void udelay_init(void);