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

Lines changed: 2 additions & 0 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy