Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757043Ab0FRHk3 (ORCPT ); Fri, 18 Jun 2010 03:40:29 -0400 Received: from server78.greatnet.de ([83.133.96.102]:45324 "EHLO server78.greatnet.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756267Ab0FRHkY (ORCPT ); Fri, 18 Jun 2010 03:40:24 -0400 From: Henrik Kretzschmar To: akpm@linux-foundation.org Cc: pjones@redhat.com, marcin.slusarz@gmail.com, arnaud.patard@rtp-net.org, jayakumar.lkml@gmail.com, linux-kernel@vger.kernel.org, linux-fbdev@vger.kernel.org, Henrik Kretzschmar Subject: [PATCH] fbdev: section cleanup in efifb Date: Fri, 18 Jun 2010 09:40:15 +0200 Message-Id: <1276846815-26550-1-git-send-email-henne@nachtwindheim.de> X-Mailer: git-send-email 1.7.0.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2665 Lines: 77 This patch removes 43 section mismatches by moving the two structures efifb_defined and efifb_fix from .init.data to .devinit.data. Also the two structure arrays dmi_system_table[] and dmi_list[] have been moved from .data to .init.rodata and .init.data, which saves, if built-in, some space. On x86_64 'size -A' showed that these sections changed size: efifb.o: section size-old size-new .data 1200 688 .init.data 7840 512 .init.rodata 0 7568 .devinit.data 0 256 Total 11927 11911 Signed-off-by: Henrik Kretzschmar --- This patch is: * diffed against Linus tree * compile tested * carefully reviewed (by me) drivers/video/efifb.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/video/efifb.c b/drivers/video/efifb.c index 4a56f46..815f84b 100644 --- a/drivers/video/efifb.c +++ b/drivers/video/efifb.c @@ -16,7 +16,7 @@ #include