kvm: qemu: remove some redundant args of ipf
[kvm-userspace.git] / kernel / ia64 / hack-module.awk
blob2e4e05fd9b20616541be5ad33f5feaa48cf95f2a
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); }
7 /MODULE_AUTHOR/ {
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\>/, " ") }
29 { print }