diff options
author | Imre Kaloz <kaloz@openwrt.org> | 2010-02-11 08:40:20 +0000 |
---|---|---|
committer | Imre Kaloz <kaloz@openwrt.org> | 2010-02-11 08:40:20 +0000 |
commit | 3d047f889a0a0c08807cc8be0caaea9c1f9ba1f7 (patch) | |
tree | d6a90a37e4bbeaf946ca4b4f9d8ef1ec5e977b49 /target/linux/generic-2.6/patches-2.6.21/31-use_kbuild.h.patch | |
parent | 98d6f0382ba5612bd5a70d92ae9674f150c16d8e (diff) | |
download | upstream-3d047f889a0a0c08807cc8be0caaea9c1f9ba1f7.tar.gz upstream-3d047f889a0a0c08807cc8be0caaea9c1f9ba1f7.tar.bz2 upstream-3d047f889a0a0c08807cc8be0caaea9c1f9ba1f7.zip |
remove 2.6.21 patches and config, too
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19579 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic-2.6/patches-2.6.21/31-use_kbuild.h.patch')
-rw-r--r-- | target/linux/generic-2.6/patches-2.6.21/31-use_kbuild.h.patch | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.21/31-use_kbuild.h.patch b/target/linux/generic-2.6/patches-2.6.21/31-use_kbuild.h.patch deleted file mode 100644 index 45c753b55b..0000000000 --- a/target/linux/generic-2.6/patches-2.6.21/31-use_kbuild.h.patch +++ /dev/null @@ -1,21 +0,0 @@ -[MIPS] Fix computation of {PGD,PMD,PTE}_T_LOG2. - -For the generation of asm-offset.h to work these need to be evaulatable -by gcc as a constant expression. This issue did exist for a while but -didn't bite because they're only in asm-offset.h for debugging purposes. - ---- a/include/asm-mips/pgtable.h -+++ b/include/asm-mips/pgtable.h -@@ -168,9 +168,9 @@ static inline void pte_clear(struct mm_s - #define set_pud(pudptr, pudval) do { *(pudptr) = (pudval); } while(0) - #endif - --#define PGD_T_LOG2 ffz(~sizeof(pgd_t)) --#define PMD_T_LOG2 ffz(~sizeof(pmd_t)) --#define PTE_T_LOG2 ffz(~sizeof(pte_t)) -+#define PGD_T_LOG2 (__builtin_ffs(sizeof(pgd_t)) - 1) -+#define PMD_T_LOG2 (__builtin_ffs(sizeof(pmd_t)) - 1) -+#define PTE_T_LOG2 (__builtin_ffs(sizeof(pte_t)) - 1) - - extern pgd_t swapper_pg_dir[PTRS_PER_PGD]; - |