diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2008-08-01 20:42:05 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2008-08-01 20:42:05 +0200 |
commit | c6557e7f2b6ae76a44653d38f835174074c42e05 (patch) | |
tree | da619a76b309cb1cd259d082af768a83cfcd6d52 /arch/s390/include/asm/current.h | |
parent | ab4227cb2d936886069ef1056c02500d05beb15d (diff) | |
download | kernel_samsung_aries-c6557e7f2b6ae76a44653d38f835174074c42e05.zip kernel_samsung_aries-c6557e7f2b6ae76a44653d38f835174074c42e05.tar.gz kernel_samsung_aries-c6557e7f2b6ae76a44653d38f835174074c42e05.tar.bz2 |
[S390] move include/asm-s390 to arch/s390/include/asm
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/current.h')
-rw-r--r-- | arch/s390/include/asm/current.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/arch/s390/include/asm/current.h b/arch/s390/include/asm/current.h new file mode 100644 index 0000000..83cf36c --- /dev/null +++ b/arch/s390/include/asm/current.h @@ -0,0 +1,23 @@ +/* + * include/asm-s390/current.h + * + * S390 version + * Copyright (C) 1999 IBM Deutschland Entwicklung GmbH, IBM Corporation + * Author(s): Martin Schwidefsky (schwidefsky@de.ibm.com) + * + * Derived from "include/asm-i386/current.h" + */ + +#ifndef _S390_CURRENT_H +#define _S390_CURRENT_H + +#ifdef __KERNEL__ +#include <asm/lowcore.h> + +struct task_struct; + +#define current ((struct task_struct *const)S390_lowcore.current_task) + +#endif + +#endif /* !(_S390_CURRENT_H) */ |