summaryrefslogtreecommitdiff
path: root/release/src/linux/linux/include/asm-ppc64/current.h
blob: 5b50ae7caa756eb23560bf958b311ea8f55a1d12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef _PPC64_CURRENT_H
#define _PPC64_CURRENT_H

/*
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version
 * 2 of the License, or (at your option) any later version.
 *
 * Use r13 for current since the ppc64 ABI reserves it - Anton
 */

register struct task_struct *current asm ("r13");

#endif /* !(_PPC64_CURRENT_H) */