summaryrefslogtreecommitdiffstats
path: root/drivers/virtio
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2012-03-30 22:05:04 +0200
committerMatthew Garrett <mjg@redhat.com>2012-05-31 14:23:38 -0400
commit145047de994098dcc1a342af6444b2a7d64c4075 (patch)
tree57d5236fea69c58e3bccf989b8e82a25bd127b39 /drivers/virtio
parent7f8392280c33db6f568f8d4d08aac56cdb21c4a4 (diff)
downloadblackbird-op-linux-145047de994098dcc1a342af6444b2a7d64c4075.tar.gz
blackbird-op-linux-145047de994098dcc1a342af6444b2a7d64c4075.zip
drivers/x86: mark const init data with __initconst instead of __initdata
As long as there is no other non-const variable marked __initdata in the same compilation unit it doesn't hurt. If there were one however compilation would fail with error: $variablename causes a section type conflict because a section containing const variables is marked read only and so cannot contain non-const variables. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Cc: Matthew Garrett <mjg59@srcf.ucam.org> Cc: Henrique de Moraes Holschuh <ibm-acpi@hmh.eng.br> Cc: platform-driver-x86@vger.kernel.org Cc: ibm-acpi-devel@lists.sourceforge.net Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'drivers/virtio')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud