git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git]
/
include
/
asm-cris
/
arch-v10
/
thread_info.h
diff --git
a/include/asm-cris/arch-v10/thread_info.h
b/include/asm-cris/arch-v10/thread_info.h
index
357f5df
..
218f415
100644
(file)
--- a/
include/asm-cris/arch-v10/thread_info.h
+++ b/
include/asm-cris/arch-v10/thread_info.h
@@
-2,7
+2,7
@@
#define _ASM_ARCH_THREAD_INFO_H
/* how to get the thread information struct from C */
#define _ASM_ARCH_THREAD_INFO_H
/* how to get the thread information struct from C */
-
extern
inline struct thread_info *current_thread_info(void)
+
static
inline struct thread_info *current_thread_info(void)
{
struct thread_info *ti;
__asm__("and.d $sp,%0; ":"=r" (ti) : "0" (~8191UL));
{
struct thread_info *ti;
__asm__("and.d $sp,%0; ":"=r" (ti) : "0" (~8191UL));