Searched hist:b9794a822281944ef3de5b1812a94cbdb8134320 (Results 1 – 5 of 5) sorted by relevance
/linux/drivers/powercap/ |
H A D | dtpm_subsys.h | b9794a822281944ef3de5b1812a94cbdb8134320 Fri Jan 28 17:35:33 CET 2022 Daniel Lezcano <daniel.lezcano@linaro.org> powercap/drivers/dtpm: Convert the init table section to a simple array
The init table section is freed after the system booted. However the next changes will make per module the DTPM description, so the table won't be accessible when the module is loaded.
In order to fix that, we should move the table to the data section where there are very few entries and that makes strange to add it there.
The main goal of the table was to keep self-encapsulated code and we can keep it almost as it by using an array instead.
Suggested-by: Ulf Hansson <ulf.hansson@linaro.org> Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Link: https://lore.kernel.org/r/20220128163537.212248-2-daniel.lezcano@linaro.org
|
H A D | dtpm.c | diff b9794a822281944ef3de5b1812a94cbdb8134320 Fri Jan 28 17:35:33 CET 2022 Daniel Lezcano <daniel.lezcano@linaro.org> powercap/drivers/dtpm: Convert the init table section to a simple array
The init table section is freed after the system booted. However the next changes will make per module the DTPM description, so the table won't be accessible when the module is loaded.
In order to fix that, we should move the table to the data section where there are very few entries and that makes strange to add it there.
The main goal of the table was to keep self-encapsulated code and we can keep it almost as it by using an array instead.
Suggested-by: Ulf Hansson <ulf.hansson@linaro.org> Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Link: https://lore.kernel.org/r/20220128163537.212248-2-daniel.lezcano@linaro.org
|
H A D | dtpm_cpu.c | diff b9794a822281944ef3de5b1812a94cbdb8134320 Fri Jan 28 17:35:33 CET 2022 Daniel Lezcano <daniel.lezcano@linaro.org> powercap/drivers/dtpm: Convert the init table section to a simple array
The init table section is freed after the system booted. However the next changes will make per module the DTPM description, so the table won't be accessible when the module is loaded.
In order to fix that, we should move the table to the data section where there are very few entries and that makes strange to add it there.
The main goal of the table was to keep self-encapsulated code and we can keep it almost as it by using an array instead.
Suggested-by: Ulf Hansson <ulf.hansson@linaro.org> Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Link: https://lore.kernel.org/r/20220128163537.212248-2-daniel.lezcano@linaro.org
|
/linux/include/linux/ |
H A D | dtpm.h | diff b9794a822281944ef3de5b1812a94cbdb8134320 Fri Jan 28 17:35:33 CET 2022 Daniel Lezcano <daniel.lezcano@linaro.org> powercap/drivers/dtpm: Convert the init table section to a simple array
The init table section is freed after the system booted. However the next changes will make per module the DTPM description, so the table won't be accessible when the module is loaded.
In order to fix that, we should move the table to the data section where there are very few entries and that makes strange to add it there.
The main goal of the table was to keep self-encapsulated code and we can keep it almost as it by using an array instead.
Suggested-by: Ulf Hansson <ulf.hansson@linaro.org> Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Link: https://lore.kernel.org/r/20220128163537.212248-2-daniel.lezcano@linaro.org
|
/linux/include/asm-generic/ |
H A D | vmlinux.lds.h | diff b9794a822281944ef3de5b1812a94cbdb8134320 Fri Jan 28 17:35:33 CET 2022 Daniel Lezcano <daniel.lezcano@linaro.org> powercap/drivers/dtpm: Convert the init table section to a simple array
The init table section is freed after the system booted. However the next changes will make per module the DTPM description, so the table won't be accessible when the module is loaded.
In order to fix that, we should move the table to the data section where there are very few entries and that makes strange to add it there.
The main goal of the table was to keep self-encapsulated code and we can keep it almost as it by using an array instead.
Suggested-by: Ulf Hansson <ulf.hansson@linaro.org> Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Link: https://lore.kernel.org/r/20220128163537.212248-2-daniel.lezcano@linaro.org
|