Message ID | 1411140580-20909-7-git-send-email-jeffrey.t.kirsher@intel.com (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
diff --git a/include/linux/mm.h b/include/linux/mm.h index 8981cc8..9bf2c7e 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h @@ -1623,7 +1623,9 @@ static inline void mark_page_reserved(struct page *page) */ static inline unsigned long free_initmem_default(int poison) { + DIAG_PUSH DIAG_IGNORE(nested-externs) extern char __init_begin[], __init_end[]; + DIAG_POP return free_reserved_area(&__init_begin, &__init_end, poison, "unused kernel");