X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-s390%2Fcpcmd.h;h=1d33c5da083edaa5f933598498978e1985efc171;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=38b88d9eaf3686b69466f34fa6688f21d945f2da;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/include/asm-s390/cpcmd.h b/include/asm-s390/cpcmd.h index 38b88d9ea..1d33c5da0 100644 --- a/include/asm-s390/cpcmd.h +++ b/include/asm-s390/cpcmd.h @@ -4,11 +4,21 @@ * S390 version * Copyright (C) 1999 IBM Deutschland Entwicklung GmbH, IBM Corporation * Author(s): Martin Schwidefsky (schwidefsky@de.ibm.com), + * Christian Borntraeger (cborntra@de.ibm.com), */ #ifndef __CPCMD__ #define __CPCMD__ +/* + * the caller of __cpcmd has to ensure that the response buffer is below 2 GB + */ +extern void __cpcmd(char *cmd, char *response, int rlen); + +#ifndef __s390x__ +#define cpcmd __cpcmd +#else extern void cpcmd(char *cmd, char *response, int rlen); +#endif /*__s390x__*/ #endif