android_kernel_xiaomi_sm8350/arch/ia64/kernel
Satyam Sharma db6a5cef7f [IA64] tree-wide: Misc __cpu{initdata, init, exit} annotations
* palinfo.c:

palinfo_cpu_notifier is a CPU hotplug notifier_block, and can be
marked __cpuinitdata, and the callback function palinfo_cpu_callback()
itself can be marked __cpuinit. create_palinfo_proc_entries() is only
called from __cpuinit callback or general __init code, therefore a
candidate for __cpuinit itself. remove_palinfo_proc_entries() is only
called from __cpuinit callback or general __exit code, therefore a
candidate for __cpuexit.

* salinfo.c:

The CPU hotplug notifier_block can be __cpuinitdata. The callback
salinfo_cpu_callback() is incorrectly marked __devinit -- it must
be __cpuinit instead.

* topology.c:

cache_sysfs_init() is only called at device_initcall() time so marking
it as __cpuinit is wrong and wasteful. It should be unconditionally
__init. Also cleanup reference to hotplug notifier callback function
from this function and replace with cache_add_dev(), which could also
enable us to use other tricks to replace __cpuinit{data} annotations,
as recently discussed on this list.

cache_shared_cpu_map_setup() is only ever called from __cpuinit-marked
functions hence both its definitions (SMP or !SMP) are candidates for
__cpuinit itself. Also all_cpu_cache_info can be __cpuinitdata because
only referenced from __cpuinit code.

Signed-off-by: Satyam Sharma <satyam@infradead.org>
Cc: "Luck, Tony" <tony.luck@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Tony Luck <tony.luck@intel.com>
2007-10-12 14:13:38 -07:00
..
cpufreq [IA64] Fix processor_get_freq 2007-08-15 13:20:38 -07:00
acpi-ext.c
acpi-processor.c
acpi.c [IA64] Fix wrong assumption in acpi_gsi_to_irq 2007-07-26 14:27:42 -07:00
asm-offsets.c [IA64] Convert to generic timekeeping/clocksource 2007-07-20 11:22:30 -07:00
audit.c
brl_emu.c
crash_dump.c
crash.c
cyclone.c cyclone.c: silly use of volatile, __iomem fixes 2007-07-26 11:11:57 -07:00
efi_stub.S
efi.c handle kernelcore=: generic 2007-07-17 10:22:59 -07:00
entry.h
entry.S [IA64] fallocate system call 2007-07-19 13:48:00 -07:00
err_inject.c
esi_stub.S
esi.c
fsys.S [IA64] Convert to generic timekeeping/clocksource 2007-07-20 11:22:30 -07:00
fsyscall_gtod_data.h [IA64] Convert to generic timekeeping/clocksource 2007-07-20 11:22:30 -07:00
gate-data.S
gate.lds.S
gate.S [IA64] Stop bit for brl instruction 2007-07-09 13:37:44 -07:00
head.S [IA64] fix section mismatch warnings 2007-07-25 13:08:26 -07:00
ia64_ksyms.c
init_task.c Remove fs.h from mm.h 2007-07-29 17:09:29 -07:00
iosapic.c [IA64] Fix wrong access to irq_desc[] in iosapic_register_intr(). 2007-08-01 11:57:59 -07:00
irq_ia64.c [IA64] Fix unexpected interrupt vector handling 2007-08-28 16:01:21 -07:00
irq_lsapic.c
irq.c [IA64] SN2 needs platform specific irq_to_vector() function. 2007-08-13 10:31:26 -07:00
ivt.S
jprobes.S
kprobes.c jprobes: make jprobes a little safer for users 2007-07-19 10:04:44 -07:00
machine_kexec.c
machvec.c [IA64] Ensure that machvec is set up takes place before serial console 2007-07-25 11:12:47 -07:00
Makefile
mca_asm.S [IA64] Support multiple CPUs going through OS_MCA 2007-07-11 11:50:11 -07:00
mca_drv_asm.S [IA64] Don't set psr.ic and psr.i simultaneously 2007-07-09 10:30:28 -07:00
mca_drv.c
mca_drv.h
mca.c [IA64] Clean up CPE handler registration 2007-08-13 13:22:45 -07:00
minstate.h
module.c
msi_ia64.c [IA64] Support irq migration across domain 2007-07-17 09:57:42 -07:00
numa.c
pal.S
palinfo.c [IA64] tree-wide: Misc __cpu{initdata, init, exit} annotations 2007-10-12 14:13:38 -07:00
patch.c
perfmon_default_smpl.c
perfmon_generic.h
perfmon_itanium.h
perfmon_mckinley.h
perfmon_montecito.h
perfmon.c remove unused TIF_NOTIFY_RESUME flag 2007-07-31 15:39:38 -07:00
process.c [IA64] disable irq's and check need_resched before safe_halt 2007-08-13 10:17:23 -07:00
ptrace.c Fix spurious syscall tracing after PTRACE_DETACH + PTRACE_ATTACH 2007-09-10 18:57:47 -07:00
relocate_kernel.S
sal.c
salinfo.c [IA64] tree-wide: Misc __cpu{initdata, init, exit} annotations 2007-10-12 14:13:38 -07:00
semaphore.c
setup.c [IA64] Enable early console for Ski simulator 2007-09-01 02:50:39 -07:00
sigframe.h
signal.c
smp.c [IA64] Allow smp_call_function_single() to current cpu 2007-07-30 16:26:45 -07:00
smpboot.c [IA64] SN: Add support for CPU disable 2007-09-01 02:49:57 -07:00
sys_ia64.c
time.c [IA64] ITC: Reduce rating for ITC clock if ITCs are drifty 2007-08-01 14:02:36 -07:00
topology.c [IA64] tree-wide: Misc __cpu{initdata, init, exit} annotations 2007-10-12 14:13:38 -07:00
traps.c Report that kernel is tainted if there was an OOPS 2007-07-17 10:23:02 -07:00
unaligned.c
uncached.c
unwind_decoder.c
unwind_i.h
unwind.c
vmlinux.lds.S [IA64] get back PT_IA_64_UNWIND program header 2007-08-13 14:50:35 -07:00