]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/s390/char/vmwatchdog.c
Merge ssh://master.kernel.org/pub/scm/linux/kernel/git/sam/kbuild
[linux-2.6-omap-h63xx.git] / drivers / s390 / char / vmwatchdog.c
index 22cf4fec8da9a64034d63296217152fc8cd61943..5acc0ace3d7d571f5a0a14ad994a7a7f191f2dad 100644 (file)
 static char vmwdt_cmd[MAX_CMDLEN] = "IPL";
 static int vmwdt_conceal;
 
-#ifdef CONFIG_WATCHDOG_NOWAYOUT
-static int vmwdt_nowayout = 1;
-#else
-static int vmwdt_nowayout = 0;
-#endif
+static int vmwdt_nowayout = WATCHDOG_NOWAYOUT;
 
 MODULE_LICENSE("GPL");
 MODULE_AUTHOR("Arnd Bergmann <arndb@de.ibm.com>");
@@ -70,7 +66,7 @@ static int __diag288(enum vmwdt_func func, unsigned int timeout,
        __cmdl = len;
        err = 0;
        asm volatile (
-#ifdef __s390x__
+#ifdef CONFIG_64BIT
                       "diag %2,%4,0x288\n"
                "1:     \n"
                ".section .fixup,\"ax\"\n"