* [PATCH 1/2] sizes.h: move include/sizes.h to include/linux/sizes.h
@ 2015-01-08 7:02 Masahiro Yamada
2015-01-08 7:02 ` [PATCH 2/2] sizes.h: sync with Linux 3.19-rc3 Masahiro Yamada
2015-01-08 13:40 ` [PATCH 1/2] sizes.h: move include/sizes.h to include/linux/sizes.h Sascha Hauer
0 siblings, 2 replies; 3+ messages in thread
From: Masahiro Yamada @ 2015-01-08 7:02 UTC (permalink / raw)
To: barebox
This file originates in Linux. Linux has it under include/linux/
directory since commit dccd2304cc90.
Let's move it to the same place as well in barebox.
This commit was generated by the following commands:
find -name '*.[chS]' | xargs sed -i -e 's:<sizes.h>:<linux/sizes.h>:'
git mv include/sizes.h include/linux/
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
---
arch/arm/boards/a9m2410/lowlevel_init.S | 2 +-
arch/arm/boards/a9m2440/lowlevel_init.S | 2 +-
arch/arm/boards/afi-gf/board.c | 2 +-
arch/arm/boards/afi-gf/lowlevel.c | 2 +-
arch/arm/boards/animeo_ip/init.c | 2 +-
arch/arm/boards/archosg9/board.c | 2 +-
arch/arm/boards/archosg9/lowlevel.c | 2 +-
arch/arm/boards/at91rm9200ek/init.c | 2 +-
arch/arm/boards/at91sam9260ek/init.c | 2 +-
arch/arm/boards/at91sam9261ek/init.c | 2 +-
arch/arm/boards/at91sam9263ek/init.c | 2 +-
arch/arm/boards/at91sam9m10g45ek/init.c | 2 +-
arch/arm/boards/at91sam9m10ihd/init.c | 2 +-
arch/arm/boards/at91sam9n12ek/init.c | 2 +-
arch/arm/boards/at91sam9x5ek/init.c | 2 +-
arch/arm/boards/avnet-zedboard/board.c | 2 +-
arch/arm/boards/beagle/board.c | 2 +-
arch/arm/boards/beagle/lowlevel.c | 2 +-
arch/arm/boards/beaglebone/board.c | 2 +-
arch/arm/boards/beaglebone/lowlevel.c | 2 +-
arch/arm/boards/boundarydevices-nitrogen6x/lowlevel.c | 2 +-
arch/arm/boards/canon-a1100/lowlevel.c | 2 +-
arch/arm/boards/ccxmx51/ccxmx51.c | 2 +-
arch/arm/boards/chumby_falconwing/falconwing.c | 2 +-
arch/arm/boards/chumby_falconwing/lowlevel.c | 2 +-
arch/arm/boards/clep7212/clep7212.c | 2 +-
arch/arm/boards/crystalfontz-cfa10036/cfa10036.c | 2 +-
arch/arm/boards/crystalfontz-cfa10036/lowlevel.c | 2 +-
arch/arm/boards/datamodul-edm-qmx6/board.c | 2 +-
arch/arm/boards/datamodul-edm-qmx6/lowlevel.c | 2 +-
arch/arm/boards/dfi-fs700-m60/board.c | 2 +-
arch/arm/boards/dfi-fs700-m60/lowlevel.c | 2 +-
arch/arm/boards/ebv-socrates/board.c | 2 +-
arch/arm/boards/ebv-socrates/lowlevel.c | 2 +-
arch/arm/boards/embedsky-e9/board.c | 2 +-
arch/arm/boards/embedsky-e9/lowlevel.c | 2 +-
arch/arm/boards/embest-riotboard/board.c | 2 +-
arch/arm/boards/embest-riotboard/lowlevel.c | 2 +-
arch/arm/boards/freescale-mx21-ads/imx21ads.c | 2 +-
arch/arm/boards/freescale-mx21-ads/lowlevel_init.S | 2 +-
arch/arm/boards/freescale-mx23-evk/lowlevel.c | 2 +-
arch/arm/boards/freescale-mx28-evk/lowlevel.c | 2 +-
arch/arm/boards/freescale-mx35-3ds/3stack.c | 2 +-
arch/arm/boards/freescale-mx53-qsb/board.c | 2 +-
arch/arm/boards/freescale-mx53-smd/board.c | 2 +-
arch/arm/boards/freescale-mx53-vmx53/board.c | 2 +-
arch/arm/boards/freescale-mx6-arm2/board.c | 2 +-
arch/arm/boards/freescale-mx6-arm2/lowlevel.c | 2 +-
arch/arm/boards/freescale-mx6-sabrelite/board.c | 2 +-
arch/arm/boards/freescale-mx6-sabrelite/lowlevel.c | 2 +-
arch/arm/boards/freescale-mx6-sabresd/board.c | 2 +-
arch/arm/boards/freescale-mx6-sabresd/lowlevel.c | 2 +-
arch/arm/boards/freescale-mx6sx-sabresdb/board.c | 2 +-
arch/arm/boards/freescale-mx6sx-sabresdb/lowlevel.c | 2 +-
arch/arm/boards/friendlyarm-mini2440/lowlevel_init.S | 2 +-
arch/arm/boards/friendlyarm-mini6410/lowlevel.c | 2 +-
arch/arm/boards/friendlyarm-tiny210/lowlevel.c | 2 +-
arch/arm/boards/friendlyarm-tiny210/tiny210.c | 2 +-
arch/arm/boards/friendlyarm-tiny6410/lowlevel.c | 2 +-
arch/arm/boards/gateworks-ventana/lowlevel.c | 2 +-
arch/arm/boards/gk802/board.c | 2 +-
arch/arm/boards/gk802/lowlevel.c | 2 +-
arch/arm/boards/globalscale-guruplug/lowlevel.c | 2 +-
arch/arm/boards/globalscale-mirabox/lowlevel.c | 2 +-
arch/arm/boards/guf-santaro/board.c | 2 +-
arch/arm/boards/guf-santaro/lowlevel.c | 2 +-
arch/arm/boards/guf-vincell/board.c | 2 +-
arch/arm/boards/highbank/init.c | 2 +-
arch/arm/boards/highbank/lowlevel.c | 2 +-
arch/arm/boards/imx233-olinuxino/lowlevel.c | 2 +-
arch/arm/boards/karo-tx25/board.c | 2 +-
arch/arm/boards/karo-tx25/lowlevel.c | 2 +-
arch/arm/boards/karo-tx28/lowlevel.c | 2 +-
arch/arm/boards/karo-tx28/tx28-stk5.c | 2 +-
arch/arm/boards/karo-tx53/board.c | 2 +-
arch/arm/boards/karo-tx6x/lowlevel.c | 2 +-
arch/arm/boards/marvell-armada-xp-gp/lowlevel.c | 2 +-
arch/arm/boards/mioa701/lowlevel.c | 2 +-
arch/arm/boards/module-mb7707/lowlevel.c | 2 +-
arch/arm/boards/netx/platform.S | 2 +-
arch/arm/boards/nhk8815/lowlevel.c | 2 +-
arch/arm/boards/nvidia-beaver/entry.c | 2 +-
arch/arm/boards/nvidia-jetson-tk1/entry.c | 2 +-
arch/arm/boards/omap343xdsp/lowlevel.c | 2 +-
arch/arm/boards/omap3evm/board.c | 2 +-
arch/arm/boards/omap3evm/lowlevel.c | 2 +-
arch/arm/boards/panda/board.c | 2 +-
arch/arm/boards/panda/lowlevel.c | 2 +-
arch/arm/boards/phytec-phycard-imx27/pca100.c | 2 +-
arch/arm/boards/phytec-phycard-imx6/lowlevel.c | 2 +-
arch/arm/boards/phytec-phycard-omap3/lowlevel.c | 2 +-
arch/arm/boards/phytec-phycard-omap3/pca-a-l1.c | 2 +-
arch/arm/boards/phytec-phycard-omap4/lowlevel.c | 2 +-
arch/arm/boards/phytec-phycard-omap4/pca-a-xl2.c | 2 +-
arch/arm/boards/phytec-phycore-am335x/board.c | 2 +-
arch/arm/boards/phytec-phycore-am335x/lowlevel.c | 2 +-
arch/arm/boards/phytec-phycore-imx27/pcm038.c | 2 +-
arch/arm/boards/phytec-phycore-imx27/pcm970.c | 2 +-
arch/arm/boards/phytec-phycore-imx35/pcm043.c | 2 +-
arch/arm/boards/phytec-phycore-omap4460/board.c | 2 +-
arch/arm/boards/phytec-phycore-omap4460/lowlevel.c | 2 +-
arch/arm/boards/phytec-phycore-pxa270/board.c | 2 +-
arch/arm/boards/phytec-phycore-pxa270/lowlevel_init.S | 2 +-
arch/arm/boards/phytec-phyflex-am335x/board.c | 2 +-
arch/arm/boards/phytec-phyflex-am335x/lowlevel.c | 2 +-
arch/arm/boards/phytec-phyflex-imx6/lowlevel.c | 2 +-
arch/arm/boards/plathome-openblocks-a6/lowlevel.c | 2 +-
arch/arm/boards/plathome-openblocks-ax3/lowlevel.c | 2 +-
arch/arm/boards/qil-a926x/init.c | 2 +-
arch/arm/boards/radxa-rock/lowlevel.c | 2 +-
arch/arm/boards/raspberry-pi/lowlevel.c | 2 +-
arch/arm/boards/sama5d3_xplained/init.c | 2 +-
arch/arm/boards/sama5d3xek/init.c | 2 +-
arch/arm/boards/sama5d4_xplained/sama5d4_xplained.c | 2 +-
arch/arm/boards/sama5d4ek/sama5d4ek.c | 2 +-
arch/arm/boards/solidrun-cubox/lowlevel.c | 2 +-
arch/arm/boards/solidrun-microsom/board.c | 2 +-
arch/arm/boards/solidrun-microsom/lowlevel.c | 2 +-
arch/arm/boards/terasic-sockit/board.c | 2 +-
arch/arm/boards/terasic-sockit/lowlevel.c | 2 +-
arch/arm/boards/tny-a926x/init.c | 2 +-
arch/arm/boards/toradex-colibri-t20/entry.c | 2 +-
arch/arm/boards/toshiba-ac100/board.c | 2 +-
arch/arm/boards/toshiba-ac100/entry.c | 2 +-
arch/arm/boards/tqma6x/board.c | 2 +-
arch/arm/boards/tqma6x/lowlevel.c | 2 +-
arch/arm/boards/udoo/board.c | 2 +-
arch/arm/boards/udoo/lowlevel.c | 2 +-
arch/arm/boards/usb-a926x/init.c | 2 +-
arch/arm/boards/usi-topkick/lowlevel.c | 2 +-
arch/arm/boards/variscite-mx6/board.c | 2 +-
arch/arm/boards/variscite-mx6/lowlevel.c | 2 +-
arch/arm/boards/versatile/lowlevel.c | 2 +-
arch/arm/boards/versatile/versatilepb.c | 2 +-
arch/arm/boards/vexpress/init.c | 2 +-
arch/arm/boards/vexpress/lowlevel.c | 2 +-
arch/arm/boards/virt2real/lowlevel.c | 2 +-
arch/arm/cpu/common.c | 2 +-
arch/arm/cpu/mmu-early.c | 2 +-
arch/arm/cpu/mmu.c | 2 +-
arch/arm/cpu/start-pbl.c | 2 +-
arch/arm/cpu/start.c | 2 +-
arch/arm/cpu/uncompress.c | 2 +-
arch/arm/include/asm/barebox-arm.h | 2 +-
arch/arm/lib/bootm.c | 2 +-
arch/arm/lib/bootz.c | 2 +-
arch/arm/lib/pbl.lds.S | 2 +-
arch/arm/mach-at91/at91rm9200_devices.c | 2 +-
arch/arm/mach-at91/at91sam9260_devices.c | 2 +-
arch/arm/mach-at91/at91sam9260_lowlevel_init.c | 2 +-
arch/arm/mach-at91/at91sam9261_devices.c | 2 +-
arch/arm/mach-at91/at91sam9261_lowlevel_init.c | 2 +-
arch/arm/mach-at91/at91sam9263_devices.c | 2 +-
arch/arm/mach-at91/at91sam9263_lowlevel_init.c | 2 +-
arch/arm/mach-at91/at91sam926x_lowlevel_init.c | 2 +-
arch/arm/mach-at91/at91sam9g45_devices.c | 2 +-
arch/arm/mach-at91/at91sam9g45_lowlevel_init.c | 2 +-
arch/arm/mach-at91/at91sam9n12_devices.c | 2 +-
arch/arm/mach-at91/at91sam9n12_lowlevel_init.c | 2 +-
arch/arm/mach-at91/at91sam9x5_devices.c | 2 +-
arch/arm/mach-at91/at91sam9x5_lowlevel_init.c | 2 +-
arch/arm/mach-at91/bootstrap.c | 2 +-
arch/arm/mach-at91/include/mach/board.h | 2 +-
arch/arm/mach-at91/sama5d3_devices.c | 2 +-
arch/arm/mach-at91/sama5d3_lowlevel_init.c | 2 +-
arch/arm/mach-at91/sama5d4_devices.c | 2 +-
arch/arm/mach-bcm2835/core.c | 2 +-
arch/arm/mach-clps711x/clock.c | 2 +-
arch/arm/mach-clps711x/devices.c | 2 +-
arch/arm/mach-clps711x/lowlevel.c | 2 +-
arch/arm/mach-ep93xx/lowlevel_init.S | 2 +-
arch/arm/mach-highbank/devices.c | 2 +-
arch/arm/mach-imx/esdctl.c | 2 +-
arch/arm/mach-imx/imx-bbu-external-nand.c | 2 +-
arch/arm/mach-imx/imx-bbu-internal.c | 2 +-
arch/arm/mach-imx/imx25.c | 2 +-
arch/arm/mach-imx/imx27.c | 2 +-
arch/arm/mach-imx/imx31.c | 2 +-
arch/arm/mach-imx/imx35.c | 2 +-
arch/arm/mach-imx/imx5.c | 2 +-
arch/arm/mach-imx/imx51.c | 2 +-
arch/arm/mach-imx/imx53.c | 2 +-
arch/arm/mach-imx/imx6-bbu-nand.c | 2 +-
arch/arm/mach-imx/imx6.c | 2 +-
arch/arm/mach-imx/include/mach/devices-imx51.h | 2 +-
arch/arm/mach-imx/include/mach/imx31-regs.h | 2 +-
arch/arm/mach-imx/include/mach/imx35-regs.h | 2 +-
arch/arm/mach-mvebu/lowlevel.c | 2 +-
arch/arm/mach-mxs/bcb.c | 2 +-
arch/arm/mach-mxs/include/mach/devices.h | 2 +-
arch/arm/mach-omap/am33xx_scrm.c | 2 +-
arch/arm/mach-omap/include/mach/am33xx-devices.h | 2 +-
arch/arm/mach-omap/include/mach/am33xx-silicon.h | 2 +-
arch/arm/mach-omap/include/mach/omap3-devices.h | 2 +-
arch/arm/mach-omap/include/mach/omap3-generic.h | 2 +-
arch/arm/mach-omap/include/mach/omap4-devices.h | 2 +-
arch/arm/mach-omap/xload.c | 2 +-
arch/arm/mach-samsung/lowlevel-s3c24x0.S | 2 +-
arch/arm/mach-samsung/mem-s3c24x0.c | 2 +-
arch/arm/mach-socfpga/xload.c | 2 +-
arch/arm/mach-tegra/include/mach/iomap.h | 2 +-
arch/arm/mach-tegra/include/mach/lowlevel.h | 2 +-
arch/arm/mach-tegra/tegra_maincomplex_init.c | 2 +-
arch/arm/mach-versatile/core.c | 2 +-
arch/efi/efi/efi-device.c | 2 +-
arch/efi/efi/efi-image.c | 2 +-
arch/efi/efi/efi.c | 2 +-
arch/mips/boards/netgear-wg102/ram.c | 2 +-
arch/mips/boards/qemu-malta/init.c | 2 +-
arch/mips/boot/main_entry-pbl.c | 2 +-
arch/ppc/boards/pcm030/pcm030.c | 2 +-
common/memtest.c | 2 +-
drivers/ata/ahci.c | 2 +-
drivers/bus/omap-gpmc.c | 2 +-
drivers/mtd/nand/nand_ids.c | 2 +-
drivers/net/mvneta.c | 2 +-
drivers/net/orion-gbe.c | 2 +-
drivers/of/base.c | 2 +-
drivers/of/fdt.c | 2 +-
drivers/pci/pci-mvebu.c | 2 +-
drivers/pci/pci-tegra.c | 2 +-
drivers/pci/pci.c | 2 +-
drivers/pinctrl/mvebu/armada-370.c | 2 +-
drivers/pinctrl/mvebu/armada-xp.c | 2 +-
drivers/pinctrl/mvebu/dove.c | 2 +-
fs/nfs.c | 2 +-
fs/tftp.c | 2 +-
include/linux/amba/sp804.h | 2 +-
include/{ => linux}/sizes.h | 0
lib/bootstrap/devfs.c | 2 +-
lib/bootstrap/disk.c | 2 +-
231 files changed, 230 insertions(+), 230 deletions(-)
rename include/{ => linux}/sizes.h (100%)
diff --git a/arch/arm/boards/a9m2410/lowlevel_init.S b/arch/arm/boards/a9m2410/lowlevel_init.S
index 57d63e8..b772b1f 100644
--- a/arch/arm/boards/a9m2410/lowlevel_init.S
+++ b/arch/arm/boards/a9m2410/lowlevel_init.S
@@ -3,7 +3,7 @@
*/
#include <config.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <mach/s3c-iomap.h>
#include <asm/barebox-arm-head.h>
diff --git a/arch/arm/boards/a9m2440/lowlevel_init.S b/arch/arm/boards/a9m2440/lowlevel_init.S
index 8711201..2c51e05 100644
--- a/arch/arm/boards/a9m2440/lowlevel_init.S
+++ b/arch/arm/boards/a9m2440/lowlevel_init.S
@@ -3,7 +3,7 @@
*/
#include <config.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <mach/s3c-iomap.h>
#include <mach/s3c24xx-gpio.h>
#include <asm/barebox-arm-head.h>
diff --git a/arch/arm/boards/afi-gf/board.c b/arch/arm/boards/afi-gf/board.c
index dfcb579..14e2603 100644
--- a/arch/arm/boards/afi-gf/board.c
+++ b/arch/arm/boards/afi-gf/board.c
@@ -16,7 +16,7 @@
#include <common.h>
#include <string.h>
#include <init.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <envfs.h>
#include <bootsource.h>
#include <asm/armlinux.h>
diff --git a/arch/arm/boards/afi-gf/lowlevel.c b/arch/arm/boards/afi-gf/lowlevel.c
index fdc340c..4aaecb9 100644
--- a/arch/arm/boards/afi-gf/lowlevel.c
+++ b/arch/arm/boards/afi-gf/lowlevel.c
@@ -1,5 +1,5 @@
#include <init.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <io.h>
#include <asm/armlinux.h>
#include <asm/barebox-arm-head.h>
diff --git a/arch/arm/boards/animeo_ip/init.c b/arch/arm/boards/animeo_ip/init.c
index 495dc18..0fda013 100644
--- a/arch/arm/boards/animeo_ip/init.c
+++ b/arch/arm/boards/animeo_ip/init.c
@@ -17,7 +17,7 @@
#include <io.h>
#include <mach/hardware.h>
#include <nand.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <linux/mtd/nand.h>
#include <linux/clk.h>
#include <mach/board.h>
diff --git a/arch/arm/boards/archosg9/board.c b/arch/arm/boards/archosg9/board.c
index 114c34e..0a3c0b9 100644
--- a/arch/arm/boards/archosg9/board.c
+++ b/arch/arm/boards/archosg9/board.c
@@ -18,7 +18,7 @@
#include <mach/omap4-silicon.h>
#include <mach/omap4-devices.h>
#include <mach/omap4_rom_usb.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <i2c/i2c.h>
#include <gpio.h>
#include <gpio_keys.h>
diff --git a/arch/arm/boards/archosg9/lowlevel.c b/arch/arm/boards/archosg9/lowlevel.c
index 6813e0d..c76d04b 100644
--- a/arch/arm/boards/archosg9/lowlevel.c
+++ b/arch/arm/boards/archosg9/lowlevel.c
@@ -13,7 +13,7 @@
#include <common.h>
#include <io.h>
#include <init.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <mach/generic.h>
#include <mach/omap4-mux.h>
#include <mach/omap4-silicon.h>
diff --git a/arch/arm/boards/at91rm9200ek/init.c b/arch/arm/boards/at91rm9200ek/init.c
index c444669..43c8b1b 100644
--- a/arch/arm/boards/at91rm9200ek/init.c
+++ b/arch/arm/boards/at91rm9200ek/init.c
@@ -25,7 +25,7 @@
#include <gpio.h>
#include <fcntl.h>
#include <io.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <mach/hardware.h>
#include <mach/at91_pmc.h>
#include <mach/board.h>
diff --git a/arch/arm/boards/at91sam9260ek/init.c b/arch/arm/boards/at91sam9260ek/init.c
index bc0c411..422feb2 100644
--- a/arch/arm/boards/at91sam9260ek/init.c
+++ b/arch/arm/boards/at91sam9260ek/init.c
@@ -19,7 +19,7 @@
#include <generated/mach-types.h>
#include <nand.h>
#include <linux/mtd/nand.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <mach/board.h>
#include <mach/at91sam9_smc.h>
#include <gpio.h>
diff --git a/arch/arm/boards/at91sam9261ek/init.c b/arch/arm/boards/at91sam9261ek/init.c
index 7b8ce98..a0b0219 100644
--- a/arch/arm/boards/at91sam9261ek/init.c
+++ b/arch/arm/boards/at91sam9261ek/init.c
@@ -26,7 +26,7 @@
#include <io.h>
#include <mach/hardware.h>
#include <nand.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <linux/mtd/nand.h>
#include <mach/at91_pmc.h>
#include <mach/board.h>
diff --git a/arch/arm/boards/at91sam9263ek/init.c b/arch/arm/boards/at91sam9263ek/init.c
index c8a9d5c..3bb2dda 100644
--- a/arch/arm/boards/at91sam9263ek/init.c
+++ b/arch/arm/boards/at91sam9263ek/init.c
@@ -28,7 +28,7 @@
#include <io.h>
#include <mach/hardware.h>
#include <nand.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <linux/mtd/nand.h>
#include <mach/at91_pmc.h>
#include <mach/board.h>
diff --git a/arch/arm/boards/at91sam9m10g45ek/init.c b/arch/arm/boards/at91sam9m10g45ek/init.c
index cdd7806..e00908b 100644
--- a/arch/arm/boards/at91sam9m10g45ek/init.c
+++ b/arch/arm/boards/at91sam9m10g45ek/init.c
@@ -30,7 +30,7 @@
#include <io.h>
#include <mach/hardware.h>
#include <nand.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <linux/mtd/nand.h>
#include <mach/at91_pmc.h>
#include <mach/board.h>
diff --git a/arch/arm/boards/at91sam9m10ihd/init.c b/arch/arm/boards/at91sam9m10ihd/init.c
index a432e5c..dcd93c1 100644
--- a/arch/arm/boards/at91sam9m10ihd/init.c
+++ b/arch/arm/boards/at91sam9m10ihd/init.c
@@ -17,7 +17,7 @@
#include <io.h>
#include <mach/hardware.h>
#include <nand.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <linux/mtd/nand.h>
#include <mach/board.h>
#include <gpio.h>
diff --git a/arch/arm/boards/at91sam9n12ek/init.c b/arch/arm/boards/at91sam9n12ek/init.c
index 818a598..26d08ae 100644
--- a/arch/arm/boards/at91sam9n12ek/init.c
+++ b/arch/arm/boards/at91sam9n12ek/init.c
@@ -27,7 +27,7 @@
#include <io.h>
#include <mach/hardware.h>
#include <nand.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <linux/mtd/nand.h>
#include <mach/board.h>
#include <mach/at91sam9_smc.h>
diff --git a/arch/arm/boards/at91sam9x5ek/init.c b/arch/arm/boards/at91sam9x5ek/init.c
index 183ddc7..e0c11a1 100644
--- a/arch/arm/boards/at91sam9x5ek/init.c
+++ b/arch/arm/boards/at91sam9x5ek/init.c
@@ -27,7 +27,7 @@
#include <io.h>
#include <mach/hardware.h>
#include <nand.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <linux/mtd/nand.h>
#include <mach/board.h>
#include <mach/at91sam9_smc.h>
diff --git a/arch/arm/boards/avnet-zedboard/board.c b/arch/arm/boards/avnet-zedboard/board.c
index ef9a8a8..722bda3 100644
--- a/arch/arm/boards/avnet-zedboard/board.c
+++ b/arch/arm/boards/avnet-zedboard/board.c
@@ -19,7 +19,7 @@
#include <init.h>
#include <mach/devices.h>
#include <mach/zynq7000-regs.h>
-#include <sizes.h>
+#include <linux/sizes.h>
static int zedboard_mem_init(void)
{
diff --git a/arch/arm/boards/beagle/board.c b/arch/arm/boards/beagle/board.c
index 4054960..7756210 100644
--- a/arch/arm/boards/beagle/board.c
+++ b/arch/arm/boards/beagle/board.c
@@ -19,7 +19,7 @@
#include <console.h>
#include <init.h>
#include <driver.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <io.h>
#include <ns16550.h>
#include <asm/armlinux.h>
diff --git a/arch/arm/boards/beagle/lowlevel.c b/arch/arm/boards/beagle/lowlevel.c
index 62c98a9..d6e6b9f 100644
--- a/arch/arm/boards/beagle/lowlevel.c
+++ b/arch/arm/boards/beagle/lowlevel.c
@@ -1,6 +1,6 @@
#include <init.h>
#include <io.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <asm/barebox-arm-head.h>
#include <asm/barebox-arm.h>
#include <mach/control.h>
diff --git a/arch/arm/boards/beaglebone/board.c b/arch/arm/boards/beaglebone/board.c
index 9b1a9ec..4e0e374 100644
--- a/arch/arm/boards/beaglebone/board.c
+++ b/arch/arm/boards/beaglebone/board.c
@@ -27,7 +27,7 @@
#include <envfs.h>
#include <environment.h>
#include <globalvar.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <net.h>
#include <envfs.h>
#include <bootsource.h>
diff --git a/arch/arm/boards/beaglebone/lowlevel.c b/arch/arm/boards/beaglebone/lowlevel.c
index a742bbf..05b3e5f 100644
--- a/arch/arm/boards/beaglebone/lowlevel.c
+++ b/arch/arm/boards/beaglebone/lowlevel.c
@@ -1,5 +1,5 @@
#include <init.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <io.h>
#include <linux/string.h>
#include <debug_ll.h>
diff --git a/arch/arm/boards/boundarydevices-nitrogen6x/lowlevel.c b/arch/arm/boards/boundarydevices-nitrogen6x/lowlevel.c
index a32e29c..7d85933 100644
--- a/arch/arm/boards/boundarydevices-nitrogen6x/lowlevel.c
+++ b/arch/arm/boards/boundarydevices-nitrogen6x/lowlevel.c
@@ -1,5 +1,5 @@
#include <common.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <mach/generic.h>
#include <asm/barebox-arm-head.h>
#include <asm/barebox-arm.h>
diff --git a/arch/arm/boards/canon-a1100/lowlevel.c b/arch/arm/boards/canon-a1100/lowlevel.c
index bbae825..5f4297e 100644
--- a/arch/arm/boards/canon-a1100/lowlevel.c
+++ b/arch/arm/boards/canon-a1100/lowlevel.c
@@ -1,5 +1,5 @@
#include <common.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <asm/barebox-arm-head.h>
#include <asm/barebox-arm.h>
diff --git a/arch/arm/boards/ccxmx51/ccxmx51.c b/arch/arm/boards/ccxmx51/ccxmx51.c
index 0960d1e..40cf76d 100644
--- a/arch/arm/boards/ccxmx51/ccxmx51.c
+++ b/arch/arm/boards/ccxmx51/ccxmx51.c
@@ -26,7 +26,7 @@
#include <partition.h>
#include <fs.h>
#include <fcntl.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <nand.h>
#include <notifier.h>
#include <spi/spi.h>
diff --git a/arch/arm/boards/chumby_falconwing/falconwing.c b/arch/arm/boards/chumby_falconwing/falconwing.c
index 2e5fca5..5e569bc 100644
--- a/arch/arm/boards/chumby_falconwing/falconwing.c
+++ b/arch/arm/boards/chumby_falconwing/falconwing.c
@@ -19,7 +19,7 @@
#include <envfs.h>
#include <errno.h>
#include <mci.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <usb/ehci.h>
#include <asm/armlinux.h>
#include <io.h>
diff --git a/arch/arm/boards/chumby_falconwing/lowlevel.c b/arch/arm/boards/chumby_falconwing/lowlevel.c
index d26562c..bfc76cc 100644
--- a/arch/arm/boards/chumby_falconwing/lowlevel.c
+++ b/arch/arm/boards/chumby_falconwing/lowlevel.c
@@ -1,5 +1,5 @@
#include <common.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <asm/barebox-arm-head.h>
#include <asm/barebox-arm.h>
#include <mach/imx23-regs.h>
diff --git a/arch/arm/boards/clep7212/clep7212.c b/arch/arm/boards/clep7212/clep7212.c
index e521643..de125ea 100644
--- a/arch/arm/boards/clep7212/clep7212.c
+++ b/arch/arm/boards/clep7212/clep7212.c
@@ -12,7 +12,7 @@
#include <init.h>
#include <partition.h>
#include <io.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <asm/armlinux.h>
#include <asm/mmu.h>
#include <generated/mach-types.h>
diff --git a/arch/arm/boards/crystalfontz-cfa10036/cfa10036.c b/arch/arm/boards/crystalfontz-cfa10036/cfa10036.c
index e6ebe82..1412eff 100644
--- a/arch/arm/boards/crystalfontz-cfa10036/cfa10036.c
+++ b/arch/arm/boards/crystalfontz-cfa10036/cfa10036.c
@@ -25,7 +25,7 @@
#include <mci.h>
#include <io.h>
#include <net.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <i2c/i2c.h>
#include <i2c/i2c-gpio.h>
diff --git a/arch/arm/boards/crystalfontz-cfa10036/lowlevel.c b/arch/arm/boards/crystalfontz-cfa10036/lowlevel.c
index aa3b09b..3c7248e 100644
--- a/arch/arm/boards/crystalfontz-cfa10036/lowlevel.c
+++ b/arch/arm/boards/crystalfontz-cfa10036/lowlevel.c
@@ -1,5 +1,5 @@
#include <common.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <asm/barebox-arm-head.h>
#include <asm/barebox-arm.h>
#include <mach/imx28-regs.h>
diff --git a/arch/arm/boards/datamodul-edm-qmx6/board.c b/arch/arm/boards/datamodul-edm-qmx6/board.c
index 25f45df..81356e6 100644
--- a/arch/arm/boards/datamodul-edm-qmx6/board.c
+++ b/arch/arm/boards/datamodul-edm-qmx6/board.c
@@ -23,7 +23,7 @@
#include <partition.h>
#include <common.h>
#include <envfs.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <init.h>
#include <gpio.h>
#include <fec.h>
diff --git a/arch/arm/boards/datamodul-edm-qmx6/lowlevel.c b/arch/arm/boards/datamodul-edm-qmx6/lowlevel.c
index 914c275..28b4aa2 100644
--- a/arch/arm/boards/datamodul-edm-qmx6/lowlevel.c
+++ b/arch/arm/boards/datamodul-edm-qmx6/lowlevel.c
@@ -13,7 +13,7 @@
*
*/
#include <common.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <io.h>
#include <debug_ll.h>
#include <asm/sections.h>
diff --git a/arch/arm/boards/dfi-fs700-m60/board.c b/arch/arm/boards/dfi-fs700-m60/board.c
index e0dc5b2..bef4612 100644
--- a/arch/arm/boards/dfi-fs700-m60/board.c
+++ b/arch/arm/boards/dfi-fs700-m60/board.c
@@ -23,7 +23,7 @@
#include <bootsource.h>
#include <globalvar.h>
#include <common.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <envfs.h>
#include <init.h>
#include <gpio.h>
diff --git a/arch/arm/boards/dfi-fs700-m60/lowlevel.c b/arch/arm/boards/dfi-fs700-m60/lowlevel.c
index 81b3530..b9b498e 100644
--- a/arch/arm/boards/dfi-fs700-m60/lowlevel.c
+++ b/arch/arm/boards/dfi-fs700-m60/lowlevel.c
@@ -13,7 +13,7 @@
*
*/
#include <common.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <io.h>
#include <asm/sections.h>
#include <asm/mmu.h>
diff --git a/arch/arm/boards/ebv-socrates/board.c b/arch/arm/boards/ebv-socrates/board.c
index b2f62dc..5d2d619 100644
--- a/arch/arm/boards/ebv-socrates/board.c
+++ b/arch/arm/boards/ebv-socrates/board.c
@@ -5,7 +5,7 @@
#include <asm/armlinux.h>
#include <linux/micrel_phy.h>
#include <linux/phy.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <fcntl.h>
#include <fs.h>
#include <mach/socfpga-regs.h>
diff --git a/arch/arm/boards/ebv-socrates/lowlevel.c b/arch/arm/boards/ebv-socrates/lowlevel.c
index 7fc8167..66cb226 100644
--- a/arch/arm/boards/ebv-socrates/lowlevel.c
+++ b/arch/arm/boards/ebv-socrates/lowlevel.c
@@ -1,5 +1,5 @@
#include <common.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <io.h>
#include <asm/barebox-arm-head.h>
#include <asm/barebox-arm.h>
diff --git a/arch/arm/boards/embedsky-e9/board.c b/arch/arm/boards/embedsky-e9/board.c
index 55b4320..1e7e067 100644
--- a/arch/arm/boards/embedsky-e9/board.c
+++ b/arch/arm/boards/embedsky-e9/board.c
@@ -31,7 +31,7 @@
#include <asm/io.h>
#include <asm/mmu.h>
#include <mach/generic.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <net.h>
#include <mach/imx6.h>
#include <mach/devices-imx6.h>
diff --git a/arch/arm/boards/embedsky-e9/lowlevel.c b/arch/arm/boards/embedsky-e9/lowlevel.c
index fee1011..fb1ba5f 100644
--- a/arch/arm/boards/embedsky-e9/lowlevel.c
+++ b/arch/arm/boards/embedsky-e9/lowlevel.c
@@ -1,5 +1,5 @@
#include <common.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <mach/generic.h>
#include <asm/barebox-arm-head.h>
#include <asm/barebox-arm.h>
diff --git a/arch/arm/boards/embest-riotboard/board.c b/arch/arm/boards/embest-riotboard/board.c
index 3f5b4de..a885a08 100644
--- a/arch/arm/boards/embest-riotboard/board.c
+++ b/arch/arm/boards/embest-riotboard/board.c
@@ -26,7 +26,7 @@
#include <mach/imx6.h>
#include <mach/bbu.h>
#include <mfd/imx6q-iomuxc-gpr.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <linux/phy.h>
static int ar8035_phy_fixup(struct phy_device *dev)
diff --git a/arch/arm/boards/embest-riotboard/lowlevel.c b/arch/arm/boards/embest-riotboard/lowlevel.c
index c4ef287..fe21b9a 100644
--- a/arch/arm/boards/embest-riotboard/lowlevel.c
+++ b/arch/arm/boards/embest-riotboard/lowlevel.c
@@ -1,6 +1,6 @@
#include <debug_ll.h>
#include <common.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <io.h>
#include <asm/barebox-arm-head.h>
#include <asm/barebox-arm.h>
diff --git a/arch/arm/boards/freescale-mx21-ads/imx21ads.c b/arch/arm/boards/freescale-mx21-ads/imx21ads.c
index bd7e46e..5f0e7bd 100644
--- a/arch/arm/boards/freescale-mx21-ads/imx21ads.c
+++ b/arch/arm/boards/freescale-mx21-ads/imx21ads.c
@@ -30,7 +30,7 @@
#include <mach/weim.h>
#include <partition.h>
#include <fs.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <fcntl.h>
#include <generated/mach-types.h>
#include <mach/imx-nand.h>
diff --git a/arch/arm/boards/freescale-mx21-ads/lowlevel_init.S b/arch/arm/boards/freescale-mx21-ads/lowlevel_init.S
index 87b2f94..16739b5 100644
--- a/arch/arm/boards/freescale-mx21-ads/lowlevel_init.S
+++ b/arch/arm/boards/freescale-mx21-ads/lowlevel_init.S
@@ -14,7 +14,7 @@
*/
#include <config.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <asm-generic/memory_layout.h>
#include <mach/imx21-regs.h>
#include <asm/barebox-arm-head.h>
diff --git a/arch/arm/boards/freescale-mx23-evk/lowlevel.c b/arch/arm/boards/freescale-mx23-evk/lowlevel.c
index 2a26a77..b260f3a 100644
--- a/arch/arm/boards/freescale-mx23-evk/lowlevel.c
+++ b/arch/arm/boards/freescale-mx23-evk/lowlevel.c
@@ -1,5 +1,5 @@
#include <common.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <asm/barebox-arm-head.h>
#include <asm/barebox-arm.h>
#include <mach/imx23-regs.h>
diff --git a/arch/arm/boards/freescale-mx28-evk/lowlevel.c b/arch/arm/boards/freescale-mx28-evk/lowlevel.c
index aa3b09b..3c7248e 100644
--- a/arch/arm/boards/freescale-mx28-evk/lowlevel.c
+++ b/arch/arm/boards/freescale-mx28-evk/lowlevel.c
@@ -1,5 +1,5 @@
#include <common.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <asm/barebox-arm-head.h>
#include <asm/barebox-arm.h>
#include <mach/imx28-regs.h>
diff --git a/arch/arm/boards/freescale-mx35-3ds/3stack.c b/arch/arm/boards/freescale-mx35-3ds/3stack.c
index 8f821ad..cca0fe4 100644
--- a/arch/arm/boards/freescale-mx35-3ds/3stack.c
+++ b/arch/arm/boards/freescale-mx35-3ds/3stack.c
@@ -30,7 +30,7 @@
#include <init.h>
#include <nand.h>
#include <net.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <partition.h>
#include <gpio.h>
diff --git a/arch/arm/boards/freescale-mx53-qsb/board.c b/arch/arm/boards/freescale-mx53-qsb/board.c
index 1128e68..f65b556 100644
--- a/arch/arm/boards/freescale-mx53-qsb/board.c
+++ b/arch/arm/boards/freescale-mx53-qsb/board.c
@@ -17,7 +17,7 @@
#include <environment.h>
#include <partition.h>
#include <common.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <gpio.h>
#include <init.h>
#include <fs.h>
diff --git a/arch/arm/boards/freescale-mx53-smd/board.c b/arch/arm/boards/freescale-mx53-smd/board.c
index c81f43c..196d20a 100644
--- a/arch/arm/boards/freescale-mx53-smd/board.c
+++ b/arch/arm/boards/freescale-mx53-smd/board.c
@@ -23,7 +23,7 @@
#include <nand.h>
#include <net.h>
#include <partition.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <gpio.h>
#include <generated/mach-types.h>
diff --git a/arch/arm/boards/freescale-mx53-vmx53/board.c b/arch/arm/boards/freescale-mx53-vmx53/board.c
index b91bfdf..1859aac 100644
--- a/arch/arm/boards/freescale-mx53-vmx53/board.c
+++ b/arch/arm/boards/freescale-mx53-vmx53/board.c
@@ -18,7 +18,7 @@
#include <common.h>
#include <init.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <generated/mach-types.h>
#include <mach/imx5.h>
diff --git a/arch/arm/boards/freescale-mx6-arm2/board.c b/arch/arm/boards/freescale-mx6-arm2/board.c
index 7a78400..3d5576c 100644
--- a/arch/arm/boards/freescale-mx6-arm2/board.c
+++ b/arch/arm/boards/freescale-mx6-arm2/board.c
@@ -25,7 +25,7 @@
#include <asm/io.h>
#include <asm/mmu.h>
#include <mach/generic.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <mach/imx6.h>
#include <mach/devices-imx6.h>
#include <mach/iomux-mx6.h>
diff --git a/arch/arm/boards/freescale-mx6-arm2/lowlevel.c b/arch/arm/boards/freescale-mx6-arm2/lowlevel.c
index 5676711..f833893 100644
--- a/arch/arm/boards/freescale-mx6-arm2/lowlevel.c
+++ b/arch/arm/boards/freescale-mx6-arm2/lowlevel.c
@@ -1,5 +1,5 @@
#include <common.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <asm/barebox-arm-head.h>
#include <asm/barebox-arm.h>
#include <mach/generic.h>
diff --git a/arch/arm/boards/freescale-mx6-sabrelite/board.c b/arch/arm/boards/freescale-mx6-sabrelite/board.c
index 1f26548..edf0811 100644
--- a/arch/arm/boards/freescale-mx6-sabrelite/board.c
+++ b/arch/arm/boards/freescale-mx6-sabrelite/board.c
@@ -28,7 +28,7 @@
#include <asm/io.h>
#include <asm/mmu.h>
#include <mach/generic.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <net.h>
#include <linux/micrel_phy.h>
#include <mach/imx6.h>
diff --git a/arch/arm/boards/freescale-mx6-sabrelite/lowlevel.c b/arch/arm/boards/freescale-mx6-sabrelite/lowlevel.c
index 1b47965..abfb77a 100644
--- a/arch/arm/boards/freescale-mx6-sabrelite/lowlevel.c
+++ b/arch/arm/boards/freescale-mx6-sabrelite/lowlevel.c
@@ -1,5 +1,5 @@
#include <common.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <mach/generic.h>
#include <asm/barebox-arm-head.h>
#include <asm/barebox-arm.h>
diff --git a/arch/arm/boards/freescale-mx6-sabresd/board.c b/arch/arm/boards/freescale-mx6-sabresd/board.c
index 53aada7..734adde 100644
--- a/arch/arm/boards/freescale-mx6-sabresd/board.c
+++ b/arch/arm/boards/freescale-mx6-sabresd/board.c
@@ -28,7 +28,7 @@
#include <asm/io.h>
#include <asm/mmu.h>
#include <mach/generic.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <net.h>
#include <mach/imx6.h>
#include <mach/devices-imx6.h>
diff --git a/arch/arm/boards/freescale-mx6-sabresd/lowlevel.c b/arch/arm/boards/freescale-mx6-sabresd/lowlevel.c
index bf18459..73eed1d 100644
--- a/arch/arm/boards/freescale-mx6-sabresd/lowlevel.c
+++ b/arch/arm/boards/freescale-mx6-sabresd/lowlevel.c
@@ -1,5 +1,5 @@
#include <common.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <mach/generic.h>
#include <asm/barebox-arm-head.h>
#include <asm/barebox-arm.h>
diff --git a/arch/arm/boards/freescale-mx6sx-sabresdb/board.c b/arch/arm/boards/freescale-mx6sx-sabresdb/board.c
index c21b43d..353b460 100644
--- a/arch/arm/boards/freescale-mx6sx-sabresdb/board.c
+++ b/arch/arm/boards/freescale-mx6sx-sabresdb/board.c
@@ -16,7 +16,7 @@
#include <environment.h>
#include <partition.h>
#include <common.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <gpio.h>
#include <init.h>
#include <io.h>
diff --git a/arch/arm/boards/freescale-mx6sx-sabresdb/lowlevel.c b/arch/arm/boards/freescale-mx6sx-sabresdb/lowlevel.c
index 33f3700..4c5a74e 100644
--- a/arch/arm/boards/freescale-mx6sx-sabresdb/lowlevel.c
+++ b/arch/arm/boards/freescale-mx6sx-sabresdb/lowlevel.c
@@ -14,7 +14,7 @@
#include <debug_ll.h>
#include <common.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <mach/generic.h>
#include <asm/barebox-arm-head.h>
#include <asm/barebox-arm.h>
diff --git a/arch/arm/boards/friendlyarm-mini2440/lowlevel_init.S b/arch/arm/boards/friendlyarm-mini2440/lowlevel_init.S
index 858351b..43bf49c 100644
--- a/arch/arm/boards/friendlyarm-mini2440/lowlevel_init.S
+++ b/arch/arm/boards/friendlyarm-mini2440/lowlevel_init.S
@@ -3,7 +3,7 @@
*/
#include <config.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <mach/s3c-iomap.h>
#include <asm/barebox-arm-head.h>
diff --git a/arch/arm/boards/friendlyarm-mini6410/lowlevel.c b/arch/arm/boards/friendlyarm-mini6410/lowlevel.c
index a21a3f8..665c31b 100644
--- a/arch/arm/boards/friendlyarm-mini6410/lowlevel.c
+++ b/arch/arm/boards/friendlyarm-mini6410/lowlevel.c
@@ -1,5 +1,5 @@
#include <common.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <asm/barebox-arm.h>
#include <asm/barebox-arm-head.h>
#include <mach/s3c-iomap.h>
diff --git a/arch/arm/boards/friendlyarm-tiny210/lowlevel.c b/arch/arm/boards/friendlyarm-tiny210/lowlevel.c
index 7e70851..3ab8d66 100644
--- a/arch/arm/boards/friendlyarm-tiny210/lowlevel.c
+++ b/arch/arm/boards/friendlyarm-tiny210/lowlevel.c
@@ -19,7 +19,7 @@
#include <common.h>
#include <init.h>
#include <io.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <asm/barebox-arm.h>
#include <asm/barebox-arm-head.h>
#include <asm/sections.h>
diff --git a/arch/arm/boards/friendlyarm-tiny210/tiny210.c b/arch/arm/boards/friendlyarm-tiny210/tiny210.c
index a33af99..d84b312 100644
--- a/arch/arm/boards/friendlyarm-tiny210/tiny210.c
+++ b/arch/arm/boards/friendlyarm-tiny210/tiny210.c
@@ -27,7 +27,7 @@
#include <common.h>
#include <driver.h>
#include <init.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <generated/mach-types.h>
#include <dm9000.h>
#include <gpio.h>
diff --git a/arch/arm/boards/friendlyarm-tiny6410/lowlevel.c b/arch/arm/boards/friendlyarm-tiny6410/lowlevel.c
index a21a3f8..665c31b 100644
--- a/arch/arm/boards/friendlyarm-tiny6410/lowlevel.c
+++ b/arch/arm/boards/friendlyarm-tiny6410/lowlevel.c
@@ -1,5 +1,5 @@
#include <common.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <asm/barebox-arm.h>
#include <asm/barebox-arm-head.h>
#include <mach/s3c-iomap.h>
diff --git a/arch/arm/boards/gateworks-ventana/lowlevel.c b/arch/arm/boards/gateworks-ventana/lowlevel.c
index 10b2c4c..746beb8 100644
--- a/arch/arm/boards/gateworks-ventana/lowlevel.c
+++ b/arch/arm/boards/gateworks-ventana/lowlevel.c
@@ -1,5 +1,5 @@
#include <common.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <mach/generic.h>
#include <asm/barebox-arm-head.h>
#include <asm/barebox-arm.h>
diff --git a/arch/arm/boards/gk802/board.c b/arch/arm/boards/gk802/board.c
index 9dd2253..0d1b07b 100644
--- a/arch/arm/boards/gk802/board.c
+++ b/arch/arm/boards/gk802/board.c
@@ -24,7 +24,7 @@
#include <mach/imx6-regs.h>
#include <mach/imx6.h>
#include <mfd/imx6q-iomuxc-gpr.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <of.h>
#define GK802_GPIO_RECOVERY_BTN IMX_GPIO_NR(3, 16) /* recovery button */
diff --git a/arch/arm/boards/gk802/lowlevel.c b/arch/arm/boards/gk802/lowlevel.c
index de744a2..b571969 100644
--- a/arch/arm/boards/gk802/lowlevel.c
+++ b/arch/arm/boards/gk802/lowlevel.c
@@ -1,5 +1,5 @@
#include <common.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <mach/generic.h>
#include <asm/barebox-arm-head.h>
#include <asm/barebox-arm.h>
diff --git a/arch/arm/boards/globalscale-guruplug/lowlevel.c b/arch/arm/boards/globalscale-guruplug/lowlevel.c
index 508746a..91bc1cf 100644
--- a/arch/arm/boards/globalscale-guruplug/lowlevel.c
+++ b/arch/arm/boards/globalscale-guruplug/lowlevel.c
@@ -15,7 +15,7 @@
*/
#include <common.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <asm/barebox-arm.h>
#include <asm/barebox-arm-head.h>
#include <mach/lowlevel.h>
diff --git a/arch/arm/boards/globalscale-mirabox/lowlevel.c b/arch/arm/boards/globalscale-mirabox/lowlevel.c
index 92203b7..4f55d1a 100644
--- a/arch/arm/boards/globalscale-mirabox/lowlevel.c
+++ b/arch/arm/boards/globalscale-mirabox/lowlevel.c
@@ -15,7 +15,7 @@
*/
#include <common.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <asm/barebox-arm.h>
#include <asm/barebox-arm-head.h>
#include <mach/lowlevel.h>
diff --git a/arch/arm/boards/guf-santaro/board.c b/arch/arm/boards/guf-santaro/board.c
index 8fbfe26..b9a52ee 100644
--- a/arch/arm/boards/guf-santaro/board.c
+++ b/arch/arm/boards/guf-santaro/board.c
@@ -20,7 +20,7 @@
#include <asm/io.h>
#include <asm/mmu.h>
#include <mach/generic.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <bootsource.h>
#include <bbu.h>
#include <mach/bbu.h>
diff --git a/arch/arm/boards/guf-santaro/lowlevel.c b/arch/arm/boards/guf-santaro/lowlevel.c
index 02de84c..7753cea 100644
--- a/arch/arm/boards/guf-santaro/lowlevel.c
+++ b/arch/arm/boards/guf-santaro/lowlevel.c
@@ -1,5 +1,5 @@
#include <common.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <io.h>
#include <asm/barebox-arm-head.h>
#include <asm/barebox-arm.h>
diff --git a/arch/arm/boards/guf-vincell/board.c b/arch/arm/boards/guf-vincell/board.c
index bacab0b..0c46ade 100644
--- a/arch/arm/boards/guf-vincell/board.c
+++ b/arch/arm/boards/guf-vincell/board.c
@@ -23,7 +23,7 @@
#include <nand.h>
#include <net.h>
#include <partition.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <bbu.h>
#include <gpio.h>
#include <io.h>
diff --git a/arch/arm/boards/highbank/init.c b/arch/arm/boards/highbank/init.c
index 7b4f963..a0d4b30 100644
--- a/arch/arm/boards/highbank/init.c
+++ b/arch/arm/boards/highbank/init.c
@@ -14,7 +14,7 @@
#include <mach/sysregs.h>
#include <environment.h>
#include <partition.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <io.h>
#include <of.h>
diff --git a/arch/arm/boards/highbank/lowlevel.c b/arch/arm/boards/highbank/lowlevel.c
index c0405ed..83f4c7a 100644
--- a/arch/arm/boards/highbank/lowlevel.c
+++ b/arch/arm/boards/highbank/lowlevel.c
@@ -5,7 +5,7 @@
*/
#include <common.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <asm/barebox-arm-head.h>
#include <asm/barebox-arm.h>
#include <asm/system_info.h>
diff --git a/arch/arm/boards/imx233-olinuxino/lowlevel.c b/arch/arm/boards/imx233-olinuxino/lowlevel.c
index a5567b7..6e4b830 100644
--- a/arch/arm/boards/imx233-olinuxino/lowlevel.c
+++ b/arch/arm/boards/imx233-olinuxino/lowlevel.c
@@ -1,5 +1,5 @@
#include <common.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <asm/barebox-arm-head.h>
#include <asm/barebox-arm.h>
#include <mach/imx23-regs.h>
diff --git a/arch/arm/boards/karo-tx25/board.c b/arch/arm/boards/karo-tx25/board.c
index 59c81b2..ebebd58 100644
--- a/arch/arm/boards/karo-tx25/board.c
+++ b/arch/arm/boards/karo-tx25/board.c
@@ -22,7 +22,7 @@
#include <common.h>
#include <init.h>
#include <driver.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <gpio.h>
#include <environment.h>
#include <mach/imx25-regs.h>
diff --git a/arch/arm/boards/karo-tx25/lowlevel.c b/arch/arm/boards/karo-tx25/lowlevel.c
index 861c27b..b7ff2d4 100644
--- a/arch/arm/boards/karo-tx25/lowlevel.c
+++ b/arch/arm/boards/karo-tx25/lowlevel.c
@@ -21,7 +21,7 @@
#include <mach/imx25-regs.h>
#include <mach/esdctl.h>
#include <io.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <mach/imx-nand.h>
#include <mach/esdctl.h>
#include <asm/barebox-arm.h>
diff --git a/arch/arm/boards/karo-tx28/lowlevel.c b/arch/arm/boards/karo-tx28/lowlevel.c
index f747f3f..c5fdda1 100644
--- a/arch/arm/boards/karo-tx28/lowlevel.c
+++ b/arch/arm/boards/karo-tx28/lowlevel.c
@@ -2,7 +2,7 @@
#define DEBUG
#include <common.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <asm/barebox-arm-head.h>
#include <asm/barebox-arm.h>
#include <mach/imx28-regs.h>
diff --git a/arch/arm/boards/karo-tx28/tx28-stk5.c b/arch/arm/boards/karo-tx28/tx28-stk5.c
index 2aaceb4..c4c5109 100644
--- a/arch/arm/boards/karo-tx28/tx28-stk5.c
+++ b/arch/arm/boards/karo-tx28/tx28-stk5.c
@@ -19,7 +19,7 @@
#include <errno.h>
#include <mci.h>
#include <fec.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <io.h>
#include <net.h>
#include <asm/sections.h>
diff --git a/arch/arm/boards/karo-tx53/board.c b/arch/arm/boards/karo-tx53/board.c
index e5c27aa..b8164ca 100644
--- a/arch/arm/boards/karo-tx53/board.c
+++ b/arch/arm/boards/karo-tx53/board.c
@@ -22,7 +22,7 @@
#include <nand.h>
#include <net.h>
#include <partition.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <gpio.h>
#include <generated/mach-types.h>
diff --git a/arch/arm/boards/karo-tx6x/lowlevel.c b/arch/arm/boards/karo-tx6x/lowlevel.c
index 00008d4..cd4be5e 100644
--- a/arch/arm/boards/karo-tx6x/lowlevel.c
+++ b/arch/arm/boards/karo-tx6x/lowlevel.c
@@ -18,7 +18,7 @@
#include <asm/barebox-arm.h>
#include <image-metadata.h>
#include <mach/generic.h>
-#include <sizes.h>
+#include <linux/sizes.h>
static inline void setup_uart(void)
{
diff --git a/arch/arm/boards/marvell-armada-xp-gp/lowlevel.c b/arch/arm/boards/marvell-armada-xp-gp/lowlevel.c
index 046057f..59eaa29 100644
--- a/arch/arm/boards/marvell-armada-xp-gp/lowlevel.c
+++ b/arch/arm/boards/marvell-armada-xp-gp/lowlevel.c
@@ -15,7 +15,7 @@
*/
#include <common.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <asm/barebox-arm.h>
#include <asm/barebox-arm-head.h>
#include <mach/lowlevel.h>
diff --git a/arch/arm/boards/mioa701/lowlevel.c b/arch/arm/boards/mioa701/lowlevel.c
index aa4a82e..bfb8bad 100644
--- a/arch/arm/boards/mioa701/lowlevel.c
+++ b/arch/arm/boards/mioa701/lowlevel.c
@@ -1,5 +1,5 @@
#include <common.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <asm/barebox-arm-head.h>
#include <asm/barebox-arm.h>
diff --git a/arch/arm/boards/module-mb7707/lowlevel.c b/arch/arm/boards/module-mb7707/lowlevel.c
index 5f5e1d7..0258be6 100644
--- a/arch/arm/boards/module-mb7707/lowlevel.c
+++ b/arch/arm/boards/module-mb7707/lowlevel.c
@@ -21,7 +21,7 @@
#include <asm/barebox-arm.h>
#include <asm/barebox-arm-head.h>
#include <init.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#define MB7707_SRAM_BASE 0x40000000
#define MB7707_SRAM_SIZE SZ_128M
diff --git a/arch/arm/boards/netx/platform.S b/arch/arm/boards/netx/platform.S
index 6c66228..95ae46c 100644
--- a/arch/arm/boards/netx/platform.S
+++ b/arch/arm/boards/netx/platform.S
@@ -16,7 +16,7 @@
* GNU General Public License for more details.
*
*/
-#include <sizes.h>
+#include <linux/sizes.h>
#include <asm/barebox-arm-head.h>
.globl barebox_arm_reset_vector
diff --git a/arch/arm/boards/nhk8815/lowlevel.c b/arch/arm/boards/nhk8815/lowlevel.c
index ce06f45..33a785f 100644
--- a/arch/arm/boards/nhk8815/lowlevel.c
+++ b/arch/arm/boards/nhk8815/lowlevel.c
@@ -1,5 +1,5 @@
#include <common.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <asm/barebox-arm-head.h>
#include <asm/barebox-arm.h>
diff --git a/arch/arm/boards/nvidia-beaver/entry.c b/arch/arm/boards/nvidia-beaver/entry.c
index 576fcb7..9b7e253 100644
--- a/arch/arm/boards/nvidia-beaver/entry.c
+++ b/arch/arm/boards/nvidia-beaver/entry.c
@@ -15,7 +15,7 @@
*/
#include <common.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <asm/barebox-arm.h>
#include <asm/barebox-arm-head.h>
#include <mach/lowlevel.h>
diff --git a/arch/arm/boards/nvidia-jetson-tk1/entry.c b/arch/arm/boards/nvidia-jetson-tk1/entry.c
index 76c95a8..8f112a3 100644
--- a/arch/arm/boards/nvidia-jetson-tk1/entry.c
+++ b/arch/arm/boards/nvidia-jetson-tk1/entry.c
@@ -15,7 +15,7 @@
*/
#include <common.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <asm/barebox-arm.h>
#include <asm/barebox-arm-head.h>
#include <mach/lowlevel.h>
diff --git a/arch/arm/boards/omap343xdsp/lowlevel.c b/arch/arm/boards/omap343xdsp/lowlevel.c
index 18ddff3..318bb9a 100644
--- a/arch/arm/boards/omap343xdsp/lowlevel.c
+++ b/arch/arm/boards/omap343xdsp/lowlevel.c
@@ -1,7 +1,7 @@
#include <common.h>
#include <init.h>
#include <io.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <asm/barebox-arm-head.h>
#include <asm/barebox-arm.h>
#include <mach/generic.h>
diff --git a/arch/arm/boards/omap3evm/board.c b/arch/arm/boards/omap3evm/board.c
index 2813d3d..0fe69b6 100644
--- a/arch/arm/boards/omap3evm/board.c
+++ b/arch/arm/boards/omap3evm/board.c
@@ -43,7 +43,7 @@
#include <init.h>
#include <driver.h>
#include <io.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <ns16550.h>
#include <asm/armlinux.h>
#include <mach/omap3-silicon.h>
diff --git a/arch/arm/boards/omap3evm/lowlevel.c b/arch/arm/boards/omap3evm/lowlevel.c
index 5c3e890..d8a1b9f 100644
--- a/arch/arm/boards/omap3evm/lowlevel.c
+++ b/arch/arm/boards/omap3evm/lowlevel.c
@@ -1,6 +1,6 @@
#include <io.h>
#include <init.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <asm/barebox-arm-head.h>
#include <asm/barebox-arm.h>
#include <mach/generic.h>
diff --git a/arch/arm/boards/panda/board.c b/arch/arm/boards/panda/board.c
index c63602b..f7a3a0f 100644
--- a/arch/arm/boards/panda/board.c
+++ b/arch/arm/boards/panda/board.c
@@ -15,7 +15,7 @@
#include <mach/control.h>
#include <usb/ehci.h>
#include <linux/err.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <asm/mmu.h>
#include <envfs.h>
#include <i2c/i2c.h>
diff --git a/arch/arm/boards/panda/lowlevel.c b/arch/arm/boards/panda/lowlevel.c
index 2679ae4..005485b 100644
--- a/arch/arm/boards/panda/lowlevel.c
+++ b/arch/arm/boards/panda/lowlevel.c
@@ -19,7 +19,7 @@
#include <common.h>
#include <init.h>
#include <io.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <mach/generic.h>
#include <mach/omap4-mux.h>
#include <mach/omap4-silicon.h>
diff --git a/arch/arm/boards/phytec-phycard-imx27/pca100.c b/arch/arm/boards/phytec-phycard-imx27/pca100.c
index 9475bfa..0481113 100644
--- a/arch/arm/boards/phytec-phycard-imx27/pca100.c
+++ b/arch/arm/boards/phytec-phycard-imx27/pca100.c
@@ -21,7 +21,7 @@
#include <mach/imx27-regs.h>
#include <fec.h>
#include <gpio.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <asm/armlinux.h>
#include <asm/sections.h>
#include <generated/mach-types.h>
diff --git a/arch/arm/boards/phytec-phycard-imx6/lowlevel.c b/arch/arm/boards/phytec-phycard-imx6/lowlevel.c
index b31638c..dc10649 100644
--- a/arch/arm/boards/phytec-phycard-imx6/lowlevel.c
+++ b/arch/arm/boards/phytec-phycard-imx6/lowlevel.c
@@ -14,7 +14,7 @@
*/
#include <debug_ll.h>
#include <common.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <io.h>
#include <asm/barebox-arm-head.h>
#include <asm/barebox-arm.h>
diff --git a/arch/arm/boards/phytec-phycard-omap3/lowlevel.c b/arch/arm/boards/phytec-phycard-omap3/lowlevel.c
index 57f6389..27b56b1 100644
--- a/arch/arm/boards/phytec-phycard-omap3/lowlevel.c
+++ b/arch/arm/boards/phytec-phycard-omap3/lowlevel.c
@@ -1,7 +1,7 @@
#include <common.h>
#include <io.h>
#include <init.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <asm/barebox-arm-head.h>
#include <asm/barebox-arm.h>
#include <mach/omap3-mux.h>
diff --git a/arch/arm/boards/phytec-phycard-omap3/pca-a-l1.c b/arch/arm/boards/phytec-phycard-omap3/pca-a-l1.c
index 68a17bf..1c2e7f7 100644
--- a/arch/arm/boards/phytec-phycard-omap3/pca-a-l1.c
+++ b/arch/arm/boards/phytec-phycard-omap3/pca-a-l1.c
@@ -46,7 +46,7 @@
#include <nand.h>
#include <ns16550.h>
#include <partition.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <asm/armlinux.h>
#include <asm/io.h>
#include <generated/mach-types.h>
diff --git a/arch/arm/boards/phytec-phycard-omap4/lowlevel.c b/arch/arm/boards/phytec-phycard-omap4/lowlevel.c
index 841ac4b..170ca68 100644
--- a/arch/arm/boards/phytec-phycard-omap4/lowlevel.c
+++ b/arch/arm/boards/phytec-phycard-omap4/lowlevel.c
@@ -19,7 +19,7 @@
#include <common.h>
#include <init.h>
#include <io.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <mach/generic.h>
#include <mach/omap4-mux.h>
#include <mach/omap4-silicon.h>
diff --git a/arch/arm/boards/phytec-phycard-omap4/pca-a-xl2.c b/arch/arm/boards/phytec-phycard-omap4/pca-a-xl2.c
index 6429722..78890ba 100644
--- a/arch/arm/boards/phytec-phycard-omap4/pca-a-xl2.c
+++ b/arch/arm/boards/phytec-phycard-omap4/pca-a-xl2.c
@@ -29,7 +29,7 @@
#include <mach/syslib.h>
#include <mach/control.h>
#include <linux/err.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <partition.h>
#include <nand.h>
#include <asm/mmu.h>
diff --git a/arch/arm/boards/phytec-phycore-am335x/board.c b/arch/arm/boards/phytec-phycore-am335x/board.c
index a72cebd..61a11cf 100644
--- a/arch/arm/boards/phytec-phycore-am335x/board.c
+++ b/arch/arm/boards/phytec-phycore-am335x/board.c
@@ -22,7 +22,7 @@
#include <nand.h>
#include <init.h>
#include <io.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <envfs.h>
#include <asm/armlinux.h>
#include <generated/mach-types.h>
diff --git a/arch/arm/boards/phytec-phycore-am335x/lowlevel.c b/arch/arm/boards/phytec-phycore-am335x/lowlevel.c
index 5ab8b5b..843929e 100644
--- a/arch/arm/boards/phytec-phycore-am335x/lowlevel.c
+++ b/arch/arm/boards/phytec-phycore-am335x/lowlevel.c
@@ -1,5 +1,5 @@
#include <common.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <io.h>
#include <init.h>
#include <asm/barebox-arm-head.h>
diff --git a/arch/arm/boards/phytec-phycore-imx27/pcm038.c b/arch/arm/boards/phytec-phycore-imx27/pcm038.c
index a4305f6..01f6a55 100644
--- a/arch/arm/boards/phytec-phycore-imx27/pcm038.c
+++ b/arch/arm/boards/phytec-phycore-imx27/pcm038.c
@@ -20,7 +20,7 @@
#include <init.h>
#include <io.h>
#include <notifier.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <envfs.h>
#include <mach/devices-imx27.h>
#include <mach/imx-pll.h>
diff --git a/arch/arm/boards/phytec-phycore-imx27/pcm970.c b/arch/arm/boards/phytec-phycore-imx27/pcm970.c
index b0c177e..73df2ad 100644
--- a/arch/arm/boards/phytec-phycore-imx27/pcm970.c
+++ b/arch/arm/boards/phytec-phycore-imx27/pcm970.c
@@ -16,7 +16,7 @@
#include <init.h>
#include <io.h>
#include <platform_ide.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <mach/imx27-regs.h>
#include <mach/iomux-mx27.h>
diff --git a/arch/arm/boards/phytec-phycore-imx35/pcm043.c b/arch/arm/boards/phytec-phycore-imx35/pcm043.c
index d1dd28f..e31c79d 100644
--- a/arch/arm/boards/phytec-phycore-imx35/pcm043.c
+++ b/arch/arm/boards/phytec-phycore-imx35/pcm043.c
@@ -26,7 +26,7 @@
#include <environment.h>
#include <fs.h>
#include <gpio.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <mach/imx35-regs.h>
#include <asm/armlinux.h>
#include <io.h>
diff --git a/arch/arm/boards/phytec-phycore-omap4460/board.c b/arch/arm/boards/phytec-phycore-omap4460/board.c
index baf88a3..6495a6f 100644
--- a/arch/arm/boards/phytec-phycore-omap4460/board.c
+++ b/arch/arm/boards/phytec-phycore-omap4460/board.c
@@ -32,7 +32,7 @@
#include <mach/syslib.h>
#include <mach/control.h>
#include <linux/err.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <partition.h>
#include <nand.h>
#include <asm/mmu.h>
diff --git a/arch/arm/boards/phytec-phycore-omap4460/lowlevel.c b/arch/arm/boards/phytec-phycore-omap4460/lowlevel.c
index 8ea62c7..c082594 100644
--- a/arch/arm/boards/phytec-phycore-omap4460/lowlevel.c
+++ b/arch/arm/boards/phytec-phycore-omap4460/lowlevel.c
@@ -19,7 +19,7 @@
#include <common.h>
#include <init.h>
#include <io.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <mach/generic.h>
#include <mach/omap4-mux.h>
#include <mach/omap4-silicon.h>
diff --git a/arch/arm/boards/phytec-phycore-pxa270/board.c b/arch/arm/boards/phytec-phycore-pxa270/board.c
index 509569e..833c4c8 100644
--- a/arch/arm/boards/phytec-phycore-pxa270/board.c
+++ b/arch/arm/boards/phytec-phycore-pxa270/board.c
@@ -24,7 +24,7 @@
#include <fs.h>
#include <init.h>
#include <partition.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <plat/gpio.h>
#include <mach/mfp-pxa27x.h>
diff --git a/arch/arm/boards/phytec-phycore-pxa270/lowlevel_init.S b/arch/arm/boards/phytec-phycore-pxa270/lowlevel_init.S
index c7dacce..39af00b 100644
--- a/arch/arm/boards/phytec-phycore-pxa270/lowlevel_init.S
+++ b/arch/arm/boards/phytec-phycore-pxa270/lowlevel_init.S
@@ -24,7 +24,7 @@
*/
#include <config.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <mach/pxa-regs.h>
#include <mach/regs-ost.h>
#include <mach/regs-intc.h>
diff --git a/arch/arm/boards/phytec-phyflex-am335x/board.c b/arch/arm/boards/phytec-phyflex-am335x/board.c
index f265e52..e635532 100644
--- a/arch/arm/boards/phytec-phyflex-am335x/board.c
+++ b/arch/arm/boards/phytec-phyflex-am335x/board.c
@@ -22,7 +22,7 @@
#include <nand.h>
#include <init.h>
#include <io.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <envfs.h>
#include <asm/armlinux.h>
#include <generated/mach-types.h>
diff --git a/arch/arm/boards/phytec-phyflex-am335x/lowlevel.c b/arch/arm/boards/phytec-phyflex-am335x/lowlevel.c
index 4d34968..a240401 100644
--- a/arch/arm/boards/phytec-phyflex-am335x/lowlevel.c
+++ b/arch/arm/boards/phytec-phyflex-am335x/lowlevel.c
@@ -18,7 +18,7 @@
*/
#include <common.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <io.h>
#include <init.h>
#include <asm/barebox-arm-head.h>
diff --git a/arch/arm/boards/phytec-phyflex-imx6/lowlevel.c b/arch/arm/boards/phytec-phyflex-imx6/lowlevel.c
index ce168b2..dbd264a 100644
--- a/arch/arm/boards/phytec-phyflex-imx6/lowlevel.c
+++ b/arch/arm/boards/phytec-phyflex-imx6/lowlevel.c
@@ -14,7 +14,7 @@
*/
#include <debug_ll.h>
#include <common.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <io.h>
#include <image-metadata.h>
#include <asm/barebox-arm-head.h>
diff --git a/arch/arm/boards/plathome-openblocks-a6/lowlevel.c b/arch/arm/boards/plathome-openblocks-a6/lowlevel.c
index b37a3d6..71bf7aa 100644
--- a/arch/arm/boards/plathome-openblocks-a6/lowlevel.c
+++ b/arch/arm/boards/plathome-openblocks-a6/lowlevel.c
@@ -12,7 +12,7 @@
*/
#include <common.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <asm/barebox-arm.h>
#include <asm/barebox-arm-head.h>
#include <mach/lowlevel.h>
diff --git a/arch/arm/boards/plathome-openblocks-ax3/lowlevel.c b/arch/arm/boards/plathome-openblocks-ax3/lowlevel.c
index 721d2de..9030a5d 100644
--- a/arch/arm/boards/plathome-openblocks-ax3/lowlevel.c
+++ b/arch/arm/boards/plathome-openblocks-ax3/lowlevel.c
@@ -15,7 +15,7 @@
*/
#include <common.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <asm/barebox-arm.h>
#include <asm/barebox-arm-head.h>
#include <mach/lowlevel.h>
diff --git a/arch/arm/boards/qil-a926x/init.c b/arch/arm/boards/qil-a926x/init.c
index 4f01e2d..8727437 100644
--- a/arch/arm/boards/qil-a926x/init.c
+++ b/arch/arm/boards/qil-a926x/init.c
@@ -17,7 +17,7 @@
#include <io.h>
#include <mach/hardware.h>
#include <nand.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <linux/mtd/nand.h>
#include <linux/clk.h>
#include <mach/board.h>
diff --git a/arch/arm/boards/radxa-rock/lowlevel.c b/arch/arm/boards/radxa-rock/lowlevel.c
index 65014e6..1c07bc3 100644
--- a/arch/arm/boards/radxa-rock/lowlevel.c
+++ b/arch/arm/boards/radxa-rock/lowlevel.c
@@ -12,7 +12,7 @@
*/
#include <common.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <asm/barebox-arm-head.h>
#include <asm/barebox-arm.h>
diff --git a/arch/arm/boards/raspberry-pi/lowlevel.c b/arch/arm/boards/raspberry-pi/lowlevel.c
index 022b11d..485171a 100644
--- a/arch/arm/boards/raspberry-pi/lowlevel.c
+++ b/arch/arm/boards/raspberry-pi/lowlevel.c
@@ -1,5 +1,5 @@
#include <common.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <asm/barebox-arm.h>
#include <asm/barebox-arm-head.h>
#include <mach/platform.h>
diff --git a/arch/arm/boards/sama5d3_xplained/init.c b/arch/arm/boards/sama5d3_xplained/init.c
index 7dfebe8..373ab81 100644
--- a/arch/arm/boards/sama5d3_xplained/init.c
+++ b/arch/arm/boards/sama5d3_xplained/init.c
@@ -24,7 +24,7 @@
#include <io.h>
#include <mach/hardware.h>
#include <nand.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <linux/mtd/nand.h>
#include <mach/board.h>
#include <mach/at91sam9_smc.h>
diff --git a/arch/arm/boards/sama5d3xek/init.c b/arch/arm/boards/sama5d3xek/init.c
index 49d2b37..57dc7b0 100644
--- a/arch/arm/boards/sama5d3xek/init.c
+++ b/arch/arm/boards/sama5d3xek/init.c
@@ -26,7 +26,7 @@
#include <io.h>
#include <mach/hardware.h>
#include <nand.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <linux/mtd/nand.h>
#include <mach/board.h>
#include <mach/at91sam9_smc.h>
diff --git a/arch/arm/boards/sama5d4_xplained/sama5d4_xplained.c b/arch/arm/boards/sama5d4_xplained/sama5d4_xplained.c
index 0126220..fe6876a 100644
--- a/arch/arm/boards/sama5d4_xplained/sama5d4_xplained.c
+++ b/arch/arm/boards/sama5d4_xplained/sama5d4_xplained.c
@@ -18,7 +18,7 @@
#include <io.h>
#include <mach/hardware.h>
#include <nand.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <linux/mtd/nand.h>
#include <mach/board.h>
#include <mach/at91sam9_smc.h>
diff --git a/arch/arm/boards/sama5d4ek/sama5d4ek.c b/arch/arm/boards/sama5d4ek/sama5d4ek.c
index 91cffa3..bbc53c6 100644
--- a/arch/arm/boards/sama5d4ek/sama5d4ek.c
+++ b/arch/arm/boards/sama5d4ek/sama5d4ek.c
@@ -18,7 +18,7 @@
#include <io.h>
#include <mach/hardware.h>
#include <nand.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <linux/mtd/nand.h>
#include <mach/board.h>
#include <mach/at91sam9_smc.h>
diff --git a/arch/arm/boards/solidrun-cubox/lowlevel.c b/arch/arm/boards/solidrun-cubox/lowlevel.c
index a28c2b1..08e31e8 100644
--- a/arch/arm/boards/solidrun-cubox/lowlevel.c
+++ b/arch/arm/boards/solidrun-cubox/lowlevel.c
@@ -16,7 +16,7 @@
*/
#include <common.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <asm/barebox-arm.h>
#include <asm/barebox-arm-head.h>
#include <mach/lowlevel.h>
diff --git a/arch/arm/boards/solidrun-microsom/board.c b/arch/arm/boards/solidrun-microsom/board.c
index 4b0ea32..783ec53 100644
--- a/arch/arm/boards/solidrun-microsom/board.c
+++ b/arch/arm/boards/solidrun-microsom/board.c
@@ -25,7 +25,7 @@
#include <mach/imx6-regs.h>
#include <mach/imx6.h>
#include <mfd/imx6q-iomuxc-gpr.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <linux/phy.h>
static int ar8035_phy_fixup(struct phy_device *dev)
diff --git a/arch/arm/boards/solidrun-microsom/lowlevel.c b/arch/arm/boards/solidrun-microsom/lowlevel.c
index eb52838..30f4a3f 100644
--- a/arch/arm/boards/solidrun-microsom/lowlevel.c
+++ b/arch/arm/boards/solidrun-microsom/lowlevel.c
@@ -1,5 +1,5 @@
#include <common.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <mach/generic.h>
#include <asm/barebox-arm-head.h>
#include <asm/barebox-arm.h>
diff --git a/arch/arm/boards/terasic-sockit/board.c b/arch/arm/boards/terasic-sockit/board.c
index fdff76f..53cd368 100644
--- a/arch/arm/boards/terasic-sockit/board.c
+++ b/arch/arm/boards/terasic-sockit/board.c
@@ -5,7 +5,7 @@
#include <asm/armlinux.h>
#include <linux/micrel_phy.h>
#include <linux/phy.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <fcntl.h>
#include <fs.h>
#include <mach/socfpga-regs.h>
diff --git a/arch/arm/boards/terasic-sockit/lowlevel.c b/arch/arm/boards/terasic-sockit/lowlevel.c
index 0683435..78d5d41 100644
--- a/arch/arm/boards/terasic-sockit/lowlevel.c
+++ b/arch/arm/boards/terasic-sockit/lowlevel.c
@@ -1,5 +1,5 @@
#include <common.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <io.h>
#include <asm/barebox-arm-head.h>
#include <asm/barebox-arm.h>
diff --git a/arch/arm/boards/tny-a926x/init.c b/arch/arm/boards/tny-a926x/init.c
index 256f8ba..3ebd8aa 100644
--- a/arch/arm/boards/tny-a926x/init.c
+++ b/arch/arm/boards/tny-a926x/init.c
@@ -26,7 +26,7 @@
#include <io.h>
#include <mach/hardware.h>
#include <nand.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <linux/mtd/nand.h>
#include <linux/clk.h>
#include <mach/board.h>
diff --git a/arch/arm/boards/toradex-colibri-t20/entry.c b/arch/arm/boards/toradex-colibri-t20/entry.c
index 695862c..a25958f 100644
--- a/arch/arm/boards/toradex-colibri-t20/entry.c
+++ b/arch/arm/boards/toradex-colibri-t20/entry.c
@@ -15,7 +15,7 @@
*/
#include <common.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <asm/barebox-arm.h>
#include <asm/barebox-arm-head.h>
#include <mach/lowlevel.h>
diff --git a/arch/arm/boards/toshiba-ac100/board.c b/arch/arm/boards/toshiba-ac100/board.c
index 51232ef..0cb955c 100644
--- a/arch/arm/boards/toshiba-ac100/board.c
+++ b/arch/arm/boards/toshiba-ac100/board.c
@@ -19,7 +19,7 @@
#include <driver.h>
#include <init.h>
#include <asm/armlinux.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <usb/ehci.h>
#include <mach/iomap.h>
diff --git a/arch/arm/boards/toshiba-ac100/entry.c b/arch/arm/boards/toshiba-ac100/entry.c
index 45fa56a..fb695c3 100644
--- a/arch/arm/boards/toshiba-ac100/entry.c
+++ b/arch/arm/boards/toshiba-ac100/entry.c
@@ -15,7 +15,7 @@
*/
#include <common.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <asm/barebox-arm.h>
#include <asm/barebox-arm-head.h>
#include <mach/lowlevel.h>
diff --git a/arch/arm/boards/tqma6x/board.c b/arch/arm/boards/tqma6x/board.c
index 2118fb2..97cce60 100644
--- a/arch/arm/boards/tqma6x/board.c
+++ b/arch/arm/boards/tqma6x/board.c
@@ -23,7 +23,7 @@
#include <partition.h>
#include <common.h>
#include <envfs.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <init.h>
#include <gpio.h>
#include <fec.h>
diff --git a/arch/arm/boards/tqma6x/lowlevel.c b/arch/arm/boards/tqma6x/lowlevel.c
index d2eea16..23f3407 100644
--- a/arch/arm/boards/tqma6x/lowlevel.c
+++ b/arch/arm/boards/tqma6x/lowlevel.c
@@ -14,7 +14,7 @@
*/
#include <debug_ll.h>
#include <common.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <io.h>
#include <asm/barebox-arm-head.h>
#include <asm/barebox-arm.h>
diff --git a/arch/arm/boards/udoo/board.c b/arch/arm/boards/udoo/board.c
index d2f558e..f3668fe 100644
--- a/arch/arm/boards/udoo/board.c
+++ b/arch/arm/boards/udoo/board.c
@@ -29,7 +29,7 @@
#include <asm/io.h>
#include <asm/mmu.h>
#include <mach/generic.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <net.h>
#include <linux/micrel_phy.h>
#include <mach/imx6.h>
diff --git a/arch/arm/boards/udoo/lowlevel.c b/arch/arm/boards/udoo/lowlevel.c
index 3d9fc68..785ab16 100644
--- a/arch/arm/boards/udoo/lowlevel.c
+++ b/arch/arm/boards/udoo/lowlevel.c
@@ -1,5 +1,5 @@
#include <common.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <mach/generic.h>
#include <asm/barebox-arm-head.h>
#include <asm/barebox-arm.h>
diff --git a/arch/arm/boards/usb-a926x/init.c b/arch/arm/boards/usb-a926x/init.c
index f0e1157..958c3c3 100644
--- a/arch/arm/boards/usb-a926x/init.c
+++ b/arch/arm/boards/usb-a926x/init.c
@@ -26,7 +26,7 @@
#include <io.h>
#include <mach/hardware.h>
#include <nand.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <linux/mtd/nand.h>
#include <linux/clk.h>
#include <mach/board.h>
diff --git a/arch/arm/boards/usi-topkick/lowlevel.c b/arch/arm/boards/usi-topkick/lowlevel.c
index df66156..ed94ee6 100644
--- a/arch/arm/boards/usi-topkick/lowlevel.c
+++ b/arch/arm/boards/usi-topkick/lowlevel.c
@@ -15,7 +15,7 @@
*/
#include <common.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <asm/barebox-arm.h>
#include <asm/barebox-arm-head.h>
#include <mach/lowlevel.h>
diff --git a/arch/arm/boards/variscite-mx6/board.c b/arch/arm/boards/variscite-mx6/board.c
index de74abc..3585deb 100644
--- a/arch/arm/boards/variscite-mx6/board.c
+++ b/arch/arm/boards/variscite-mx6/board.c
@@ -34,7 +34,7 @@
#include <asm/io.h>
#include <asm/mmu.h>
#include <mach/generic.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <mach/imx6.h>
#include <mach/devices-imx6.h>
#include <mach/iomux-mx6.h>
diff --git a/arch/arm/boards/variscite-mx6/lowlevel.c b/arch/arm/boards/variscite-mx6/lowlevel.c
index 74f3a77..22e7eae 100644
--- a/arch/arm/boards/variscite-mx6/lowlevel.c
+++ b/arch/arm/boards/variscite-mx6/lowlevel.c
@@ -16,7 +16,7 @@
*/
#include <debug_ll.h>
#include <common.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <io.h>
#include <asm/barebox-arm-head.h>
#include <asm/barebox-arm.h>
diff --git a/arch/arm/boards/versatile/lowlevel.c b/arch/arm/boards/versatile/lowlevel.c
index ce06f45..33a785f 100644
--- a/arch/arm/boards/versatile/lowlevel.c
+++ b/arch/arm/boards/versatile/lowlevel.c
@@ -1,5 +1,5 @@
#include <common.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <asm/barebox-arm-head.h>
#include <asm/barebox-arm.h>
diff --git a/arch/arm/boards/versatile/versatilepb.c b/arch/arm/boards/versatile/versatilepb.c
index 9ed1146..3166cd4 100644
--- a/arch/arm/boards/versatile/versatilepb.c
+++ b/arch/arm/boards/versatile/versatilepb.c
@@ -28,7 +28,7 @@
#include <mach/platform.h>
#include <environment.h>
#include <partition.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <net/smc91111.h>
static int vpb_console_init(void)
diff --git a/arch/arm/boards/vexpress/init.c b/arch/arm/boards/vexpress/init.c
index 6cda494..5b2035b 100644
--- a/arch/arm/boards/vexpress/init.c
+++ b/arch/arm/boards/vexpress/init.c
@@ -12,7 +12,7 @@
#include <mach/devices.h>
#include <environment.h>
#include <partition.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <io.h>
#include <globalvar.h>
#include <linux/amba/sp804.h>
diff --git a/arch/arm/boards/vexpress/lowlevel.c b/arch/arm/boards/vexpress/lowlevel.c
index 2ef94c5..204d29d 100644
--- a/arch/arm/boards/vexpress/lowlevel.c
+++ b/arch/arm/boards/vexpress/lowlevel.c
@@ -5,7 +5,7 @@
*/
#include <common.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <asm/barebox-arm-head.h>
#include <asm/barebox-arm.h>
#include <asm/system_info.h>
diff --git a/arch/arm/boards/virt2real/lowlevel.c b/arch/arm/boards/virt2real/lowlevel.c
index 731e2ca..8ec3d04 100644
--- a/arch/arm/boards/virt2real/lowlevel.c
+++ b/arch/arm/boards/virt2real/lowlevel.c
@@ -21,7 +21,7 @@
#include <asm/barebox-arm.h>
#include <asm/barebox-arm-head.h>
#include <init.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#define VIRT2REAL_SRAM_BASE 0x82000000
#define VIRT2REAL_SRAM_SIZE SZ_16M
diff --git a/arch/arm/cpu/common.c b/arch/arm/cpu/common.c
index d5f8929..46ce942 100644
--- a/arch/arm/cpu/common.c
+++ b/arch/arm/cpu/common.c
@@ -17,7 +17,7 @@
#include <common.h>
#include <init.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <asm/system_info.h>
#include <asm/barebox-arm.h>
#include <asm/barebox-arm-head.h>
diff --git a/arch/arm/cpu/mmu-early.c b/arch/arm/cpu/mmu-early.c
index b8b30df..2e4d316 100644
--- a/arch/arm/cpu/mmu-early.c
+++ b/arch/arm/cpu/mmu-early.c
@@ -1,7 +1,7 @@
#include <common.h>
#include <asm/mmu.h>
#include <errno.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <asm/memory.h>
#include <asm/system.h>
#include <asm/cache.h>
diff --git a/arch/arm/cpu/mmu.c b/arch/arm/cpu/mmu.c
index e4afcc8..09fe8d5 100644
--- a/arch/arm/cpu/mmu.c
+++ b/arch/arm/cpu/mmu.c
@@ -23,7 +23,7 @@
#include <init.h>
#include <asm/mmu.h>
#include <errno.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <asm/memory.h>
#include <asm/barebox-arm.h>
#include <asm/system.h>
diff --git a/arch/arm/cpu/start-pbl.c b/arch/arm/cpu/start-pbl.c
index 741060a..f2490fd 100644
--- a/arch/arm/cpu/start-pbl.c
+++ b/arch/arm/cpu/start-pbl.c
@@ -20,7 +20,7 @@
#include <common.h>
#include <init.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <pbl.h>
#include <asm/barebox-arm.h>
#include <asm/barebox-arm-head.h>
diff --git a/arch/arm/cpu/start.c b/arch/arm/cpu/start.c
index e2a6b8e..418870f 100644
--- a/arch/arm/cpu/start.c
+++ b/arch/arm/cpu/start.c
@@ -20,7 +20,7 @@
#include <common.h>
#include <init.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <of.h>
#include <asm/barebox-arm.h>
#include <asm/barebox-arm-head.h>
diff --git a/arch/arm/cpu/uncompress.c b/arch/arm/cpu/uncompress.c
index 03c73d5..b0b7c6d 100644
--- a/arch/arm/cpu/uncompress.c
+++ b/arch/arm/cpu/uncompress.c
@@ -21,7 +21,7 @@
#include <common.h>
#include <init.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <pbl.h>
#include <asm/barebox-arm.h>
#include <asm/barebox-arm-head.h>
diff --git a/arch/arm/include/asm/barebox-arm.h b/arch/arm/include/asm/barebox-arm.h
index 641c00f..9ad07cb 100644
--- a/arch/arm/include/asm/barebox-arm.h
+++ b/arch/arm/include/asm/barebox-arm.h
@@ -25,7 +25,7 @@
#ifndef _BAREBOX_ARM_H_
#define _BAREBOX_ARM_H_
-#include <sizes.h>
+#include <linux/sizes.h>
#include <asm-generic/memory_layout.h>
#include <linux/kernel.h>
#include <linux/types.h>
diff --git a/arch/arm/lib/bootm.c b/arch/arm/lib/bootm.c
index baf0946..8327c3f 100644
--- a/arch/arm/lib/bootm.c
+++ b/arch/arm/lib/bootm.c
@@ -12,7 +12,7 @@
#include <malloc.h>
#include <fcntl.h>
#include <errno.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <libbb.h>
#include <magicvar.h>
#include <binfmt.h>
diff --git a/arch/arm/lib/bootz.c b/arch/arm/lib/bootz.c
index 377f18a..5167c9d 100644
--- a/arch/arm/lib/bootz.c
+++ b/arch/arm/lib/bootz.c
@@ -5,7 +5,7 @@
#include <fcntl.h>
#include <errno.h>
#include <malloc.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <asm/byteorder.h>
#include <asm/armlinux.h>
#include <asm/system.h>
diff --git a/arch/arm/lib/pbl.lds.S b/arch/arm/lib/pbl.lds.S
index 9afee29..73baff0 100644
--- a/arch/arm/lib/pbl.lds.S
+++ b/arch/arm/lib/pbl.lds.S
@@ -15,7 +15,7 @@
* GNU General Public License for more details.
*
*/
-#include <sizes.h>
+#include <linux/sizes.h>
#include <asm-generic/barebox.lds.h>
#include <asm-generic/memory_layout.h>
diff --git a/arch/arm/mach-at91/at91rm9200_devices.c b/arch/arm/mach-at91/at91rm9200_devices.c
index ce0e416..7b68cda 100644
--- a/arch/arm/mach-at91/at91rm9200_devices.c
+++ b/arch/arm/mach-at91/at91rm9200_devices.c
@@ -20,7 +20,7 @@
#include <mach/io.h>
#include <mach/at91rm9200_mc.h>
#include <i2c/i2c-gpio.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include "generic.h"
diff --git a/arch/arm/mach-at91/at91sam9260_devices.c b/arch/arm/mach-at91/at91sam9260_devices.c
index ed6f9c4..67c4ea8 100644
--- a/arch/arm/mach-at91/at91sam9260_devices.c
+++ b/arch/arm/mach-at91/at91sam9260_devices.c
@@ -11,7 +11,7 @@
*/
#include <common.h>
#include <init.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <gpio.h>
#include <asm/armlinux.h>
#include <mach/hardware.h>
diff --git a/arch/arm/mach-at91/at91sam9260_lowlevel_init.c b/arch/arm/mach-at91/at91sam9260_lowlevel_init.c
index f745b8d..7f84185 100644
--- a/arch/arm/mach-at91/at91sam9260_lowlevel_init.c
+++ b/arch/arm/mach-at91/at91sam9260_lowlevel_init.c
@@ -21,7 +21,7 @@
#include <mach/at91_lowlevel_init.h>
#include <mach/io.h>
#include <init.h>
-#include <sizes.h>
+#include <linux/sizes.h>
void __bare_init at91sam9260_lowlevel_init(void)
{
diff --git a/arch/arm/mach-at91/at91sam9261_devices.c b/arch/arm/mach-at91/at91sam9261_devices.c
index ce539e9..620ed65 100644
--- a/arch/arm/mach-at91/at91sam9261_devices.c
+++ b/arch/arm/mach-at91/at91sam9261_devices.c
@@ -11,7 +11,7 @@
*/
#include <common.h>
#include <init.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <gpio.h>
#include <asm/armlinux.h>
#include <mach/hardware.h>
diff --git a/arch/arm/mach-at91/at91sam9261_lowlevel_init.c b/arch/arm/mach-at91/at91sam9261_lowlevel_init.c
index b9b4dfb..0ad7f0a 100644
--- a/arch/arm/mach-at91/at91sam9261_lowlevel_init.c
+++ b/arch/arm/mach-at91/at91sam9261_lowlevel_init.c
@@ -21,7 +21,7 @@
#include <mach/at91_lowlevel_init.h>
#include <mach/io.h>
#include <init.h>
-#include <sizes.h>
+#include <linux/sizes.h>
void __bare_init at91sam9261_lowlevel_init(void)
{
diff --git a/arch/arm/mach-at91/at91sam9263_devices.c b/arch/arm/mach-at91/at91sam9263_devices.c
index 1c9366a..a3683e5 100644
--- a/arch/arm/mach-at91/at91sam9263_devices.c
+++ b/arch/arm/mach-at91/at91sam9263_devices.c
@@ -11,7 +11,7 @@
*/
#include <common.h>
#include <init.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <gpio.h>
#include <asm/armlinux.h>
#include <mach/hardware.h>
diff --git a/arch/arm/mach-at91/at91sam9263_lowlevel_init.c b/arch/arm/mach-at91/at91sam9263_lowlevel_init.c
index 00d78f2..0be8455 100644
--- a/arch/arm/mach-at91/at91sam9263_lowlevel_init.c
+++ b/arch/arm/mach-at91/at91sam9263_lowlevel_init.c
@@ -21,7 +21,7 @@
#include <mach/at91_lowlevel_init.h>
#include <mach/io.h>
#include <init.h>
-#include <sizes.h>
+#include <linux/sizes.h>
void __bare_init at91sam9263_lowlevel_init(void)
{
diff --git a/arch/arm/mach-at91/at91sam926x_lowlevel_init.c b/arch/arm/mach-at91/at91sam926x_lowlevel_init.c
index 6452bdd..5dd8bc4 100644
--- a/arch/arm/mach-at91/at91sam926x_lowlevel_init.c
+++ b/arch/arm/mach-at91/at91sam926x_lowlevel_init.c
@@ -23,7 +23,7 @@
#include <mach/gpio.h>
#include <mach/io.h>
#include <init.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include "gpio.h"
diff --git a/arch/arm/mach-at91/at91sam9g45_devices.c b/arch/arm/mach-at91/at91sam9g45_devices.c
index 5af8761..bad7f9c 100644
--- a/arch/arm/mach-at91/at91sam9g45_devices.c
+++ b/arch/arm/mach-at91/at91sam9g45_devices.c
@@ -11,7 +11,7 @@
*/
#include <common.h>
#include <init.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <gpio.h>
#include <asm/armlinux.h>
#include <mach/hardware.h>
diff --git a/arch/arm/mach-at91/at91sam9g45_lowlevel_init.c b/arch/arm/mach-at91/at91sam9g45_lowlevel_init.c
index b58f101..2cdb7a6 100644
--- a/arch/arm/mach-at91/at91sam9g45_lowlevel_init.c
+++ b/arch/arm/mach-at91/at91sam9g45_lowlevel_init.c
@@ -14,7 +14,7 @@
#include <mach/io.h>
#include <mach/at91sam9_ddrsdr.h>
#include <init.h>
-#include <sizes.h>
+#include <linux/sizes.h>
void __naked __bare_init barebox_arm_reset_vector(void)
{
diff --git a/arch/arm/mach-at91/at91sam9n12_devices.c b/arch/arm/mach-at91/at91sam9n12_devices.c
index 2d9ea4c..bac023f 100644
--- a/arch/arm/mach-at91/at91sam9n12_devices.c
+++ b/arch/arm/mach-at91/at91sam9n12_devices.c
@@ -11,7 +11,7 @@
*/
#include <common.h>
#include <init.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <gpio.h>
#include <asm/armlinux.h>
#include <mach/hardware.h>
diff --git a/arch/arm/mach-at91/at91sam9n12_lowlevel_init.c b/arch/arm/mach-at91/at91sam9n12_lowlevel_init.c
index 72a0928..2b5cb15 100644
--- a/arch/arm/mach-at91/at91sam9n12_lowlevel_init.c
+++ b/arch/arm/mach-at91/at91sam9n12_lowlevel_init.c
@@ -14,7 +14,7 @@
#include <mach/io.h>
#include <mach/at91sam9_ddrsdr.h>
#include <init.h>
-#include <sizes.h>
+#include <linux/sizes.h>
void __naked __bare_init barebox_arm_reset_vector(void)
{
diff --git a/arch/arm/mach-at91/at91sam9x5_devices.c b/arch/arm/mach-at91/at91sam9x5_devices.c
index 2d05e94..34537d8 100644
--- a/arch/arm/mach-at91/at91sam9x5_devices.c
+++ b/arch/arm/mach-at91/at91sam9x5_devices.c
@@ -10,7 +10,7 @@
*
*/
#include <common.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <gpio.h>
#include <asm/armlinux.h>
#include <mach/hardware.h>
diff --git a/arch/arm/mach-at91/at91sam9x5_lowlevel_init.c b/arch/arm/mach-at91/at91sam9x5_lowlevel_init.c
index 7781036..48e69f9 100644
--- a/arch/arm/mach-at91/at91sam9x5_lowlevel_init.c
+++ b/arch/arm/mach-at91/at91sam9x5_lowlevel_init.c
@@ -14,7 +14,7 @@
#include <mach/io.h>
#include <mach/at91sam9_ddrsdr.h>
#include <init.h>
-#include <sizes.h>
+#include <linux/sizes.h>
void __naked __bare_init barebox_arm_reset_vector(void)
{
diff --git a/arch/arm/mach-at91/bootstrap.c b/arch/arm/mach-at91/bootstrap.c
index 4149304..2d18dd6 100644
--- a/arch/arm/mach-at91/bootstrap.c
+++ b/arch/arm/mach-at91/bootstrap.c
@@ -7,7 +7,7 @@
#include <common.h>
#include <bootstrap.h>
#include <mach/bootstrap.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <malloc.h>
#include <init.h>
#include <menu.h>
diff --git a/arch/arm/mach-at91/include/mach/board.h b/arch/arm/mach-at91/include/mach/board.h
index e2307ed..491b220 100644
--- a/arch/arm/mach-at91/include/mach/board.h
+++ b/arch/arm/mach-at91/include/mach/board.h
@@ -19,7 +19,7 @@
#define __ASM_ARCH_BOARD_H
#include <mach/hardware.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <net.h>
#include <i2c/i2c.h>
#include <spi/spi.h>
diff --git a/arch/arm/mach-at91/sama5d3_devices.c b/arch/arm/mach-at91/sama5d3_devices.c
index 1938c05..3fdfca8 100644
--- a/arch/arm/mach-at91/sama5d3_devices.c
+++ b/arch/arm/mach-at91/sama5d3_devices.c
@@ -11,7 +11,7 @@
*/
#include <common.h>
#include <init.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <gpio.h>
#include <asm/armlinux.h>
#include <mach/hardware.h>
diff --git a/arch/arm/mach-at91/sama5d3_lowlevel_init.c b/arch/arm/mach-at91/sama5d3_lowlevel_init.c
index d3fcbc2..01d2851 100644
--- a/arch/arm/mach-at91/sama5d3_lowlevel_init.c
+++ b/arch/arm/mach-at91/sama5d3_lowlevel_init.c
@@ -7,7 +7,7 @@
#define __LOWLEVEL_INIT__
#include <common.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <init.h>
#include <asm/system.h>
#include <asm/barebox-arm.h>
diff --git a/arch/arm/mach-at91/sama5d4_devices.c b/arch/arm/mach-at91/sama5d4_devices.c
index 3806971..e1b0a64 100644
--- a/arch/arm/mach-at91/sama5d4_devices.c
+++ b/arch/arm/mach-at91/sama5d4_devices.c
@@ -12,7 +12,7 @@
#include <common.h>
#include <init.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <gpio.h>
#include <asm/armlinux.h>
#include <mach/hardware.h>
diff --git a/arch/arm/mach-bcm2835/core.c b/arch/arm/mach-bcm2835/core.c
index 04bc897..7f3d7e7 100644
--- a/arch/arm/mach-bcm2835/core.c
+++ b/arch/arm/mach-bcm2835/core.c
@@ -25,7 +25,7 @@
#include <io.h>
#include <asm/armlinux.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <mach/platform.h>
#include <mach/wd.h>
diff --git a/arch/arm/mach-clps711x/clock.c b/arch/arm/mach-clps711x/clock.c
index 548b333..f3b4d85 100644
--- a/arch/arm/mach-clps711x/clock.c
+++ b/arch/arm/mach-clps711x/clock.c
@@ -9,7 +9,7 @@
#include <common.h>
#include <init.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <asm/io.h>
#include <linux/clk.h>
#include <linux/clkdev.h>
diff --git a/arch/arm/mach-clps711x/devices.c b/arch/arm/mach-clps711x/devices.c
index e27476d..b6647de 100644
--- a/arch/arm/mach-clps711x/devices.c
+++ b/arch/arm/mach-clps711x/devices.c
@@ -9,7 +9,7 @@
#include <common.h>
#include <init.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <asm/io.h>
#include <asm/memory.h>
diff --git a/arch/arm/mach-clps711x/lowlevel.c b/arch/arm/mach-clps711x/lowlevel.c
index ff23b05..35b8b35 100644
--- a/arch/arm/mach-clps711x/lowlevel.c
+++ b/arch/arm/mach-clps711x/lowlevel.c
@@ -9,7 +9,7 @@
#include <common.h>
#include <init.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <asm/io.h>
#include <asm/barebox-arm.h>
diff --git a/arch/arm/mach-ep93xx/lowlevel_init.S b/arch/arm/mach-ep93xx/lowlevel_init.S
index 56057a8..7079246 100644
--- a/arch/arm/mach-ep93xx/lowlevel_init.S
+++ b/arch/arm/mach-ep93xx/lowlevel_init.S
@@ -20,7 +20,7 @@
*
*/
-#include <sizes.h>
+#include <linux/sizes.h>
#include <mach/ep93xx-regs.h>
#include <asm/barebox-arm-head.h>
diff --git a/arch/arm/mach-highbank/devices.c b/arch/arm/mach-highbank/devices.c
index 6d75864..8f9b8e0 100644
--- a/arch/arm/mach-highbank/devices.c
+++ b/arch/arm/mach-highbank/devices.c
@@ -5,7 +5,7 @@
*/
#include <common.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <linux/amba/bus.h>
diff --git a/arch/arm/mach-imx/esdctl.c b/arch/arm/mach-imx/esdctl.c
index 433cfac..c6479a0 100644
--- a/arch/arm/mach-imx/esdctl.c
+++ b/arch/arm/mach-imx/esdctl.c
@@ -19,7 +19,7 @@
#include <common.h>
#include <io.h>
#include <errno.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <init.h>
#include <of.h>
#include <linux/err.h>
diff --git a/arch/arm/mach-imx/imx-bbu-external-nand.c b/arch/arm/mach-imx/imx-bbu-external-nand.c
index 401b324..0f1a028 100644
--- a/arch/arm/mach-imx/imx-bbu-external-nand.c
+++ b/arch/arm/mach-imx/imx-bbu-external-nand.c
@@ -24,7 +24,7 @@
#include <errno.h>
#include <fs.h>
#include <fcntl.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <linux/mtd/mtd-abi.h>
#include <linux/stat.h>
#include <ioctl.h>
diff --git a/arch/arm/mach-imx/imx-bbu-internal.c b/arch/arm/mach-imx/imx-bbu-internal.c
index 56369a0..ac90c53 100644
--- a/arch/arm/mach-imx/imx-bbu-internal.c
+++ b/arch/arm/mach-imx/imx-bbu-internal.c
@@ -25,7 +25,7 @@
#include <errno.h>
#include <fs.h>
#include <fcntl.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <linux/mtd/mtd-abi.h>
#include <linux/stat.h>
#include <ioctl.h>
diff --git a/arch/arm/mach-imx/imx25.c b/arch/arm/mach-imx/imx25.c
index 1f87787..e87d934 100644
--- a/arch/arm/mach-imx/imx25.c
+++ b/arch/arm/mach-imx/imx25.c
@@ -18,7 +18,7 @@
#include <io.h>
#include <mach/weim.h>
#include <mach/generic.h>
-#include <sizes.h>
+#include <linux/sizes.h>
void imx25_setup_weimcs(size_t cs, unsigned upper, unsigned lower,
unsigned additional)
diff --git a/arch/arm/mach-imx/imx27.c b/arch/arm/mach-imx/imx27.c
index d3eaa87..b99a4ea 100644
--- a/arch/arm/mach-imx/imx27.c
+++ b/arch/arm/mach-imx/imx27.c
@@ -15,7 +15,7 @@
#include <mach/imx27-regs.h>
#include <mach/weim.h>
#include <mach/iomux-v1.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <mach/revision.h>
#include <mach/generic.h>
#include <init.h>
diff --git a/arch/arm/mach-imx/imx31.c b/arch/arm/mach-imx/imx31.c
index 3013f02..137c77a 100644
--- a/arch/arm/mach-imx/imx31.c
+++ b/arch/arm/mach-imx/imx31.c
@@ -13,7 +13,7 @@
#include <common.h>
#include <init.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <io.h>
#include <mach/imx31-regs.h>
#include <mach/weim.h>
diff --git a/arch/arm/mach-imx/imx35.c b/arch/arm/mach-imx/imx35.c
index 40f5770..69d45eb 100644
--- a/arch/arm/mach-imx/imx35.c
+++ b/arch/arm/mach-imx/imx35.c
@@ -12,7 +12,7 @@
*/
#include <common.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <init.h>
#include <io.h>
#include <mach/weim.h>
diff --git a/arch/arm/mach-imx/imx5.c b/arch/arm/mach-imx/imx5.c
index 9ec78b2..96288f9 100644
--- a/arch/arm/mach-imx/imx5.c
+++ b/arch/arm/mach-imx/imx5.c
@@ -1,6 +1,6 @@
#include <common.h>
#include <io.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <mach/imx5.h>
#include <mach/clock-imx51_53.h>
diff --git a/arch/arm/mach-imx/imx51.c b/arch/arm/mach-imx/imx51.c
index cef302b..70e8971 100644
--- a/arch/arm/mach-imx/imx51.c
+++ b/arch/arm/mach-imx/imx51.c
@@ -13,7 +13,7 @@
#include <init.h>
#include <common.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <environment.h>
#include <io.h>
#include <mach/imx5.h>
diff --git a/arch/arm/mach-imx/imx53.c b/arch/arm/mach-imx/imx53.c
index 62e65e0..872d293 100644
--- a/arch/arm/mach-imx/imx53.c
+++ b/arch/arm/mach-imx/imx53.c
@@ -15,7 +15,7 @@
#include <common.h>
#include <io.h>
#include <notifier.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <mach/imx5.h>
#include <mach/imx53-regs.h>
#include <mach/revision.h>
diff --git a/arch/arm/mach-imx/imx6-bbu-nand.c b/arch/arm/mach-imx/imx6-bbu-nand.c
index 2d07059..1b46e51 100644
--- a/arch/arm/mach-imx/imx6-bbu-nand.c
+++ b/arch/arm/mach-imx/imx6-bbu-nand.c
@@ -25,7 +25,7 @@
#include <errno.h>
#include <fcntl.h>
#include <ioctl.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <bbu.h>
#include <fs.h>
#include <mach/bbu.h>
diff --git a/arch/arm/mach-imx/imx6.c b/arch/arm/mach-imx/imx6.c
index c5cae6e..73630e7 100644
--- a/arch/arm/mach-imx/imx6.c
+++ b/arch/arm/mach-imx/imx6.c
@@ -14,7 +14,7 @@
#include <init.h>
#include <common.h>
#include <io.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <mfd/imx6q-iomuxc-gpr.h>
#include <mach/imx6.h>
#include <mach/generic.h>
diff --git a/arch/arm/mach-imx/include/mach/devices-imx51.h b/arch/arm/mach-imx/include/mach/devices-imx51.h
index 6895329..cccd8f4 100644
--- a/arch/arm/mach-imx/include/mach/devices-imx51.h
+++ b/arch/arm/mach-imx/include/mach/devices-imx51.h
@@ -1,5 +1,5 @@
-#include <sizes.h>
+#include <linux/sizes.h>
#include <mach/devices.h>
#include <mach/imx51-regs.h>
diff --git a/arch/arm/mach-imx/include/mach/imx31-regs.h b/arch/arm/mach-imx/include/mach/imx31-regs.h
index 599f800..e491328 100644
--- a/arch/arm/mach-imx/include/mach/imx31-regs.h
+++ b/arch/arm/mach-imx/include/mach/imx31-regs.h
@@ -19,7 +19,7 @@
#ifndef __ASM_ARCH_MX31_REGS_H
#define __ASM_ARCH_MX31_REGS_H
-#include <sizes.h>
+#include <linux/sizes.h>
#define MX31_IRAM_BASE_ADDR 0x1fffc000
#define MX31_IRAM_SIZE 0x00004000
diff --git a/arch/arm/mach-imx/include/mach/imx35-regs.h b/arch/arm/mach-imx/include/mach/imx35-regs.h
index b30037c..52e209b 100644
--- a/arch/arm/mach-imx/include/mach/imx35-regs.h
+++ b/arch/arm/mach-imx/include/mach/imx35-regs.h
@@ -19,7 +19,7 @@
#ifndef __ASM_ARCH_MX35_REGS_H
#define __ASM_ARCH_MX35_REGS_H
-#include <sizes.h>
+#include <linux/sizes.h>
#define MX35_IRAM_BASE_ADDR 0x10000000 /* internal ram */
#define MX35_IRAM_SIZE SZ_128K
diff --git a/arch/arm/mach-mvebu/lowlevel.c b/arch/arm/mach-mvebu/lowlevel.c
index 7c4facf..8d0ac84 100644
--- a/arch/arm/mach-mvebu/lowlevel.c
+++ b/arch/arm/mach-mvebu/lowlevel.c
@@ -17,7 +17,7 @@
#include <common.h>
#include <io.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <asm/barebox-arm.h>
#include <asm/barebox-arm-head.h>
#include <mach/common.h>
diff --git a/arch/arm/mach-mxs/bcb.c b/arch/arm/mach-mxs/bcb.c
index c945726..fce607f 100644
--- a/arch/arm/mach-mxs/bcb.c
+++ b/arch/arm/mach-mxs/bcb.c
@@ -15,7 +15,7 @@
#include <environment.h>
#include <malloc.h>
#include <nand.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <errno.h>
#include <io.h>
diff --git a/arch/arm/mach-mxs/include/mach/devices.h b/arch/arm/mach-mxs/include/mach/devices.h
index 012bfc4..5680d61 100644
--- a/arch/arm/mach-mxs/include/mach/devices.h
+++ b/arch/arm/mach-mxs/include/mach/devices.h
@@ -2,7 +2,7 @@
#define __MACH_MXS_DEVICES_H
#include <common.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <xfuncs.h>
#include <driver.h>
#include <mach/imx-regs.h>
diff --git a/arch/arm/mach-omap/am33xx_scrm.c b/arch/arm/mach-omap/am33xx_scrm.c
index 67529f8..bb0babe 100644
--- a/arch/arm/mach-omap/am33xx_scrm.c
+++ b/arch/arm/mach-omap/am33xx_scrm.c
@@ -15,7 +15,7 @@
#include <common.h>
#include <io.h>
#include <errno.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <init.h>
#include <of.h>
#include <asm/barebox-arm.h>
diff --git a/arch/arm/mach-omap/include/mach/am33xx-devices.h b/arch/arm/mach-omap/include/mach/am33xx-devices.h
index d2411a4..4790071 100644
--- a/arch/arm/mach-omap/include/mach/am33xx-devices.h
+++ b/arch/arm/mach-omap/include/mach/am33xx-devices.h
@@ -2,7 +2,7 @@
#define __MACH_OMAP3_DEVICES_H
#include <driver.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <mach/am33xx-silicon.h>
#include <mach/devices.h>
#include <mach/omap_hsmmc.h>
diff --git a/arch/arm/mach-omap/include/mach/am33xx-silicon.h b/arch/arm/mach-omap/include/mach/am33xx-silicon.h
index a44973e..4e63b43 100644
--- a/arch/arm/mach-omap/include/mach/am33xx-silicon.h
+++ b/arch/arm/mach-omap/include/mach/am33xx-silicon.h
@@ -17,7 +17,7 @@
#ifndef __ASM_ARCH_AM33XX_H
#define __ASM_ARCH_AM33XX_H
-#include <sizes.h>
+#include <linux/sizes.h>
/** AM335x Internal Bus Base addresses */
#define AM33XX_L4_WKUP_BASE 0x44C00000
diff --git a/arch/arm/mach-omap/include/mach/omap3-devices.h b/arch/arm/mach-omap/include/mach/omap3-devices.h
index 0809e95..8c62c99 100644
--- a/arch/arm/mach-omap/include/mach/omap3-devices.h
+++ b/arch/arm/mach-omap/include/mach/omap3-devices.h
@@ -2,7 +2,7 @@
#define __MACH_OMAP3_DEVICES_H
#include <driver.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <mach/omap3-silicon.h>
#include <mach/devices.h>
#include <mach/mcspi.h>
diff --git a/arch/arm/mach-omap/include/mach/omap3-generic.h b/arch/arm/mach-omap/include/mach/omap3-generic.h
index 92bf7ca..7db0838 100644
--- a/arch/arm/mach-omap/include/mach/omap3-generic.h
+++ b/arch/arm/mach-omap/include/mach/omap3-generic.h
@@ -1,7 +1,7 @@
#ifndef __MACH_OMAP3_GENERIC_H
#define __MACH_OMAP3_GENERIC_H
-#include <sizes.h>
+#include <linux/sizes.h>
#include <linux/string.h>
#include <mach/generic.h>
#include <mach/omap3-silicon.h>
diff --git a/arch/arm/mach-omap/include/mach/omap4-devices.h b/arch/arm/mach-omap/include/mach/omap4-devices.h
index 76c9789..7ac940b 100644
--- a/arch/arm/mach-omap/include/mach/omap4-devices.h
+++ b/arch/arm/mach-omap/include/mach/omap4-devices.h
@@ -2,7 +2,7 @@
#define __MACH_OMAP4_DEVICES_H
#include <driver.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <mach/devices.h>
#include <mach/omap4-silicon.h>
#include <mach/mcspi.h>
diff --git a/arch/arm/mach-omap/xload.c b/arch/arm/mach-omap/xload.c
index 8d9d84c..7c8c350 100644
--- a/arch/arm/mach-omap/xload.c
+++ b/arch/arm/mach-omap/xload.c
@@ -8,7 +8,7 @@
#include <libfile.h>
#include <fs.h>
#include <fcntl.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <malloc.h>
#include <filetype.h>
#include <xymodem.h>
diff --git a/arch/arm/mach-samsung/lowlevel-s3c24x0.S b/arch/arm/mach-samsung/lowlevel-s3c24x0.S
index 52079ff..626ad04 100644
--- a/arch/arm/mach-samsung/lowlevel-s3c24x0.S
+++ b/arch/arm/mach-samsung/lowlevel-s3c24x0.S
@@ -15,7 +15,7 @@
*/
#include <config.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <mach/s3c-iomap.h>
.section ".text_bare_init.s3c24x0_disable_wd","ax"
diff --git a/arch/arm/mach-samsung/mem-s3c24x0.c b/arch/arm/mach-samsung/mem-s3c24x0.c
index db61c63..bf65150 100644
--- a/arch/arm/mach-samsung/mem-s3c24x0.c
+++ b/arch/arm/mach-samsung/mem-s3c24x0.c
@@ -23,7 +23,7 @@
#include <init.h>
#include <clock.h>
#include <io.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <mach/s3c-iomap.h>
#include <mach/s3c-generic.h>
#include <mach/s3c-busctl.h>
diff --git a/arch/arm/mach-socfpga/xload.c b/arch/arm/mach-socfpga/xload.c
index 6586ada..3380092 100644
--- a/arch/arm/mach-socfpga/xload.c
+++ b/arch/arm/mach-socfpga/xload.c
@@ -6,7 +6,7 @@
#include <malloc.h>
#include <init.h>
#include <envfs.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <fs.h>
#include <io.h>
diff --git a/arch/arm/mach-tegra/include/mach/iomap.h b/arch/arm/mach-tegra/include/mach/iomap.h
index cdaab6a..bbe6ae6 100644
--- a/arch/arm/mach-tegra/include/mach/iomap.h
+++ b/arch/arm/mach-tegra/include/mach/iomap.h
@@ -21,7 +21,7 @@
#ifndef __MACH_TEGRA_IOMAP_H
#define __MACH_TEGRA_IOMAP_H
-#include <sizes.h>
+#include <linux/sizes.h>
#define TEGRA_IRAM_BASE 0x40000000
#define TEGRA_IRAM_SIZE SZ_256K
diff --git a/arch/arm/mach-tegra/include/mach/lowlevel.h b/arch/arm/mach-tegra/include/mach/lowlevel.h
index 3e7e41b..f1fea86 100644
--- a/arch/arm/mach-tegra/include/mach/lowlevel.h
+++ b/arch/arm/mach-tegra/include/mach/lowlevel.h
@@ -25,7 +25,7 @@
#define __TEGRA_LOWLEVEL_H
#include <linux/compiler.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <io.h>
#include <mach/iomap.h>
diff --git a/arch/arm/mach-tegra/tegra_maincomplex_init.c b/arch/arm/mach-tegra/tegra_maincomplex_init.c
index 4a362dd..6c6bdf6 100644
--- a/arch/arm/mach-tegra/tegra_maincomplex_init.c
+++ b/arch/arm/mach-tegra/tegra_maincomplex_init.c
@@ -15,7 +15,7 @@
*/
#include <common.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <asm/barebox-arm-head.h>
#include <asm/barebox-arm.h>
#include <asm/errata.h>
diff --git a/arch/arm/mach-versatile/core.c b/arch/arm/mach-versatile/core.c
index 84a85a4..253e408 100644
--- a/arch/arm/mach-versatile/core.c
+++ b/arch/arm/mach-versatile/core.c
@@ -26,7 +26,7 @@
#include <init.h>
#include <clock.h>
#include <debug_ll.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <linux/clkdev.h>
#include <linux/clk.h>
diff --git a/arch/efi/efi/efi-device.c b/arch/efi/efi/efi-device.c
index 1c9553d..788bb71 100644
--- a/arch/efi/efi/efi-device.c
+++ b/arch/efi/efi/efi-device.c
@@ -23,7 +23,7 @@
#include <malloc.h>
#include <memory.h>
#include <string.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <wchar.h>
#include <init.h>
#include <efi.h>
diff --git a/arch/efi/efi/efi-image.c b/arch/efi/efi/efi-image.c
index d9edd91..f7bda8d 100644
--- a/arch/efi/efi/efi-image.c
+++ b/arch/efi/efi/efi-image.c
@@ -18,7 +18,7 @@
*/
#include <common.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <memory.h>
#include <command.h>
#include <magicvar.h>
diff --git a/arch/efi/efi/efi.c b/arch/efi/efi/efi.c
index c1efe1d..d351775 100644
--- a/arch/efi/efi/efi.c
+++ b/arch/efi/efi/efi.c
@@ -18,7 +18,7 @@
*/
#include <common.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <memory.h>
#include <clock.h>
#include <command.h>
diff --git a/arch/mips/boards/netgear-wg102/ram.c b/arch/mips/boards/netgear-wg102/ram.c
index e26dc7c..4cde573 100644
--- a/arch/mips/boards/netgear-wg102/ram.c
+++ b/arch/mips/boards/netgear-wg102/ram.c
@@ -1,6 +1,6 @@
#include <common.h>
#include <init.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <asm/memory.h>
static int mem_init(void)
diff --git a/arch/mips/boards/qemu-malta/init.c b/arch/mips/boards/qemu-malta/init.c
index 9d90f28..24bfdc0 100644
--- a/arch/mips/boards/qemu-malta/init.c
+++ b/arch/mips/boards/qemu-malta/init.c
@@ -18,7 +18,7 @@
#include <common.h>
#include <init.h>
-#include <sizes.h>
+#include <linux/sizes.h>
static int malta_core_init(void)
{
diff --git a/arch/mips/boot/main_entry-pbl.c b/arch/mips/boot/main_entry-pbl.c
index 3a244a0..e408d29 100644
--- a/arch/mips/boot/main_entry-pbl.c
+++ b/arch/mips/boot/main_entry-pbl.c
@@ -19,7 +19,7 @@
#include <common.h>
#include <pbl.h>
#include <init.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <string.h>
#include <asm/sections.h>
#include <asm-generic/memory_layout.h>
diff --git a/arch/ppc/boards/pcm030/pcm030.c b/arch/ppc/boards/pcm030/pcm030.c
index 0762bd4..a7fa21d 100644
--- a/arch/ppc/boards/pcm030/pcm030.c
+++ b/arch/ppc/boards/pcm030/pcm030.c
@@ -30,7 +30,7 @@
#include <types.h>
#include <partition.h>
#include <memory.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <linux/stat.h>
#include <fs.h>
diff --git a/common/memtest.c b/common/memtest.c
index 541d008..25a97d8 100644
--- a/common/memtest.c
+++ b/common/memtest.c
@@ -24,7 +24,7 @@
#include <common.h>
#include <memory.h>
#include <types.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <errno.h>
#include <memtest.h>
diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c
index 645e9b5..346ab98 100644
--- a/drivers/ata/ahci.c
+++ b/drivers/ata/ahci.c
@@ -32,7 +32,7 @@
#include <disks.h>
#include <asm/mmu.h>
#include <ata_drive.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <clock.h>
#include "ahci.h"
diff --git a/drivers/bus/omap-gpmc.c b/drivers/bus/omap-gpmc.c
index 6cc3269..6752c42 100644
--- a/drivers/bus/omap-gpmc.c
+++ b/drivers/bus/omap-gpmc.c
@@ -11,7 +11,7 @@
#include <driver.h>
#include <malloc.h>
#include <init.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <io.h>
#include <of.h>
#include <of_address.h>
diff --git a/drivers/mtd/nand/nand_ids.c b/drivers/mtd/nand/nand_ids.c
index 52b0da5..dc0f8c6 100644
--- a/drivers/mtd/nand/nand_ids.c
+++ b/drivers/mtd/nand/nand_ids.c
@@ -9,7 +9,7 @@
*
*/
#include <common.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <linux/mtd/nand.h>
#ifdef CONFIG_NAND_INFO
diff --git a/drivers/net/mvneta.c b/drivers/net/mvneta.c
index 7734cf8..8042e90 100644
--- a/drivers/net/mvneta.c
+++ b/drivers/net/mvneta.c
@@ -28,7 +28,7 @@
#include <io.h>
#include <net.h>
#include <of_net.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <asm/mmu.h>
#include <linux/clk.h>
#include <linux/err.h>
diff --git a/drivers/net/orion-gbe.c b/drivers/net/orion-gbe.c
index ab761ad..3fbc1df 100644
--- a/drivers/net/orion-gbe.c
+++ b/drivers/net/orion-gbe.c
@@ -31,7 +31,7 @@
#include <io.h>
#include <net.h>
#include <of_net.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <asm/mmu.h>
#include <linux/clk.h>
#include <linux/err.h>
diff --git a/drivers/of/base.c b/drivers/of/base.c
index e9f0883..af10fd1 100644
--- a/drivers/of/base.c
+++ b/drivers/of/base.c
@@ -24,7 +24,7 @@
#include <malloc.h>
#include <init.h>
#include <memory.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <linux/ctype.h>
#include <linux/amba/bus.h>
#include <linux/err.h>
diff --git a/drivers/of/fdt.c b/drivers/of/fdt.c
index d84b203..dfa95c3 100644
--- a/drivers/of/fdt.c
+++ b/drivers/of/fdt.c
@@ -23,7 +23,7 @@
#include <malloc.h>
#include <init.h>
#include <memory.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <linux/ctype.h>
#include <linux/err.h>
diff --git a/drivers/pci/pci-mvebu.c b/drivers/pci/pci-mvebu.c
index a314a68..5e2b87a 100644
--- a/drivers/pci/pci-mvebu.c
+++ b/drivers/pci/pci-mvebu.c
@@ -20,7 +20,7 @@
#include <of_address.h>
#include <of_gpio.h>
#include <of_pci.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include "pci-mvebu.h"
diff --git a/drivers/pci/pci-tegra.c b/drivers/pci/pci-tegra.c
index 1ff3c0d..1e7907e 100644
--- a/drivers/pci/pci-tegra.c
+++ b/drivers/pci/pci-tegra.c
@@ -32,7 +32,7 @@
#include <linux/pci.h>
#include <linux/phy/phy.h>
#include <linux/reset.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <mach/tegra-powergate.h>
#include <regulator.h>
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c
index 7f8ebcf..5b848ee 100644
--- a/drivers/pci/pci.c
+++ b/drivers/pci/pci.c
@@ -1,5 +1,5 @@
#include <common.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <linux/pci.h>
#ifdef DEBUG
diff --git a/drivers/pinctrl/mvebu/armada-370.c b/drivers/pinctrl/mvebu/armada-370.c
index 4778358..bcfe40e 100644
--- a/drivers/pinctrl/mvebu/armada-370.c
+++ b/drivers/pinctrl/mvebu/armada-370.c
@@ -17,7 +17,7 @@
#include <malloc.h>
#include <of.h>
#include <of_address.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include "common.h"
diff --git a/drivers/pinctrl/mvebu/armada-xp.c b/drivers/pinctrl/mvebu/armada-xp.c
index 8c71867..1745776 100644
--- a/drivers/pinctrl/mvebu/armada-xp.c
+++ b/drivers/pinctrl/mvebu/armada-xp.c
@@ -26,7 +26,7 @@
#include <malloc.h>
#include <of.h>
#include <of_address.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include "common.h"
diff --git a/drivers/pinctrl/mvebu/dove.c b/drivers/pinctrl/mvebu/dove.c
index bd0a632..a2133a0 100644
--- a/drivers/pinctrl/mvebu/dove.c
+++ b/drivers/pinctrl/mvebu/dove.c
@@ -15,7 +15,7 @@
#include <malloc.h>
#include <of.h>
#include <of_address.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include "common.h"
diff --git a/fs/nfs.c b/fs/nfs.c
index 046cd4d..f1abd0b 100644
--- a/fs/nfs.c
+++ b/fs/nfs.c
@@ -33,7 +33,7 @@
#include <linux/stat.h>
#include <linux/err.h>
#include <kfifo.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <byteorder.h>
#include "parseopt.h"
diff --git a/fs/tftp.c b/fs/tftp.c
index b1a213e..3643619 100644
--- a/fs/tftp.c
+++ b/fs/tftp.c
@@ -31,7 +31,7 @@
#include <linux/stat.h>
#include <linux/err.h>
#include <kfifo.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#define TFTP_PORT 69 /* Well known TFTP port number */
diff --git a/include/linux/amba/sp804.h b/include/linux/amba/sp804.h
index aba550c..8ec58f6 100644
--- a/include/linux/amba/sp804.h
+++ b/include/linux/amba/sp804.h
@@ -8,7 +8,7 @@
#define __AMBA_SP804_H__
#include <linux/amba/bus.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#define AMBA_ARM_SP804_ID 0x00141804
#define AMBA_ARM_SP804_ID_MASK 0x00ffffff
diff --git a/include/sizes.h b/include/linux/sizes.h
similarity index 100%
rename from include/sizes.h
rename to include/linux/sizes.h
diff --git a/lib/bootstrap/devfs.c b/lib/bootstrap/devfs.c
index 25d07c7..704680a 100644
--- a/lib/bootstrap/devfs.c
+++ b/lib/bootstrap/devfs.c
@@ -12,7 +12,7 @@
#include <linux/mtd/mtd.h>
#include <fcntl.h>
#include <filetype.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <errno.h>
#include <malloc.h>
#include <bootstrap.h>
diff --git a/lib/bootstrap/disk.c b/lib/bootstrap/disk.c
index 1e9fbd8..ebf9ee5 100644
--- a/lib/bootstrap/disk.c
+++ b/lib/bootstrap/disk.c
@@ -8,7 +8,7 @@
#include <common.h>
#include <fs.h>
#include <fcntl.h>
-#include <sizes.h>
+#include <linux/sizes.h>
#include <errno.h>
#include <malloc.h>
#include <libfile.h>
--
1.9.1
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 2/2] sizes.h: sync with Linux 3.19-rc3
2015-01-08 7:02 [PATCH 1/2] sizes.h: move include/sizes.h to include/linux/sizes.h Masahiro Yamada
@ 2015-01-08 7:02 ` Masahiro Yamada
2015-01-08 13:40 ` [PATCH 1/2] sizes.h: move include/sizes.h to include/linux/sizes.h Sascha Hauer
1 sibling, 0 replies; 3+ messages in thread
From: Masahiro Yamada @ 2015-01-08 7:02 UTC (permalink / raw)
To: barebox
Looks like I am also highly addicted to Linux...
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
---
include/linux/sizes.h | 23 +++++++----------------
1 file changed, 7 insertions(+), 16 deletions(-)
diff --git a/include/linux/sizes.h b/include/linux/sizes.h
index 6f91e9b..ce3e815 100644
--- a/include/linux/sizes.h
+++ b/include/linux/sizes.h
@@ -1,22 +1,13 @@
/*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
+ * include/linux/sizes.h
*
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- */
-/* Size defintions
- * Copyright (C) ARM Limited 1998. All rights reserved.
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
*/
+#ifndef __LINUX_SIZES_H__
+#define __LINUX_SIZES_H__
-#ifndef __sizes_h
-#define __sizes_h 1
-
-/* handy sizes */
#define SZ_1 0x00000001
#define SZ_2 0x00000002
#define SZ_4 0x00000004
@@ -53,4 +44,4 @@
#define SZ_1G 0x40000000
#define SZ_2G 0x80000000
-#endif /* __sizes_h */
+#endif /* __LINUX_SIZES_H__ */
--
1.9.1
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 1/2] sizes.h: move include/sizes.h to include/linux/sizes.h
2015-01-08 7:02 [PATCH 1/2] sizes.h: move include/sizes.h to include/linux/sizes.h Masahiro Yamada
2015-01-08 7:02 ` [PATCH 2/2] sizes.h: sync with Linux 3.19-rc3 Masahiro Yamada
@ 2015-01-08 13:40 ` Sascha Hauer
1 sibling, 0 replies; 3+ messages in thread
From: Sascha Hauer @ 2015-01-08 13:40 UTC (permalink / raw)
To: Masahiro Yamada; +Cc: barebox
On Thu, Jan 08, 2015 at 04:02:20PM +0900, Masahiro Yamada wrote:
> This file originates in Linux. Linux has it under include/linux/
> directory since commit dccd2304cc90.
> Let's move it to the same place as well in barebox.
>
> This commit was generated by the following commands:
>
> find -name '*.[chS]' | xargs sed -i -e 's:<sizes.h>:<linux/sizes.h>:'
> git mv include/sizes.h include/linux/
>
> Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Applied, thanks
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-01-08 13:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-08 7:02 [PATCH 1/2] sizes.h: move include/sizes.h to include/linux/sizes.h Masahiro Yamada
2015-01-08 7:02 ` [PATCH 2/2] sizes.h: sync with Linux 3.19-rc3 Masahiro Yamada
2015-01-08 13:40 ` [PATCH 1/2] sizes.h: move include/sizes.h to include/linux/sizes.h Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox