Skip to content

Commit

Permalink
[PATCH] include/asm-i386/: "extern inline" -> "static inline"
Browse files Browse the repository at this point in the history
"extern inline" doesn't make much sense.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Adrian Bunk authored and Linus Torvalds committed Sep 10, 2005
1 parent ea0e0a4 commit e2afe67
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion include/asm-i386/div64.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
*/
#define div_long_long_rem(a,b,c) div_ll_X_l_rem(a,b,c)

extern inline long
static inline long
div_ll_X_l_rem(long long divs, long div, long *rem)
{
long dum2;
Expand Down
4 changes: 2 additions & 2 deletions include/asm-i386/processor.h
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,7 @@ static inline void rep_nop(void)
However we don't do prefetches for pre XP Athlons currently
That should be fixed. */
#define ARCH_HAS_PREFETCH
extern inline void prefetch(const void *x)
static inline void prefetch(const void *x)
{
alternative_input(ASM_NOP4,
"prefetchnta (%1)",
Expand All @@ -693,7 +693,7 @@ extern inline void prefetch(const void *x)

/* 3dnow! prefetch to get an exclusive cache line. Useful for
spinlocks to avoid one state transition in the cache coherency protocol. */
extern inline void prefetchw(const void *x)
static inline void prefetchw(const void *x)
{
alternative_input(ASM_NOP4,
"prefetchw (%1)",
Expand Down

0 comments on commit e2afe67

Please sign in to comment.