Qian Cai
0cfaee2af3
include/asm-generic/5level-fixup.h: fix variable 'p4d' set but not used
...
A compiler throws a warning on an arm64 system since commit 9849a5697d3d
("arch, mm: convert all architectures to use 5level-fixup.h"),
mm/kasan/init.c: In function 'kasan_free_p4d':
mm/kasan/init.c:344:9: warning: variable 'p4d' set but not used [-Wunused-but-set-variable]
p4d_t *p4d;
^~~
because p4d_none() in "5level-fixup.h" is compiled away while it is a
static inline function in "pgtable-nopud.h".
However, if converted p4d_none() to a static inline there, powerpc would
be unhappy as it reads those in assembler language in
"arch/powerpc/include/asm/book3s/64/pgtable.h", so it needs to skip
assembly include for the static inline C function.
While at it, converted a few similar functions to be consistent with the
ones in "pgtable-nopud.h".
Link: http://lkml.kernel.org/r/20190806232917.881-1-cai@lca.pw
Signed-off-by: Qian Cai <cai@lca.pw>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Jason Gunthorpe <jgg@ziepe.ca>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2019-08-13 16:06:52 -07:00
..
2019-01-04 13:13:46 -08:00
2019-06-22 21:21:06 +02:00
2018-11-02 08:31:52 +01:00
2019-08-13 16:06:52 -07:00
2015-06-23 13:35:49 +09:00
2017-11-02 11:10:55 +01:00
2019-06-03 12:32:56 +02:00
2019-02-13 08:07:31 +01:00
2019-02-13 08:07:31 +01:00
2019-05-24 17:27:11 +02:00
2017-11-02 11:10:55 +01:00
2018-01-30 19:07:54 -08:00
2017-11-02 11:10:55 +01:00
2007-05-11 05:38:25 -04:00
2017-11-15 13:28:48 -08:00
2019-05-24 17:27:11 +02:00
2019-07-12 11:05:42 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-07-16 19:23:24 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-07-16 19:23:22 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-08-29 15:42:20 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-06-05 17:37:16 +02:00
2017-11-13 08:25:06 -08:00
2017-11-02 11:10:55 +01:00
2018-12-13 21:06:18 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-12-28 12:11:51 -08:00
2019-05-24 17:27:11 +02:00
2018-12-01 23:13:14 +09:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-12-14 15:05:45 -08:00
2019-06-24 09:16:47 +10:00
2019-06-19 17:09:55 +02:00
2019-07-22 11:20:10 +02:00
2019-08-03 07:02:01 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-05-14 09:47:47 -07:00
2009-06-11 21:02:42 +02:00
2017-11-02 11:10:55 +01:00
2018-06-07 17:34:38 -07:00
2019-05-24 17:27:11 +02:00
2017-11-02 11:10:55 +01:00
2019-01-22 13:39:59 +01:00
2019-05-30 11:26:32 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-03-17 12:56:32 +09:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-03-06 18:40:44 +01:00
2009-06-11 21:02:37 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2014-02-09 21:18:52 +01:00
2017-11-02 11:10:55 +01:00
2019-05-09 10:37:17 +02:00
2015-07-17 16:39:53 -07:00
2019-04-08 11:59:39 +01:00
2019-04-08 11:59:39 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-07-08 19:06:27 -04:00
2017-11-02 11:10:55 +01:00
2019-02-22 21:53:25 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-03-09 23:19:56 +01:00
2018-05-07 07:15:41 +02:00
2018-10-31 08:54:14 -07:00
2019-07-12 11:05:45 -07:00
2018-12-05 09:03:06 +01:00
2018-12-05 09:03:06 +01:00
2018-11-02 08:31:52 +01:00
2018-12-05 09:03:06 +01:00
2019-05-05 20:32:46 +02:00
2017-11-02 11:10:55 +01:00
2018-02-06 10:28:58 +01:00
2019-05-30 11:26:37 -07:00
2019-05-30 11:26:37 -07:00
2019-05-30 11:26:37 -07:00
2017-11-02 11:10:55 +01:00
2019-06-19 17:09:55 +02:00
2019-04-29 10:47:10 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-05-14 19:52:48 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2009-06-11 21:02:37 +02:00
2019-05-24 17:27:11 +02:00
2019-05-30 11:29:21 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-05-30 11:26:32 -07:00
2017-11-02 11:10:55 +01:00
2017-11-17 16:10:05 -08:00
2017-11-02 11:10:55 +01:00
2019-04-23 21:51:41 +02:00
2017-11-02 11:10:55 +01:00
2011-03-01 15:49:39 +01:00
2017-11-02 11:10:55 +01:00
2019-07-17 13:13:41 -07:00
2013-09-30 14:31:02 -07:00
2017-11-02 11:10:55 +01:00
2019-05-24 17:27:13 +02:00