opnsense-src/sys/powerpc
Zhenlei Huang 497f577f46 kernel: Make some compile time constant variables const
Those variables are not going to be changed at runtime. Make them const
to avoid potential overwriting. This will also help spotting accidental
global variables shadowing, since the variable's name such as `version`
is short and commonly used.

This change was inspired by reviewing khng's work D44760.

No functional change intended.

MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D45227

(cherry picked from commit 356be1348dac94ba0d2dc1f479bc1f8a2ebaa03a)
2024-09-20 18:04:02 +08:00
..
aim powerpc pmap: initialize kernel pmap radix trie 2023-09-19 21:09:37 -05:00
amigaone sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
booke Adjust comments referencing vm_mem_init() 2024-06-06 11:23:01 -03:00
conf conf: Add usbhid and hidbus to GENERIC* kernel configs 2024-07-29 18:36:42 +02:00
cpufreq sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
fpu sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
include powerpc: Implement fpu_kern_enter/fpu_kern_leave 2023-11-19 17:55:24 -03:00
mambo sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
mikrotik sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
mpc85xx mpc85xx: Use device_set_desc() 2024-06-27 11:27:41 -04:00
ofw powerpc: Bump maximum number of FDT reserved mem entries 2024-04-01 22:09:57 -04:00
powermac powerpc: better handling of shutdown flags 2023-12-08 18:02:44 -04:00
powernv powerpc: better handling of shutdown flags 2023-12-08 18:02:44 -04:00
powerpc kernel: Make some compile time constant variables const 2024-09-20 18:04:02 +08:00
ps3 ehci_ps3: Remove unused struct definition. 2024-01-03 12:34:35 -08:00
pseries powerpc: better handling of shutdown flags 2023-12-08 18:02:44 -04:00
psim sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00