patch-2.3.11 linux/arch/alpha/kernel/osf_sys.c
Next file: linux/arch/alpha/kernel/process.c
Previous file: linux/arch/alpha/kernel/irq.h
Back to the patch index
Back to the overall index
-  Lines: 8
-  Date:
Mon Jul 12 07:49:36 1999
-  Orig file: 
v2.3.10/linux/arch/alpha/kernel/osf_sys.c
-  Orig date: 
Wed Jun 30 13:38:18 1999
diff -u --recursive --new-file v2.3.10/linux/arch/alpha/kernel/osf_sys.c linux/arch/alpha/kernel/osf_sys.c
@@ -927,6 +927,7 @@
 			return -EINVAL;
 		cpu = (struct percpu_struct*)
 		  ((char*)hwrpb + hwrpb->processor_offset);
+		w = cpu->type;
 		if (put_user(w, (unsigned long *)buffer))
 			return -EFAULT;
 		return 1;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)