diff options
author | Robert Richter <robert.richter@amd.com> | 2008-09-05 17:12:36 +0200 |
---|---|---|
committer | Robert Richter <robert.richter@amd.com> | 2008-10-15 20:55:51 +0200 |
commit | 25ad2913cae9c9e3ed28075caeb2eefccd636f4f (patch) | |
tree | dc0cc534beb4ccf487f9f6f3c7382bc559f0a35d /drivers/oprofile/event_buffer.c | |
parent | oprofile: whitespace fixes (diff) | |
download | linux-25ad2913cae9c9e3ed28075caeb2eefccd636f4f.tar.xz linux-25ad2913cae9c9e3ed28075caeb2eefccd636f4f.zip |
oprofile: more whitespace fixes
Signed-off-by: Robert Richter <robert.richter@amd.com>
Diffstat (limited to 'drivers/oprofile/event_buffer.c')
-rw-r--r-- | drivers/oprofile/event_buffer.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/oprofile/event_buffer.c b/drivers/oprofile/event_buffer.c index 8d692a5c8e73..c9329f4e090f 100644 --- a/drivers/oprofile/event_buffer.c +++ b/drivers/oprofile/event_buffer.c @@ -28,7 +28,7 @@ DEFINE_MUTEX(buffer_mutex); static unsigned long buffer_opened; static DECLARE_WAIT_QUEUE_HEAD(buffer_wait); -static unsigned long * event_buffer; +static unsigned long *event_buffer; static unsigned long buffer_size; static unsigned long buffer_watershed; static size_t buffer_pos; @@ -98,7 +98,7 @@ void free_event_buffer(void) } -static int event_buffer_open(struct inode * inode, struct file * file) +static int event_buffer_open(struct inode *inode, struct file *file) { int err = -EPERM; @@ -134,7 +134,7 @@ out: } -static int event_buffer_release(struct inode * inode, struct file * file) +static int event_buffer_release(struct inode *inode, struct file *file) { oprofile_stop(); oprofile_shutdown(); @@ -146,8 +146,8 @@ static int event_buffer_release(struct inode * inode, struct file * file) } -static ssize_t event_buffer_read(struct file * file, char __user * buf, - size_t count, loff_t * offset) +static ssize_t event_buffer_read(struct file *file, char __user *buf, + size_t count, loff_t *offset) { int retval = -EINVAL; size_t const max = buffer_size * sizeof(unsigned long); |