![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0-only */ 0002 /* 0003 * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) 0004 * 0005 * Vineetg: May 16th, 2008 0006 * - Current macro is now implemented as "global register" r25 0007 */ 0008 0009 #ifndef _ASM_ARC_CURRENT_H 0010 #define _ASM_ARC_CURRENT_H 0011 0012 #ifndef __ASSEMBLY__ 0013 0014 #ifdef CONFIG_ARC_CURR_IN_REG 0015 0016 register struct task_struct *curr_arc asm("r25"); 0017 #define current (curr_arc) 0018 0019 #else 0020 #include <asm-generic/current.h> 0021 #endif /* ! CONFIG_ARC_CURR_IN_REG */ 0022 0023 #endif /* ! __ASSEMBLY__ */ 0024 0025 #endif /* _ASM_ARC_CURRENT_H */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |