linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / include / asm-v850 / system.h
index 072a997..107decb 100644 (file)
@@ -81,7 +81,7 @@ static inline int irqs_disabled (void)
   ((__typeof__ (*(ptr)))__xchg ((unsigned long)(with), (ptr), sizeof (*(ptr))))
 #define tas(ptr) (xchg ((ptr), 1))
 
-extern inline unsigned long __xchg (unsigned long with,
+static inline unsigned long __xchg (unsigned long with,
                                    __volatile__ void *ptr, int size)
 {
        unsigned long tmp, flags;
@@ -108,4 +108,6 @@ extern inline unsigned long __xchg (unsigned long with,
        return tmp;
 }
 
+#define arch_align_stack(x) (x)
+
 #endif /* __V850_SYSTEM_H__ */