From 3f9bf87b673c93d762b499799d938ff6781d91d7 Mon Sep 17 00:00:00 2001 From: adilger Date: Fri, 17 Oct 2008 21:03:27 +0000 Subject: [PATCH] Branch b1_8_gate Quiet compiler warning about duplicate #define. HZ is always 1 for userspace. i=girish i=robert.read --- lustre/include/liblustre.h | 1 + 1 file changed, 1 insertion(+) diff --git a/lustre/include/liblustre.h b/lustre/include/liblustre.h index dc1e481..0961cd6 100644 --- a/lustre/include/liblustre.h +++ b/lustre/include/liblustre.h @@ -337,6 +337,7 @@ typedef spinlock_t rwlock_t; #ifndef ERESTARTSYS #define ERESTARTSYS ERESTART #endif +#undef HZ #define HZ 1 /* random */ -- 1.8.3.1