Use define SLAB_SIZE in promela model
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Wed, 27 May 2009 14:38:27 +0000 (10:38 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Wed, 27 May 2009 14:38:27 +0000 (10:38 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
formal-model/urcu-controldataflow/urcu.spin

index b3290589324e50904d045b54deeb0c95970c946f..3956d75ecd20567f2b8fe1064c0f44bf2070f0b3 100644 (file)
@@ -349,7 +349,7 @@ DECLARE_CACHED_VAR(byte, urcu_active_readers[NR_READERS]);
 /* RCU pointer */
 DECLARE_CACHED_VAR(byte, rcu_ptr);
 /* RCU data */
-DECLARE_CACHED_VAR(byte, rcu_data[2]);
+DECLARE_CACHED_VAR(byte, rcu_data[SLAB_SIZE]);
 
 byte ptr_read[NR_READERS];
 byte data_read[NR_READERS];
This page took 0.025055 seconds and 4 git commands to generate.