Commit 8d30d300 authored by ramil@ram-book.(none)'s avatar ramil@ram-book.(none)

a fix (bug #10438: Raid stopped working because of change in atomic add detection).

parent fee81b6d
...@@ -287,9 +287,15 @@ C_MODE_START int __cxa_pure_virtual() {\ ...@@ -287,9 +287,15 @@ C_MODE_START int __cxa_pure_virtual() {\
#ifndef CONFIG_SMP #ifndef CONFIG_SMP
#define CONFIG_SMP #define CONFIG_SMP
#endif #endif
#if defined(__ia64__)
#define new my_arg_new
#endif
C_MODE_START C_MODE_START
#include <asm/atomic.h> #include <asm/atomic.h>
C_MODE_END C_MODE_END
#if defined(__ia64__)
#undef new
#endif
#endif #endif
#include <errno.h> /* Recommended by debian */ #include <errno.h> /* Recommended by debian */
/* We need the following to go around a problem with openssl on solaris */ /* We need the following to go around a problem with openssl on solaris */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment