1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __LINUX_KBUILD_H
3 #define __LINUX_KBUILD_H
5 #define DEFINE(sym, val) \
6 asm volatile("\n.ascii \"->" #sym " %0 " #val "\"" : : "i" (val))
8 #define BLANK() asm volatile("\n.ascii \"->\"" : : )
10 #define OFFSET(sym, str, mem) \
11 DEFINE(sym, offsetof(struct str, mem))
14 asm volatile("\n.ascii \"->#" x "\"")