From ad470b2ed25cdf99f0388947913e392c2d8b67a9 Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Fri, 9 Jul 2010 18:08:12 -0700 Subject: [PATCH] Include linux/freezer.h in rx_kmutex.c rx_kmutex.c calls refrigerator(), which is prototyped in linux/freezer.h, but was not including it, causing build failures on Linux 2.6.32-5 (Debian). Change-Id: I3867be6e7b8478d6fab8b97a4c923f979029517e Reviewed-on: http://gerrit.openafs.org/2380 Tested-by: Russ Allbery Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- src/rx/LINUX/rx_kmutex.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/rx/LINUX/rx_kmutex.c b/src/rx/LINUX/rx_kmutex.c index 27f5577e4..3ddd1bf5a 100644 --- a/src/rx/LINUX/rx_kmutex.c +++ b/src/rx/LINUX/rx_kmutex.c @@ -21,6 +21,10 @@ #include "rx_kmutex.h" #include "rx/rx_kernel.h" +#ifdef HAVE_LINUX_FREEZER_H +# include +#endif + void afs_mutex_init(afs_kmutex_t * l) { -- 2.39.5