uml: style fixes in arch/um/kernel
Joe Perches noticed some printks in smp.c that needed fixing. While I was in there, I did the usual tidying in arch/um/kernel, which should be fairly style-clean at this point: copyright updates emacs formatting comments removal include tidying style fixes Cc: Joe Perches <joe@perches.com> Signed-off-by: Jeff Dike <jdike@linux.intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
e6a2d1f702
commit
c5d4bb171c
@@ -3,12 +3,12 @@
|
||||
* Licensed under the GPL
|
||||
*/
|
||||
|
||||
#include "linux/module.h"
|
||||
#include "linux/ptrace.h"
|
||||
#include "linux/sched.h"
|
||||
#include "asm/siginfo.h"
|
||||
#include "asm/signal.h"
|
||||
#include "asm/unistd.h"
|
||||
#include <linux/module.h>
|
||||
#include <linux/ptrace.h>
|
||||
#include <linux/sched.h>
|
||||
#include <asm/siginfo.h>
|
||||
#include <asm/signal.h>
|
||||
#include <asm/unistd.h>
|
||||
#include "frame_kern.h"
|
||||
#include "kern_util.h"
|
||||
#include "sigcontext.h"
|
||||
@@ -36,7 +36,7 @@ static int handle_signal(struct pt_regs *regs, unsigned long signr,
|
||||
/* Did we come from a system call? */
|
||||
if (PT_REGS_SYSCALL_NR(regs) >= 0) {
|
||||
/* If so, check system call restarting.. */
|
||||
switch(PT_REGS_SYSCALL_RET(regs)) {
|
||||
switch (PT_REGS_SYSCALL_RET(regs)) {
|
||||
case -ERESTART_RESTARTBLOCK:
|
||||
case -ERESTARTNOHAND:
|
||||
PT_REGS_SYSCALL_RET(regs) = -EINTR;
|
||||
@@ -116,7 +116,7 @@ static int kern_do_signal(struct pt_regs *regs)
|
||||
/* Did we come from a system call? */
|
||||
if (!handled_sig && (PT_REGS_SYSCALL_NR(regs) >= 0)) {
|
||||
/* Restart the system call - no handlers present */
|
||||
switch(PT_REGS_SYSCALL_RET(regs)) {
|
||||
switch (PT_REGS_SYSCALL_RET(regs)) {
|
||||
case -ERESTARTNOHAND:
|
||||
case -ERESTARTSYS:
|
||||
case -ERESTARTNOINTR:
|
||||
|
Reference in New Issue
Block a user