Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 10 Oct 2002 12:52:10 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 10 Oct 2002 12:52:10 -0400 Received: from email.gcom.com ([206.221.230.194]:37563 "EHLO gcom.com") by vger.kernel.org with ESMTP id ; Thu, 10 Oct 2002 12:52:08 -0400 Message-Id: <5.1.0.14.2.20021010115616.04a0de70@localhost> X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Thu, 10 Oct 2002 11:57:46 -0500 To: "Petr Vandrovec" From: David Grothe Subject: Re: [Linux-streams] Re: [PATCH] Re: export of sys_call_tabl Cc: linux-kernel@vger.kernel.org, LiS , davem@redhat.com, bidulock@openss7.org In-Reply-To: <4386E3211F1@vcnet.vc.cvut.cz> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=====================_1710900895==_" Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4267 Lines: 68 --=====================_1710900895==_ Content-Type: text/plain; charset="us-ascii"; format=flowed Attached is the "final" patch. I eliminated the unregister function. This is tested on stock 2.4.19 kernel. Will someone see that it is added to the kernel source? Thanks, Dave --=====================_1710900895==_ Content-Type: text/plain; name="stock-i386-2.4.19.txt"; x-mac-type="42494E41"; x-mac-creator="74747874" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="stock-i386-2.4.19.txt" LS0tIGFyY2gvaTM4Ni9rZXJuZWwvZW50cnkuUy5vcmlnCTIwMDItMDgtMDIgMTk6Mzk6NDIuMDAw MDAwMDAwIC0wNTAwCisrKyBhcmNoL2kzODYva2VybmVsL2VudHJ5LlMJMjAwMi0xMC0wOCAxNTo0 MzowOC4wMDAwMDAwMDAgLTA1MDAKQEAgLTU4NCw4ICs1ODQsOCBAQAogCS5sb25nIFNZTUJPTF9O QU1FKHN5c19jYXBzZXQpICAgICAgICAgICAvKiAxODUgKi8KIAkubG9uZyBTWU1CT0xfTkFNRSh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YWQoJnN0cmVhbXNfY2FsbF9zZW0pIDsJ Lyogc2hvdWxkIHJldHVybiBpbnQsIGJ1dCBkb2Vzbid0ICovCisJaWYgKGRvX2dldHBtc2cpCisJ CXJldCA9ICgqZG9fZ2V0cG1zZykgKGZkLCBjdGxwdHIsIGRhdHB0ciwgYmFuZCwgZmxhZ3MpOwor CXVwX3JlYWQoJnN0cmVhbXNfY2FsbF9zZW0pOworCXJldHVybiByZXQ7Cit9CisKK2ludCByZWdp c3Rlcl9zdHJlYW1zX2NhbGxzKGludCAoKnB1dHBtc2cpIChpbnQsIHZvaWQgKiwgdm9pZCAqLCBp bnQsIGludCksCisJCQkgICAgaW50ICgqZ2V0cG1zZykgKGludCwgdm9pZCAqLCB2b2lkICosIGlu dCwgaW50KSkKK3sKKwlpbnQgcmV0ID0gMDsKKwlkb3duX3dyaXRlKCZzdHJlYW1zX2NhbGxfc2Vt KSA7CS8qIHNob3VsZCByZXR1cm4gaW50LCBidXQgZG9lc24ndCAqLworCWlmICggICAocHV0cG1z ZyAhPSBOVUxMICYmIGRvX3B1dHBtc2cgIT0gTlVMTCkKKwkgICAgfHwgKGdldHBtc2cgIT0gTlVM TCAmJiBkb19nZXRwbXNnICE9IE5VTEwpCisJICAgKQorCQlyZXQgPSAtRUJVU1k7CisJZWxzZSB7 CisJCWRvX3B1dHBtc2cgPSBwdXRwbXNnOworCQlkb19nZXRwbXNnID0gZ2V0cG1zZzsKKwl9CisJ dXBfd3JpdGUoJnN0cmVhbXNfY2FsbF9zZW0pOworCXJldHVybiByZXQgOworfQorCiBhc21saW5r YWdlIGxvbmcgc3lzX25pX3N5c2NhbGwodm9pZCkKIHsKIAlyZXR1cm4gLUVOT1NZUzsK --=====================_1710900895==_-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/