mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: David Jez <dave.jez@seznam.cz>
To: linux-kernel@vger.kernel.org
Subject: [TRIVIAL] sys32_module_warning cleanup from 2.6.0-test9
Date: Fri, 14 Nov 2003 10:50:28 +0100	[thread overview]
Message-ID: <20031114095027.GA42967@stud.fit.vutbr.cz> (raw)

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

  Hi, i send you trivial patch for 2.6.0-test9 kernel which removes
obsolete warning. It is 2.6 kernel, that use module-init-tools so IMHO
this warning is not necessary.

  Regards,
-- 
-------------------------------------------------------
  David "Dave" Jez                Brno, CZ, Europe
 E-mail: dave.jez@seznam.cz
PGP key: finger xjezda00@eva.fit.vutbr.cz
---------=[ ~EOF ]=------------------------------------

[-- Attachment #2: linux-2.6.0-test9-amd64.cleanup.diff --]
[-- Type: text/plain, Size: 1321 bytes --]

diff -urN linux-2.6.0-test9.orig/arch/x86_64/ia32/ia32entry.S linux-2.6.0-test9/arch/x86_64/ia32/ia32entry.S
--- linux-2.6.0-test9.orig/arch/x86_64/ia32/ia32entry.S	2003-10-25 18:43:32.000000000 +0000
+++ linux-2.6.0-test9/arch/x86_64/ia32/ia32entry.S	2003-11-12 22:44:16.000000000 +0000
@@ -330,10 +330,10 @@
 	.quad sys32_adjtimex
 	.quad sys32_mprotect		/* 125 */
 	.quad compat_sys_sigprocmask
-	.quad sys32_module_warning	/* create_module */
+	.quad ni_syscall		/* create_module */
 	.quad sys_init_module
 	.quad sys_delete_module
-	.quad sys32_module_warning	/* 130  get_kernel_syms */
+	.quad ni_syscall		/* 130  get_kernel_syms */
 	.quad ni_syscall	/* quotactl */ 
 	.quad sys_getpgid
 	.quad sys_fchdir
diff -urN linux-2.6.0-test9.orig/arch/x86_64/ia32/sys_ia32.c linux-2.6.0-test9/arch/x86_64/ia32/sys_ia32.c
--- linux-2.6.0-test9.orig/arch/x86_64/ia32/sys_ia32.c	2003-10-25 18:43:30.000000000 +0000
+++ linux-2.6.0-test9/arch/x86_64/ia32/sys_ia32.c	2003-11-12 22:44:31.000000000 +0000
@@ -1817,13 +1817,6 @@
 }
 #endif
 
-long sys32_module_warning(void)
-{ 
-		printk(KERN_INFO "%s: 32bit 2.4.x modutils not supported on 64bit kernel\n",
-		       current->comm);
-	return -ENOSYS ;
-} 
-
 extern long sys_io_setup(unsigned nr_reqs, aio_context_t *ctx);
 
 long sys32_io_setup(unsigned nr_reqs, u32 *ctx32p)

                 reply	other threads:[~2003-11-14  9:50 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20031114095027.GA42967@stud.fit.vutbr.cz \
    --to=dave.jez@seznam.cz \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®