lkml.org 
[lkml]   [1999]   [Dec]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[patch] SMP typo
Small typo in fs/proc/base.c:

--- n/linux/fs/proc/base.c Sun Dec 5 17:42:03 1999
+++ linux/fs/proc/base.c Thu Dec 23 21:32:21 1999
@@ -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;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.023 / U:0.432 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site