Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757228Ab2ENQyk (ORCPT ); Mon, 14 May 2012 12:54:40 -0400 Received: from perches-mx.perches.com ([206.117.179.246]:54590 "EHLO labridge.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754530Ab2ENQyj (ORCPT ); Mon, 14 May 2012 12:54:39 -0400 From: Joe Perches To: Kay Sievers , linux-kernel@vger.kernel.org Cc: Hiroshi DOYU , linux-tegra@vger.kernel.org, Peter Zijlstra , Andrew Morton , Ingo Molnar , Greg Kroah-Hartman , Linus Torvalds Subject: [PATCH 1/4] printk: Move to separate directory for easier modification Date: Mon, 14 May 2012 09:54:30 -0700 Message-Id: <76bd4533a88ae2ebf584887d51bf306591d0c01a.1337013604.git.joe@perches.com> X-Mailer: git-send-email 1.7.8.111.gad25c.dirty In-Reply-To: <1337013987.29436.16.camel@joe2Laptop> References: <1337013987.29436.16.camel@joe2Laptop> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1810 Lines: 61 Make it easier to break up printk into bite-sized chunks. Signed-off-by: Joe Perches --- kernel/Makefile | 3 ++- kernel/printk/Makefile | 1 + kernel/{ => printk}/printk.c | 2 -- 3 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 kernel/printk/Makefile rename kernel/{ => printk}/printk.c (99%) diff --git a/kernel/Makefile b/kernel/Makefile index cb41b95..1ea2933 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -2,7 +2,7 @@ # Makefile for the linux kernel. # -obj-y = fork.o exec_domain.o panic.o printk.o \ +obj-y = fork.o exec_domain.o panic.o \ cpu.o exit.o itimer.o time.o softirq.o resource.o \ sysctl.o sysctl_binary.o capability.o ptrace.o timer.o user.o \ signal.o sys.o kmod.o workqueue.o pid.o \ @@ -24,6 +24,7 @@ endif obj-y += sched/ obj-y += power/ +obj-y += printk/ obj-$(CONFIG_FREEZER) += freezer.o obj-$(CONFIG_PROFILING) += profile.o diff --git a/kernel/printk/Makefile b/kernel/printk/Makefile new file mode 100644 index 0000000..6bae497 --- /dev/null +++ b/kernel/printk/Makefile @@ -0,0 +1 @@ +obj-y += printk.o diff --git a/kernel/printk.c b/kernel/printk/printk.c similarity index 99% rename from kernel/printk.c rename to kernel/printk/printk.c index b663c2c..d98c094 100644 --- a/kernel/printk.c +++ b/kernel/printk/printk.c @@ -1,6 +1,4 @@ /* - * linux/kernel/printk.c - * * Copyright (C) 1991, 1992 Linus Torvalds * * Modified to make sys_syslog() more flexible: added commands to -- 1.7.8.111.gad25c.dirty -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/