WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] [IA64] Fix a memory allocation bug in MCA

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [IA64] Fix a memory allocation bug in MCA
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 07 Sep 2007 09:12:36 -0700
Delivery-date: Fri, 07 Sep 2007 09:15:22 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Alex Williamson <alex.williamson@xxxxxx>
# Date 1184527976 21600
# Node ID 2796311c6a5537cff38bba20b74a1e64a1d9e909
# Parent  f536eb8576eeb7363212911b02fbaff4918172df
[IA64] Fix a memory allocation bug in MCA

Signed-off-by: Kazuhiro Suzuki <kaz@xxxxxxxxxxxxxx>
---
 xen/arch/ia64/linux-xen/mca.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r f536eb8576ee -r 2796311c6a55 xen/arch/ia64/linux-xen/mca.c
--- a/xen/arch/ia64/linux-xen/mca.c     Wed Jul 11 11:32:30 2007 -0600
+++ b/xen/arch/ia64/linux-xen/mca.c     Sun Jul 15 13:32:56 2007 -0600
@@ -184,7 +184,7 @@ static ia64_state_log_t ia64_state_log[I
 #define IA64_LOG_ALLOCATE(it, size) \
        do { \
                unsigned int pageorder; \
-               pageorder  = get_order_from_bytes(sizeof(struct ia64_mca_cpu)); 
\
+               pageorder = get_order_from_bytes(size); \
                ia64_state_log[it].isl_log[IA64_LOG_CURR_INDEX(it)] = \
                  (ia64_err_rec_t *)alloc_xenheap_pages(pageorder); \
                ia64_state_log[it].isl_log[IA64_LOG_NEXT_INDEX(it)] = \

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [IA64] Fix a memory allocation bug in MCA, Xen patchbot-unstable <=