This source file includes following definitions.
- early_init
1
2
3
4
5
6
7 #include <linux/init.h>
8 #include <linux/kernel.h>
9 #include <asm/setup.h>
10 #include <asm/sections.h>
11 #include <asm/asm-prototypes.h>
12
13
14
15
16
17
18
19
20 notrace unsigned long __init early_init(unsigned long dt_ptr)
21 {
22 unsigned long offset = reloc_offset();
23
24
25 memset(PTRRELOC(&__bss_start), 0, __bss_stop - __bss_start);
26
27
28
29
30
31 identify_cpu(offset, mfspr(SPRN_PVR));
32
33 apply_feature_fixups();
34
35 return KERNELBASE + offset;
36 }