ARM: S3C24XX: Fix build error for missing <mach/system-reset.h>
Subsystems (3)
PATCH 1/1 ARM: S3C24XX: Fix build error for missing <mach/system-reset.h>
Since the arch/arm/mach-s3c2410/include/mach/system-reset.h has been removed by commit f88b8979 ("ARM: restart: remove the now empty arch_reset()"), so the inclusion of <mach/system-reset.h> should be removed at the plat-s3c24xx/cpu.c file.
The build error happens like following:
arch/arm/plat-s3c24xx/cpu.c:41: fatal error: mach/system-reset.h: No such file or directory
---
Russell,
I think, you missed removing this in your patch. If you have patches to send to Linus for this merge window, could you please send this together? Or...?
arch/arm/plat-s3c24xx/cpu.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)
arch/arm/plat-s3c24xx/cpu.c +0 -2
@@ -38,8 +38,6 @@#include <asm/mach/arch.h> #include <asm/mach/map.h> -#include <mach/system-reset.h> -#include <mach/regs-gpio.h> #include <plat/regs-serial.h>
Signature · 1 line
1.7.1
PATCH 1/1 ARM: S3C24XX: Fix build error for missing <mach/system-reset.h>
Quoted 5 lines · Kukjin Kim
Since the
arch/arm/mach-s3c2410/include/mach/system-reset.hhas been removed by commitf88b8979("ARM: restart: remove the now emptyarch_reset()"), so the inclusion of <mach/system-reset.h> should be removed at theplat-s3c24xx/cpu.cfile.
Quoted 8 lines
The build error happens like following:
arch/arm/plat-s3c24xx/cpu.c:41: fatal error:mach/system-reset.h: No such file or directorySigned-off-by Kukjin Kim <[email protected]>---
Russell,I think, you missed removing this in your patch.
This rather proves the point that the way Samsung stuff is organized is just too complicated to be properly understood. Yes, it's getting better as a result of some of the points I raised, but I feel its still too opaque for anyone except those who know it intimiately to get to grips with it properly, and follow how the code is organized through all those plat-* and mach-* directories.
Quoted 2 lines
If you have patches to send to Linus for this merge window, could you please send this together? Or...?
Please put it in the patch system and I'll queue it up. Thanks.
PATCH 1/1 ARM: S3C24XX: Fix build error for missing <mach/system-reset.h>
Quoted 11 lines · Russell King - ARM Linux
Quoted 7 lines · Kukjin Kim
Since the
arch/arm/mach-s3c2410/include/mach/system-reset.hhas been removed by commitf88b8979("ARM: restart: remove the now emptyarch_reset()"), so the inclusion of <mach/system-reset.h> should be removed at theplat-s3c24xx/cpu.cfile.The build error happens like following:
arch/arm/plat-s3c24xx/cpu.c:41: fatal error:mach/system-reset.h: Nosuch file or directory
Quoted 1 line
Quoted 8 lines
Quoted 5 lines
Signed-off-by Kukjin Kim <[email protected]>---
Russell,I think, you missed removing this in your patch.
This rather proves the point that the way Samsung stuff is organized is just too complicated to be properly understood. Yes, it's getting better
Yes, I agree ;) and in my opinion, it was hard to merge samsung stuff for this merge window because some changes are in arm tree and some in arm-soc tree. In addition, driver-core tree. Anyway, I had to do earlier both :)
Quoted 9 lines
as a result of some of the points I raised, but I feel its still too opaque for anyone except those who know it intimiately to get to grips with it properly, and follow how the code is organized through all those plat-* and mach-* directories.
Quoted 2 lines
If you have patches to send to Linus for this merge window, could you please send this together? Or...?
Please put it in the patch system and I'll queue it up. Thanks.
OK, I did just now.
Thanks.
Best regards,
Kgene.
--
Kukjin Kim <[email protected]>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.