X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=include%2Fasm-s390%2Fkexec.h;h=f219c6411e0be1145b10676603a69f25385f9ce2;hb=57fd51a8be26921b56747ddd09d1d9e01c11c9e0;hp=ce28ddda0f507266a10e297844e7500d73ff290d;hpb=944d79559d154c12becde0dab327016cf438f46c;p=mv-sheeva.git diff --git a/include/asm-s390/kexec.h b/include/asm-s390/kexec.h index ce28ddda0f5..f219c6411e0 100644 --- a/include/asm-s390/kexec.h +++ b/include/asm-s390/kexec.h @@ -10,7 +10,9 @@ #ifndef _S390_KEXEC_H #define _S390_KEXEC_H +#ifdef __KERNEL__ #include +#endif #include /* * KEXEC_SOURCE_MEMORY_LIMIT maximum page get_free_page can return. @@ -26,7 +28,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 +36,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) { }