1 BEGIN { split("INIT_WORK on_each_cpu smp_call_function " \
2 "hrtimer_add_expires_ns hrtimer_get_expires " \
3 "hrtimer_get_expires_ns hrtimer_start_expires " \
4 "hrtimer_expires_remaining " \
5 "request_irq", compat_apis
); }
8 printf("MODULE_INFO(version, \"%s\");\n", version
)
11 { sub(/..\
/..\
/..\
/lib\
/vsprintf\.c
/, "vsprintf.c") }
12 { sub(/..\
/..\
/..\
/lib\
/ctype\.c
/, "ctype.c") }
13 /#undef CONFIG_MODULES/ { $0 = "" }
16 for (i in compat_apis
) {
17 ident = compat_apis
[i
]
18 sub("\\<" ident
"\\>", "kvm_" ident
)
22 /#include <linux\/compiler.h>/ { $0 = "" }
23 /#include <linux\/types.h>/ { $0 = "#include <asm/types.h>" }
25 { sub(/linux\
/mm_types\.h
/, "linux/mm.h") }
27 { sub(/\
<__user\
>/, " ") }