-
Keith Owens authored
Port the ia64 mca.c clean up patches from 2.4.25-pre8 to 2.6.2-rc2. The following 6 patches do :- 1 Avoid deadlock when using printk() for MCA and INIT records. 2 Delete all record printing code, moved to salinfo_decode in user space. 3 Mark variables and functions static where possible. 4 Delete dead variables and functions. 5 Reorder to remove the need for forward declarations and to consolidate related code. 6 Bjorn's printk cleanup. Altogether they shrink mca.c from 2432 to 1339 lines and make it much more readable. The only functional change is the removal of any attempt to print the CMC/CPE/MCA/INIT record contents in the kernel plus the addition of an info printk to ia64_mca_check_errors(), to match 2.4. Now we just get one line to say that a record has been detected, except for MCA which prints nothing at all.
472bf5ab