diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2007-02-05 15:18:53 -0500 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2007-02-05 15:18:53 -0500 |
commit | 4d284cac76d0bfebc42d76b428c4e44d921200a9 (patch) | |
tree | e99d659aea9c747a3d5b4b4341f84a5cbead265b /arch/s390/lib | |
parent | 162e006ef59266b9ebf34e3d15ca1f3d9ee956d7 (diff) |
[S390] Avoid excessive inlining.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/lib')
-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; |