Re: [PATCH 8/9] MIPS: Add board_* hooks for ebase and NMI

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Nov 05, 2011 at 02:21:17PM -0700, Kevin Cernekee wrote:

> Certain BMIPS platforms need to move the exception vectors and/or
> intercept NMI events.  Add hooks to make this possible.

There are other potencial users of NMI hooks and exporting random
function pointers has never been terribly stylish.  I instead suggest
to use notifiers, see <linux/notifiers.h>.

Due to the locking constraints in an NMI board_nmi_handler should then
become a raw notifier and the board_ebase_setup() function could
just go away.

  Ralf



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux