treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / s390 / include / asm / current.h
blob68f84315277c63f838f0e72a4db5893acdbace54
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)
7 * Derived from "include/asm-i386/current.h"
8 */
10 #ifndef _S390_CURRENT_H
11 #define _S390_CURRENT_H
13 #include <asm/lowcore.h>
15 struct task_struct;
17 #define current ((struct task_struct *const)S390_lowcore.current_task)
19 #endif /* !(_S390_CURRENT_H) */