git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(from parent 1:
c32ee0e
)
linux-kdump-also-work-with-early-24-kernels-20011108
author
Derrick Brashear
<shadow@dementia.org>
Thu, 8 Nov 2001 08:12:59 +0000 (08:12 +0000)
committer
Derrick Brashear
<shadow@dementia.org>
Thu, 8 Nov 2001 08:12:59 +0000 (08:12 +0000)
yup, it had to come from somewhere. now it would compile with early and late 2.4 kernels
src/venus/kdump.c
patch
|
blob
|
history
diff --git
a/src/venus/kdump.c
b/src/venus/kdump.c
index
9f59b58
..
4e423bf
100644
(file)
--- a/
src/venus/kdump.c
+++ b/
src/venus/kdump.c
@@
-264,10
+264,15
@@
typedef struct timeval {
/* Avoid problems with timer_t redefinition */
#ifndef timer_t
#define timer_t ktimer_t
+#define timer_t_redefined
#endif
#include <linux/version.h>
#include <linux/fs.h>
#include <osi_vfs.h>
+#ifdef timer_t_redefined
+#undef timer_t
+#undef timer_t_redefined
+#endif
#else /* AFS_LINUX20_ENV */
#ifdef AFS_HPUX110_ENV
#define KERNEL