summaryrefslogtreecommitdiffstats
path: root/sys/i386/linux/imgact_linux.c
diff options
context:
space:
mode:
authoreivind <eivind@FreeBSD.org>1998-02-11 01:46:50 +0000
committereivind <eivind@FreeBSD.org>1998-02-11 01:46:50 +0000
commit5cb8382644780b0373c0ffb7f8578503885b687f (patch)
treeaedf73651669a799c9cb5b0b4e925c39d7b60f8d /sys/i386/linux/imgact_linux.c
parentfeb116808c79cfedb794e13d8ffd6a87ace2749c (diff)
downloadFreeBSD-src-5cb8382644780b0373c0ffb7f8578503885b687f.zip
FreeBSD-src-5cb8382644780b0373c0ffb7f8578503885b687f.tar.gz
De-staticize enough to make all the LKMs work again. Add comments where
deemed relevant.
Diffstat (limited to 'sys/i386/linux/imgact_linux.c')
-rw-r--r--sys/i386/linux/imgact_linux.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/i386/linux/imgact_linux.c b/sys/i386/linux/imgact_linux.c
index 66a104a..eb28e4f 100644
--- a/sys/i386/linux/imgact_linux.c
+++ b/sys/i386/linux/imgact_linux.c
@@ -28,7 +28,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: imgact_linux.c,v 1.25 1997/12/05 19:55:37 bde Exp $
+ * $Id: imgact_linux.c,v 1.26 1998/02/09 06:09:16 eivind Exp $
*/
#include <sys/param.h>
@@ -230,8 +230,8 @@ exec_linux_imgact(imgp)
/*
* Tell kern_execve.c about it, with a little help from the linker.
* Since `const' objects end up in the text segment, TEXT_SET is the
- * correct directive to use.
+ * correct directive to use. Do not staticize; used by Linux LKM.
*/
-static const struct execsw linux_execsw = { exec_linux_imgact, "linux a.out" };
+const struct execsw linux_execsw = { exec_linux_imgact, "linux a.out" };
TEXT_SET(execsw_set, linux_execsw);
OpenPOWER on IntegriCloud