]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-s390/kexec.h
dma-mapping: prevent dma dependent code from linking on !HAS_DMA archs
[linux-2.6-omap-h63xx.git] / include / asm-s390 / kexec.h
index ce28ddda0f507266a10e297844e7500d73ff290d..7592af708b4153975ac3cfc4cc8b1acef19c9c8d 100644 (file)
@@ -26,7 +26,7 @@
 
 /* Maximum address we can use for the control pages */
 /* Not more than 2GB */
-#define KEXEC_CONTROL_MEMORY_LIMIT (1<<31)
+#define KEXEC_CONTROL_MEMORY_LIMIT (1UL<<31)
 
 /* Allocate one page for the pdp and the second for the code */
 #define KEXEC_CONTROL_CODE_SIZE 4096
@@ -34,8 +34,6 @@
 /* The native architecture */
 #define KEXEC_ARCH KEXEC_ARCH_S390
 
-#define MAX_NOTE_BYTES 1024
-
 /* Provide a dummy definition to avoid build failures. */
 static inline void crash_setup_regs(struct pt_regs *newregs,
                                        struct pt_regs *oldregs) { }