OSDN Git Service

ARM: shmobile: mackerel: Make domain_devices[] static __initdata
authorGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 29 Aug 2014 13:26:18 +0000 (15:26 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 9 Sep 2014 02:15:54 +0000 (11:15 +0900)
commitd6dc6ed8540ab8802c6ba31b4292204dd3cb0fee
treec591d979e4b737831e6f207489c479a78f4282a3
parent7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9
ARM: shmobile: mackerel: Make domain_devices[] static __initdata

Make the domain_devices[] array static and __initdata, to reduce kernel
size:
  - Making it static gets rid of the code to copy the data to the stack,
  - Marking it __initdata allows more init memory to be freed.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/board-mackerel.c