2 * Copyright (C) 2006 Atmark Techno, Inc.
4 * This file is subject to the terms and conditions of the GNU General Public
5 * License. See the file "COPYING" in the main directory of this archive
9 #ifndef _ASM_MICROBLAZE_CURRENT_H
10 #define _ASM_MICROBLAZE_CURRENT_H
14 * Dedicate r31 to keeping the current task pointer
16 register struct task_struct *current asm("r31");
18 # define get_current() current
19 # endif /* __ASSEMBLY__ */
21 #endif /* _ASM_MICROBLAZE_CURRENT_H */