Skip to contentSkip to conversation

fixup for processor.h

PATCH New Martin Hicks 1 participant 1 message Apr 8, 2003

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fixup for processor.h

Here is a trivial patch to processor.h to change "extern" to "static".

The patch is against linux-2.5.64-ia64-030307

mh

Signature · 22 lines
Wild Open Source Inc.                  [email protected]


diff -X /home/mort/diffex -uNr linux-2.5.64.pristine/include/asm-ia64/processor.h linux-2.5.64/include/asm-ia64/processor.h
--- linux-2.5.64.pristine/include/asm-ia64/processor.h	Tue Apr  8 18:53:21 2003
+++ linux-2.5.64/include/asm-ia64/processor.h	Tue Apr  8 18:58:31 2003
@@ -912,13 +912,13 @@
 #define ARCH_HAS_SPINLOCK_PREFETCH
 #define PREFETCH_STRIDE 256
 
-extern inline void
+static inline void
 prefetch (const void *x)
 {
          __asm__ __volatile__ ("lfetch [%0]" : : "r"(x));
 }
 
-extern inline void
+static inline void
 prefetchw (const void *x)
 {
 	__asm__ __volatile__ ("lfetch.excl [%0]" : : "r"(x));