Janusz Krzysztofik
07ad6ab3d7
omap: drop __initdata tags from static struct platform_device declarations
...
Pointers to statically declared platform device structures which are
registered with platform_device_register() are then used during run time
to access these structure members, for example from platform_uevent()
and much more. Therefore, these structures should never be placed inside
sections which are dropped after boot. Fix platform devices incorrectly
tagged with __initdata which happen to exist inside OMAP sub-trees.
This bug has exhibited itself on my ARM/OMAP1 based Amstrad Delta
videophone after commit 6d3163ce86dd386b4f7bda80241d7fea2bc0bb1d, "mm:
check if any page in a pageblock is reserved before marking it
MIGRATE_RESERVE", resulting in reading from several
/sys/device/platform/*/uevent files always ending up with segmentation
faults.
Signed-off-by: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Acked-by: Felipe Balbi <balbi@ti.com>
Cc: Varadarajan, Charulatha <charu@ti.com>
Cc: Jarkko Nikula <jhnikula@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2011-07-04 03:56:15 -07:00
..
2011-05-24 15:35:54 +09:00
2011-05-31 06:17:01 -07:00
2011-05-31 06:17:02 -07:00
2011-03-17 19:28:15 -07:00
2011-06-01 02:25:04 -07:00
2011-05-12 02:52:06 -07:00
2011-05-26 12:11:54 -07:00
2011-05-31 06:17:01 -07:00
2011-06-01 02:25:05 -07:00
2011-06-01 02:25:05 -07:00
2011-06-01 02:25:05 -07:00
2011-03-10 09:51:29 -08:00
2011-05-26 12:11:54 -07:00
2011-05-09 08:15:31 -07:00
2011-05-12 02:52:06 -07:00
2011-06-01 02:25:05 -07:00
2011-05-26 12:11:54 -07:00
2011-05-03 02:51:45 -07:00
2011-06-14 05:53:42 -07:00
2011-05-26 12:11:54 -07:00
2011-06-01 02:25:05 -07:00
2011-06-01 02:25:04 -07:00
2011-06-01 02:25:05 -07:00
2011-05-09 08:15:31 -07:00
2011-07-04 03:56:15 -07:00
2011-05-26 12:11:54 -07:00
2011-05-20 17:15:53 +02:00
2011-05-12 02:52:06 -07:00
2011-05-31 06:17:02 -07:00
2011-05-12 02:52:06 -07:00
2011-03-17 19:28:15 -07:00
2011-05-13 07:08:18 -07:00
Merge remote branches 'remotes/origin/pwrdm_clkdm_b_2.6.39', 'remotes/origin/pwrdm_add_can_lose_context_fns_2.6.39', 'remotes/origin/omap_device_a_2.6.39', 'remotes/origin/mmc_a_2.6.39', 'remotes/origin/hwmod_b_2.6.39', 'remotes/origin/dmtimer_a_2.6.39', 'remotes/origin/pwrdm_clkdm_a_2.6.39', 'remotes/origin/clkdm_statdep_omap4_2.6.39', 'remotes/origin/clk_a_2.6.39', 'remotes/origin/clk_autoidle_a_2.6.39', 'remotes/origin/clk_autoidle_b_2.6.39', 'remotes/origin/clk_b_2.6.39', 'remotes/origin/clk_clkdm_a_2.6.39', 'remotes/origin/misc_a_2.6.39', 'remotes/origin/for_2.6.39/omap3_hwmod_data' and 'remotes/origin/wdtimer_a_2.6.39' into tmp-integration-2.6.39-20110310-024
2011-03-10 22:41:28 -07:00
2011-03-09 18:44:28 -07:00
2011-03-22 14:27:36 +09:00
2011-04-20 12:43:56 -06:00
2011-03-22 14:27:36 +09:00
2011-03-22 14:27:36 +09:00
2011-03-11 07:21:44 -08:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
Merge remote branches 'remotes/origin/pwrdm_clkdm_b_2.6.39', 'remotes/origin/pwrdm_add_can_lose_context_fns_2.6.39', 'remotes/origin/omap_device_a_2.6.39', 'remotes/origin/mmc_a_2.6.39', 'remotes/origin/hwmod_b_2.6.39', 'remotes/origin/dmtimer_a_2.6.39', 'remotes/origin/pwrdm_clkdm_a_2.6.39', 'remotes/origin/clkdm_statdep_omap4_2.6.39', 'remotes/origin/clk_a_2.6.39', 'remotes/origin/clk_autoidle_a_2.6.39', 'remotes/origin/clk_autoidle_b_2.6.39', 'remotes/origin/clk_b_2.6.39', 'remotes/origin/clk_clkdm_a_2.6.39', 'remotes/origin/misc_a_2.6.39', 'remotes/origin/for_2.6.39/omap3_hwmod_data' and 'remotes/origin/wdtimer_a_2.6.39' into tmp-integration-2.6.39-20110310-024
2011-03-10 22:41:28 -07:00
2011-04-20 12:43:56 -06:00
2011-06-01 02:25:04 -07:00
2011-06-01 02:25:05 -07:00
2011-03-10 18:54:14 -08:00
2011-04-20 12:43:56 -06:00
2011-05-10 10:16:21 +02:00
2011-05-20 17:15:54 +02:00
2011-06-01 02:25:04 -07:00
2011-03-22 04:53:42 -03:00
2011-05-11 14:20:11 +03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-05-12 02:52:06 -07:00
2011-05-12 02:52:06 -07:00
2011-03-29 14:47:57 +02:00
2011-06-01 04:48:15 -07:00
2011-06-01 02:25:04 -07:00
2011-03-14 11:12:54 -07:00
Merge remote branches 'remotes/origin/pwrdm_clkdm_b_2.6.39', 'remotes/origin/pwrdm_add_can_lose_context_fns_2.6.39', 'remotes/origin/omap_device_a_2.6.39', 'remotes/origin/mmc_a_2.6.39', 'remotes/origin/hwmod_b_2.6.39', 'remotes/origin/dmtimer_a_2.6.39', 'remotes/origin/pwrdm_clkdm_a_2.6.39', 'remotes/origin/clkdm_statdep_omap4_2.6.39', 'remotes/origin/clk_a_2.6.39', 'remotes/origin/clk_autoidle_a_2.6.39', 'remotes/origin/clk_autoidle_b_2.6.39', 'remotes/origin/clk_b_2.6.39', 'remotes/origin/clk_clkdm_a_2.6.39', 'remotes/origin/misc_a_2.6.39', 'remotes/origin/for_2.6.39/omap3_hwmod_data' and 'remotes/origin/wdtimer_a_2.6.39' into tmp-integration-2.6.39-20110310-024
2011-03-10 22:41:28 -07:00
2011-05-16 02:28:58 -07:00
2011-05-17 03:31:24 -07:00
2011-03-10 18:54:14 -08:00
2011-05-26 12:11:54 -07:00
2011-03-31 11:26:23 -03:00
2011-06-01 02:25:04 -07:00
2011-03-31 11:26:23 -03:00
2011-06-01 02:25:04 -07:00
2011-06-01 02:25:04 -07:00
2011-03-09 16:38:36 -08:00
2011-04-20 12:43:56 -06:00
2011-06-01 02:25:05 -07:00
2011-04-20 12:43:56 -06:00
2011-04-20 12:43:56 -06:00
2011-06-01 00:16:04 -07:00
2011-05-03 02:38:01 -07:00
2011-05-17 03:44:50 -07:00
2011-03-10 22:17:45 -07:00
2011-06-01 02:25:04 -07:00
2011-03-31 11:26:23 -03:00
2011-03-09 16:38:36 -08:00
2011-05-23 16:53:17 +01:00
2011-03-11 09:39:58 -08:00
2011-03-11 09:39:58 -08:00
2011-03-11 09:20:03 -08:00
2011-05-20 17:15:54 +02:00
2011-05-03 02:38:03 -07:00
2011-06-06 16:14:46 -07:00
2011-04-26 02:45:32 -07:00
2011-05-20 17:15:54 +02:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
Merge remote branches 'remotes/origin/pwrdm_clkdm_b_2.6.39', 'remotes/origin/pwrdm_add_can_lose_context_fns_2.6.39', 'remotes/origin/omap_device_a_2.6.39', 'remotes/origin/mmc_a_2.6.39', 'remotes/origin/hwmod_b_2.6.39', 'remotes/origin/dmtimer_a_2.6.39', 'remotes/origin/pwrdm_clkdm_a_2.6.39', 'remotes/origin/clkdm_statdep_omap4_2.6.39', 'remotes/origin/clk_a_2.6.39', 'remotes/origin/clk_autoidle_a_2.6.39', 'remotes/origin/clk_autoidle_b_2.6.39', 'remotes/origin/clk_b_2.6.39', 'remotes/origin/clk_clkdm_a_2.6.39', 'remotes/origin/misc_a_2.6.39', 'remotes/origin/for_2.6.39/omap3_hwmod_data' and 'remotes/origin/wdtimer_a_2.6.39' into tmp-integration-2.6.39-20110310-024
2011-03-10 22:41:28 -07:00
2011-03-31 11:26:23 -03:00
2011-03-10 03:23:56 -07:00
2011-03-10 03:23:56 -07:00
2011-03-17 19:28:15 -07:00
2011-05-03 02:38:03 -07:00
2011-03-17 19:28:15 -07:00
2011-05-24 00:04:49 -07:00
2011-05-12 02:52:06 -07:00
2011-03-10 22:17:45 -07:00
2011-03-10 22:17:45 -07:00
2011-03-10 22:17:45 -07:00
2011-05-17 03:44:50 -07:00
2011-03-10 22:17:45 -07:00
2011-03-10 22:17:45 -07:00
2011-03-10 22:17:45 -07:00
2011-03-10 22:17:45 -07:00
2011-03-10 22:17:45 -07:00
2011-03-10 22:17:45 -07:00