Cc: Yinghai Lu <yhlu.kernel@...>, Ingo Molnar <mingo@...>, Thomas Gleixner <tglx@...>, H. Peter Anvin <hpa@...>, Dhaval Giani <dhaval@...>, Mike Travis <travis@...>, Andrew Morton <akpm@...>, <linux-kernel@...>
I like it.
Good catch on the m68k serial driver.
Now to pick a few nits ;)
You are short a definition of NR_IRQ_HASH that is trivial.
struct hlist_node hchain;
Would allow us to use the generic hash table code.
static DEFINE_MUTEX(hash_mutex);
kzalloc sleeps....
Looks like we can also tweak serial_do_unlink to free irq_info when
the list goes empty, so we don't have a leak if the driver is ever
unloaded.
Eric
--