linux/arch/arm64
Huang Xiaojia 684fbd42d3 arm64: Constify struct kobj_type
'struct kobj_type' is not modified. It is only used in kobject_init()
which takes a 'const struct kobj_type *ktype' parameter.

Constifying this structure moves some data to a read-only section,
so increase over all security.

On a x86_64, compiled with arm defconfig:
Before:
======
   text	   data	    bss	    dec	    hex	filename
   5602	    548	    352	   6502	   1966	arch/arm64/kernel/cpuinfo.o

After:
======
   text    data     bss     dec     hex filename
   5650     500     352    6502    1966 arch/arm64/kernel/cpuinfo.o

Signed-off-by: Huang Xiaojia <huangxiaojia2@huawei.com>
Link: https://lore.kernel.org/r/20240826151250.3500302-1-huangxiaojia2@huawei.com
Signed-off-by: Will Deacon <will@kernel.org>
2024-08-27 13:48:05 +01:00
..
boot arm64: dts: ti: k3-j784s4-main: Correct McASP DMAs 2024-08-06 06:39:23 -05:00
configs sound updates for 6.11-rc1 2024-07-19 12:39:34 -07:00
crypto crypto: arm64 - add missing MODULE_DESCRIPTION() macros 2024-06-21 22:04:16 +10:00
hyperv
include arm64/sve: Remove unused declaration read_smcr_features() 2024-08-16 11:48:14 +01:00
kernel arm64: Constify struct kobj_type 2024-08-27 13:48:05 +01:00
kvm ARM: 2024-07-20 12:41:03 -07:00
lib arm64: crypto: use CC_FLAGS_FPU for NEON CFLAGS 2024-05-19 14:36:18 -07:00
mm arm64/mm: Drop TCR_SMP_FLAGS 2024-08-16 11:24:55 +01:00
net bpf, arm64: Fix trampoline for BPF_TRAMP_F_CALL_ORIG 2024-07-11 17:56:30 +02:00
tools arm64 fixes for -rc1 2024-07-26 10:39:10 -07:00
xen
Kbuild
Kconfig arm64: errata: Expand speculative SSBS workaround (again) 2024-08-01 16:11:28 +01:00
Kconfig.debug
Kconfig.platforms Updates for the interrupt subsystem: 2024-07-22 13:52:05 -07:00
Makefile arm64: allow installing compressed image by default 2024-07-26 10:07:56 -07:00