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

Commit fe7b2747 authored by Heiko Carstens's avatar Heiko Carstens Committed by Martin Schwidefsky
Browse files

s390/fault: use _ASCE_ORIGIN instead of PAGE_MASK



When masking an ASCE to get its origin use the corresponding define
instead of the unrelated PAGE_MASK.
This doesn't fix a bug since both masks are identical.

Signed-off-by: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent dbed23db
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -130,7 +130,7 @@ static int bad_address(void *p)


static void dump_pagetable(unsigned long asce, unsigned long address)
static void dump_pagetable(unsigned long asce, unsigned long address)
{
{
	unsigned long *table = __va(asce & PAGE_MASK);
	unsigned long *table = __va(asce & _ASCE_ORIGIN);


	pr_alert("AS:%016lx ", asce);
	pr_alert("AS:%016lx ", asce);
	switch (asce & _ASCE_TYPE_MASK) {
	switch (asce & _ASCE_TYPE_MASK) {