patch-2.4.21 linux-2.4.21/arch/ppc64/kernel/rtas.c
Next file: linux-2.4.21/arch/ppc64/kernel/rtasd.c
Previous file: linux-2.4.21/arch/ppc64/kernel/rtas-proc.c
Back to the patch index
Back to the overall index
-  Lines: 16
-  Date:
2003-06-13 07:51:32.000000000 -0700
-  Orig file: 
linux-2.4.20/arch/ppc64/kernel/rtas.c
-  Orig date: 
2002-11-28 15:53:11.000000000 -0800
diff -urN linux-2.4.20/arch/ppc64/kernel/rtas.c linux-2.4.21/arch/ppc64/kernel/rtas.c
@@ -53,11 +53,14 @@
  */
 
 struct rtas_t rtas = { 
-	lock: SPIN_LOCK_UNLOCKED
+	.lock = SPIN_LOCK_UNLOCKED
 };
 
 extern unsigned long reloc_offset(void);
 
+spinlock_t rtas_data_buf_lock = SPIN_LOCK_UNLOCKED;
+char rtas_data_buf[RTAS_DATA_BUF_SIZE];
+
 void
 phys_call_rtas(int token, int nargs, int nret, ...)
 {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)