diff options
| author | mydongistiny <jaysonedson@gmail.com> | 2015-11-23 17:01:42 -0800 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2018-11-29 12:38:19 +0100 |
| commit | ff505baaf412985af758d5820cd620ed9f1a7e05 (patch) | |
| tree | 6486963ab0ffa407e1d67cbd539a968c7ab1c615 /mm | |
| parent | 3d29fcecea03b179e8a07cd7f025402aa344f12e (diff) | |
GCC: Fix up for gcc 5+
Signed-off-by: mydongistiny <jaysonedson@gmail.com>
Signed-off-by: Mister Oyster <oysterized@gmail.com>
Diffstat (limited to 'mm')
| -rw-r--r-- | mm/Makefile | 1 | ||||
| -rw-r--r-- | mm/rmap.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/mm/Makefile b/mm/Makefile index 30e403700..59cd756ac 100644 --- a/mm/Makefile +++ b/mm/Makefile @@ -1,6 +1,7 @@ # # Makefile for the linux memory manager. # +CFLAGS_KERNEL := -Wno-implicit-function-declaration -Wno-discarded-qualifiers -Wno-int-conversion mmu-y := nommu.o mmu-$(CONFIG_MMU) := fremap.o highmem.o madvise.o memory.o mincore.o \ @@ -531,7 +531,7 @@ __vma_address(struct page *page, struct vm_area_struct *vma) } inline unsigned long -vma_address(struct page *page, struct vm_area_struct *vma) +static vma_address(struct page *page, struct vm_area_struct *vma) { unsigned long address = __vma_address(page, vma); |
