diff options
author | Don Zickus <dzickus@redhat.com> | 2012-03-29 20:11:15 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2012-04-25 10:43:33 (GMT) |
commit | 09ee10143658cd021d879ead61ead72a196302b6 (patch) | |
tree | b3f959e343c58f553b1b14c7f81a54b11a25b0dd /arch/x86/include/asm/nmi.h | |
parent | 625056b65ee9a8b4caf42136e0c844c15e6ec54f (diff) | |
download | linux-fsl-qoriq-09ee10143658cd021d879ead61ead72a196302b6.tar.xz |
watchdog, hpwdt: Remove priority option for NMI callback
The NMI_UNKNOWN bucket only allows for one function to register
to it. The reason for that is because only functions which can
not determine if the NMI belongs to them or not should register
and would like to assume/swallow any NMI they see.
As a result it doesn't make sense to let more than one function
like this register. In fact, letting a second function fail
allows us to know that more than one function is going to
swallow NMIs on the current system. This is better than silently
being ignored.
Therefore hpwdt's priority mechanism doesn't make sense any
more. They will be always first on the NMI_UNKNOWN queue, if
they register.
Removing this parameter cleans up the code and simplifies things
for the next patch which changes how nmis are registered.
Signed-off-by: Don Zickus <dzickus@redhat.com>
Cc: Thomas Mingarelli <thomas.mingarelli@hp.com>
Cc: Wim Van Sebroeck <wim@iguana.be>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Link: http://lkml.kernel.org/r/1333051877-15755-2-git-send-email-dzickus@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/include/asm/nmi.h')
0 files changed, 0 insertions, 0 deletions