summaryrefslogtreecommitdiff
path: root/kexec/crashdump.c
diff options
context:
space:
mode:
authorFrancesco Chiechi <francesco.chiechi@colibre.it>2007-06-02 00:21:38 +0200
committerSimon Horman <horms@verge.net.au>2008-03-06 18:50:46 +0900
commitb5e636231886469fcd47fa4d236fa316c4e15251 (patch)
treef2ec49396f81f661e1bef150dd4c74de0a55bc83 /kexec/crashdump.c
parenteebc0569dc49693a77821ba716832e8bf833076e (diff)
kexec-tools: mipsel: mipsel port
Hello, We developed a patch to port kexec-tools to mips arch and included support for command line passing through elf boot notes. We did it for a customer of ours on a specific platform derived from toshiba tx4938 (so we think it should work at least for tx4938 evaluation board also). We would like to contribute it in case somebody else needs it or wants to improve it. This patch works for us but the assembler part in particular, should be considered as a starting point because my assembly knowledge is not too deep. As this is the first time I submit a patch I tried to guess reading tpp.txt if this is the right way to submit. Please let me know about any mistakes I may have made. Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/crashdump.c')
-rw-r--r--kexec/crashdump.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kexec/crashdump.c b/kexec/crashdump.c
index 42ec3ab..b014dcd 100644
--- a/kexec/crashdump.c
+++ b/kexec/crashdump.c
@@ -22,6 +22,7 @@
#include <string.h>
#include <errno.h>
#include <limits.h>
+#include <linux/limits.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>