mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 10:15:57 +01:00
18 lines
375 B
ArmAsm
18 lines
375 B
ArmAsm
/* https://cirosantilli.com/linux-kernel-module-cheat#gnu-gas-assembler-comments */
|
|
|
|
#include <lkmc.h>
|
|
LKMC_PROLOGUE
|
|
# mycomment
|
|
|
|
/* ARMv8 has // instead of @ as for comments. */
|
|
// mycomment
|
|
nop // mycomment
|
|
|
|
/* All these fail. Lol, different than v7, no consistency. */
|
|
#if 0
|
|
nop # mycomment
|
|
@ mycomment
|
|
nop @ mycomment
|
|
#endif
|
|
LKMC_EPILOGUE
|