Re: [PATCH 12/12] powerpc/ftrace: Disable profiling for some files

2016-02-24 Thread Balbir Singh
On 25/02/16 01:28, Michael Ellerman wrote: > From: Torsten Duwe > > Using -mprofile-kernel on early boot code not only confuses the > checker but is also useless, as the infrastructure is not yet in > place. Proceed like with -pg (remove it from CFLAGS), equally with > time.o, ftrace and its hel

[PATCH 12/12] powerpc/ftrace: Disable profiling for some files

2016-02-24 Thread Michael Ellerman
From: Torsten Duwe Using -mprofile-kernel on early boot code not only confuses the checker but is also useless, as the infrastructure is not yet in place. Proceed like with -pg (remove it from CFLAGS), equally with time.o, ftrace and its helper files. * arch/powerpc/kernel/Makefile, arch/p