watchdog: hpwdt: Changes to handle NX secure bit in 32bit path
commit33c118d42de2ce4c0dbc60b72b2fdf124a54b19d
authorMingarelli, Thomas <Thomas.Mingarelli@hp.com>
Mon, 7 Nov 2011 09:59:00 +0000 (7 10:59 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 6 Jan 2012 22:14:00 +0000 (6 14:14 -0800)
tree2ea8761b60e762080c1101529986d23784c4008f
parent3ce696d12b26c9c1cfedeb194a02606bef2854a4
watchdog: hpwdt: Changes to handle NX secure bit in 32bit path

commit e67d668e147c3b4fec638c9e0ace04319f5ceccd upstream.

This patch makes use of the set_memory_x() kernel API in order
to make necessary BIOS calls to source NMIs.

This is needed for SLES11 SP2 and the latest upstream kernel as it appears
the NX Execute Disable has grown in its control.

Signed-off by: Thomas Mingarelli <thomas.mingarelli@hp.com>
Signed-off by: Wim Van Sebroeck <wim@iguana.be>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/watchdog/hpwdt.c