current.h (498495dba268b20e8eadd7fe93c140c68b6cc9d2) current.h (208da1d5fc3c67d8ae5d34e844fd67cc47a136f0)
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
10#ifndef _S390_CURRENT_H
11#define _S390_CURRENT_H
12
13#include <asm/lowcore.h>
14
15struct task_struct;
16
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
10#ifndef _S390_CURRENT_H
11#define _S390_CURRENT_H
12
13#include <asm/lowcore.h>
14
15struct task_struct;
16
17#define current ((struct task_struct *const)S390_lowcore.current_task)
17#define current ((struct task_struct *const)get_lowcore()->current_task)
18
19#endif /* !(_S390_CURRENT_H) */
18
19#endif /* !(_S390_CURRENT_H) */