]> www.infradead.org Git - users/jedix/linux-maple.git/commit
hpwdt: clean up set_memory_x call for 32 bit
authorMaxim Uvarov <maxim.uvarov@oracle.com>
Sun, 15 Jan 2012 20:08:20 +0000 (12:08 -0800)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Sun, 15 Jan 2012 20:08:20 +0000 (12:08 -0800)
commit55a4bde7861539791aaae68ae99937f052e4505b
treea596b9cf00bc5b877cf22b7aba29f823ae1e9a20
parent69695d94565bfb00021dfad036cda0b6bf7c8d3f
hpwdt: clean up set_memory_x call for 32 bit

1. addess has to be page aligned.
2. set_memory_x uses page size argument, not size.
Bug causes with following commit:
commit da28179b4e90dda56912ee825c7eaa62fc103797
Author: Mingarelli, Thomas <Thomas.Mingarelli@hp.com>
Date:   Mon Nov 7 10:59:00 2011 +0100

     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.

Signed-off-by: Maxim Uvarov <maxim.uvarov@oracle.com>
drivers/watchdog/hpwdt.c