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

Commit f5534004 authored by Olof Johansson's avatar Olof Johansson Committed by Paul Mackerras
Browse files

[POWERPC] Fix 1TB segment detection



Buglet in the 1TB detection makes it return after checking the first
property word, even if it's not a match.

Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent dc6adfb3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -209,9 +209,9 @@ static int __init htab_dt_scan_seg_sizes(unsigned long node,
		if (prop[0] == 40) {
			DBG("1T segment support detected\n");
			cur_cpu_spec->cpu_features |= CPU_FTR_1T_SEGMENT;
		}
			return 1;
		}
	}
	return 0;
}