aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/mod
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2012-10-09 18:35:22 -0400
committerJ. Bruce Fields <bfields@redhat.com>2012-10-09 18:35:22 -0400
commitf474af7051212b4efc8267583fad9c4ebf33ccff (patch)
tree1aa46ebc8065a341f247c2a2d9af2f624ad1d4f8 /scripts/mod
parent0d22f68f02c10d5d10ec5712917e5828b001a822 (diff)
parente3dd9a52cb5552c46c2a4ca7ccdfb4dab5c72457 (diff)
nfs: disintegrate UAPI for nfs
This is to complete part of the Userspace API (UAPI) disintegration for which the preparatory patches were pulled recently. After these patches, userspace headers will be segregated into: include/uapi/linux/.../foo.h for the userspace interface stuff, and: include/linux/.../foo.h for the strictly kernel internal stuff. Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'scripts/mod')
-rw-r--r--scripts/mod/file2alias.c15
-rw-r--r--scripts/mod/modpost.c2
2 files changed, 17 insertions, 0 deletions
diff --git a/scripts/mod/file2alias.c b/scripts/mod/file2alias.c
index 7ed6864ef65b..df4fc23dd836 100644
--- a/scripts/mod/file2alias.c
+++ b/scripts/mod/file2alias.c
@@ -966,6 +966,21 @@ static int do_isapnp_entry(const char *filename,
966} 966}
967ADD_TO_DEVTABLE("isapnp", struct isapnp_device_id, do_isapnp_entry); 967ADD_TO_DEVTABLE("isapnp", struct isapnp_device_id, do_isapnp_entry);
968 968
969/* Looks like: "ipack:fNvNdN". */
970static int do_ipack_entry(const char *filename,
971 struct ipack_device_id *id, char *alias)
972{
973 id->vendor = TO_NATIVE(id->vendor);
974 id->device = TO_NATIVE(id->device);
975 strcpy(alias, "ipack:");
976 ADD(alias, "f", id->format != IPACK_ANY_FORMAT, id->format);
977 ADD(alias, "v", id->vendor != IPACK_ANY_ID, id->vendor);
978 ADD(alias, "d", id->device != IPACK_ANY_ID, id->device);
979 add_wildcard(alias);
980 return 1;
981}
982ADD_TO_DEVTABLE("ipack", struct ipack_device_id, do_ipack_entry);
983
969/* 984/*
970 * Append a match expression for a single masked hex digit. 985 * Append a match expression for a single masked hex digit.
971 * outp points to a pointer to the character at which to append. 986 * outp points to a pointer to the character at which to append.
diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c
index 68e9f5ed0a6f..00f7512a217f 100644
--- a/scripts/mod/modpost.c
+++ b/scripts/mod/modpost.c
@@ -827,6 +827,8 @@ static const char *section_white_list[] =
827 ".note*", 827 ".note*",
828 ".got*", 828 ".got*",
829 ".toc*", 829 ".toc*",
830 ".xt.prop", /* xtensa */
831 ".xt.lit", /* xtensa */
830 NULL 832 NULL
831}; 833};
832 834