current.h 405 B

1234567891011121314151617181920
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * S390 version
  4. * Copyright IBM Corp. 1999
  5. * Author(s): Martin Schwidefsky (schwidefsky@de.ibm.com)
  6. *
  7. * Derived from "include/asm-i386/current.h"
  8. */
  9. #ifndef _S390_CURRENT_H
  10. #define _S390_CURRENT_H
  11. #include <asm/lowcore.h>
  12. struct task_struct;
  13. #define current ((struct task_struct *const)S390_lowcore.current_task)
  14. #endif /* !(_S390_CURRENT_H) */