patch-2.3.99-pre7 linux/include/asm-alpha/delay.h
Next file: linux/include/asm-alpha/hardirq.h
Previous file: linux/include/asm-alpha/atomic.h
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Mon May 8 22:00:01 2000
- Orig file:
v2.3.99-pre6/linux/include/asm-alpha/delay.h
- Orig date:
Sun Mar 19 18:35:31 2000
diff -u --recursive --new-file v2.3.99-pre6/linux/include/asm-alpha/delay.h linux/include/asm-alpha/delay.h
@@ -1,6 +1,7 @@
#ifndef __ALPHA_DELAY_H
#define __ALPHA_DELAY_H
+#include <linux/config.h>
#include <asm/smp.h>
/*
@@ -37,7 +38,7 @@
__delay((long)usecs >> 32);
}
-#ifdef __SMP__
+#ifdef CONFIG_SMP
#define udelay(u) __udelay((u), cpu_data[smp_processor_id()].loops_per_sec)
#else
#define udelay(u) __udelay((u), loops_per_sec)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)