From 44b614e2d2bb519f5053d520c747631c151275d7 Mon Sep 17 00:00:00 2001 From: guanglei Date: Fri, 10 Nov 2006 05:01:07 +0000 Subject: transport/procfs.c: bugfix of the obsolete buf_info and consumed_info. --- runtime/ChangeLog | 5 +++++ runtime/transport/procfs.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'runtime') 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 + + * transport/procfs.c: bugfix of the obsolete buf_info + and consumed_info. + 2006-11-09 Martin Hunt * 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; -- cgit