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

Commit 688bb415 authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds
Browse files
parent b065b432
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -277,7 +277,7 @@ void xtensa_elf_core_copy_regs (xtensa_gregset_t *elfregs, struct pt_regs *regs)

	/* Don't leak any random bits. */

	memset(elfregs, 0, sizeof (elfregs));
	memset(elfregs, 0, sizeof(*elfregs));

	/* Note:  PS.EXCM is not set while user task is running; its
	 * being set in regs->ps is for exception handling convenience.