]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - scripts/mod/modpost.c
FRV: Handle update_mmu_cache() being called when current->mm is NULL [try #2]
[linux-2.6-omap-h63xx.git] / scripts / mod / modpost.c
index 695b5d657cf59cc89ba1a4989d7052085e942abf..110cf243fa4e56d3749781c7b4703bf4c62ae9b7 100644 (file)
@@ -2026,7 +2026,7 @@ int main(int argc, char **argv)
        int opt;
        int err;
 
-       while ((opt = getopt(argc, argv, "i:I:msSo:awM:K:")) != -1) {
+       while ((opt = getopt(argc, argv, "i:I:cmsSo:awM:K:")) != -1) {
                switch (opt) {
                case 'i':
                        kernel_read = optarg;
@@ -2035,6 +2035,9 @@ int main(int argc, char **argv)
                        module_read = optarg;
                        external_module = 1;
                        break;
+               case 'c':
+                       cross_build = 1;
+                       break;
                case 'm':
                        modversions = 1;
                        break;