mirror of
https://github.com/postgres/postgres.git
synced 2025-04-27 22:56:53 +03:00
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.
This commit is contained in:
parent
d5a0bb5acc
commit
948a64d2b9
@ -2551,7 +2551,9 @@ ProcessInterrupts(void)
|
|||||||
*/
|
*/
|
||||||
#if defined(__ia64__) || defined(__ia64)
|
#if defined(__ia64__) || defined(__ia64)
|
||||||
|
|
||||||
|
#ifdef __INTEL_COMPILER
|
||||||
#include <asm/ia64regs.h>
|
#include <asm/ia64regs.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
static __inline__ char *
|
static __inline__ char *
|
||||||
ia64_get_bsp(void)
|
ia64_get_bsp(void)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user