Possible bug in CPM interrupt handling
Ian Abbott
abbotti at mev.co.uk
Fri Oct 13 00:35:47 EST 2000
In function cpm_interrupt (commproc.c), the last line is:
((immap_t *)IMAP_ADDR)->im_cpic.cpic_cisr |= (1 << vec);
I think this should be:
((immap_t *)IMAP_ADDR)->im_cpic.cpic_cisr = (1 << vec);
If there are nested interrupts (are these allowed?) this makes sure
only the specific interrupt we are dealing with is acknowledged.
--
-=( Ian Abbott @ MEV Ltd. E-mail: <abbotti at mev.co.uk> )=-
-=( Tel: +44 (0)161 477 1898 FAX: +44 (0)161 718 3587 )=-
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-embedded
mailing list