summaryrefslogtreecommitdiffstats
path: root/include/asm-ia64/current.h
blob: 29aa54e6cab4df0edfb43a352975cc04636ee728 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef _ASM_IA64_CURRENT_H
#define _ASM_IA64_CURRENT_H

/*
 * Copyright (C) 1998, 1999 Hewlett-Packard Co
 * Copyright (C) 1998, 1999 David Mosberger-Tang <davidm@hpl.hp.com>
 */

/* In kernel mode, thread pointer (r13) is used to point to the
   current task structure.  */
register struct task_struct *current asm ("r13");

#endif /* _ASM_IA64_CURRENT_H */