lkml.org 
[lkml]   [2005]   [Feb]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] Minor Kexec bug fix (2.6.11-rc2-mm2)
From
Date
Hi Andrew,

This patch has been generated against 2.6.11-rc2-mm2. This fixes a very
minor bug in kexec.

Thanks
Vivek


This patch fixes a minor bug in kexec. Changing the data type of flags makes
sure proper control flow of code during crash event.

Signed-off-by: Vivek Goyal <vgoyal@in.ibm.com>
---

linux-2.6.11-rc2-mm2-kdump-vivek/include/linux/kexec.h | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN include/linux/kexec.h~kexec_minor_bug_fix include/linux/kexec.h
--- linux-2.6.11-rc2-mm2-kdump/include/linux/kexec.h~kexec_minor_bug_fix 2005-02-02 16:28:18.000000000 +0530
+++ linux-2.6.11-rc2-mm2-kdump-vivek/include/linux/kexec.h 2005-02-02 16:29:01.000000000 +0530
@@ -79,7 +79,7 @@ struct kimage {
unsigned long control_page;

/* Flags to indicate special processing */
- int type : 1;
+ unsigned int type : 1;
#define KEXEC_TYPE_DEFAULT 0
#define KEXEC_TYPE_CRASH 1
};
_
\
 
 \ /
  Last update: 2005-03-22 14:10    [W:0.040 / U:0.288 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site