public inbox for linuxppc-dev@ozlabs.org
 help / color / mirror / Atom feed
* [PATCH] powerpc: Consolidate obj-y assignments
@ 2010-11-08  4:24 Michael Ellerman
  2010-11-08  7:23 ` Peter Korsgaard
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Ellerman @ 2010-11-08  4:24 UTC (permalink / raw)
  To: linuxppc-dev

No need to have three of them.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
---
 arch/powerpc/kernel/Makefile |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/arch/powerpc/kernel/Makefile b/arch/powerpc/kernel/Makefile
index 36c30f3..259e4ce 100644
--- a/arch/powerpc/kernel/Makefile
+++ b/arch/powerpc/kernel/Makefile
@@ -29,8 +29,10 @@ endif
 obj-y				:= cputable.o ptrace.o syscalls.o \
 				   irq.o align.o signal_32.o pmc.o vdso.o \
 				   init_task.o process.o systbl.o idle.o \
-				   signal.o sysfs.o cacheinfo.o
-obj-y				+= vdso32/
+				   signal.o sysfs.o cacheinfo.o time.o \
+				   time.o prom.o traps.o setup-common.o \
+				   udbg.o misc.o io.o dma.o \
+				   misc_$(CONFIG_WORD_SIZE).o vdso32/
 obj-$(CONFIG_PPC64)		+= setup_64.o sys_ppc32.o \
 				   signal_64.o ptrace32.o \
 				   paca.o nvram_64.o firmware.o
@@ -80,9 +82,6 @@ extra-$(CONFIG_FSL_BOOKE)	:= head_fsl_booke.o
 extra-$(CONFIG_8xx)		:= head_8xx.o
 extra-y				+= vmlinux.lds
 
-obj-y				+= time.o prom.o traps.o setup-common.o \
-				   udbg.o misc.o io.o dma.o \
-				   misc_$(CONFIG_WORD_SIZE).o
 obj-$(CONFIG_PPC32)		+= entry_32.o setup_32.o
 obj-$(CONFIG_PPC64)		+= dma-iommu.o iommu.o
 obj-$(CONFIG_KGDB)		+= kgdb.o
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] powerpc: Consolidate obj-y assignments
  2010-11-08  4:24 [PATCH] powerpc: Consolidate obj-y assignments Michael Ellerman
@ 2010-11-08  7:23 ` Peter Korsgaard
  2010-11-09  1:25   ` Michael Ellerman
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Korsgaard @ 2010-11-08  7:23 UTC (permalink / raw)
  To: Michael Ellerman; +Cc: linuxppc-dev

>>>>> "Michael" == Michael Ellerman <michael@ellerman.id.au> writes:

 Michael> No need to have three of them.
 Michael> Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
 Michael> ---
 Michael>  arch/powerpc/kernel/Makefile |    9 ++++-----
 Michael>  1 files changed, 4 insertions(+), 5 deletions(-)

 Michael> -		        signal.o sysfs.o cacheinfo.o
 Michael> -obj-y		+= vdso32/
 Michael> +			signal.o sysfs.o cacheinfo.o time.o \
 Michael> +			time.o prom.o traps.o setup-common.o \

You have time.o twice.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] powerpc: Consolidate obj-y assignments
  2010-11-08  7:23 ` Peter Korsgaard
@ 2010-11-09  1:25   ` Michael Ellerman
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Ellerman @ 2010-11-09  1:25 UTC (permalink / raw)
  To: Peter Korsgaard; +Cc: linuxppc-dev

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

On Mon, 2010-11-08 at 08:23 +0100, Peter Korsgaard wrote:
> >>>>> "Michael" == Michael Ellerman <michael@ellerman.id.au> writes:
> 
>  Michael> No need to have three of them.
>  Michael> Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
>  Michael> ---
>  Michael>  arch/powerpc/kernel/Makefile |    9 ++++-----
>  Michael>  1 files changed, 4 insertions(+), 5 deletions(-)
> 
>  Michael> -		        signal.o sysfs.o cacheinfo.o
>  Michael> -obj-y		+= vdso32/
>  Michael> +			signal.o sysfs.o cacheinfo.o time.o \
>  Michael> +			time.o prom.o traps.o setup-common.o \
> 
> You have time.o twice.

Yeah, it makes the kernel run twice as fast.

cheers



[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] powerpc: Consolidate obj-y assignments
@ 2010-11-09  3:31 Michael Ellerman
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Ellerman @ 2010-11-09  3:31 UTC (permalink / raw)
  To: linuxppc-dev

No need to have three of them.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
---
 arch/powerpc/kernel/Makefile |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/arch/powerpc/kernel/Makefile b/arch/powerpc/kernel/Makefile
index 36c30f3..3bb2a3e 100644
--- a/arch/powerpc/kernel/Makefile
+++ b/arch/powerpc/kernel/Makefile
@@ -29,8 +29,10 @@ endif
 obj-y				:= cputable.o ptrace.o syscalls.o \
 				   irq.o align.o signal_32.o pmc.o vdso.o \
 				   init_task.o process.o systbl.o idle.o \
-				   signal.o sysfs.o cacheinfo.o
-obj-y				+= vdso32/
+				   signal.o sysfs.o cacheinfo.o time.o \
+				   prom.o traps.o setup-common.o \
+				   udbg.o misc.o io.o dma.o \
+				   misc_$(CONFIG_WORD_SIZE).o vdso32/
 obj-$(CONFIG_PPC64)		+= setup_64.o sys_ppc32.o \
 				   signal_64.o ptrace32.o \
 				   paca.o nvram_64.o firmware.o
@@ -80,9 +82,6 @@ extra-$(CONFIG_FSL_BOOKE)	:= head_fsl_booke.o
 extra-$(CONFIG_8xx)		:= head_8xx.o
 extra-y				+= vmlinux.lds
 
-obj-y				+= time.o prom.o traps.o setup-common.o \
-				   udbg.o misc.o io.o dma.o \
-				   misc_$(CONFIG_WORD_SIZE).o
 obj-$(CONFIG_PPC32)		+= entry_32.o setup_32.o
 obj-$(CONFIG_PPC64)		+= dma-iommu.o iommu.o
 obj-$(CONFIG_KGDB)		+= kgdb.o
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-11-09  3:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-08  4:24 [PATCH] powerpc: Consolidate obj-y assignments Michael Ellerman
2010-11-08  7:23 ` Peter Korsgaard
2010-11-09  1:25   ` Michael Ellerman
  -- strict thread matches above, loose matches on Subject: below --
2010-11-09  3:31 Michael Ellerman

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