summaryrefslogtreecommitdiffstats
path: root/fs/fat/mmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/fat/mmap.c')
-rw-r--r--fs/fat/mmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fat/mmap.c b/fs/fat/mmap.c
index 545874a04..48cbc7b4f 100644
--- a/fs/fat/mmap.c
+++ b/fs/fat/mmap.c
@@ -60,7 +60,7 @@ static unsigned long fat_file_mmap_nopage(
filp.f_pos = pos;
need_read = PAGE_SIZE - clear;
{
- unsigned long cur_fs = get_fs();
+ mm_segment_t cur_fs = get_fs();
set_fs (KERNEL_DS);
cur_read = fat_file_read (&filp, (char*)page,
need_read, &filp.f_pos);