All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Schlichter <schlicht@uni-mannheim.de>
To: linux-kernel@vger.kernel.org
Subject: patch for errno-issue (with soundcore)
Date: Mon, 13 Jan 2003 14:57:53 +0100	[thread overview]
Message-ID: <200301131457.24264.thomas.schlichter@web.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 238 bytes --]

Hi,

here is a simple patch to export the errno-symbol from the /lib/errno.c file. 
This solves the problem with the soundcore module and works perfectly for 
me...

   Thomas Schlichter

P.S.: This patch is made against the 2.5.56 tree


[-- Attachment #2: errno_patch.diff --]
[-- Type: text/x-diff, Size: 841 bytes --]

diff -urP linux-2.5.56/lib/Makefile linux-2.5.56_patched/lib/Makefile
--- linux-2.5.56/lib/Makefile	Fri Jan 10 21:11:20 2003
+++ linux-2.5.56_patched/lib/Makefile	Mon Jan 13 13:15:41 2003
@@ -9,7 +9,7 @@
 L_TARGET := lib.a

 export-objs := cmdline.o dec_and_lock.o rwsem-spinlock.o rwsem.o \
-	       crc32.o rbtree.o radix-tree.o kobject.o
+	       crc32.o rbtree.o radix-tree.o kobject.o errno.o

 obj-y := errno.o ctype.o string.o vsprintf.o brlock.o cmdline.o \
 	 bust_spinlocks.o rbtree.o radix-tree.o dump_stack.o \
diff -urP linux-2.5.56/lib/errno.c linux-2.5.56_patched/lib/errno.c
--- linux-2.5.56/lib/errno.c	Fri Jan 10 21:11:40 2003
+++ linux-2.5.56_patched/lib/errno.c	Mon Jan 13 13:17:21 2003
@@ -4,4 +4,8 @@
  *  Copyright (C) 1991, 1992  Linus Torvalds
  */

+#include <linux/module.h>
+
 int errno;
+
+EXPORT_SYMBOL(errno);

             reply	other threads:[~2003-01-13 13:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-13 13:57 Thomas Schlichter [this message]
2003-01-13 14:04 ` patch for errno-issue (with soundcore) Bob_Tracy(0000)
2003-01-13 15:13 ` Alan Cox
2003-01-13 14:57   ` Thomas Schlichter
  -- strict thread matches above, loose matches on Subject: below --
2003-01-13 16:33 Petr Vandrovec
2003-01-13 17:10 ` Thomas Schlichter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200301131457.24264.thomas.schlichter@web.de \
    --to=schlicht@uni-mannheim.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.