Grant Likely
b1608d69cb
drivercore: revert addition of of_match to struct device
...
Commit b826291c, "drivercore/dt: add a match table pointer to struct
device" added an of_match pointer to struct device to cache the
of_match_table entry discovered at driver match time. This was unsafe
because matching is not an atomic operation with probing a driver. If
two or more drivers are attempted to be matched to a driver at the
same time, then the cached matching entry pointer could get
overwritten.
This patch reverts the of_match cache pointer and reworks all users to
call of_match_device() directly instead.
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
2011-05-18 12:32:23 -06:00
..
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-17 17:54:40 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-04-24 11:02:09 -05:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2010-12-21 12:24:49 -06:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-04-24 11:01:59 -05:00
2011-03-23 11:35:59 -05:00
2011-01-24 12:06:31 -06:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2010-11-16 13:33:23 -08:00
2011-03-31 11:26:23 -03:00
2010-11-16 13:33:23 -08:00
2009-12-04 12:00:51 -06:00
2010-11-16 13:33:23 -08:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2010-11-16 13:33:23 -08:00
2011-03-31 11:26:23 -03:00
2010-12-22 18:57:02 +01:00
2010-05-26 19:51:08 +02:00
2010-05-26 19:51:07 +02:00
2010-05-26 19:51:08 +02:00
2010-05-26 19:51:07 +02:00
2010-05-26 19:51:09 +02:00
2011-03-31 11:26:23 -03:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2010-11-16 13:33:23 -08:00
2011-03-31 11:26:23 -03:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2010-03-30 22:02:32 +09:00
2010-10-22 10:52:56 -07:00
2010-09-02 17:15:31 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2009-12-04 23:41:47 +01:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2011-03-31 11:26:23 -03:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2010-11-16 13:33:23 -08:00
2010-01-18 10:48:16 -06:00
2010-12-31 09:50:09 -06:00
2010-01-18 10:48:16 -06:00
2010-12-31 09:50:09 -06:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2010-05-26 19:51:08 +02:00
2010-10-22 19:36:42 -07:00
2011-02-18 12:33:52 -06:00
2011-03-14 18:44:41 -05:00
2011-02-18 12:32:30 -06:00
2010-11-16 13:33:23 -08:00
2009-10-02 09:45:22 -05:00
2010-11-16 13:33:23 -08:00
2011-03-31 11:26:23 -03:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-17 17:54:40 -07:00
2010-12-21 12:23:55 -06:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2010-08-06 10:45:07 -05:00
2011-03-31 11:26:23 -03:00
2011-02-24 12:41:10 -05:00
2010-03-30 22:02:32 +09:00
2011-02-28 18:40:27 -06:00
2010-03-30 22:02:32 +09:00
2011-03-23 11:36:58 -05:00
2011-02-24 12:41:08 -05:00
2010-03-30 22:02:32 +09:00
2010-11-16 13:33:23 -08:00
2010-03-30 22:02:32 +09:00
2011-03-17 17:54:40 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2010-11-16 13:33:23 -08:00
2010-03-30 22:02:32 +09:00
2010-05-26 19:51:07 +02:00
2010-05-02 15:55:03 -04:00
2011-03-31 11:26:23 -03:00
2010-11-16 13:33:23 -08:00
2011-03-31 11:26:23 -03:00
2010-11-16 13:33:23 -08:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2010-11-16 13:33:23 -08:00
2011-04-24 12:15:07 -05:00
2011-03-31 11:26:23 -03:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2011-03-31 11:26:23 -03:00
2009-05-20 17:21:13 -05:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2011-05-18 12:32:23 -06:00
2010-08-06 09:25:50 -06:00
2010-03-03 21:17:06 +05:30
2011-03-31 11:26:23 -03:00
2011-01-24 12:01:07 -06:00
2011-03-21 15:54:35 -07:00
2009-12-04 12:01:33 -06:00
2009-12-04 12:01:30 -06:00
2011-05-03 15:30:00 -05:00
2011-03-31 11:26:23 -03:00
2010-07-28 09:07:50 -05:00
2011-03-17 17:54:40 -07:00
2010-03-30 22:02:32 +09:00
2010-02-08 17:15:19 -06:00
2010-10-22 10:16:43 -07:00
2009-11-18 08:37:40 -08:00
2011-04-24 11:02:17 -05:00
2010-10-22 10:52:56 -07:00
2011-03-31 11:26:23 -03:00
2010-04-30 12:52:08 -05:00
2011-04-19 13:32:46 +02:00
2011-03-23 11:35:58 -05:00
2011-03-10 08:52:07 +01:00
2010-03-30 22:02:32 +09:00
2009-01-02 10:22:16 -06:00
2009-04-21 19:40:00 -07:00
2010-11-16 13:33:23 -08:00
2010-03-30 22:02:32 +09:00
2010-10-15 15:49:20 +02:00
2011-03-31 11:26:23 -03:00
2011-03-14 18:37:34 -05:00
2011-03-23 11:37:09 -05:00
2010-10-24 13:41:39 -07:00
2010-03-07 17:04:50 -08:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-12-16 17:53:39 +01:00
2010-03-30 22:02:32 +09:00
2011-03-31 11:26:23 -03:00
2010-12-16 17:53:39 +01:00
2010-12-22 23:26:50 -06:00
2009-12-10 08:54:13 -06:00
2010-11-16 13:33:23 -08:00
2011-03-31 11:26:23 -03:00
2010-08-07 18:17:56 +02:00
2010-08-07 18:17:56 +02:00
2010-11-16 13:33:23 -08:00
2010-03-30 22:02:32 +09:00
2011-02-28 01:36:39 -07:00
2011-03-31 11:26:23 -03:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2011-03-29 09:37:42 +02:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2009-12-04 12:00:49 -06:00
2011-03-31 11:26:23 -03:00
2010-11-16 13:33:23 -08:00
2011-03-31 11:26:23 -03:00
2009-06-25 11:37:23 -05:00
2010-05-17 21:37:41 +02:00