patch-2.3.35 linux/fs/proc/base.c

Next file: linux/fs/proc/kcore.c
Previous file: linux/fs/proc/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.34/linux/fs/proc/base.c linux/fs/proc/base.c
@@ -513,7 +513,7 @@
   E(PROC_PID_CMDLINE,	"cmdline",	S_IFREG|S_IRUGO),
   E(PROC_PID_STAT,	"stat",		S_IFREG|S_IRUGO),
   E(PROC_PID_STATM,	"statm",	S_IFREG|S_IRUGO),
-#ifdef SMP
+#ifdef __SMP__
   E(PROC_PID_CPU,	"cpu",		S_IFREG|S_IRUGO),
 #endif
 #if CONFIG_AP1000
@@ -865,7 +865,7 @@
 		case PROC_PID_MAPS:
 			inode->i_op = &proc_maps_inode_operations;
 			break;
-#ifdef SMP
+#ifdef __SMP__
 		case PROC_PID_CPU:
 			inode->i_op = &proc_info_inode_operations;
 			inode->u.proc_i.op.proc_read = proc_pid_cpu;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)