aboutsummaryrefslogtreecommitdiffstats
path: root/udelay.h
diff options
context:
space:
mode:
authormichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2010-07-13 03:25:44 +0000
committermichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2010-07-13 03:25:44 +0000
commita9ed07b8c5b516224e328305eb0f1290f8327ad0 (patch)
tree80b1c69b87ecd1a36feae2114be4ad62969e5b63 /udelay.h
parent6826450c8312ab13b52f13728dd4f6433e8f79fb (diff)
downloadlcd4linux-a9ed07b8c5b516224e328305eb0f1290f8327ad0.tar.gz
support for Sure Electronics's 1602 LCD Display Board with USB from Mikhail
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1126 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'udelay.h')
-rw-r--r--udelay.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/udelay.h b/udelay.h
index 1e17d9b..bddadce 100644
--- a/udelay.h
+++ b/udelay.h
@@ -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);