Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit be6359d1 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "arm64: kernel: Update PERCPU_SECTION and RW_DATA_SECTION alignment"

parents 791a2d92 29d35325
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@

#include <asm/cachetype.h>

#define L1_CACHE_SHIFT		6
#define L1_CACHE_SHIFT		7
#define L1_CACHE_BYTES		(1 << L1_CACHE_SHIFT)

/*
+3 −2
Original line number Diff line number Diff line
@@ -9,6 +9,7 @@
#include <asm/memory.h>
#include <asm/page.h>
#include <asm/pgtable.h>
#include <asm/cache.h>

#include "image.h"

@@ -113,7 +114,7 @@ SECTIONS
		ARM_EXIT_KEEP(EXIT_DATA)
	}

	PERCPU_SECTION(64)
	PERCPU_SECTION(L1_CACHE_BYTES)

	. = ALIGN(PAGE_SIZE);
	__init_end = .;
@@ -131,7 +132,7 @@ SECTIONS
	. = ALIGN(PAGE_SIZE);
	_data = .;
	_sdata = .;
	RW_DATA_SECTION(64, PAGE_SIZE, THREAD_SIZE)
	RW_DATA_SECTION(L1_CACHE_BYTES, PAGE_SIZE, THREAD_SIZE)
	_edata = .;

	BSS_SECTION(0, 0, 0)