| To: | <xen-devel@xxxxxxxxxxxxxxxxxxx>, "Isaku Yamahata" <yamahata@xxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [Xen-devel] [PATCH] [IA64] define BYTES_PER_LONG to fix compilationerror. |
| From: | "Jan Beulich" <JBeulich@xxxxxxxxxx> |
| Date: | 2009年8月19日 13:04:10 +0100 |
| Cc: | |
| Delivery-date: | 2009年8月19日 05:04:37 -0700 |
| Envelope-to: | www-data@xxxxxxxxxxxxxxxxxxx |
| In-reply-to: | <20090819115658.GB4645%yamahata@xxxxxxxxxxxxx> |
| List-help: | <mailto:xen-devel-request@lists.xensource.com?subject=help> |
| List-id: | Xen developer discussion <xen-devel.lists.xensource.com> |
| List-post: | <mailto:xen-devel@lists.xensource.com> |
| List-subscribe: | <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe> |
| List-unsubscribe: | <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe> |
| References: | <20090819115658.GB4645%yamahata@xxxxxxxxxxxxx> |
| Sender: | xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
>>> Isaku Yamahata <yamahata@xxxxxxxxxxxxx> 19.08.09 13:56 >>> >[IA64] define BYTES_PER_LONG to fix compilation error. > >This patch fixes the following compilation error on ia64. > >> gdbstub.c: In function str_to_native_ulong: >> gdbstub.c:123: error: BYTES_PER_LONG undeclared (first use in this function) >> gdbstub.c:123: error: (Each undeclared identifier is reported only once >> gdbstub.c:123: error: for each function it appears in.) > >Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx> > >diff --git a/xen/include/asm-ia64/xentypes.h b/xen/include/asm-ia64/xentypes.h >--- a/xen/include/asm-ia64/xentypes.h >+++ b/xen/include/asm-ia64/xentypes.h >@@ -10,6 +10,10 @@ typedef char bool_t; > #define test_and_set_bool(b) xchg(&(b), 1) > #define test_and_clear_bool(b) xchg(&(b), 0) > >+#define BITES_PER_LONG 64 Perhaps BITS_PER_LONG ? >+#define BYTES_PER_LONG 8 >+#define LONG_BYTEORDER 3 >+ > #endif /* !__ASSEMBLY__ */ > > #endif /* _ASM_IA64_XENTYPES_H */ Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [Xen-devel] [PATCH] xen-hvmctx: don't compile for ia64. , Isaku Yamahata |
|---|---|
| Next by Date: | Re: [Xen-devel] [PATCH] xen/xsm/flask: Update to policy.24 , Keir Fraser |
| Previous by Thread: | [Xen-devel] [PATCH] [IA64] define BYTES_PER_LONG to fix compilation error. , Isaku Yamahata |
| Next by Thread: | [Xen-devel] [PATCH] xen-hvmctx: don't compile for ia64. , Isaku Yamahata |
| Indexes: | [Date] [Thread] [Top] [All Lists] |