mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-20 14:29:22 +00:00

Replace all S390_lowcore usages in arch/s390/ by get_lowcore(). Acked-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Sven Schnelle <svens@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
19 lines
407 B
C
19 lines
407 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* S390 version
|
|
* Copyright IBM Corp. 1999
|
|
* Author(s): Martin Schwidefsky (schwidefsky@de.ibm.com)
|
|
*
|
|
* Derived from "include/asm-i386/current.h"
|
|
*/
|
|
|
|
#ifndef _S390_CURRENT_H
|
|
#define _S390_CURRENT_H
|
|
|
|
#include <asm/lowcore.h>
|
|
|
|
struct task_struct;
|
|
|
|
#define current ((struct task_struct *const)get_lowcore()->current_task)
|
|
|
|
#endif /* !(_S390_CURRENT_H) */
|