Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1387467

[-mmots 2016-04-25] hugetlb: error: ‘cpu_has_pse’ undeclared

From Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Newsgroups linux.kernel
Subject [-mmots 2016-04-25] hugetlb: error: ‘cpu_has_pse’ undeclared
Date 2016-04-26 15:20 +0200
Message-ID <rsb4e-8r9-17@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hello,

v4.6-rc5-mmots-2016-04-25-17-33


In file included from include/linux/hugetlb.h:418:0,
                 from fs/hugetlbfs/inode.c:28:
fs/hugetlbfs/inode.c: In function ‘init_hugetlbfs_fs’:
./arch/x86/include/asm/hugetlb.h:7:31: error: ‘cpu_has_pse’ undeclared (first use in this function)
 #define hugepages_supported() cpu_has_pse
                               ^
fs/hugetlbfs/inode.c:1325:7: note: in expansion of macro ‘hugepages_supported’
  if (!hugepages_supported()) {
       ^~~~~~~~~~~~~~~~~~~
./arch/x86/include/asm/hugetlb.h:7:31: note: each undeclared identifier is reported only once for each function it appears in
 #define hugepages_supported() cpu_has_pse
                               ^
fs/hugetlbfs/inode.c:1325:7: note: in expansion of macro ‘hugepages_supported’
  if (!hugepages_supported()) {
       ^~~~~~~~~~~~~~~~~~~
scripts/Makefile.build:289: recipe for target 'fs/hugetlbfs/inode.o' failed
make[2]: *** [fs/hugetlbfs/inode.o] Error 1
scripts/Makefile.build:440: recipe for target 'fs/hugetlbfs' failed
make[1]: *** [fs/hugetlbfs] Error 2
make[1]: *** Waiting for unfinished jobs....



git grep cpu_has_pse
arch/x86/include/asm/hugetlb.h:#define hugepages_supported() cpu_has_pse


	-ss

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[-mmots 2016-04-25] hugetlb: error: ‘cpu_has_pse’ undeclared Sergey Senozhatsky <sergey.senozhatsky@gmail.com> - 2016-04-26 15:20 +0200
  Re: [-mmots 2016-04-25] hugetlb: error: ‘cpu_has_pse’ undeclared Andrew Morton <akpm@linux-foundation.org> - 2016-04-27 00:10 +0200
    Re: [-mmots 2016-04-25] hugetlb: error: ‘cpu_has_pse’ undeclared Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2016-04-27 02:40 +0200
    Re: [-mmots 2016-04-25] hugetlb: error: ‘cpu_has_pse’ undeclared Ingo Molnar <mingo@kernel.org> - 2016-04-27 10:10 +0200

csiph-web