diff options
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/ChangeLog | 5 | ||||
-rw-r--r-- | runtime/transport/procfs.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/runtime/ChangeLog b/runtime/ChangeLog index 3eae4158..e0cf15b7 100644 --- a/runtime/ChangeLog +++ b/runtime/ChangeLog @@ -1,3 +1,8 @@ +2006-11-10 Li Guanglei <guanglei@cn.ibm.com> + + * transport/procfs.c: bugfix of the obsolete buf_info + and consumed_info. + 2006-11-09 Martin Hunt <hunt@redhat.com> * sym.h: Change int to int32_t. diff --git a/runtime/transport/procfs.c b/runtime/transport/procfs.c index d208766d..77cfa627 100644 --- a/runtime/transport/procfs.c +++ b/runtime/transport/procfs.c @@ -24,7 +24,7 @@ static ssize_t _stp_proc_read (struct file *file, char __user *buf, size_t count, loff_t *ppos) { int num; - struct buf_info out; + struct _stp_buf_info out; int cpu = *(int *)(PDE(file->f_dentry->d_inode)->data); @@ -52,7 +52,7 @@ _stp_proc_read (struct file *file, char __user *buf, size_t count, loff_t *ppos) static ssize_t _stp_proc_write (struct file *file, const char __user *buf, size_t count, loff_t *ppos) { - struct consumed_info info; + struct _stp_consumed_info info; int cpu = *(int *)(PDE(file->f_dentry->d_inode)->data); if (copy_from_user(&info, buf, count)) return -EFAULT; |