1*ace9bad4SMark Rutlandcat <<EOF 2*ace9bad4SMark Rutlandstatic inline ${ret} 3*ace9bad4SMark Rutland${atomic}_read_acquire(const ${atomic}_t *v) 4*ace9bad4SMark Rutland{ 5*ace9bad4SMark Rutland return smp_load_acquire(&(v)->counter); 6*ace9bad4SMark Rutland} 7*ace9bad4SMark RutlandEOF 8