patch-2.1.82 linux/fs/proc/array.c

Next file: linux/fs/proc/root.c
Previous file: linux/fs/nls/nls_koi8-r.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.81/linux/fs/proc/array.c linux/fs/proc/array.c
@@ -1149,7 +1149,7 @@
 extern int get_irq_list(char *);
 extern int get_dma_list(char *);
 extern int get_cpuinfo(char *);
-extern int get_pci_list(char*);
+extern int get_pci_list(char *);
 extern int get_md_status (char *);
 extern int get_rtc_status (char *);
 extern int get_locks_status (char *, char **, off_t, int);
@@ -1174,7 +1174,7 @@
 		case PROC_MEMINFO:
 			return get_meminfo(page);
 
-#ifdef CONFIG_PCI
+#ifdef CONFIG_PCI_OLD_PROC
   	        case PROC_PCI:
 			return get_pci_list(page);
 #endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov