current.h 366 B

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