Zi Yan
9157259d16
mm: add pmd_t initializer __pmd() to work around a GCC bug.
...
THP migration is added but only supports x86_64 at the moment. For all
other architectures, swp_entry_to_pmd() only returns a zero pmd_t.
Due to a GCC zero initializer bug #53119 , the standard (pmd_t){0}
initializer is not accepted by all GCC versions. __pmd() is a feasible
workaround. In addition, sparc32's pmd_t is an array instead of a single
value, so we need (pmd_t){ {0}, } instead of (pmd_t){0}. Thus,
a different __pmd() definition is needed in sparc32.
Signed-off-by: Zi Yan <zi.yan@cs.rutgers.edu >
Signed-off-by: David S. Miller <davem@davemloft.net >
2017-08-10 15:03:57 -07:00
..
2017-06-19 11:13:05 -07:00
2016-06-16 10:48:32 +02:00
2016-06-16 10:48:30 +02:00
2016-06-16 10:48:32 +02:00
2016-01-12 20:46:49 +02:00
2016-01-12 20:46:57 +02:00
2015-02-05 13:35:30 -08:00
2016-12-24 11:46:01 -08:00
2016-12-24 11:46:01 -08:00
2015-05-13 10:55:42 +02:00
2017-05-25 12:06:51 -07:00
2016-03-20 21:28:58 -07:00
2016-03-22 15:36:02 -07:00
2016-10-24 11:04:17 -07:00
2017-06-28 06:54:39 -07:00
2016-10-05 18:38:40 -04:00
2016-10-05 18:38:40 -04:00
2016-08-24 12:15:13 +02:00
2016-05-20 17:55:41 -07:00
2016-05-29 18:55:54 -07:00
2017-05-17 12:07:01 -07:00
2016-11-18 11:17:00 -08:00
2016-06-04 15:43:15 +02:00
2015-06-07 15:28:57 +02:00
2016-11-18 11:16:59 -08:00
2016-10-07 18:46:30 -07:00
2015-08-03 11:34:15 +02:00
2017-07-11 21:33:52 +09:00
2016-12-11 18:01:51 -08:00
2016-05-20 17:55:41 -07:00
2017-02-27 18:43:45 -08:00
2017-06-10 14:10:54 -07:00
2017-06-25 13:43:13 -07:00
2017-06-06 13:45:28 -07:00
2017-07-18 11:25:52 -07:00
2017-07-12 16:26:02 -07:00
2016-03-20 21:28:58 -07:00
2016-03-20 21:28:58 -07:00
2017-08-10 15:03:57 -07:00
2017-03-27 21:20:23 -07:00
2015-06-08 07:56:43 -05:00
2017-04-18 13:02:26 -05:00
2016-03-07 10:40:02 -06:00
2016-05-20 17:55:42 -07:00
2016-06-24 17:23:52 -07:00
2017-05-17 12:07:46 -07:00
2017-04-06 12:03:29 -07:00
2015-02-10 14:30:33 -08:00
2017-06-06 13:45:29 -07:00
2017-06-28 16:13:57 -07:00
2017-06-28 16:13:57 -07:00
2016-01-12 20:46:49 +02:00
2017-04-23 17:15:51 -07:00
2017-05-25 12:06:51 -07:00
2017-05-25 12:06:52 -07:00
2015-04-17 09:04:10 -04:00
2017-06-12 15:44:01 -07:00
2016-03-20 21:28:58 -07:00
2016-09-28 20:40:52 -04:00
2016-10-24 11:04:18 -07:00
2017-05-25 12:06:52 -07:00
2017-05-25 12:06:52 -07:00
2017-08-04 11:08:53 -07:00
2015-03-01 21:33:58 -08:00
2016-08-07 23:55:48 -04:00
2016-08-07 23:55:48 -04:00
2016-08-07 23:55:48 -04:00
2017-02-27 18:43:46 -08:00
2016-03-22 15:36:02 -07:00
2015-04-12 21:03:31 +02:00
2016-12-11 18:01:51 -08:00
2017-06-12 15:44:03 -07:00
2017-02-23 08:30:28 -08:00
2017-02-23 08:21:45 -08:00
2017-07-14 11:18:02 -07:00
2016-07-29 10:49:16 -07:00
2016-12-11 18:01:51 -08:00
2017-05-15 23:40:22 -04:00
2017-07-15 11:17:52 -07:00
2017-03-28 16:43:25 -04:00
2017-02-23 08:22:28 -08:00
2017-06-25 13:43:15 -07:00
2015-08-06 19:13:25 -07:00