Three small 1-line patches to get rid of any remaining __SMP__
references in the 2.6 kernel.
From: Ron Gage <ron@rongage.org>
volatile u_char *to;
volatile struct a2232memory *mem;
-#ifdef __SMP__
+#ifdef CONFIG_SMP
return -ENODEV; /* This driver is not SMP aware. Is there an SMP ZorroII-bus-machine? */
#endif
* Used prior to schedule_timeout calls..
*/
#define __set_current_state(state_value) do { current->state = state_value; } while (0)
-#ifdef __SMP__
+#ifdef CONFIG_SMP
#define set_current_state(state_value) do { __set_current_state(state_value); mb(); } while (0)
#else
#define set_current_state(state_value) __set_current_state(state_value)
#include <linux/module.h>
MODULE_AUTHOR ("3ware Inc.");
-#ifdef __SMP__
+#ifdef CONFIG_SMP
MODULE_DESCRIPTION ("3ware Storage Controller Linux Driver (SMP)");
#else
MODULE_DESCRIPTION ("3ware Storage Controller Linux Driver");