diff options
Diffstat (limited to 'arch/s390/lib/uaccess_pt.c')
-rw-r--r-- | arch/s390/lib/uaccess_pt.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/s390/lib/uaccess_pt.c b/arch/s390/lib/uaccess_pt.c index 637192fa7c9a..63181671e3e3 100644 --- a/arch/s390/lib/uaccess_pt.c +++ b/arch/s390/lib/uaccess_pt.c | |||
@@ -15,8 +15,8 @@ | |||
15 | #include <asm/futex.h> | 15 | #include <asm/futex.h> |
16 | #include "uaccess.h" | 16 | #include "uaccess.h" |
17 | 17 | ||
18 | static inline int __handle_fault(struct mm_struct *mm, unsigned long address, | 18 | static int __handle_fault(struct mm_struct *mm, unsigned long address, |
19 | int write_access) | 19 | int write_access) |
20 | { | 20 | { |
21 | struct vm_area_struct *vma; | 21 | struct vm_area_struct *vma; |
22 | int ret = -EFAULT; | 22 | int ret = -EFAULT; |
@@ -81,8 +81,8 @@ out_sigbus: | |||
81 | return ret; | 81 | return ret; |
82 | } | 82 | } |
83 | 83 | ||
84 | static inline size_t __user_copy_pt(unsigned long uaddr, void *kptr, | 84 | static size_t __user_copy_pt(unsigned long uaddr, void *kptr, |
85 | size_t n, int write_user) | 85 | size_t n, int write_user) |
86 | { | 86 | { |
87 | struct mm_struct *mm = current->mm; | 87 | struct mm_struct *mm = current->mm; |
88 | unsigned long offset, pfn, done, size; | 88 | unsigned long offset, pfn, done, size; |
@@ -139,7 +139,7 @@ fault: | |||
139 | * Do DAT for user address by page table walk, return kernel address. | 139 | * Do DAT for user address by page table walk, return kernel address. |
140 | * This function needs to be called with current->mm->page_table_lock held. | 140 | * This function needs to be called with current->mm->page_table_lock held. |
141 | */ | 141 | */ |
142 | static inline unsigned long __dat_user_addr(unsigned long uaddr) | 142 | static unsigned long __dat_user_addr(unsigned long uaddr) |
143 | { | 143 | { |
144 | struct mm_struct *mm = current->mm; | 144 | struct mm_struct *mm = current->mm; |
145 | unsigned long pfn, ret; | 145 | unsigned long pfn, ret; |