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 core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
include
/
asm-xtensa
/
system.h
diff --git
a/include/asm-xtensa/system.h
b/include/asm-xtensa/system.h
index
9284867
..
4aaed7f
100644
(file)
--- a/
include/asm-xtensa/system.h
+++ b/
include/asm-xtensa/system.h
@@
-11,7
+11,6
@@
#ifndef _XTENSA_SYSTEM_H
#define _XTENSA_SYSTEM_H
#ifndef _XTENSA_SYSTEM_H
#define _XTENSA_SYSTEM_H
-#include <linux/config.h>
#include <linux/stringify.h>
#include <asm/processor.h>
#include <linux/stringify.h>
#include <asm/processor.h>
@@
-100,7
+99,6
@@
static inline void disable_coprocessor(int i)
#endif
#define set_mb(var, value) do { var = value; mb(); } while (0)
#endif
#define set_mb(var, value) do { var = value; mb(); } while (0)
-#define set_wmb(var, value) do { var = value; wmb(); } while (0)
#if !defined (__ASSEMBLY__)
#if !defined (__ASSEMBLY__)
@@
-111,8
+109,6
@@
extern void *_switch_to(void *last, void *next);
#endif /* __ASSEMBLY__ */
#endif /* __ASSEMBLY__ */
-#define prepare_to_switch() do { } while(0)
-
#define switch_to(prev,next,last) \
do { \
clear_cpenable(); \
#define switch_to(prev,next,last) \
do { \
clear_cpenable(); \
@@
-217,7
+213,7
@@
static inline void spill_registers(void)
unsigned int a0, ps;
__asm__ __volatile__ (
unsigned int a0, ps;
__asm__ __volatile__ (
- "movi a14," __stringify (PS_EXCM_
MASK
) " | 1\n\t"
+ "movi a14," __stringify (PS_EXCM_
BIT
) " | 1\n\t"
"mov a12, a0\n\t"
"rsr a13," __stringify(SAR) "\n\t"
"xsr a14," __stringify(PS) "\n\t"
"mov a12, a0\n\t"
"rsr a13," __stringify(SAR) "\n\t"
"xsr a14," __stringify(PS) "\n\t"