projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54b08ef
)
MIPS: use inline directive for __in*s functions
author
Gabor Juhos
<juhosg@openwrt.org>
Wed, 16 Jan 2013 02:39:22 +0000
(
02:39
+0000)
committer
Daniel Schwierzeck
<daniel.schwierzeck@gmail.com>
Tue, 22 Jan 2013 19:52:08 +0000
(20:52 +0100)
All other IO accessor functions are using the
'inline' directive. Use that also for the __in*s
to make it consistent with the other variants.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Cc: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
arch/mips/include/asm/io.h
patch
|
blob
|
history
diff --git
a/arch/mips/include/asm/io.h
b/arch/mips/include/asm/io.h
index 80eab75e153afdfff91beeea87152291edf54426..50466f2c93b2beffbfaf97f89e5d5a3f3cfef9bc 100644
(file)
--- a/
arch/mips/include/asm/io.h
+++ b/
arch/mips/include/asm/io.h
@@
-268,7
+268,7
@@
__OUT1(s##c_p) __OUT2(m) : : "r" (__ioswab##w(value)), "ir" (port), "r" (mips_io
SLOW_DOWN_IO; }
#define __IN1(t,s) \
-extern
__inline__
t __in##s(unsigned int port) { t _v;
+extern
inline
t __in##s(unsigned int port) { t _v;
/*
* Required nops will be inserted by the assembler