kernel: Update to version 4.4.194
[openwrt/openwrt.git] / target / linux / generic / patches-4.4 / 203-kallsyms_uncompressed.patch
index d3a5aa7606a245a99efdc930ef1a58a4a5eb0c83..b7fdb7c7aae5d4aaf6739e79fed9141c8e228023 100644 (file)
@@ -8,7 +8,7 @@
  static int absolute_percpu = 0;
  static char symbol_prefix_char = '\0';
  static unsigned long long kernel_start_addr = 0;
-@@ -403,6 +404,9 @@ static void write_src(void)
+@@ -406,6 +407,9 @@ static void write_src(void)
  
        free(markers);
  
@@ -18,7 +18,7 @@
        output_label("kallsyms_token_table");
        off = 0;
        for (i = 0; i < 256; i++) {
-@@ -461,6 +465,9 @@ static void *find_token(unsigned char *s
+@@ -464,6 +468,9 @@ static void *find_token(unsigned char *s
  {
        int i;
  
@@ -28,7 +28,7 @@
        for (i = 0; i < len - 1; i++) {
                if (str[i] == token[0] && str[i+1] == token[1])
                        return &str[i];
-@@ -533,6 +540,9 @@ static void optimize_result(void)
+@@ -536,6 +543,9 @@ static void optimize_result(void)
  {
        int i, best;
  
@@ -38,7 +38,7 @@
        /* using the '\0' symbol last allows compress_symbols to use standard
         * fast string functions */
        for (i = 255; i >= 0; i--) {
-@@ -703,7 +713,9 @@ int main(int argc, char **argv)
+@@ -706,7 +716,9 @@ int main(int argc, char **argv)
                        } else if (strncmp(argv[i], "--page-offset=", 14) == 0) {
                                const char *p = &argv[i][14];
                                kernel_start_addr = strtoull(p, NULL, 16);