This is the first part of me going through and cleaning up the IRQ handlingcode for radeon, since after taking a look at it the other day while trying todebug something I realized basically all of the code was copy pastedeverywhere, and quite difficult to actually read through.

Will come up with something for r600 and cik once I've got the chipsets on handto test with.