cpcmd.h 568 B

123456789101112131415161718192021222324
  1. /*
  2. * arch/s390/kernel/cpcmd.h
  3. *
  4. * S390 version
  5. * Copyright (C) 1999 IBM Deutschland Entwicklung GmbH, IBM Corporation
  6. * Author(s): Martin Schwidefsky (schwidefsky@de.ibm.com),
  7. * Christian Borntraeger (cborntra@de.ibm.com),
  8. */
  9. #ifndef __CPCMD__
  10. #define __CPCMD__
  11. /*
  12. * the caller of __cpcmd has to ensure that the response buffer is below 2 GB
  13. */
  14. extern void __cpcmd(char *cmd, char *response, int rlen);
  15. #ifndef __s390x__
  16. #define cpcmd __cpcmd
  17. #else
  18. extern void cpcmd(char *cmd, char *response, int rlen);
  19. #endif /*__s390x__*/
  20. #endif