Commit 4cffb7fa authored by Jeff Dike's avatar Jeff Dike Committed by Linus Torvalds

[PATCH] uml: SIGIO formatting fixes

Fix formatting in the sigio code.
Signed-off-by: default avatarJeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent d9f9d319
...@@ -12,14 +12,3 @@ extern void sigio_lock(void); ...@@ -12,14 +12,3 @@ extern void sigio_lock(void);
extern void sigio_unlock(void); extern void sigio_unlock(void);
#endif #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:
*/
...@@ -23,7 +23,7 @@ static irqreturn_t sigio_interrupt(int irq, void *data) ...@@ -23,7 +23,7 @@ static irqreturn_t sigio_interrupt(int irq, void *data)
os_read_file(sigio_irq_fd, &c, sizeof(c)); os_read_file(sigio_irq_fd, &c, sizeof(c));
reactivate_fd(sigio_irq_fd, SIGIO_WRITE_IRQ); reactivate_fd(sigio_irq_fd, SIGIO_WRITE_IRQ);
return(IRQ_HANDLED); return IRQ_HANDLED;
} }
int write_sigio_irq(int fd) int write_sigio_irq(int fd)
...@@ -36,10 +36,10 @@ int write_sigio_irq(int fd) ...@@ -36,10 +36,10 @@ int write_sigio_irq(int fd)
if(err){ if(err){
printk("write_sigio_irq : um_request_irq failed, err = %d\n", printk("write_sigio_irq : um_request_irq failed, err = %d\n",
err); err);
return(-1); return -1;
} }
sigio_irq_fd = fd; sigio_irq_fd = fd;
return(0); return 0;
} }
/* These are called from os-Linux/sigio.c to protect its pollfds arrays. */ /* These are called from os-Linux/sigio.c to protect its pollfds arrays. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment