From: Fengguang Wu <fengguang.wu@intel.com>
To: kernel-janitors@vger.kernel.org
Subject: [memcg:since-3.5 123/137] mm/internal.h:380:3: error: implicit declaration of function 'atomic_dec_i
Date: Thu, 13 Sep 2012 17:01:26 +0000 [thread overview]
Message-ID: <20120913170126.GB4127@localhost> (raw)
Hi Shaohua,
FYI, kernel build failed on
tree: git://git.kernel.org/pub/scm/linux/kernel/git/mhocko/mm.git since-3.5
head: d64f22e5761b1e367ba5d1e04d2fe5e0283aecbc
commit: cfb0997213ba955c7239735affdfd20fefc2dbba [123/137] swap: add a simple detector for inappropriate swapin readahead
config: m32r-mappi3.smp_defconfig
All related error/warning messages:
In file included from mm/filemap.c:36:0:
mm/internal.h: In function 'swap_cache_hit':
mm/internal.h:380:3: error: implicit declaration of function 'atomic_dec_if_positive' [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
--
In file included from mm/page_alloc.c:64:0:
mm/internal.h: In function 'swap_cache_hit':
mm/internal.h:380:3: error: implicit declaration of function 'atomic_dec_if_positive' [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
--
In file included from mm/swap.c:34:0:
mm/internal.h: In function 'swap_cache_hit':
mm/internal.h:380:3: error: implicit declaration of function 'atomic_dec_if_positive' [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
--
In file included from mm/truncate.c:23:0:
mm/internal.h: In function 'swap_cache_hit':
mm/internal.h:380:3: error: implicit declaration of function 'atomic_dec_if_positive' [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
--
In file included from mm/vmscan.c:51:0:
mm/internal.h: In function 'swap_cache_hit':
mm/internal.h:380:3: error: implicit declaration of function 'atomic_dec_if_positive' [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
--
In file included from mm/util.c:10:0:
mm/internal.h: In function 'swap_cache_hit':
mm/internal.h:380:3: error: implicit declaration of function 'atomic_dec_if_positive' [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
--
In file included from mm/mm_init.c:12:0:
mm/internal.h: In function 'swap_cache_hit':
mm/internal.h:380:3: error: implicit declaration of function 'atomic_dec_if_positive' [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
--
In file included from mm/compaction.c:17:0:
mm/internal.h: In function 'swap_cache_hit':
mm/internal.h:380:3: error: implicit declaration of function 'atomic_dec_if_positive' [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
--
In file included from mm/fremap.c:24:0:
mm/internal.h: In function 'swap_cache_hit':
mm/internal.h:380:3: error: implicit declaration of function 'atomic_dec_if_positive' [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
--
In file included from mm/memory.c:68:0:
mm/internal.h: In function 'swap_cache_hit':
mm/internal.h:380:3: error: implicit declaration of function 'atomic_dec_if_positive' [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
--
In file included from mm/mlock.c:22:0:
mm/internal.h: In function 'swap_cache_hit':
mm/internal.h:380:3: error: implicit declaration of function 'atomic_dec_if_positive' [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
..
vim +380 mm/internal.h
375 #define SWAPRA_MISS_THRESHOLD (100)
376 #define SWAPRA_MAX_MISS ((SWAPRA_MISS_THRESHOLD) * 10)
377 static inline void swap_cache_hit(struct vm_area_struct *vma)
378 {
379 if (vma && vma->anon_vma)
> 380 atomic_dec_if_positive(&vma->anon_vma->swapra_miss);
381 }
382
383 static inline void swap_cache_miss(struct vm_area_struct *vma)
384 {
385 if (!vma || !vma->anon_vma)
---
0-DAY kernel build testing backend Open Source Technology Centre
Fengguang Wu <wfg@linux.intel.com> Intel Corporation
next reply other threads:[~2012-09-13 17:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-13 17:01 Fengguang Wu [this message]
2012-09-14 0:58 ` [memcg:since-3.5 123/137] mm/internal.h:380:3: error: implicit declaration of function 'atomic_d Shaohua Li
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120913170126.GB4127@localhost \
--to=fengguang.wu@intel.com \
--cc=kernel-janitors@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).