diff options
Diffstat (limited to 'fs/proc/stat.c')
-rw-r--r-- | fs/proc/stat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/stat.c b/fs/proc/stat.c index 59749dfaef67..535eda7857cf 100644 --- a/fs/proc/stat.c +++ b/fs/proc/stat.c | |||
@@ -183,7 +183,7 @@ static int show_stat(struct seq_file *p, void *v) | |||
183 | 183 | ||
184 | static int stat_open(struct inode *inode, struct file *file) | 184 | static int stat_open(struct inode *inode, struct file *file) |
185 | { | 185 | { |
186 | size_t size = 1024 + 128 * num_online_cpus(); | 186 | unsigned int size = 1024 + 128 * num_online_cpus(); |
187 | 187 | ||
188 | /* minimum size to display an interrupt count : 2 bytes */ | 188 | /* minimum size to display an interrupt count : 2 bytes */ |
189 | size += 2 * nr_irqs; | 189 | size += 2 * nr_irqs; |