public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [patch, 2.5] : removing unwanted variable from init/main.c
@ 2002-07-15  4:15 Manik Raina
  0 siblings, 0 replies; only message in thread
From: Manik Raina @ 2002-07-15  4:15 UTC (permalink / raw)
  To: linux-kernel, torvalds

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



[-- Attachment #2: mempages --]
[-- Type: text/plain, Size: 879 bytes --]

diff -u -U 6 -r linux-2.5.24/init/main.c nice/init/main.c
--- linux-2.5.24/init/main.c	Fri Jun 21 04:23:46 2002
+++ nice/init/main.c	Fri Jul  5 15:16:56 2002
@@ -330,13 +330,12 @@
  *	Activate the first processor.
  */
 
 asmlinkage void __init start_kernel(void)
 {
 	char * command_line;
-	unsigned long mempages;
 	extern char saved_command_line[];
 /*
  * Interrupts are still disabled. Do necessary setups, then
  * enable them
  */
 	lock_kernel();
@@ -381,19 +380,16 @@
 		initrd_start = 0;
 	}
 #endif
 	mem_init();
 	kmem_cache_sizes_init();
 	pgtable_cache_init();
-
-	mempages = num_physpages;
-
-	fork_init(mempages);
+	fork_init(num_physpages);
 	proc_caches_init();
 	buffer_init();
-	vfs_caches_init(mempages);
+	vfs_caches_init(num_physpages);
 	radix_tree_init();
 	signals_init();
 #ifdef CONFIG_PROC_FS
 	proc_root_init();
 #endif
 #if defined(CONFIG_SYSVIPC)

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

only message in thread, other threads:[~2002-07-15  4:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-15  4:15 [patch, 2.5] : removing unwanted variable from init/main.c Manik Raina

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox