opnsense-src/sys/powerpc
Zhenlei Huang 356be1348d 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
2024-08-30 18:26:30 +08:00
..
aim pmap_growkernel: Use VM_ALLOC_NOFREE when allocating pagetable pages 2024-07-30 17:38:24 +02:00
amigaone sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
booke libkern: add ilog2 macro 2024-06-03 11:37:55 -05:00
conf conf: Remove kernel stack swapping support, part 12 2024-07-29 01:43:59 +00:00
cpufreq sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
fpu sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
include ofw: convert boolean_t to bool 2024-06-26 11:14:36 -03:00
mambo sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
mikrotik sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
mpc85xx newbus: replace -1 in BUS_ADD_CHILD(...-1) with DEVICE_UNIT_ANY 2024-07-24 22:23:02 -06:00
ofw ofw: convert boolean_t to bool 2024-06-26 11:14:36 -03:00
powermac newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
powernv Deprecate contigfree(9) in favour of free(9) 2024-07-26 10:45:01 +00:00
powerpc kernel: Make some compile time constant variables const 2024-08-30 18:26:30 +08:00
ps3 newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
pseries newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
psim newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00