diff options
author | Keir Fraser <keir@xen.org> | 2012-09-12 20:41:01 +0100 |
---|---|---|
committer | Keir Fraser <keir@xen.org> | 2012-09-12 20:41:01 +0100 |
commit | a9c02a0d888864daeca191d25601725c5177ec40 (patch) | |
tree | b249b5354a3939c5c675e463571b40c8717c96af /xen/common/time.c | |
parent | fe4ebf84c6aaa4d96ab333cbd478cb67a818814c (diff) | |
download | xen-a9c02a0d888864daeca191d25601725c5177ec40.tar.gz xen-a9c02a0d888864daeca191d25601725c5177ec40.tar.bz2 xen-a9c02a0d888864daeca191d25601725c5177ec40.zip |
In most of the codebase, use CONFIG_X86 in place of __i386__||__x86_64__
Signed-off-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/common/time.c')
-rw-r--r-- | xen/common/time.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/common/time.c b/xen/common/time.c index d326f334cf..c16ff10cdd 100644 --- a/xen/common/time.c +++ b/xen/common/time.c @@ -43,7 +43,7 @@ struct tm gmtime(unsigned long t) const unsigned short int *ip; y = 1970; -#ifdef __x86_64__ +#if BITS_PER_LONG >= 64 /* Allow the concept of time before 1970. 64-bit only; for 32-bit * time after 2038 seems more important than time before 1970. */ while ( t & (1UL<<39) ) |