From a9ed07b8c5b516224e328305eb0f1290f8327ad0 Mon Sep 17 00:00:00 2001 From: michael Date: Tue, 13 Jul 2010 03:25:44 +0000 Subject: 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 --- udelay.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'udelay.h') 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); -- cgit v1.2.3