Re: [patch] 2.4.25-pre8, 2.6.2-rc2 mca.c - pass irq_safe around

David Mosberger
2004-02-10T22:57:17Z

>>>>> On Fri, 06 Feb 2004 17:37:03 +1100, Keith Owens <kaos@sgi.com> said:

Keith> The patch is against 2.4.25-pre8 bk. It also applies to
Keith> 2.6.2-rc2 bk (with some fuzz and offsets), after applying my
Keith> previous 6 patches to 2.6.2-rc2 mca.c.

Keith> Patches from Ben Woodward to calculate irq_safe once and pass
Keith> it around.

I applied the patch but I'm wondering what happens if someone adds a
new SAL_INFO_TYPE which isn't irq-safe. Wouldn't it be safer to flip
things around and check sal_info_type against known-to-be-safe values?

--david