summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2014-04-23 08:27:18 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2014-04-23 08:27:18 +1000
commita39e355b1877c9bd20bb913c10b7437af4e3ee65 (patch)
treef331124c84d8060eeac1b905bf977fba9516a75b /mm
parent03f74d616c3719a530516b6cfcd1889a4e534cb8 (diff)
mm-extract-code-to-fault-in-a-page-from-__get_user_pages-fix
s/BUILD_BUG/BUG/ Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm')
-rw-r--r--mm/gup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/gup.c b/mm/gup.c
index 2ae0dc7e4180..67736eb899ba 100644
--- a/mm/gup.c
+++ b/mm/gup.c
@@ -453,7 +453,7 @@ long __get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
case -ENOENT:
goto next_page;
default:
- BUILD_BUG();
+ BUG();
}
cond_resched();
}