aboutsummaryrefslogtreecommitdiffstats
path: root/udelay.h
diff options
context:
space:
mode:
authorreinelt <>2004-06-26 09:27:21 +0000
committerreinelt <>2004-06-26 09:27:21 +0000
commitdc5568350b289278d2e85f8d8eaea4e652b4876c (patch)
treeb14a2a596dd615ae17880b7007d6b2b78191af94 /udelay.h
parent3f9f909fa330cb2ff47b56c43d2a4c5e1dc0a8c0 (diff)
downloadlcd4linux-dc5568350b289278d2e85f8d8eaea4e652b4876c.tar.gz
[lcd4linux @ 2004-06-26 09:27:20 by reinelt]
added '-W' to CFLAGS changed all C++ comments to C ones ('//' => '/* */') cleaned up a lot of signed/unsigned mistakes
Diffstat (limited to '')
-rw-r--r--udelay.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/udelay.h b/udelay.h
index ddfc8d9..1167fdc 100644
--- a/udelay.h
+++ b/udelay.h
@@ -1,4 +1,4 @@
-/* $Id: udelay.h,v 1.6 2004/06/20 10:09:56 reinelt Exp $
+/* $Id: udelay.h,v 1.7 2004/06/26 09:27:21 reinelt Exp $
*
* short delays
*
@@ -22,6 +22,12 @@
*
*
* $Log: udelay.h,v $
+ * Revision 1.7 2004/06/26 09:27:21 reinelt
+ *
+ * added '-W' to CFLAGS
+ * changed all C++ comments to C ones ('//' => '/* */')
+ * cleaned up a lot of signed/unsigned mistakes
+ *
* Revision 1.6 2004/06/20 10:09:56 reinelt
*
* 'const'ified the whole source
@@ -57,9 +63,9 @@
/* stolen from linux/asm-i386/processor.h */
/* REP NOP (PAUSE) is a good thing to insert into busy-wait loops. */
-static inline void rep_nop(void)
+static inline void rep_nop (void)
{
- __asm__ __volatile__("rep;nop");
+ __asm__ __volatile__("rep; nop");
}