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

Commit a0b38b4e authored by Suzuki Poulose's avatar Suzuki Poulose Committed by Scott Wood
Browse files

powerpc: Set the NOTE type for SPE regset



The regset defintion for SPE doesn't have the core_note_type
set, which prevents it from being dumped. Add the note type
NT_PPC_SPE for SPE regset.

Signed-off-by: default avatarSuzuki K Poulose <suzuki@in.ibm.com>
Cc: Roland McGrath <roland@hack.frob.com>
Signed-off-by: default avatarScott Wood <scottwood@freescale.com>
parent f4b12388
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -658,7 +658,7 @@ static const struct user_regset native_regsets[] = {
#endif
#ifdef CONFIG_SPE
	[REGSET_SPE] = {
		.n = 35,
		.core_note_type = NT_PPC_SPE, .n = 35,
		.size = sizeof(u32), .align = sizeof(u32),
		.active = evr_active, .get = evr_get, .set = evr_set
	},