From de419f5e97db3da355d2122f39d6b5095f178f52 Mon Sep 17 00:00:00 2001 From: "Luis R. Rodriguez" Date: Tue, 19 Mar 2013 17:57:13 -0700 Subject: [PATCH] compat: embrace LINUX_BACKPORT() for v2.6.32 1 2.6.24 [ OK ] 2 2.6.25 [ OK ] 3 2.6.26 [ OK ] 4 2.6.27 [ OK ] 5 2.6.28 [ OK ] 6 2.6.29 [ OK ] 7 2.6.30 [ OK ] 8 2.6.31 [ OK ] 9 2.6.32 [ OK ] 10 2.6.33 [ OK ] 11 2.6.34 [ OK ] 12 2.6.35 [ OK ] 13 2.6.36 [ OK ] 14 2.6.37 [ OK ] 15 2.6.38 [ OK ] 16 2.6.39 [ OK ] 17 3.0.65 [ OK ] 18 3.1.10 [ OK ] 19 3.2.38 [ OK ] 20 3.3.8 [ OK ] 21 3.4.32 [ OK ] 22 3.5.7 [ OK ] 23 3.6.11 [ OK ] 24 3.7.9 [ OK ] 25 3.8.0 [ OK ] 26 3.9-rc1 [ OK ] Signed-off-by: Luis R. Rodriguez --- include/linux/compat-2.6.32.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/compat-2.6.32.h b/include/linux/compat-2.6.32.h index f8320cf011ad..d5b5df87a17b 100644 --- a/include/linux/compat-2.6.32.h +++ b/include/linux/compat-2.6.32.h @@ -190,6 +190,7 @@ struct tm { int tm_yday; }; +#define time_to_tm LINUX_BACKPORT(time_to_tm) void time_to_tm(time_t totalsecs, int offset, struct tm *result); #endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,32)) */ -- 2.30.2