kernel_optimize_test/arch/arm/mach-at91
Uwe Kleine-König 5f6878b0d2 ARM: 6323/1: cam60: don't use __init for cam60_spi_{flash_platform_data,partitions}
From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 12/19] ARM: cam60: don't use __init for cam60_spi_{flash_platform_data,partitions}
Date: Thu,  5 Aug 2010 16:08:46 +0200
Message-Id: <1281017333-5563-12-git-send-email-u.kleine-koenig@pengutronix.de>

These two structs are referenced by cam60_spi_devices.  The latter is
copied at init time to kmalloced memory and so the copy isn't freed after
booting.  So it must not contain references to .init memory.

This isn't noticed by modpost as cam60_spi_devices is in .init.data, too.

Noticed-and-Acked-by: Andrew Victor <linux@maxim.org.za>

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2010-08-10 22:46:56 +01:00
..
include/mach ARM: 6209/3: at91_udc: Add vbus polarity and polling mode 2010-07-18 20:39:10 +01:00
at91cap9_devices.c
at91cap9.c
at91rm9200_devices.c
at91rm9200_time.c arm/at91: Don't disable irqs in set_next_event and set_mode callbacks 2010-01-22 17:04:39 +01:00
at91rm9200.c
at91sam9g45_devices.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2009-12-09 19:52:01 -08:00
at91sam9g45.c ARM: 6169/1: AT91: add new at91 chips in at91sam9g45 family 2010-06-16 23:00:02 +01:00
at91sam9rl_devices.c AT91: add platform parameters for atmel_tsadcc in at91sam9rlek 2009-11-20 00:55:29 -08:00
at91sam9rl.c
at91sam926x_time.c arm/at91: Don't disable irqs in set_next_event and set_mode callbacks 2010-01-22 17:04:39 +01:00
at91sam9260_devices.c
at91sam9260.c
at91sam9261_devices.c
at91sam9261.c
at91sam9263_devices.c
at91sam9263.c
at91x40_time.c
at91x40.c
at572d940hf_devices.c ARM: 5850/1: [AT91] AT572D940HF processor support 2010-01-20 12:34:06 +00:00
at572d940hf.c ARM: 5850/1: [AT91] AT572D940HF processor support 2010-01-20 12:34:06 +00:00
board-1arm.c
board-afeb-9260v1.c
board-at572d940hf_ek.c ARM: 5851/1: [AT91] AT572D940HF-EK board support 2010-01-20 12:36:27 +00:00
board-cam60.c ARM: 6323/1: cam60: don't use __init for cam60_spi_{flash_platform_data,partitions} 2010-08-10 22:46:56 +01:00
board-cap9adk.c
board-carmeva.c
board-cpu9krea.c
board-cpuat91.c
board-csb337.c
board-csb637.c
board-dk.c
board-eb01.c
board-eb9200.c
board-ecbat91.c
board-eco920.c ARM: 5782/1: at91: support for eco920 2009-11-10 23:46:35 +00:00
board-ek.c
board-kafa.c
board-kb9202.c
board-neocore926.c
board-picotux200.c
board-qil-a9260.c
board-sam9-l9260.c
board-sam9g20ek-2slot-mmc.c ARM: 6163/1: at91sam9g20ek: add fixed-value regulator for wm8731 2010-06-16 23:00:01 +01:00
board-sam9g20ek.c ARM: 6162/1: at91sam9g20ek: add fixed-value regulator for wm8731 2010-06-16 23:00:01 +01:00
board-sam9m10g45ek.c ARM: mach-at91: duplicated include 2010-05-24 20:40:13 +01:00
board-sam9rlek.c AT91: add platform parameters for atmel_tsadcc in at91sam9rlek 2009-11-20 00:55:29 -08:00
board-sam9260ek.c
board-sam9261ek.c
board-sam9263ek.c
board-snapper9260.c ARM: 6209/2: at91: Add support for Bluewater Systems Snapper 9260/9G20 modules 2010-07-09 12:31:52 +01:00
board-stamp9g20.c ARM: 6054/1: AT91: taskit PortuxG20 and Stamp9G20 board support 2010-04-14 11:24:53 +01:00
board-usb-a9260.c
board-usb-a9263.c
board-yl-9200.c
clock.c ARM: 5850/1: [AT91] AT572D940HF processor support 2010-01-20 12:34:06 +00:00
clock.h ARM: 5850/1: [AT91] AT572D940HF processor support 2010-01-20 12:34:06 +00:00
cpuidle.c ARM: 5778/1: AT91: Add cpuidle support 2009-11-10 23:46:35 +00:00
generic.h ARM: 5850/1: [AT91] AT572D940HF processor support 2010-01-20 12:34:06 +00:00
gpio.c
irq.c
Kconfig ARM: 6209/2: at91: Add support for Bluewater Systems Snapper 9260/9G20 modules 2010-07-09 12:31:52 +01:00
leds.c
Makefile ARM: 6209/2: at91: Add support for Bluewater Systems Snapper 9260/9G20 modules 2010-07-09 12:31:52 +01:00
Makefile.boot
pm_slowclock.S ARM: 6185/1: AT91: PM: dual ram controller support 2010-07-09 12:31:50 +01:00
pm.c ARM: 5778/1: AT91: Add cpuidle support 2009-11-10 23:46:35 +00:00
pm.h ARM: 6185/1: AT91: PM: dual ram controller support 2010-07-09 12:31:50 +01:00
sam9_smc.c
sam9_smc.h