mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-20 17:32:57 +00:00
generic: 5.15: refresh patches
Refresh kernel patches for generic 5.15 kernel version. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
This commit is contained in:
parent
9dfade39f5
commit
da59c757b4
@ -33,7 +33,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
|||||||
|
|
||||||
--- a/kernel/kallsyms.c
|
--- a/kernel/kallsyms.c
|
||||||
+++ b/kernel/kallsyms.c
|
+++ b/kernel/kallsyms.c
|
||||||
@@ -80,6 +80,11 @@ static unsigned int kallsyms_expand_symb
|
@@ -88,6 +88,11 @@ static unsigned int kallsyms_expand_symb
|
||||||
* For every byte on the compressed symbol data, copy the table
|
* For every byte on the compressed symbol data, copy the table
|
||||||
* entry for that byte.
|
* entry for that byte.
|
||||||
*/
|
*/
|
||||||
@ -45,7 +45,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
|||||||
while (len) {
|
while (len) {
|
||||||
tptr = &kallsyms_token_table[kallsyms_token_index[*data]];
|
tptr = &kallsyms_token_table[kallsyms_token_index[*data]];
|
||||||
data++;
|
data++;
|
||||||
@@ -112,6 +117,9 @@ tail:
|
@@ -120,6 +125,9 @@ tail:
|
||||||
*/
|
*/
|
||||||
static char kallsyms_get_symbol_type(unsigned int off)
|
static char kallsyms_get_symbol_type(unsigned int off)
|
||||||
{
|
{
|
||||||
@ -65,7 +65,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
|||||||
static int absolute_percpu;
|
static int absolute_percpu;
|
||||||
static int base_relative;
|
static int base_relative;
|
||||||
|
|
||||||
@@ -486,6 +487,9 @@ static void write_src(void)
|
@@ -509,6 +510,9 @@ static void write_src(void)
|
||||||
|
|
||||||
free(markers);
|
free(markers);
|
||||||
|
|
||||||
@ -75,7 +75,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
|||||||
output_label("kallsyms_token_table");
|
output_label("kallsyms_token_table");
|
||||||
off = 0;
|
off = 0;
|
||||||
for (i = 0; i < 256; i++) {
|
for (i = 0; i < 256; i++) {
|
||||||
@@ -537,6 +541,9 @@ static unsigned char *find_token(unsigne
|
@@ -560,6 +564,9 @@ static unsigned char *find_token(unsigne
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
@ -85,7 +85,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
|||||||
for (i = 0; i < len - 1; i++) {
|
for (i = 0; i < len - 1; i++) {
|
||||||
if (str[i] == token[0] && str[i+1] == token[1])
|
if (str[i] == token[0] && str[i+1] == token[1])
|
||||||
return &str[i];
|
return &str[i];
|
||||||
@@ -609,6 +616,9 @@ static void optimize_result(void)
|
@@ -632,6 +639,9 @@ static void optimize_result(void)
|
||||||
{
|
{
|
||||||
int i, best;
|
int i, best;
|
||||||
|
|
||||||
@ -95,7 +95,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
|||||||
/* using the '\0' symbol last allows compress_symbols to use standard
|
/* using the '\0' symbol last allows compress_symbols to use standard
|
||||||
* fast string functions */
|
* fast string functions */
|
||||||
for (i = 255; i >= 0; i--) {
|
for (i = 255; i >= 0; i--) {
|
||||||
@@ -773,6 +783,8 @@ int main(int argc, char **argv)
|
@@ -796,6 +806,8 @@ int main(int argc, char **argv)
|
||||||
absolute_percpu = 1;
|
absolute_percpu = 1;
|
||||||
else if (strcmp(argv[i], "--base-relative") == 0)
|
else if (strcmp(argv[i], "--base-relative") == 0)
|
||||||
base_relative = 1;
|
base_relative = 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user