common: asm/desc.h is an x86-only header
PATCH 1/1 common: asm/desc.h is an x86-only header
From briefly going over 9062553a0dc1 it looks like the #include in what was ac_timer.c was added there for no reason. It's unneeded now in any event, and it is the sole reason for Arm to have that dummy header. Purge that, thus avoiding PPC to also gain one.
xen/arch/arm/include/asm/desc.h deleted +0 -12
@@ -1,12 +0,0 @@ -#ifndef __ARCH_DESC_H -#define __ARCH_DESC_H - -#endif /* __ARCH_DESC_H */ -/* -* Local variables: -* mode: C -* c-file-style: "BSD" -* c-basic-offset: 4 -* indent-tabs-mode: nil -* End: -*/
xen/common/timer.c +0 -1
@@ -22,7 +22,6 @@#include <xen/rcupdate.h> #include <xen/symbols.h> #include <asm/system.h> -#include <asm/desc.h> #include <asm/atomic.h> /* We program the time hardware this far behind the closest deadline. */
Quoted 4 lines · Jan Beulich
From briefly going over
9062553a0dc1it looks like the #include in what wasac_timer.cwas added there for no reason. It's unneeded now in any event, and it is the sole reason for Arm to have that dummy header. Purge that, thus avoiding PPC to also gain one.
And RISC-V too.
Quoted 1 line
Signed-off-by Jan Beulich <[email protected]>
I'd noticed this too, and was wondering why it had escaped into common code. Good riddance.
Hi Jan,
Quoted 6 lines · Jan Beulich
From briefly going over
9062553a0dc1it looks like the #include in what
wasac_timer.cwas added there for no reason. It's unneeded now in any event, and it is the sole reason for Arm to have that dummy header. Purge that, thus avoiding PPC to also gain one.Signed-off-by Jan Beulich <[email protected]>
Cheers,
Signature · 1 line
Julien Grall