Return-path: Received: from server19320154104.serverpool.info ([193.201.54.104]:55748 "EHLO hauke-m.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752899AbZLVPV2 (ORCPT ); Tue, 22 Dec 2009 10:21:28 -0500 From: Hauke Mehrtens To: lrodriguez@atheros.com Cc: linux-wireless@vger.kernel.org, Hauke Mehrtens Subject: [PATCH 2/2] compat: autoconf.h moved from linux/ to generated/ with kernel 2.6.33 Date: Tue, 22 Dec 2009 16:20:02 +0100 Message-Id: <1261495204-28966-4-git-send-email-hauke@hauke-m.de> In-Reply-To: <1261495204-28966-1-git-send-email-hauke@hauke-m.de> References: <1261495204-28966-1-git-send-email-hauke@hauke-m.de> Sender: linux-wireless-owner@vger.kernel.org List-ID: Changed the headers, because autoconf.h moved from linux/ into generated/ Signed-off-by: Hauke Mehrtens --- include/linux/compat-2.6.14.h | 3 ++- include/linux/compat-2.6.18.h | 3 ++- include/linux/compat-2.6.19.h | 2 +- include/linux/compat-2.6.21.h | 2 +- include/linux/compat-2.6.22.h | 2 +- include/linux/compat-2.6.23.h | 2 +- include/linux/compat-2.6.24.h | 3 ++- include/linux/compat-2.6.25.h | 2 +- include/linux/compat-2.6.26.h | 2 +- include/linux/compat-2.6.27.h | 2 +- include/linux/compat-2.6.28.h | 2 +- include/linux/compat-2.6.29.h | 2 +- include/linux/compat-2.6.30.h | 3 ++- include/linux/compat-2.6.31.h | 2 +- include/linux/compat-2.6.32.h | 2 +- include/linux/compat-2.6.33.h | 4 ++-- include/linux/compat-2.6.h | 6 +++++- 17 files changed, 26 insertions(+), 18 deletions(-) diff --git a/include/linux/compat-2.6.14.h b/include/linux/compat-2.6.14.h index 22e7e31..c509899 100644 --- a/include/linux/compat-2.6.14.h +++ b/include/linux/compat-2.6.14.h @@ -1,12 +1,13 @@ #ifndef LINUX_26_14_COMPAT_H #define LINUX_26_14_COMPAT_H -#include #include /* Compat work for 2.6.14 */ #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,14)) +#include + typedef unsigned int gfp_t; #endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,14)) */ diff --git a/include/linux/compat-2.6.18.h b/include/linux/compat-2.6.18.h index 3245c42..ef0dd31 100644 --- a/include/linux/compat-2.6.18.h +++ b/include/linux/compat-2.6.18.h @@ -1,12 +1,13 @@ #ifndef LINUX_26_18_COMPAT_H #define LINUX_26_18_COMPAT_H -#include #include /* Compat work for 2.6.18 */ #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18)) +#include + #define roundup(x, y) ((((x) + ((y) - 1)) / (y)) * (y)) #endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18)) */ diff --git a/include/linux/compat-2.6.19.h b/include/linux/compat-2.6.19.h index 017044c..67f87fc 100644 --- a/include/linux/compat-2.6.19.h +++ b/include/linux/compat-2.6.19.h @@ -1,12 +1,12 @@ #ifndef LINUX_26_19_COMPAT_H #define LINUX_26_19_COMPAT_H -#include #include /* Compat work for 2.6.19 */ #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,19)) +#include #include static inline int diff --git a/include/linux/compat-2.6.21.h b/include/linux/compat-2.6.21.h index 263ebd2..25ac354 100644 --- a/include/linux/compat-2.6.21.h +++ b/include/linux/compat-2.6.21.h @@ -1,12 +1,12 @@ #ifndef LINUX_26_21_COMPAT_H #define LINUX_26_21_COMPAT_H -#include #include /* Compat work for 2.6.21 */ #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,21)) +#include #include #define register_sysctl_table(table) \ diff --git a/include/linux/compat-2.6.22.h b/include/linux/compat-2.6.22.h index 85cd9d5..42dc805 100644 --- a/include/linux/compat-2.6.22.h +++ b/include/linux/compat-2.6.22.h @@ -1,12 +1,12 @@ #ifndef LINUX_26_22_COMPAT_H #define LINUX_26_22_COMPAT_H -#include #include /* Compat work for 2.6.21 */ #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,22)) +#include #include #include diff --git a/include/linux/compat-2.6.23.h b/include/linux/compat-2.6.23.h index c36f90d..c73b77f 100644 --- a/include/linux/compat-2.6.23.h +++ b/include/linux/compat-2.6.23.h @@ -1,12 +1,12 @@ #ifndef LINUX_26_23_COMPAT_H #define LINUX_26_23_COMPAT_H -#include #include /* Compat work for < 2.6.23 */ #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,23)) +#include #include #include #include diff --git a/include/linux/compat-2.6.24.h b/include/linux/compat-2.6.24.h index 43e6302..91a3b85 100644 --- a/include/linux/compat-2.6.24.h +++ b/include/linux/compat-2.6.24.h @@ -1,12 +1,13 @@ #ifndef LINUX_26_24_COMPAT_H #define LINUX_26_24_COMPAT_H -#include #include /* Compat work for 2.6.21, 2.6.22 and 2.6.23 */ #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,24)) +#include + /* Added on 2.6.24 in include/linux/types.h by Al viro on commit 142956af */ typedef unsigned long uintptr_t; diff --git a/include/linux/compat-2.6.25.h b/include/linux/compat-2.6.25.h index 23cf487..7477cb6 100644 --- a/include/linux/compat-2.6.25.h +++ b/include/linux/compat-2.6.25.h @@ -1,12 +1,12 @@ #ifndef LINUX_26_25_COMPAT_H #define LINUX_26_25_COMPAT_H -#include #include /* Compat work for 2.6.24 */ #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,25)) +#include #include #include #include diff --git a/include/linux/compat-2.6.26.h b/include/linux/compat-2.6.26.h index b7c3b05..143df3b 100644 --- a/include/linux/compat-2.6.26.h +++ b/include/linux/compat-2.6.26.h @@ -1,11 +1,11 @@ #ifndef LINUX_26_26_COMPAT_H #define LINUX_26_26_COMPAT_H -#include #include #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,26)) +#include #include #include #include diff --git a/include/linux/compat-2.6.27.h b/include/linux/compat-2.6.27.h index ed10a6c..f77bb7b 100644 --- a/include/linux/compat-2.6.27.h +++ b/include/linux/compat-2.6.27.h @@ -1,11 +1,11 @@ #ifndef LINUX_26_27_COMPAT_H #define LINUX_26_27_COMPAT_H -#include #include #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,27)) +#include #include #include #include diff --git a/include/linux/compat-2.6.28.h b/include/linux/compat-2.6.28.h index 8f90edc..700eab6 100644 --- a/include/linux/compat-2.6.28.h +++ b/include/linux/compat-2.6.28.h @@ -1,11 +1,11 @@ #ifndef LINUX_26_28_COMPAT_H #define LINUX_26_28_COMPAT_H -#include #include #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,28)) +#include #include #include #include diff --git a/include/linux/compat-2.6.29.h b/include/linux/compat-2.6.29.h index cad5e6b..b3c9dc2 100644 --- a/include/linux/compat-2.6.29.h +++ b/include/linux/compat-2.6.29.h @@ -1,11 +1,11 @@ #ifndef LINUX_26_29_COMPAT_H #define LINUX_26_29_COMPAT_H -#include #include #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,29)) +#include #include #include #include diff --git a/include/linux/compat-2.6.30.h b/include/linux/compat-2.6.30.h index 2ff1d69..f0074d8 100644 --- a/include/linux/compat-2.6.30.h +++ b/include/linux/compat-2.6.30.h @@ -1,11 +1,12 @@ #ifndef LINUX_26_30_COMPAT_H #define LINUX_26_30_COMPAT_H -#include #include #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30)) +#include + #ifndef TP_PROTO #define TP_PROTO(args...) TPPROTO(args) #endif diff --git a/include/linux/compat-2.6.31.h b/include/linux/compat-2.6.31.h index 27dc6a1..d51e9e2 100644 --- a/include/linux/compat-2.6.31.h +++ b/include/linux/compat-2.6.31.h @@ -1,11 +1,11 @@ #ifndef LINUX_26_31_COMPAT_H #define LINUX_26_31_COMPAT_H -#include #include #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,31)) +#include #include #include #include diff --git a/include/linux/compat-2.6.32.h b/include/linux/compat-2.6.32.h index 727ac71..a6ed8c4 100644 --- a/include/linux/compat-2.6.32.h +++ b/include/linux/compat-2.6.32.h @@ -1,11 +1,11 @@ #ifndef LINUX_26_32_COMPAT_H #define LINUX_26_32_COMPAT_H -#include #include #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,32)) +#include #include #include #include diff --git a/include/linux/compat-2.6.33.h b/include/linux/compat-2.6.33.h index 5367cd9..a453a7e 100644 --- a/include/linux/compat-2.6.33.h +++ b/include/linux/compat-2.6.33.h @@ -1,12 +1,12 @@ #ifndef LINUX_26_33_COMPAT_H #define LINUX_26_33_COMPAT_H -#include #include -#include #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,33)) +#include +#include #include #include #include diff --git a/include/linux/compat-2.6.h b/include/linux/compat-2.6.h index bea00c9..81224de 100644 --- a/include/linux/compat-2.6.h +++ b/include/linux/compat-2.6.h @@ -1,8 +1,12 @@ #ifndef LINUX_26_COMPAT_H #define LINUX_26_COMPAT_H -#include #include +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33)) +#include +#else +#include +#endif #include /* -- 1.6.3.3