diff --git a/headers/private/system/arch/arm/arch_cpu_defs.h b/headers/private/system/arch/arm/arch_cpu_defs.h new file mode 100644 index 0000000000..180ef73edf --- /dev/null +++ b/headers/private/system/arch/arm/arch_cpu_defs.h @@ -0,0 +1,12 @@ +/* + * Copyright 2010, Ingo Weinhold, ingo_weinhold@gmx.de. + * Distributed under the terms of the MIT License. + */ +#ifndef _SYSTEM_ARCH_ARM_DEFS_H +#define _SYSTEM_ARCH_ARM_DEFS_H + + +#define SPINLOCK_PAUSE() do {} while (false) + + +#endif /* _SYSTEM_ARCH_ARM_DEFS_H */ diff --git a/headers/private/system/arch/m68k/arch_cpu_defs.h b/headers/private/system/arch/m68k/arch_cpu_defs.h new file mode 100644 index 0000000000..c3ddb13811 --- /dev/null +++ b/headers/private/system/arch/m68k/arch_cpu_defs.h @@ -0,0 +1,12 @@ +/* + * Copyright 2010, Ingo Weinhold, ingo_weinhold@gmx.de. + * Distributed under the terms of the MIT License. + */ +#ifndef _SYSTEM_ARCH_M68K_DEFS_H +#define _SYSTEM_ARCH_M68K_DEFS_H + + +#define SPINLOCK_PAUSE() do {} while (false) + + +#endif /* _SYSTEM_ARCH_M68K_DEFS_H */ diff --git a/headers/private/system/arch/mipsel/arch_cpu_defs.h b/headers/private/system/arch/mipsel/arch_cpu_defs.h new file mode 100644 index 0000000000..97d2477c07 --- /dev/null +++ b/headers/private/system/arch/mipsel/arch_cpu_defs.h @@ -0,0 +1,12 @@ +/* + * Copyright 2010, Ingo Weinhold, ingo_weinhold@gmx.de. + * Distributed under the terms of the MIT License. + */ +#ifndef _SYSTEM_ARCH_MIPSEL_DEFS_H +#define _SYSTEM_ARCH_MIPSEL_DEFS_H + + +#define SPINLOCK_PAUSE() do {} while (false) + + +#endif /* _SYSTEM_ARCH_MIPSEL_DEFS_H */ diff --git a/headers/private/system/arch/ppc/arch_cpu_defs.h b/headers/private/system/arch/ppc/arch_cpu_defs.h new file mode 100644 index 0000000000..7191a7bb8a --- /dev/null +++ b/headers/private/system/arch/ppc/arch_cpu_defs.h @@ -0,0 +1,12 @@ +/* + * Copyright 2010, Ingo Weinhold, ingo_weinhold@gmx.de. + * Distributed under the terms of the MIT License. + */ +#ifndef _SYSTEM_ARCH_PPC_DEFS_H +#define _SYSTEM_ARCH_PPC_DEFS_H + + +#define SPINLOCK_PAUSE() do {} while (false) + + +#endif /* _SYSTEM_ARCH_PPC_DEFS_H */ diff --git a/headers/private/system/arch/x86/arch_cpu_defs.h b/headers/private/system/arch/x86/arch_cpu_defs.h new file mode 100644 index 0000000000..e10ef985d4 --- /dev/null +++ b/headers/private/system/arch/x86/arch_cpu_defs.h @@ -0,0 +1,12 @@ +/* + * Copyright 2010, Ingo Weinhold, ingo_weinhold@gmx.de. + * Distributed under the terms of the MIT License. + */ +#ifndef _SYSTEM_ARCH_X86_DEFS_H +#define _SYSTEM_ARCH_X86_DEFS_H + + +#define SPINLOCK_PAUSE() asm volatile("pause;") + + +#endif /* _SYSTEM_ARCH_X86_DEFS_H */