Skip to content
Snippets Groups Projects
Commit 33a04939 authored by Johann Lombardi's avatar Johann Lombardi
Browse files

Branch b1_6

b=16813
i=johann

Workaround build issue on craynv (its asm/pgtable.h includes mm.h causing
configure checks to fail)
parent 04036b9c
No related branches found
No related tags found
No related merge requests found
......@@ -1048,6 +1048,7 @@ LB_LINUX_TRY_COMPILE([
AC_DEFUN([LC_CANCEL_DIRTY_PAGE],
[AC_MSG_CHECKING([kernel has cancel_dirty_page])
LB_LINUX_TRY_COMPILE([
#include <linux/mm.h>
#include <linux/page-flags.h>
],[
cancel_dirty_page(NULL, 0);
......@@ -1070,6 +1071,7 @@ LB_LINUX_TRY_COMPILE([
AC_DEFUN([LC_PAGE_CONSTANT],
[AC_MSG_CHECKING([if kernel have PageConstant defined])
LB_LINUX_TRY_COMPILE([
#include <linux/mm.h>
#include <linux/page-flags.h>
],[
#ifndef PG_constant
......@@ -1088,6 +1090,7 @@ LB_LINUX_TRY_COMPILE([
AC_DEFUN([LC_PG_FS_MISC],
[AC_MSG_CHECKING([kernel has PG_fs_misc])
LB_LINUX_TRY_COMPILE([
#include <linux/mm.h>
#include <linux/page-flags.h>
],[
#ifndef PG_fs_misc
......@@ -1106,6 +1109,7 @@ LB_LINUX_TRY_COMPILE([
AC_DEFUN([LC_PAGE_CHECKED],
[AC_MSG_CHECKING([kernel has PageChecked and SetPageChecked])
LB_LINUX_TRY_COMPILE([
#include <linux/mm.h>
#include <linux/page-flags.h>
],[
#ifndef PageChecked
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment