1 #include <linux/compiler.h> 2 #include "../tests.h" 3 4 typedef struct _buf { 5 char data1; 6 char reserved[55]; 7 char data2; 8 } buf __attribute__((aligned(64))); 9 10 static buf buf1 = { 11 /* to have this in the data section */ 12 .reserved[0] = 1, 13 }; 14 15 static int datasym(int argc __maybe_unused, const char **argv __maybe_unused) 16 { 17 for (;;) { 18 buf1.data1++; 19 buf1.data2 += buf1.data1; 20 } 21 return 0; 22 } 23 24 DEFINE_WORKLOAD(datasym); 25