Content-Length: 259999 | pFad | http://github.com/postgrespro/postgres_cluster/commit/0ac8c8df85951a6c4815f5e8e0491b6bba4534b7

94 Don't include <asm/ia64regs.h> unnecessarily. · postgrespro/postgres_cluster@0ac8c8d · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/0ac8c8df85951a6c4815f5e8e0491b6bba4534b7

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy