current.h 470 B

123456789101112131415161718192021222324
  1. /*
  2. * include/asm-s390/current.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. *
  8. * Derived from "include/asm-i386/current.h"
  9. */
  10. #ifndef _S390_CURRENT_H
  11. #define _S390_CURRENT_H
  12. #ifdef __KERNEL__
  13. #include <asm/lowcore.h>
  14. struct task_struct;
  15. #define current ((struct task_struct *const)S390_lowcore.current_task)
  16. #endif
  17. #endif /* !(_S390_CURRENT_H) */