Thread (18 messages) 18 messages, 5 authors, 2007-07-13

Re: [patch 0/4] Cell SPE logos

flat view

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2007-07-13 12:32:11
Also in: lkml

On Fri, 2007-07-13 at 11:09 +0200, Geert Uytterhoeven wrote:
On Fri, 13 Jul 2007, Andrew Morton wrote:
quoted
On Fri, 13 Jul 2007 10:52:10 +0200 (CEST) Geert Uytterhoeven [off-list ref] wrote:
quoted
quoted
quoted
Summaries:
  [1] fbdev: extract fb_show_logo_line()
  [2] fbdev: Add fb_append_extra_logo()
This one does give additional code and data to all fbdev users while only
being useful to cell machines.  Should we fix that?
I can protect it by #ifdef CONFIG_PPC_CELL (as long as there are no other
users). Would that be OK?
umm, your call.  If that makes sense, sure.
I just don't like putting platform-specific checks in common code.

Perhaps I better add CONFIG_FB_LOGO_EXTRA and make it depend on
CONFIG_PPC_CELL?
I hate depends when it's not a dependency... the logo extra code doesn't
-depend- technically on cell (it doesn't call cell only stuff). However,
cell wants it enabled, thus I'd rather use either the "default y if
PP_CELL" construct or select it from the cell option.

Ben.
 


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help