![Vineet Gupta](/assets/img/avatar_default.png)
1. ./genfilelist.pl arch/arc/include/asm/ 2. Create arch/arc/include/uapi/asm/Kbuild as follows +# UAPI Header export list +include include/uapi/asm-generic/Kbuild.asm 3. ./disintegrate-one.pl arch/arc/include/{,uapi/}asm/<above-list> 4. Edit arch/arc/include/asm/Kbuild to remove ref to asm-generic/Kbuild.asm - To work around empty uapi/asm/setup.h added a placholder comment. - Also a manual #ifdef __ASSEMBLY__ for a late ptrace change Signed-off-by: Vineet Gupta <vgupta@synopsys.com> Cc: David Howells <dhowells@redhat.com>
7 lines
242 B
C
7 lines
242 B
C
/*
|
|
* setup.h is part of userspace header ABI so UAPI scripts have to generate it
|
|
* even if there's nothing to export - causing empty <uapi/asm/setup.h>
|
|
* However to prevent "patch" from discarding it we add this placeholder
|
|
* comment
|
|
*/
|