Training courses
Kernel and Embedded Linux
Bootlin training courses
1 2 3 4 5 6 7 8 9 10 11 12 13 14
/* GCC compound statements with non-expressions */ struct cpu_info { int bar; }; int main(void) { return ({ struct cpu_info *__ci; __asm__ volatile("movl %%fs:4,%0":"=r" (__ci)); __ci; })->bar; }