linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [TRIVIAL] sys32_module_warning cleanup from 2.6.0-test9
@ 2003-11-14  9:50 David Jez
  0 siblings, 0 replies; only message in thread
From: David Jez @ 2003-11-14  9:50 UTC (permalink / raw)
  To: linux-kernel

[-- 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)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-11-14  9:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-14  9:50 [TRIVIAL] sys32_module_warning cleanup from 2.6.0-test9 David Jez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).