Add reserved lkmressys keyword. I swear, this script will die the
next time I need to hack on it.
This commit is contained in:
parent
50ab935d46
commit
3a4d365463
@ -273,7 +273,7 @@ s/\$//g
|
|||||||
|| $2 == "NOIMPL" || $2 == "NOSTD" {
|
|| $2 == "NOIMPL" || $2 == "NOSTD" {
|
||||||
parseline()
|
parseline()
|
||||||
if ((!nosys || funcname != "nosys") && \
|
if ((!nosys || funcname != "nosys") && \
|
||||||
(funcname != "lkmnosys")) {
|
(funcname != "lkmnosys") && (funcname != "lkmressys")) {
|
||||||
if (argc != 0 && $2 != "NOARGS" && $2 != "NOPROTO") {
|
if (argc != 0 && $2 != "NOARGS" && $2 != "NOPROTO") {
|
||||||
printf("struct\t%s {\n", argalias) > sysarg
|
printf("struct\t%s {\n", argalias) > sysarg
|
||||||
for (i = 1; i <= argc; i++)
|
for (i = 1; i <= argc; i++)
|
||||||
@ -302,7 +302,7 @@ s/\$//g
|
|||||||
printf("%s },", "nosys") > sysent
|
printf("%s },", "nosys") > sysent
|
||||||
column = column + length("nosys") + 3
|
column = column + length("nosys") + 3
|
||||||
} else if ($2 == "NOSTD") {
|
} else if ($2 == "NOSTD") {
|
||||||
printf("%s },", "lkmnosys") > sysent
|
printf("%s },", "lkmressys") > sysent
|
||||||
column = column + length("lkmnosys") + 3
|
column = column + length("lkmnosys") + 3
|
||||||
} else {
|
} else {
|
||||||
printf("%s },", funcname) > sysent
|
printf("%s },", funcname) > sysent
|
||||||
|
Loading…
Reference in New Issue
Block a user