Home
last modified time | relevance | path

Searched hist:e5d9592c8652ee95e2251778eb34522f7826360f (Results 1 – 3 of 3) sorted by relevance

/linux/arch/mips/kernel/
H A Drtlx-mt.cdiff e5d9592c8652ee95e2251778eb34522f7826360f Tue Mar 05 14:37:50 CET 2024 Ricardo B. Marliere <ricardo@marliere.net> mips: mt: make mt_class constant

Since commit 43a7206b0963 ("driver core: class: make class_register() take
a const *"), the driver core allows for struct class to be in read-only
memory, so move the mt_class structure to be declared at build time placing
it into read-only memory, instead of having to be dynamically allocated at
boot time.

Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Ricardo B. Marliere <ricardo@marliere.net>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
H A Dmips-mt.cdiff e5d9592c8652ee95e2251778eb34522f7826360f Tue Mar 05 14:37:50 CET 2024 Ricardo B. Marliere <ricardo@marliere.net> mips: mt: make mt_class constant

Since commit 43a7206b0963 ("driver core: class: make class_register() take
a const *"), the driver core allows for struct class to be in read-only
memory, so move the mt_class structure to be declared at build time placing
it into read-only memory, instead of having to be dynamically allocated at
boot time.

Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Ricardo B. Marliere <ricardo@marliere.net>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
/linux/arch/mips/include/asm/
H A Dmips_mt.hdiff e5d9592c8652ee95e2251778eb34522f7826360f Tue Mar 05 14:37:50 CET 2024 Ricardo B. Marliere <ricardo@marliere.net> mips: mt: make mt_class constant

Since commit 43a7206b0963 ("driver core: class: make class_register() take
a const *"), the driver core allows for struct class to be in read-only
memory, so move the mt_class structure to be declared at build time placing
it into read-only memory, instead of having to be dynamically allocated at
boot time.

Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Ricardo B. Marliere <ricardo@marliere.net>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>