mirror of
https://github.com/torvalds/linux.git
synced 2024-12-27 21:33:00 +00:00
MM: Make needlessly global hugetlb_no_page() static.
Signed-off-by: Robert P. J. Day <rpjday@mindspring.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
b5fab14e5d
commit
a1ed3dda0a
@ -498,7 +498,7 @@ static int hugetlb_cow(struct mm_struct *mm, struct vm_area_struct *vma,
|
||||
return VM_FAULT_MINOR;
|
||||
}
|
||||
|
||||
int hugetlb_no_page(struct mm_struct *mm, struct vm_area_struct *vma,
|
||||
static int hugetlb_no_page(struct mm_struct *mm, struct vm_area_struct *vma,
|
||||
unsigned long address, pte_t *ptep, int write_access)
|
||||
{
|
||||
int ret = VM_FAULT_SIGBUS;
|
||||
|
Loading…
Reference in New Issue
Block a user