diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/kallsyms.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/kallsyms.c b/scripts/kallsyms.c index 07ecf7e5c49f..04e04fbd9625 100644 --- a/scripts/kallsyms.c +++ b/scripts/kallsyms.c @@ -600,7 +600,10 @@ static void write_src(void) sort_symbols_by_name(); output_label("kallsyms_seqs_of_names"); for (i = 0; i < table_cnt; i++) - printf("\t.long\t%u\n", table[i]->seq); + printf("\t.byte 0x%02x, 0x%02x, 0x%02x\n", + (unsigned char)(table[i]->seq >> 16), + (unsigned char)(table[i]->seq >> 8), + (unsigned char)(table[i]->seq >> 0)); printf("\n"); output_label("kallsyms_token_table"); |