X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=include%2Fasm-i386%2Fprocessor.h;h=0a4ec764377ca1aa0db8c607a35e9ddfd586d297;hb=a1218720321d778134914cf90ef54cf0d1d8477c;hp=37bef8ed7bed12bd33bf3670ccf7991516aa7484;hpb=db400b3c4ee89d384d9163836a55577abdae772d;p=powerpc.git diff --git a/include/asm-i386/processor.h b/include/asm-i386/processor.h index 37bef8ed7b..0a4ec76437 100644 --- a/include/asm-i386/processor.h +++ b/include/asm-i386/processor.h @@ -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)", @@ -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)",