From 2719ec3ccf15950a9740a9fb6affce8c1b13c73c Mon Sep 17 00:00:00 2001 From: zab Date: Fri, 27 Jun 2003 21:06:52 +0000 Subject: [PATCH] - include version.h before using KERNEL_VERSION - have ll_ts2u64 in 2.4 also take a pointer to the time in question - ifdef out some 2.5 cache paths so 2.4 isn't sad - fix up remenants of llwp's move to a properly allocated structure - add some missing break;s to the end of default: blocks --- lnet/klnds/toelnd/toenal_cb.c | 2 ++ lustre/portals/knals/toenal/toenal_cb.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/lnet/klnds/toelnd/toenal_cb.c b/lnet/klnds/toelnd/toenal_cb.c index 8270196..e5d2eef 100644 --- a/lnet/klnds/toelnd/toenal_cb.c +++ b/lnet/klnds/toelnd/toenal_cb.c @@ -894,6 +894,7 @@ ktoenal_process_receive (ksock_conn_t *conn, long *irq_flags) spin_lock_irqsave (&ktoenal_data.ksnd_sched_lock, *irq_flags); goto get_fmb; /* => go get a fwd msg buffer */ default: + break; } /* Not Reached */ LBUG (); @@ -935,6 +936,7 @@ ktoenal_process_receive (ksock_conn_t *conn, long *irq_flags) goto out; /* (later) */ default: + break; } /* Not Reached */ diff --git a/lustre/portals/knals/toenal/toenal_cb.c b/lustre/portals/knals/toenal/toenal_cb.c index 8270196..e5d2eef 100644 --- a/lustre/portals/knals/toenal/toenal_cb.c +++ b/lustre/portals/knals/toenal/toenal_cb.c @@ -894,6 +894,7 @@ ktoenal_process_receive (ksock_conn_t *conn, long *irq_flags) spin_lock_irqsave (&ktoenal_data.ksnd_sched_lock, *irq_flags); goto get_fmb; /* => go get a fwd msg buffer */ default: + break; } /* Not Reached */ LBUG (); @@ -935,6 +936,7 @@ ktoenal_process_receive (ksock_conn_t *conn, long *irq_flags) goto out; /* (later) */ default: + break; } /* Not Reached */ -- 1.8.3.1