cio_inject.h 336 B

123456789101112131415161718
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * Copyright IBM Corp. 2021
  4. * Author(s): Vineeth Vijayan <vneethv@linux.ibm.com>
  5. */
  6. #ifndef CIO_CRW_INJECT_H
  7. #define CIO_CRW_INJECT_H
  8. #ifdef CONFIG_CIO_INJECT
  9. #include <asm/crw.h>
  10. DECLARE_STATIC_KEY_FALSE(cio_inject_enabled);
  11. int stcrw_get_injected(struct crw *crw);
  12. #endif
  13. #endif