Skip to content

Commit 67dbe72

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 7f2d754 commit 67dbe72

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/backend/tcop/postgres.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2995,7 +2995,9 @@ ProcessInterrupts(void)
29952995
*/
29962996
#if defined(__ia64__) || defined(__ia64)
29972997

2998+
#ifdef __INTEL_COMPILER
29982999
#include <asm/ia64regs.h>
3000+
#endif
29993001

30003002
static __inline__ char *
30013003
ia64_get_bsp(void)

0 commit comments

Comments
 (0)