aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
Diffstat (limited to 'mm')
-rw-r--r--mm/filemap.c2
-rw-r--r--mm/page_alloc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/mm/filemap.c b/mm/filemap.c
index 5d6e4c2000dc..33a28bfde158 100644
--- a/mm/filemap.c
+++ b/mm/filemap.c
@@ -134,7 +134,7 @@ static int sync_page(void *word)
134 struct address_space *mapping; 134 struct address_space *mapping;
135 struct page *page; 135 struct page *page;
136 136
137 page = container_of((page_flags_t *)word, struct page, flags); 137 page = container_of((unsigned long *)word, struct page, flags);
138 138
139 /* 139 /*
140 * page_mapping() is being called without PG_locked held. 140 * page_mapping() is being called without PG_locked held.
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index e8810a7e0264..259a71bacca4 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -128,7 +128,7 @@ static void bad_page(const char *function, struct page *page)
128 printk(KERN_EMERG "Bad page state at %s (in process '%s', page %p)\n", 128 printk(KERN_EMERG "Bad page state at %s (in process '%s', page %p)\n",
129 function, current->comm, page); 129 function, current->comm, page);
130 printk(KERN_EMERG "flags:0x%0*lx mapping:%p mapcount:%d count:%d\n", 130 printk(KERN_EMERG "flags:0x%0*lx mapping:%p mapcount:%d count:%d\n",
131 (int)(2*sizeof(page_flags_t)), (unsigned long)page->flags, 131 (int)(2*sizeof(unsigned long)), (unsigned long)page->flags,
132 page->mapping, page_mapcount(page), page_count(page)); 132 page->mapping, page_mapcount(page), page_count(page));
133 printk(KERN_EMERG "Backtrace:\n"); 133 printk(KERN_EMERG "Backtrace:\n");
134 dump_stack(); 134 dump_stack();