X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=drivers%2Fwatchdog%2Fhpwdt.c;h=0ad9af2e06674bbace85bf2ca86796ba1f612196;hb=550d299eeb39cf8e2d12700585c490696ba34be8;hp=809e7167a6243fa2b1aeb37c6678be21faf3b01c;hpb=20406f9b67e6fde4fff4639225c7a0e5ea6eaa9b;p=firefly-linux-kernel-4.4.55.git diff --git a/drivers/watchdog/hpwdt.c b/drivers/watchdog/hpwdt.c index 809e7167a624..0ad9af2e0667 100644 --- a/drivers/watchdog/hpwdt.c +++ b/drivers/watchdog/hpwdt.c @@ -16,30 +16,22 @@ #include #include #include -#include #include -#include #include +#include #include #include -#include #include #include #include #include #include #include -#include -#include -#include #include #include #include #include -#include -#include -#include -#include +#include #include #define PCI_BIOS32_SD_VALUE 0x5F32335F /* "_32_" */ @@ -246,8 +238,8 @@ static int __devinit cru_detect(unsigned long map_entry, physical_bios_offset); printk(KERN_DEBUG "hpwdt: CRU Length: 0x%lx\n", cru_length); - printk(KERN_DEBUG "hpwdt: CRU Mapped Address: 0x%x\n", - (unsigned int)&cru_rom_addr); + printk(KERN_DEBUG "hpwdt: CRU Mapped Address: %p\n", + &cru_rom_addr); } iounmap(bios32_map); return retval; @@ -802,13 +794,13 @@ MODULE_ALIAS_MISCDEV(WATCHDOG_MINOR); module_param(soft_margin, int, 0); MODULE_PARM_DESC(soft_margin, "Watchdog timeout in seconds"); -module_param(allow_kdump, int, 0); -MODULE_PARM_DESC(allow_kdump, "Start a kernel dump after NMI occurs"); - module_param(nowayout, int, 0); MODULE_PARM_DESC(nowayout, "Watchdog cannot be stopped once started (default=" __MODULE_STRING(WATCHDOG_NOWAYOUT) ")"); +module_param(allow_kdump, int, 0); +MODULE_PARM_DESC(allow_kdump, "Start a kernel dump after NMI occurs"); + module_param(priority, int, 0); MODULE_PARM_DESC(priority, "The hpwdt driver handles NMIs first or last" " (default = 0/Last)\n");