This source file includes following definitions.
- arch_is_kernel_initmem_freed
1
2 #ifndef _S390_SECTIONS_H
3 #define _S390_SECTIONS_H
4
5 #define arch_is_kernel_initmem_freed arch_is_kernel_initmem_freed
6
7 #include <asm-generic/sections.h>
8
9 extern bool initmem_freed;
10
11 static inline int arch_is_kernel_initmem_freed(unsigned long addr)
12 {
13 if (!initmem_freed)
14 return 0;
15 return addr >= (unsigned long)__init_begin &&
16 addr < (unsigned long)__init_end;
17 }
18
19
20
21
22
23
24
25
26
27
28
29 #define __bootdata(var) __section(.boot.data.var) var
30
31
32
33
34
35
36 #define __bootdata_preserved(var) __section(.boot.preserved.data.var) var
37
38 extern unsigned long __sdma, __edma;
39 extern unsigned long __stext_dma, __etext_dma;
40
41 #endif