summaryrefslogtreecommitdiffstats
path: root/include/asm-ppc/current.h
blob: 49415ce9f4f10df3474f2d9f7423cb1bc516b70e (plain)
1
2
3
4
5
6
7
8
9
#ifndef _PPC_CURRENT_H
#define _PPC_CURRENT_H

/*
 * We keep `current' in r2 for speed.
 */
register struct task_struct *current asm ("r2");

#endif /* !(_PPC_CURRENT_H) */