Return-Path: Message-Id: <20080429140249.106441988@de.ibm.com> References: <20080429140117.631962807@de.ibm.com> Date: Tue, 29 Apr 2008 16:01:20 +0200 From: Martin Schwidefsky Subject: [patch 03/15] Add missing ifndef/define to include/asm-s390/sysinfo.h. Content-Disposition: inline; filename=003-sysinfo.diff Sender: linux-kernel-owner@vger.kernel.org List-Archive: List-Post: To: linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org Cc: Heiko Carstens , Martin Schwidefsky List-ID: From: Heiko Carstens In order to protect against compile breakage in case the header file gets included twice. Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky --- include/asm-s390/sysinfo.h | 5 +++++ 1 file changed, 5 insertions(+) Index: quilt-2.6/include/asm-s390/sysinfo.h =================================================================== --- quilt-2.6.orig/include/asm-s390/sysinfo.h +++ quilt-2.6/include/asm-s390/sysinfo.h @@ -11,6 +11,9 @@ * Christian Borntraeger */ +#ifndef __ASM_S390_SYSINFO_H +#define __ASM_S390_SYSINFO_H + struct sysinfo_1_1_1 { char reserved_0[32]; char manufacturer[16]; @@ -114,3 +117,5 @@ static inline int stsi(void *sysinfo, in : "cc", "memory"); return r0; } + +#endif /* __ASM_S390_SYSINFO_H */ -- blue skies, Martin. "Reality continues to ruin my life." - Calvin.