Skip to content

Commit

Permalink
[PATCH] uml: SIGIO formatting fixes
Browse files Browse the repository at this point in the history
Fix formatting in the sigio code.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Jeff Dike authored and Linus Torvalds committed Feb 11, 2007
1 parent d9f9d31 commit 4cffb7f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 14 deletions.
11 changes: 0 additions & 11 deletions arch/um/include/sigio.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,3 @@ extern void sigio_lock(void);
extern void sigio_unlock(void);

#endif

/*
* Overrides for Emacs so that we follow Linus's tabbing style.
* Emacs will notice this stuff at the end of the file and automatically
* adjust the settings for this buffer only. This must remain at the end
* of the file.
* ---------------------------------------------------------------------------
* Local variables:
* c-file-style: "linux"
* End:
*/
6 changes: 3 additions & 3 deletions arch/um/kernel/sigio.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ static irqreturn_t sigio_interrupt(int irq, void *data)

os_read_file(sigio_irq_fd, &c, sizeof(c));
reactivate_fd(sigio_irq_fd, SIGIO_WRITE_IRQ);
return(IRQ_HANDLED);
return IRQ_HANDLED;
}

int write_sigio_irq(int fd)
Expand All @@ -36,10 +36,10 @@ int write_sigio_irq(int fd)
if(err){
printk("write_sigio_irq : um_request_irq failed, err = %d\n",
err);
return(-1);
return -1;
}
sigio_irq_fd = fd;
return(0);
return 0;
}

/* These are called from os-Linux/sigio.c to protect its pollfds arrays. */
Expand Down

0 comments on commit 4cffb7f

Please sign in to comment.