lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070220000203.GW13958@stusta.de>
Date:	Tue, 20 Feb 2007 01:02:03 +0100
From:	Adrian Bunk <bunk@...sta.de>
To:	Andrew Morton <akpm@...ux-foundation.org>,
	Zachary Amsden <zach@...are.com>
Cc:	linux-kernel@...r.kernel.org, Andi Kleen <ak@...e.de>
Subject: [-mm patch] make struct vmi_ops static

This patch makes the needlessly global struct vmi_ops static.

Signed-off-by: Adrian Bunk <bunk@...sta.de>

---
--- 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 majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ