From: Robert P. J. Day Date: Wed, 11 Aug 2010 01:03:08 +0000 (-0700) Subject: procfs: simplify conditional processing of fs/proc.o. X-Git-Tag: v3.12-rc1~9064 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cfbef3cb16658046c6faa8c9816018dd11ae62f0;p=kernel%2Fkernel-generic.git procfs: simplify conditional processing of fs/proc.o. Since the entire fs/proc directory is conditionally included based on CONFIG_PROC_FS, it's redundant to check that same variable within that directory. Signed-off-by: Robert P. J. Day Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/proc/Makefile b/fs/proc/Makefile index 11a7b5c..2758e2a 100644 --- a/fs/proc/Makefile +++ b/fs/proc/Makefile @@ -2,7 +2,7 @@ # Makefile for the Linux proc filesystem routines. # -obj-$(CONFIG_PROC_FS) += proc.o +obj-y += proc.o proc-y := nommu.o task_nommu.o proc-$(CONFIG_MMU) := mmu.o task_mmu.o