Re: [PATCH] kernel/Makefile: remove the useless CFLAGS_REMOVE_cgroup-debug.o

From: Zefan Li
Date: Fri Jan 29 2016 - 23:24:09 EST


On 2016/1/30 11:54, Li Bin wrote:
> The file cgroup-debug.c had been removed from commit fe6934354f8e
> (cgroups: move the cgroup debug subsys into cgroup.c to access internal state).
> Remain the CFLAGS_REMOVE_cgroup-debug.o = $(CC_FLAGS_FTRACE)
> useless in kernel/Makefile.
>
> Signed-off-by: Li Bin <huawei.libin@xxxxxxxxxx>

Acked-by: Zefan Li <lizefan@xxxxxxxxxx>

> ---
> kernel/Makefile | 3 +--
> 1 files changed, 1 insertions(+), 2 deletions(-)
>
> diff --git a/kernel/Makefile b/kernel/Makefile
> index 53abf00..baa55e5 100644
> --- a/kernel/Makefile
> +++ b/kernel/Makefile
> @@ -14,8 +14,7 @@ obj-y = fork.o exec_domain.o panic.o \
> obj-$(CONFIG_MULTIUSER) += groups.o
>
> ifdef CONFIG_FUNCTION_TRACER
> -# Do not trace debug files and internal ftrace files
> -CFLAGS_REMOVE_cgroup-debug.o = $(CC_FLAGS_FTRACE)
> +# Do not trace internal ftrace files
> CFLAGS_REMOVE_irq_work.o = $(CC_FLAGS_FTRACE)
> endif
>
>