lkml.org 
[lkml]   [2008]   [Sep]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch 3/3] x86: io-apic - code style cleaning for setup_IO_APIC_irqs

* Cyrill Gorcunov <gorcunov@gmail.com> wrote:

> So as you see it's more then enough self-solid :) So I wouldn't break
> it 'cause of printing. If we have enough memory for bit field - we
> could just mark there if pin is connected to irq and print connection
> map after. Don't get me wrong please - I just don't want to overload
> this function with additional call.

the compiler will inline that single-called function just fine, as long
as you declare it static.

spreading printouts over several functions isnt all that bad i think. We
could even drop the 'not connected' complication - it's evident enough
from the fact that nothing gets printed.

Ingo


\
 
 \ /
  Last update: 2008-09-05 20:41    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog