ARM: remove unnecessary architecture-specific <asm/asm-offsets.h>
PATCH 1/1 ARM: remove unnecessary architecture-specific <asm/asm-offsets.h>
arch/arm/include/asm/asm-offsets.h is identical to include/asm-generic/asm-offsets.h, and therefore the ARM-specific version is unnecessary. Remove it.
--- arch/arm/include/asm/asm-offsets.h | 1 - 1 file changed, 1 deletion(-) delete mode 100644 arch/arm/include/asm/asm-offsets.h
arch/arm/include/asm/asm-offsets.h deleted +0 -1
@@ -1 +0,0 @@ -#include <generated/asm-offsets.h>
Signature · 1 line
2.43.0
Quoted 4 lines · Ethan Nelson-Moore
arch/arm/include/asm/asm-offsets.his identical toinclude/asm-generic/asm-offsets.h, and therefore the ARM-specific version is unnecessary. Remove it.
Please ignore this patch - I did not compile test it (because it seemed so trivial... lesson learned!) and I didn't realize asm-offsets.h was required to exist in each architecture.
Sorry for the noise!
Ethan
kernel test robot
build botkernel test robot noticed the following build errors:
Hi Ethan,
kernel test robot noticed the following build errors:
[auto build test ERROR on arm/for-next]
[also build test ERROR on arm/fixes arm64/for-next/core clk/clk-next kvmarm/next rockchip/for-next soc/for-next linus/master shawnguo/for-next v7.1-rc3 next-20260508] [If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Ethan-Nelson-Moore/ARM-remove-unnecessary-architecture-specific-asm-asm-offsets-h/20260517-110530 base: git://git.armlinux.org.uk/~rmk/linux-arm.git for-next patch link: https://lore.kernel.org/r/20260517030408.100043-1-enelsonmoore%40gmail.com patch subject: [PATCH] ARM: remove unnecessary architecture-specific <asm/asm-offsets.h> config: arm-allnoconfig (https://download.01.org/0day-ci/archive/20260517/[email protected]/config) compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project 5bac06718f502014fade905512f1d26d578a18f3) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260517/[email protected]/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
All errors (new ones prefixed by >>):
In file included from arch/arm/lib/ashldi3.S:30:
>> arch/arm/include/asm/assembler.h:22:10: fatal error: 'asm/asm-offsets.h' file not found
22 | #include <asm/asm-offsets.h>
| ^~~~~~~~~~~~~~~~~~~1 error generated.
vim +22 arch/arm/include/asm/assembler.h
^1da177e4c3f41 include/asm-arm/assembler.h Linus Torvalds 2005-04-16 19 ^1da177e4c3f41 include/asm-arm/assembler.h Linus Torvalds 2005-04-16 20 #include <asm/ptrace.h> 80c59dafb1a9a8 arch/arm/include/asm/assembler.h Dave Martin 2012-02-09 21 #include <asm/opcodes-virt.h> 0b1f68e836bcf1 arch/arm/include/asm/assembler.h Catalin Marinas 2014-04-02 @22 #include <asm/asm-offsets.h> 9a2b51b6ca93fc arch/arm/include/asm/assembler.h Andrey Ryabinin 2014-06-18 23 #include <asm/page.h> 7af5b901e84743 arch/arm/include/asm/assembler.h Linus Walleij 2024-03-25 24 #include <asm/pgtable.h> 9a2b51b6ca93fc arch/arm/include/asm/assembler.h Andrey Ryabinin 2014-06-18 25 #include <asm/thread_info.h> 747ffc2fcf969e arch/arm/include/asm/assembler.h Russell King 2020-05-03 26 #include <asm/uaccess-asm.h>
^1da177e4c3f41 include/asm-arm/assembler.h Linus Torvalds 2005-04-16 27
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
kernel test robot
build botkernel test robot noticed the following build errors:
Hi Ethan,
kernel test robot noticed the following build errors:
[auto build test ERROR on arm/for-next]
[also build test ERROR on arm/fixes arm64/for-next/core clk/clk-next kvmarm/next rockchip/for-next soc/for-next linus/master nferre-at91/at91-next shawnguo/for-next v7.1-rc3 next-20260508] [If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Ethan-Nelson-Moore/ARM-remove-unnecessary-architecture-specific-asm-asm-offsets-h/20260517-110530 base: git://git.armlinux.org.uk/~rmk/linux-arm.git for-next patch link: https://lore.kernel.org/r/20260517030408.100043-1-enelsonmoore%40gmail.com patch subject: [PATCH] ARM: remove unnecessary architecture-specific <asm/asm-offsets.h> config: arm-ixp4xx_defconfig (https://download.01.org/0day-ci/archive/20260517/[email protected]/config) compiler: arm-linux-gnueabi-gcc (GCC) 15.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260517/[email protected]/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
All errors (new ones prefixed by >>):
In file included from arch/arm/lib/ashldi3.S:30:
>> arch/arm/include/asm/assembler.h:22:10: fatal error: asm/asm-offsets.h: No such file or directory
22 | #include <asm/asm-offsets.h>
| ^~~~~~~~~~~~~~~~~~~
compilation terminated.
--
>> arch/arm/kernel/sleep.S:4:10: fatal error: asm/asm-offsets.h: No such file or directory 4 | #include <asm/asm-offsets.h>
| ^~~~~~~~~~~~~~~~~~~
compilation terminated.
vim +22 arch/arm/include/asm/assembler.h
^1da177e4c3f41 include/asm-arm/assembler.h Linus Torvalds 2005-04-16 19 ^1da177e4c3f41 include/asm-arm/assembler.h Linus Torvalds 2005-04-16 20 #include <asm/ptrace.h> 80c59dafb1a9a8 arch/arm/include/asm/assembler.h Dave Martin 2012-02-09 21 #include <asm/opcodes-virt.h> 0b1f68e836bcf1 arch/arm/include/asm/assembler.h Catalin Marinas 2014-04-02 @22 #include <asm/asm-offsets.h> 9a2b51b6ca93fc arch/arm/include/asm/assembler.h Andrey Ryabinin 2014-06-18 23 #include <asm/page.h> 7af5b901e84743 arch/arm/include/asm/assembler.h Linus Walleij 2024-03-25 24 #include <asm/pgtable.h> 9a2b51b6ca93fc arch/arm/include/asm/assembler.h Andrey Ryabinin 2014-06-18 25 #include <asm/thread_info.h> 747ffc2fcf969e arch/arm/include/asm/assembler.h Russell King 2020-05-03 26 #include <asm/uaccess-asm.h>
^1da177e4c3f41 include/asm-arm/assembler.h Linus Torvalds 2005-04-16 27
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki