Skip to contentSkip to conversation

dyn_array: split dyn_array functions from init/main.c

PATCH New Yinghai Lu 1 participant 1 message Aug 19, 2008

lore
Share & tools
lore

Yinghai Lu

author
#0 lore raw

PATCH 1/1 dyn_array: split dyn_array functions from init/main.c

---
 init/Makefile    |    2 
 init/dyn_array.c |  124 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 init/main.c      |  118 ----------------------------------------------------
 3 files changed, 125 insertions(+), 119 deletions(-)
init/Makefile +1 -1
Index: linux-2.6/init/Makefile
===================================================================
@@ -2,7 +2,7 @@
 # Makefile for the linux kernel.
 #
 
-obj-y                          := main.o version.o mounts.o
+obj-y                          := main.o dyn_array.o version.o mounts.o
 ifneq ($(CONFIG_BLK_DEV_INITRD),y)
 obj-y                          += noinitramfs.o
 else
init/main.c +0 -118

124 lines not on this page · raw message

init/dyn_array.c new file +124 -0

124 lines not on this page · raw message