Committer: Michael Beasley <mike@snafu.setup>
[mikesnafu-overlay.git] / include / asm-s390 / current.h
blob83cf36cde2da2cc9356bc12d6d9ad9689cc9d7e1
1 /*
2 * include/asm-s390/current.h
4 * S390 version
5 * Copyright (C) 1999 IBM Deutschland Entwicklung GmbH, IBM Corporation
6 * Author(s): Martin Schwidefsky (schwidefsky@de.ibm.com)
8 * Derived from "include/asm-i386/current.h"
9 */
11 #ifndef _S390_CURRENT_H
12 #define _S390_CURRENT_H
14 #ifdef __KERNEL__
15 #include <asm/lowcore.h>
17 struct task_struct;
19 #define current ((struct task_struct *const)S390_lowcore.current_task)
21 #endif
23 #endif /* !(_S390_CURRENT_H) */