#include "testharness.h" typedef struct {int x, y;} brlock_read_lock_t; #define NR_CPUS 4 #define __BR_IDX_MAX 4 #define RW_LOCK_UNLOCKED { 5, 6 } brlock_read_lock_t __brlock_array[NR_CPUS][__BR_IDX_MAX] = { [0 ... NR_CPUS-1] = { [0 ... __BR_IDX_MAX-1] = RW_LOCK_UNLOCKED } }; int main() { int i, j; for(i=0;i