* containing function pointers) to be reinitialized, and zero-initialized
* .bss variables will be reset to 0.
*/
* containing function pointers) to be reinitialized, and zero-initialized
* .bss variables will be reset to 0.
*/
{
void *fdt;
u64 seed, offset, mask, module_range;
{
void *fdt;
u64 seed, offset, mask, module_range;
* boundary (for 4KB/16KB/64KB granule kernels, respectively). If this
* happens, increase the KASLR offset by the size of the kernel image.
*/
* boundary (for 4KB/16KB/64KB granule kernels, respectively). If this
* happens, increase the KASLR offset by the size of the kernel image.
*/
- if ((((u64)_text + offset) >> SWAPPER_TABLE_SHIFT) !=
- (((u64)_end + offset) >> SWAPPER_TABLE_SHIFT))
+ if ((((u64)_text + offset + modulo_offset) >> SWAPPER_TABLE_SHIFT) !=
+ (((u64)_end + offset + modulo_offset) >> SWAPPER_TABLE_SHIFT))