[lkml]   [2008]   [Dec]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH for -tip] proc: remove ifdef CONFIG_SPARSE_IRQ from stat.c

* KOSAKI Motohiro <> wrote:

> I confirmed by alpha cross compiler.
> ==
> Subject: [PATCH] proc: remove ifdef CONFIG_SPARSE_IRQ from stat.c
> Impact: cleanup
> commit 240d367b4e6c6e3c5075e034db14dba60a6f5fa7 has a bit strange analysis.
> The fact is, irq_desc() can be used old architecuture too.
> but old code don't include <linux/irq.h>.
> right fixing is here.

> +#include <linux/irq.h>

looks good, but linux/irq.h cannot be included on all architectures. (for
example s390 has no notion of 'hardirqs'). But we created linux/irqnr.h
for this purpose - so including that should work better.


 \ /
  Last update: 2008-12-25 12:01    [W:0.057 / U:5.128 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site