aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/uClibc/patches-0.9.28/230-cris-pagesize.patch
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2009-04-24 02:07:24 +0000
committerNicolas Thill <nico@openwrt.org>2009-04-24 02:07:24 +0000
commit222f37cbde2e880148eecd7bee5f39bb2afa6159 (patch)
treea6c174b24a09175c2add6a0264a5d89a7f584a50 /toolchain/uClibc/patches-0.9.28/230-cris-pagesize.patch
parent2783110a97a84c52b590221b637b3596d18dc013 (diff)
downloadupstream-222f37cbde2e880148eecd7bee5f39bb2afa6159.tar.gz
upstream-222f37cbde2e880148eecd7bee5f39bb2afa6159.tar.bz2
upstream-222f37cbde2e880148eecd7bee5f39bb2afa6159.zip
uClibc cleanup: - use full version string (0.9.30.1), instead of base (0.9.30) + extra (.1) - remove support for 0.9.28 and snapshots (building from SVN to be added later)
SVN-Revision: 15368
Diffstat (limited to 'toolchain/uClibc/patches-0.9.28/230-cris-pagesize.patch')
-rw-r--r--toolchain/uClibc/patches-0.9.28/230-cris-pagesize.patch24
1 files changed, 0 insertions, 24 deletions
diff --git a/toolchain/uClibc/patches-0.9.28/230-cris-pagesize.patch b/toolchain/uClibc/patches-0.9.28/230-cris-pagesize.patch
deleted file mode 100644
index 419617b44f..0000000000
--- a/toolchain/uClibc/patches-0.9.28/230-cris-pagesize.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -urN uClibc-0.9.28.2.orig/ldso/include/dl-syscall.h uClibc-0.9.28.2/ldso/include/dl-syscall.h
---- uClibc-0.9.28.2.orig/ldso/include/dl-syscall.h 2007-05-22 20:39:28.000000000 +0200
-+++ uClibc-0.9.28.2/ldso/include/dl-syscall.h 2007-05-22 20:41:30.000000000 +0200
-@@ -155,8 +155,9 @@
- static inline void * _dl_mmap(void * addr, unsigned long size, int prot,
- int flags, int fd, unsigned long offset)
- {
-- if (offset & ((1 << MMAP2_PAGE_SHIFT) - 1))
-+ if (offset & ((1 << MMAP2_PAGE_SHIFT) - 1)){
- return MAP_FAILED;
-+ }
- return __syscall_mmap2(addr, size, prot, flags,
- fd, (off_t) (offset >> MMAP2_PAGE_SHIFT));
- }
-diff -urN uClibc-0.9.28.2.orig/libc/sysdeps/linux/cris/bits/uClibc_page.h uClibc-0.9.28.2/libc/sysdeps/linux/cris/bits/uClibc_page.h
---- uClibc-0.9.28.2.orig/libc/sysdeps/linux/cris/bits/uClibc_page.h 2007-05-22 20:39:28.000000000 +0200
-+++ uClibc-0.9.28.2/libc/sysdeps/linux/cris/bits/uClibc_page.h 2007-05-22 20:42:25.000000000 +0200
-@@ -24,5 +24,5 @@
- #define PAGE_SHIFT 13
- #define PAGE_SIZE (1UL << PAGE_SHIFT)
- #define PAGE_MASK (~(PAGE_SIZE-1))
--
-+#define MMAP2_PAGE_SHIFT PAGE_SHIFT
- #endif /* _UCLIBC_PAGE_H */