Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 0ac8c8d

Browse files
committed
Don't include <asm/ia64regs.h> unnecessarily.
We only need that header when compiling with icc, since the gcc variant of ia64_get_bsp() uses in-line assembly code. Per report from Frank Brendel, the header doesn't exist on all IA64 platforms; so don't include it unless we need it.
1 parent 29d4421 commit 0ac8c8d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/backend/tcop/postgres.c

+2
Original file line numberDiff line numberDiff line change
@@ -3003,7 +3003,9 @@ ProcessInterrupts(void)
30033003
*/
30043004
#if defined(__ia64__) || defined(__ia64)
30053005

3006+
#ifdef __INTEL_COMPILER
30063007
#include <asm/ia64regs.h>
3008+
#endif
30073009

30083010
static __inline__ char *
30093011
ia64_get_bsp(void)

0 commit comments

Comments
 (0)