Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761565Ab2FEJqt (ORCPT ); Tue, 5 Jun 2012 05:46:49 -0400 Received: from perches-mx.perches.com ([206.117.179.246]:51672 "EHLO labridge.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754401Ab2FEJqs (ORCPT ); Tue, 5 Jun 2012 05:46:48 -0400 From: Joe Perches To: Linus Torvalds , linux-arm-kernel@lists.infradead.org, linux-btrfs@vger.kernel.org Cc: Andrew Morton , Kay Sievers , linux-kernel@vger.kernel.org, devel@driverdev.osuosl.org, alsa-devel@alsa-project.org Subject: [PATCH 0/8] Rework KERN_ Date: Tue, 5 Jun 2012 02:46:29 -0700 Message-Id: X-Mailer: git-send-email 1.7.8.111.gad25c.dirty Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1853 Lines: 39 KERN_ currently takes up 3 bytes. Shrink the kernel size by using an ASCII SOH and then the level byte. Remove the need for KERN_CONT. Convert directly embedded uses of <.> to KERN_ Joe Perches (8): printk: Add generic functions to find KERN_ headers printk: Add kern_levels.h to make KERN_ available for asm use arch: Remove direct definitions of KERN_ uses btrfs: Use printk_get_level and printk_skip_level, add __printf, fix fallout sound: Use printk_get_level and printk_skip_level staging: wlags49_h2: Remove direct declarations of KERN_ prefixes printk: Convert the format for KERN_ to a 2 byte pattern printk: Remove the now unnecessary "C" annotation for KERN_CONT arch/arm/lib/io-acorn.S | 3 +- arch/arm/vfp/vfphw.S | 7 +++-- arch/frv/kernel/kernel_thread.S | 2 +- drivers/staging/wlags49_h2/hcf.c | 8 +++--- drivers/staging/wlags49_h2/wl_main.c | 4 +- fs/btrfs/ctree.h | 13 ++++++++++ fs/btrfs/disk-io.c | 2 +- fs/btrfs/relocation.c | 2 +- fs/btrfs/super.c | 41 +++++++++++++++++++++++++++++----- include/linux/kern_levels.h | 25 ++++++++++++++++++++ include/linux/printk.h | 41 +++++++++++++++++++-------------- kernel/printk.c | 14 +++++++---- sound/core/misc.c | 13 +++++++--- 13 files changed, 130 insertions(+), 45 deletions(-) create mode 100644 include/linux/kern_levels.h -- 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/