2005-01-10 05:47:05

by Jeff Dike

[permalink] [raw]
Subject: [PATCH 28/28] UML - Fix a compile warning

An eliminated warning from Chris Wright.

Signed-off-by: Jeff Dike <[email protected]>

Index: 2.6.10/arch/um/kernel/skas/process.c
===================================================================
--- 2.6.10.orig/arch/um/kernel/skas/process.c 2005-01-09 21:52:21.000000000 -0500
+++ 2.6.10/arch/um/kernel/skas/process.c 2005-01-09 21:57:49.000000000 -0500
@@ -92,6 +92,7 @@
}

/* Each element set once, and only accessed by a single processor anyway */
+#undef NR_CPUS
#define NR_CPUS 1
int userspace_pid[NR_CPUS];