/* current.h: FRV current task pointer1*2* Copyright (C) 2004 Red Hat, Inc. All Rights Reserved.3* Written by David Howells ([email protected])4*5* This program is free software; you can redistribute it and/or6* modify it under the terms of the GNU General Public License7* as published by the Free Software Foundation; either version8* 2 of the License, or (at your option) any later version.9*/1011#ifndef _ASM_CURRENT_H12#define _ASM_CURRENT_H1314#ifndef __ASSEMBLY__1516/*17* dedicate GR29 to keeping the current task pointer18*/19register struct task_struct *current asm("gr29");2021#define get_current() current2223#else2425#define CURRENT gr292627#endif2829#endif /* _ASM_CURRENT_H */303132