Skip to contentSkip to conversation

arch/i386/kernel/cpu/mtrr/generic.c: make generic_get_mtrr static

PATCH New Adrian Bunk 1 participant 1 message Apr 10, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arch/i386/kernel/cpu/mtrr/generic.c: make generic_get_mtrr static

This patch makes a needlessly global function static.

---

This patch was already sent on:
- 27 Mar 2005
- 20 Mar 2005

arch/i386/kernel/cpu/mtrr/generic.c renamed from arch/i386/kernel/cpu/mtrr/generic.c.old +2 -2
@@ -114,8 +114,8 @@
 	return -ENOSPC;
 }
 
-void generic_get_mtrr(unsigned int reg, unsigned long *base,
-		      unsigned int *size, mtrr_type * type)
+static void generic_get_mtrr(unsigned int reg, unsigned long *base,
+			     unsigned int *size, mtrr_type * type)
 {
 	unsigned int mask_lo, mask_hi, base_lo, base_hi;