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

Commit 2b692a87 authored by Roberto Nibali's avatar Roberto Nibali Committed by Linus Torvalds
Browse files

[PATCH] x86_64: Clean up white space in traps.c



Attached is a small code style cleanup patch that resulted from my
skimming through the arch/x86_64/kernel/traps.c code to figure out what
went haywire.

Signed-off-by: default avatarRoberto Nibali <ratz@drugphish.ch>
Signed-off-by: default avatarAndi Kleen <ak@suse.de>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent b2b978f9
Loading
Loading
Loading
Loading
+8 −9
Original line number Diff line number Diff line
@@ -339,8 +339,7 @@ void show_registers(struct pt_regs *regs)
		if (regs->rip < PAGE_OFFSET)
			goto bad;

		for(i=0;i<20;i++)
		{
		for (i=0; i<20; i++) {
			unsigned char c;
			if (__get_user(c, &((unsigned char*)regs->rip)[i])) {
bad:
@@ -495,9 +494,9 @@ static void __kprobes do_trap(int trapnr, int signr, char *str,
	{	     
		const struct exception_table_entry *fixup;
		fixup = search_exception_tables(regs->rip);
		if (fixup) {
		if (fixup)
			regs->rip = fixup->fixup;
		} else	
		else	
			die(str, regs, error_code);
		return;
	}