[-mm patch] make struct vmi_ops static

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch makes the needlessly global struct vmi_ops static.

Signed-off-by: Adrian Bunk <[email protected]>

---
--- linux-2.6.20-mm1/arch/i386/kernel/vmi.c.old	2007-02-16 14:26:50.000000000 +0100
+++ linux-2.6.20-mm1/arch/i386/kernel/vmi.c	2007-02-16 14:27:00.000000000 +0100
@@ -56,7 +56,7 @@
 static int disable_mtrr;
 
 /* Cached VMI operations */
-struct {
+static struct {
 	void (*cpuid)(void /* non-c */);
 	void (*_set_ldt)(u32 selector);
 	void (*set_tr)(u32 selector);

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux