Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1763412AbXFEGxO (ORCPT ); Tue, 5 Jun 2007 02:53:14 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755457AbXFEGxA (ORCPT ); Tue, 5 Jun 2007 02:53:00 -0400 Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:35660 "EHLO sunset.davemloft.net" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1755205AbXFEGw7 (ORCPT ); Tue, 5 Jun 2007 02:52:59 -0400 Date: Mon, 04 Jun 2007 23:53:13 -0700 (PDT) Message-Id: <20070604.235313.85409993.davem@davemloft.net> To: sam@ravnborg.org Cc: adaplas@gmail.com, jakub@redhat.com, jengelh@linux01.gwdg.de, daplas@gmail.com, linux-kernel@vger.kernel.org Subject: Re: Section mismatches in drivers/video/console/promcon From: David Miller In-Reply-To: <20070602191646.GA13264@uranus.ravnborg.org> References: <20070602124255.GA10119@uranus.ravnborg.org> <1180790683.4524.13.camel@daplas> <20070602191646.GA13264@uranus.ravnborg.org> X-Mailer: Mew version 5.1.52 on Emacs 21.4 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1010 Lines: 29 From: Sam Ravnborg Date: Sat, 2 Jun 2007 21:16:46 +0200 > > > > promcon_init() can be called again from visual_init() during > > vc_allocate(). So anything referenced by promcon_init() should not be > > marked __init. > > > > Although, if you want to keep promfont_unitable and promfont_unicount > > __init, you can probably use con_copy_unimap() using the default vc as > > the source instead of doing a promcon_init_unimap() again. > > Too involved for me to look into. > I cooked up following very minimal patch - if you agree can you then please > forward/take care of it. > > Sam > > Subject: video: fix section mismatch warning in promcon I'll merge this fix in via the Sparc tree since this is a sparc console driver. Thanks Sam. - 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/