aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Manison <amanison@anselsystems.com>2010-05-26 23:09:04 +0000
committerAndrew Manison <amanison@anselsystems.com>2010-05-26 23:09:04 +0000
commit9fddb4d5b41c0b5e69d5ee138297e95eff290302 (patch)
treeb353402b4af0ac5b912dc78ca7d996c397b8e2e3
parentccf26410d30adc8c1934dd553687157ed6e31d69 (diff)
parent8c1128e93e03012dabadb9a3f723dbd20eb60cd4 (diff)
downloadalpine_aports-9fddb4d5b41c0b5e69d5ee138297e95eff290302.tar.bz2
alpine_aports-9fddb4d5b41c0b5e69d5ee138297e95eff290302.tar.xz
alpine_aports-9fddb4d5b41c0b5e69d5ee138297e95eff290302.zip
Merged from Alpine main repository.
Merge Conflicts: main/abuild/APKBUILD main/cramfs/APKBUILD main/curl/APKBUILD main/dialog/APKBUILD main/libconfig/APKBUILD main/snort/APKBUILD main/syslinux/APKBUILD
-rw-r--r--main/a2ps/APKBUILD2
-rw-r--r--main/a52dec/APKBUILD2
-rw-r--r--main/abiword/APKBUILD54
-rw-r--r--main/abuild/APKBUILD30
-rw-r--r--main/acct/APKBUILD2
-rw-r--r--main/acf-weblog/APKBUILD4
-rw-r--r--main/alpine-base/APKBUILD4
-rw-r--r--main/alpine-baselayout/APKBUILD7
-rw-r--r--main/alpine-sdk/APKBUILD1
-rw-r--r--main/alsa-lib/APKBUILD7
-rw-r--r--main/amavisd-new/APKBUILD2
-rw-r--r--main/antiword/APKBUILD2
-rw-r--r--main/apcupsd/APKBUILD2
-rw-r--r--main/apg/APKBUILD2
-rw-r--r--main/apk-tools/APKBUILD11
-rw-r--r--main/apk-tools/info-segfault.patch22
-rw-r--r--main/apr-util/APKBUILD2
-rw-r--r--main/apr/APKBUILD2
-rw-r--r--main/arpon/APKBUILD2
-rw-r--r--main/arpwatch/APKBUILD2
-rw-r--r--main/aspell/APKBUILD13
-rw-r--r--main/asterisk-addons/APKBUILD75
-rw-r--r--main/asterisk/APKBUILD6
-rw-r--r--main/aterm/APKBUILD2
-rw-r--r--main/atk/APKBUILD2
-rw-r--r--main/atop/APKBUILD6
-rw-r--r--main/attr/APKBUILD2
-rw-r--r--main/aumix/APKBUILD2
-rw-r--r--main/b43-fwcutter/APKBUILD11
-rw-r--r--main/bash/APKBUILD6
-rw-r--r--main/bbsuid/APKBUILD4
-rw-r--r--main/bc/APKBUILD2
-rw-r--r--main/bdftopcf/APKBUILD2
-rw-r--r--main/beecrypt/APKBUILD21
-rw-r--r--main/beep/APKBUILD4
-rw-r--r--main/bind/APKBUILD2
-rw-r--r--main/binutils/APKBUILD1
-rw-r--r--main/bison/APKBUILD2
-rw-r--r--main/boost/APKBUILD147
-rw-r--r--main/boost/boost-1.41.0-parameter-needs-python.patch106
-rw-r--r--main/boost/boost-uclibc-thread.patch11
-rw-r--r--main/boost/random-Jamfile15
-rw-r--r--main/bridge-utils/APKBUILD6
-rw-r--r--main/build-base/APKBUILD1
-rw-r--r--main/busybox-initscripts/APKBUILD6
-rw-r--r--main/busybox-initscripts/mdev.conf5
-rw-r--r--main/busybox-initscripts/usbdev8
-rw-r--r--main/busybox/APKBUILD40
-rw-r--r--main/bwm-ng/APKBUILD2
-rw-r--r--main/bzip2/APKBUILD4
-rw-r--r--main/c-ares/APKBUILD2
-rw-r--r--main/cabextract/APKBUILD2
-rw-r--r--main/cairo/APKBUILD2
-rw-r--r--main/ccache/APKBUILD4
-rw-r--r--main/cciss_vol_status/APKBUILD2
-rw-r--r--main/cdrkit/APKBUILD2
-rw-r--r--main/cgit/APKBUILD9
-rw-r--r--main/chrony/APKBUILD2
-rw-r--r--main/cksfv/APKBUILD2
-rw-r--r--main/clamav/APKBUILD69
-rw-r--r--main/clamsmtp/APKBUILD2
-rw-r--r--main/claws-mail/APKBUILD6
-rw-r--r--main/cmake/APKBUILD2
-rw-r--r--main/confuse/APKBUILD2
-rw-r--r--main/conntrack-tools/APKBUILD2
-rw-r--r--main/coreutils/APKBUILD6
-rw-r--r--main/cpufreqd/APKBUILD12
-rw-r--r--main/cpufrequtils/APKBUILD2
-rw-r--r--main/cracklib/APKBUILD4
-rw-r--r--main/cramfs/APKBUILD7
-rw-r--r--main/ctags/APKBUILD4
-rw-r--r--main/cups/APKBUILD6
-rw-r--r--main/curl/APKBUILD13
-rw-r--r--main/cutter/APKBUILD4
-rw-r--r--main/cvs/APKBUILD4
-rw-r--r--main/cyrus-sasl/APKBUILD2
-rw-r--r--main/dahdi-tools/APKBUILD2
-rw-r--r--main/dansguardian/APKBUILD2
-rw-r--r--main/db/APKBUILD2
-rw-r--r--main/dbus-glib/APKBUILD8
-rw-r--r--main/dbus/APKBUILD2
-rw-r--r--main/debootstrap/APKBUILD2
-rw-r--r--main/desktop-file-utils/APKBUILD2
-rw-r--r--main/dhcp/APKBUILD2
-rw-r--r--main/dhcpcd-dbus/APKBUILD2
-rw-r--r--main/dhcpcd-ui/APKBUILD2
-rw-r--r--main/dhcpcd/APKBUILD2
-rw-r--r--main/dialog/APKBUILD9
-rw-r--r--main/diffutils/APKBUILD4
-rw-r--r--main/dircproxy/APKBUILD2
-rw-r--r--main/distcc/APKBUILD2
-rw-r--r--main/djbdns/APKBUILD6
-rwxr-xr-xmain/djbdns/dnscache.monthly4
-rw-r--r--main/dnsmasq/APKBUILD2
-rw-r--r--main/dosfstools/APKBUILD2
-rw-r--r--main/dovecot/APKBUILD2
-rw-r--r--main/dpkg/APKBUILD2
-rw-r--r--main/dropbear/APKBUILD2
-rw-r--r--main/dtach/APKBUILD4
-rw-r--r--main/e2fsprogs/APKBUILD2
-rw-r--r--main/eggdrop/APKBUILD2
-rw-r--r--main/email/APKBUILD4
-rw-r--r--main/enchant/APKBUILD13
-rw-r--r--main/epdfview/APKBUILD2
-rw-r--r--main/epris/APKBUILD2
-rw-r--r--main/espeak/APKBUILD2
-rw-r--r--main/ethtool/APKBUILD4
-rw-r--r--main/exo/APKBUILD2
-rw-r--r--main/expat/APKBUILD2
-rw-r--r--main/ez-ipupdate/APKBUILD2
-rw-r--r--main/faac/APKBUILD12
-rw-r--r--main/faad2/APKBUILD2
-rw-r--r--main/fakeroot/APKBUILD2
-rw-r--r--main/fcgi/APKBUILD4
-rw-r--r--main/feh/APKBUILD4
-rw-r--r--main/fetchmail/APKBUILD6
-rw-r--r--main/ffmpeg/APKBUILD2
-rw-r--r--main/file/APKBUILD2
-rw-r--r--main/findutils/APKBUILD2
-rw-r--r--main/flac/APKBUILD10
-rw-r--r--main/flex/APKBUILD2
-rw-r--r--main/fluxbox/APKBUILD2
-rw-r--r--main/font-util/APKBUILD2
-rw-r--r--main/fontconfig/APKBUILD2
-rw-r--r--main/fping/APKBUILD4
-rw-r--r--main/fprobe/APKBUILD2
-rw-r--r--main/freeswitch/APKBUILD (renamed from testing/freeswitch/APKBUILD)45
-rw-r--r--main/freeswitch/freeswitch.confd (renamed from testing/freeswitch/freeswitch.confd)0
-rwxr-xr-xmain/freeswitch/freeswitch.initd58
-rwxr-xr-xmain/freeswitch/freeswitch.post-install5
-rwxr-xr-xmain/freeswitch/freeswitch.pre-install5
-rw-r--r--main/freeswitch/modules.conf (renamed from testing/freeswitch/modules.conf)0
-rw-r--r--main/freetds/APKBUILD2
-rw-r--r--main/freetype/APKBUILD2
-rw-r--r--main/fribidi/APKBUILD2
-rw-r--r--main/galculator/APKBUILD2
-rw-r--r--main/gamin/APKBUILD2
-rw-r--r--main/gawk/APKBUILD8
-rw-r--r--main/gcc/APKBUILD16
-rw-r--r--main/gcc/gcc-dynamic-linker.patch425
-rw-r--r--main/gd/APKBUILD2
-rw-r--r--main/gdb/APKBUILD2
-rw-r--r--main/gdbm/APKBUILD4
-rw-r--r--main/geany/APKBUILD2
-rw-r--r--main/gettext/APKBUILD4
-rw-r--r--main/ghostscript/APKBUILD2
-rw-r--r--main/giblib/APKBUILD2
-rw-r--r--main/giflib/APKBUILD2
-rw-r--r--main/git/APKBUILD20
-rw-r--r--main/git/git-do-not-dump-core-when-iconv-fails.patch43
-rw-r--r--main/glib/APKBUILD8
-rw-r--r--main/gmp/APKBUILD2
-rw-r--r--main/gmp5/APKBUILD47
-rw-r--r--main/gmp5/gmp-4.1.4-noexecstack.patch20
-rw-r--r--main/gnats/APKBUILD4
-rw-r--r--main/gnupg/APKBUILD12
-rw-r--r--main/gnutls/APKBUILD2
-rw-r--r--main/gobject-introspection/APKBUILD9
-rw-r--r--main/goffice/APKBUILD29
-rw-r--r--main/gperf/APKBUILD11
-rw-r--r--main/gpicview/APKBUILD2
-rw-r--r--main/grep/APKBUILD2
-rw-r--r--main/groff/APKBUILD13
-rw-r--r--main/gross/APKBUILD2
-rw-r--r--main/gst-plugins-bad/APKBUILD13
-rw-r--r--main/gst-plugins-base/APKBUILD6
-rw-r--r--main/gst-plugins-ffmpeg/APKBUILD2
-rw-r--r--main/gst-plugins-good/APKBUILD7
-rw-r--r--main/gst-plugins-ugly/APKBUILD9
-rw-r--r--main/gstreamer/APKBUILD4
-rw-r--r--main/gtk+/APKBUILD4
-rw-r--r--main/gtk-doc/APKBUILD6
-rw-r--r--main/gtk-vnc/APKBUILD2
-rw-r--r--main/gtk-xfce-engine/APKBUILD2
-rw-r--r--main/guile/APKBUILD11
-rw-r--r--main/gzip/APKBUILD2
-rw-r--r--main/haserl/APKBUILD9
-rw-r--r--main/heimdal/APKBUILD2
-rw-r--r--main/hostapd/APKBUILD2
-rw-r--r--main/htop/APKBUILD2
-rw-r--r--main/hunspell/APKBUILD16
-rw-r--r--main/hylafax/APKBUILD2
-rw-r--r--main/hypermail/APKBUILD2
-rw-r--r--main/iaxmodem/APKBUILD2
-rw-r--r--main/iceauth/APKBUILD2
-rw-r--r--main/icu/APKBUILD7
-rw-r--r--main/iftop/APKBUILD2
-rw-r--r--main/igmpproxy/APKBUILD2
-rw-r--r--main/imagemagick/APKBUILD4
-rw-r--r--main/imap/APKBUILD2
-rw-r--r--main/imlib2/APKBUILD15
-rw-r--r--main/imlib2/bufferoverflow.patch13
-rw-r--r--main/imlib2/libpng14.patch12
-rw-r--r--main/iperf/APKBUILD2
-rw-r--r--main/iproute2/APKBUILD2
-rw-r--r--main/ipsec-tools/APKBUILD2
-rw-r--r--main/iptables/APKBUILD2
-rw-r--r--main/iptraf/APKBUILD2
-rw-r--r--main/iputils/APKBUILD2
-rw-r--r--main/ircii/APKBUILD2
-rw-r--r--main/irssi/APKBUILD20
-rw-r--r--main/iscsitarget/APKBUILD2
-rw-r--r--main/jasper/APKBUILD2
-rw-r--r--main/jpeg/APKBUILD2
-rw-r--r--main/kamailio/APKBUILD6
-rw-r--r--main/ksymoops/APKBUILD4
-rw-r--r--main/lame/APKBUILD2
-rw-r--r--main/less/APKBUILD9
-rw-r--r--main/lftp/APKBUILD12
-rw-r--r--main/lha/APKBUILD4
-rw-r--r--main/libao/APKBUILD12
-rw-r--r--main/libart-lgpl/APKBUILD2
-rw-r--r--main/libassuan/APKBUILD13
-rw-r--r--main/libc0.9.32/0001-static-build-fix-internal-locking-weaks-to-get-pulle.patch125
-rw-r--r--main/libc0.9.32/0002-resolv-various-memory-corruption-and-off-by-one-fixe.patch69
-rw-r--r--main/libc0.9.32/APKBUILD104
-rw-r--r--main/libc0.9.32/compat-stack-guard.patch51
-rw-r--r--main/libc0.9.32/uclibc-libm-pic.patch67
-rw-r--r--main/libc0.9.32/uclibc-resolv-tls.patch15
l---------main/libc0.9.32/uclibcconfig.i4861
-rw-r--r--main/libc0.9.32/uclibcconfig.x86 (renamed from main/uclibc/uclibcconfig.x86)31
-rw-r--r--main/libcap/APKBUILD2
-rw-r--r--main/libcroco/APKBUILD2
-rw-r--r--main/libdnet/APKBUILD5
-rw-r--r--main/libdrm/APKBUILD2
-rw-r--r--main/libetpan/APKBUILD8
-rw-r--r--main/libevent/APKBUILD2
-rw-r--r--main/libexif/APKBUILD2
-rw-r--r--main/libffi/APKBUILD2
-rw-r--r--main/libfontenc/APKBUILD2
-rw-r--r--main/libgcrypt/APKBUILD2
-rw-r--r--main/libglade/APKBUILD2
-rw-r--r--main/libgpg-error/APKBUILD4
-rw-r--r--main/libgsf/APKBUILD8
-rw-r--r--main/libice/APKBUILD2
-rw-r--r--main/libiconv/APKBUILD4
-rw-r--r--main/libid3tag/APKBUILD2
-rw-r--r--main/libidn/APKBUILD2
-rw-r--r--main/libksba/APKBUILD9
-rw-r--r--main/libmad/APKBUILD2
-rw-r--r--main/libmcrypt/APKBUILD4
-rw-r--r--main/libmpdclient/APKBUILD2
-rw-r--r--main/libmpeg2/APKBUILD2
-rw-r--r--main/libnet/APKBUILD2
-rw-r--r--main/libnetfilter_conntrack/APKBUILD2
-rw-r--r--main/libnfnetlink/APKBUILD4
-rw-r--r--main/libnl/APKBUILD2
-rw-r--r--main/libnotify/APKBUILD2
-rw-r--r--main/libogg/APKBUILD2
-rw-r--r--main/liboil/APKBUILD2
-rw-r--r--main/libpaper/APKBUILD2
-rw-r--r--main/libpcap/APKBUILD30
-rw-r--r--main/libpcap/libpcap-1.0.0-LDFLAGS.patch13
-rw-r--r--main/libpcap/libpcap-any.patch157
-rw-r--r--main/libpciaccess/APKBUILD2
-rw-r--r--main/libpng/APKBUILD2
-rw-r--r--main/libpri/APKBUILD2
-rw-r--r--main/libpthread-stubs/APKBUILD2
-rw-r--r--main/librsvg/APKBUILD4
-rw-r--r--main/libsamplerate/APKBUILD4
-rw-r--r--main/libsexy/APKBUILD2
-rw-r--r--main/libsm/APKBUILD2
-rw-r--r--main/libsndfile/APKBUILD2
-rw-r--r--main/libsoup/APKBUILD4
-rw-r--r--main/libspf2/APKBUILD2
-rw-r--r--main/libtasn1/APKBUILD4
-rw-r--r--main/libtheora/APKBUILD2
-rw-r--r--main/libtool/APKBUILD2
-rw-r--r--main/libusb-compat/APKBUILD11
-rw-r--r--main/libusb/APKBUILD4
-rw-r--r--main/libvorbis/APKBUILD8
-rw-r--r--main/libwnck/APKBUILD2
-rw-r--r--main/libx11/APKBUILD2
-rw-r--r--main/libxau/APKBUILD2
-rw-r--r--main/libxcb/APKBUILD6
-rw-r--r--main/libxcomposite/APKBUILD2
-rw-r--r--main/libxcursor/APKBUILD2
-rw-r--r--main/libxdamage/APKBUILD2
-rw-r--r--main/libxdmcp/APKBUILD2
-rw-r--r--main/libxext/APKBUILD2
-rw-r--r--main/libxfce4menu/APKBUILD2
-rw-r--r--main/libxfce4util/APKBUILD2
-rw-r--r--main/libxfcegui4/APKBUILD2
-rw-r--r--main/libxfixes/APKBUILD2
-rw-r--r--main/libxfont/APKBUILD2
-rw-r--r--main/libxft/APKBUILD2
-rw-r--r--main/libxi/APKBUILD2
-rw-r--r--main/libxinerama/APKBUILD2
-rw-r--r--main/libxkbfile/APKBUILD2
-rw-r--r--main/libxkbui/APKBUILD2
-rw-r--r--main/libxklavier/APKBUILD2
-rw-r--r--main/libxml2/APKBUILD12
-rw-r--r--main/libxml2/zlib.patch32
-rw-r--r--main/libxmu/APKBUILD2
-rw-r--r--main/libxpm/APKBUILD2
-rw-r--r--main/libxrandr/APKBUILD2
-rw-r--r--main/libxrender/APKBUILD2
-rw-r--r--main/libxres/APKBUILD2
-rw-r--r--main/libxslt/APKBUILD2
-rw-r--r--main/libxt/APKBUILD2
-rw-r--r--main/libxtst/APKBUILD2
-rw-r--r--main/libxv/APKBUILD2
-rw-r--r--main/libxvmc/APKBUILD2
-rw-r--r--main/libxxf86dga/APKBUILD2
-rw-r--r--main/libxxf86misc/APKBUILD2
-rw-r--r--main/libxxf86vm/APKBUILD2
-rw-r--r--main/lighttpd/APKBUILD2
-rw-r--r--main/links/APKBUILD2
-rw-r--r--main/linux-grsec/0006-r8169-offical-fix-for-CVE-2009-4537-overlength-frame.patch120
-rw-r--r--main/linux-grsec/0008-r8169-clean-up-my-printk-uglyness.patch36
-rw-r--r--main/linux-grsec/APKBUILD19
-rw-r--r--main/linux-grsec/grsecurity-2.1.14-2.6.32.12-201004292005.patch (renamed from main/linux-grsec/grsecurity-2.1.14-2.6.32.11-201004071936.patch)7803
-rw-r--r--main/linux-grsec/xfrm-fix-policy-unreferencing-on-larval-drop.patch14
-rw-r--r--main/linux-headers/APKBUILD16
-rw-r--r--main/linux-pae/APKBUILD2
-rw-r--r--main/linux-vserver/APKBUILD13
-rw-r--r--main/lm_sensors/APKBUILD2
-rw-r--r--main/logrotate/APKBUILD2
-rw-r--r--main/lsof/APKBUILD2
-rw-r--r--main/lua-bitlib/APKBUILD2
-rw-r--r--main/lua-discount/APKBUILD2
-rw-r--r--main/lua-expat/APKBUILD2
-rw-r--r--main/lua-iconv/APKBUILD2
-rw-r--r--main/lua-md5/APKBUILD2
-rw-r--r--main/lua-openrc/APKBUILD2
-rw-r--r--main/lua-pc/APKBUILD2
-rw-r--r--main/lua-posix/APKBUILD2
-rw-r--r--main/lua-socket/APKBUILD2
-rw-r--r--main/lua-sql-mysql/APKBUILD2
-rw-r--r--main/lua-sql-postgres/APKBUILD2
-rw-r--r--main/lua-sql-sqlite3/APKBUILD2
-rw-r--r--main/lua-uuid/APKBUILD2
-rw-r--r--main/lua-zlib/APKBUILD2
-rw-r--r--main/lua/APKBUILD2
-rw-r--r--main/lvm2/APKBUILD10
-rw-r--r--main/lzo/APKBUILD4
-rw-r--r--main/m4/APKBUILD2
-rw-r--r--main/make/APKBUILD2
-rw-r--r--main/man/APKBUILD2
-rw-r--r--main/mdadm/APKBUILD2
-rw-r--r--main/mercurial/APKBUILD4
-rw-r--r--main/mesa/APKBUILD2
-rw-r--r--main/midori/APKBUILD4
-rw-r--r--main/mini_httpd/APKBUILD2
-rw-r--r--main/minicom/APKBUILD2
-rw-r--r--main/mkfontscale/APKBUILD2
-rw-r--r--main/mlmmj/APKBUILD2
-rw-r--r--main/module-init-tools/APKBUILD2
-rw-r--r--main/mousepad/APKBUILD2
-rw-r--r--main/mpc/APKBUILD2
-rw-r--r--main/mpd/APKBUILD2
-rw-r--r--main/mpfr/APKBUILD11
-rw-r--r--main/mpg123/APKBUILD2
-rw-r--r--main/mplayer/APKBUILD (renamed from testing/mplayer/APKBUILD)20
-rw-r--r--main/mplayer/liba52_gcc_bug.patch (renamed from testing/mplayer/liba52_gcc_bug.patch)0
-rw-r--r--main/mplayer/mplayer/configure.orig (renamed from testing/mplayer/mplayer/configure.orig)0
-rw-r--r--main/mplayer/mplayer/configure.rej (renamed from testing/mplayer/mplayer/configure.rej)0
-rw-r--r--main/mrxvt/APKBUILD2
-rw-r--r--main/mtools/APKBUILD2
-rw-r--r--main/mysql/APKBUILD6
-rw-r--r--main/nano/APKBUILD2
-rw-r--r--main/nasm/APKBUILD2
-rw-r--r--main/ncftp/APKBUILD28
-rw-r--r--main/ncurses/APKBUILD2
-rw-r--r--main/neon/APKBUILD10
-rw-r--r--main/net-snmp/APKBUILD38
-rw-r--r--main/net-snmp/CVE-2008-6123.patch19
-rw-r--r--main/newt/APKBUILD2
-rw-r--r--main/nfs-utils/APKBUILD16
-rw-r--r--main/ngircd/APKBUILD2
-rw-r--r--main/nmap/APKBUILD2
-rw-r--r--main/nrpe/APKBUILD2
-rw-r--r--main/ntfs-3g/APKBUILD2
-rw-r--r--main/oidentd/APKBUILD2
-rw-r--r--main/openldap/APKBUILD2
-rw-r--r--main/opennhrp/APKBUILD8
-rw-r--r--main/opennhrp/opennhrp-script-timeout.patch13
-rw-r--r--main/openntpd/APKBUILD2
-rw-r--r--main/openrc/APKBUILD2
-rw-r--r--main/openssh/APKBUILD2
-rw-r--r--main/openssl/APKBUILD44
-rw-r--r--main/openssl/fix-manpages.patch1329
-rw-r--r--main/openssl/openssl-0.9.8k-quote-cc.patch72
-rw-r--r--main/openvpn/APKBUILD2
-rw-r--r--main/oprofile/APKBUILD2
-rw-r--r--main/orage/APKBUILD2
-rw-r--r--main/p7zip/APKBUILD6
-rw-r--r--main/pango/APKBUILD2
-rw-r--r--main/parole/APKBUILD2
-rw-r--r--main/parted/APKBUILD2
-rw-r--r--main/patch/APKBUILD2
-rw-r--r--main/pax-utils/APKBUILD2
-rw-r--r--main/paxctl/APKBUILD2
-rw-r--r--main/pciutils/APKBUILD2
-rw-r--r--main/pcmciautils/APKBUILD2
-rw-r--r--main/pcre/APKBUILD2
-rw-r--r--main/perl-compress-raw-bzip2/APKBUILD2
-rw-r--r--main/perl-compress-raw-zlib/APKBUILD2
-rw-r--r--main/perl-convert-uulib/APKBUILD2
-rw-r--r--main/perl-crypt-openssl-random/APKBUILD2
-rw-r--r--main/perl-crypt-openssl-rsa/APKBUILD2
-rw-r--r--main/perl-db/APKBUILD2
-rw-r--r--main/perl-db_file/APKBUILD2
-rw-r--r--main/perl-digest-sha1/APKBUILD2
-rw-r--r--main/perl-file-rsync/APKBUILD2
-rw-r--r--main/perl-html-parser/APKBUILD2
-rw-r--r--main/perl-mail-clamav/APKBUILD2
-rw-r--r--main/perl-mail-spamassassin/APKBUILD2
-rw-r--r--main/perl-net-dns/APKBUILD2
-rw-r--r--main/perl-net-ssleay/APKBUILD2
-rw-r--r--main/perl-netaddr-ip/APKBUILD2
-rw-r--r--main/perl-time-hires/APKBUILD2
-rw-r--r--main/perl-unix-syslog/APKBUILD2
-rw-r--r--main/perl-xml-parser/APKBUILD2
-rw-r--r--main/perl/APKBUILD2
-rw-r--r--main/pgcluster/APKBUILD2
-rw-r--r--main/pgpool/APKBUILD2
-rw-r--r--main/php-apc/APKBUILD2
-rw-r--r--main/php-fileinfo/APKBUILD2
-rw-r--r--main/php/APKBUILD24
-rw-r--r--main/php/php-install-pear-xml.patch15
-rw-r--r--main/pinentry/APKBUILD42
-rw-r--r--main/pinentry/pinentry-gtk.post-deinstall8
-rw-r--r--main/pinentry/pinentry-gtk.post-install4
-rw-r--r--main/pinentry/pinentry.post-deinstall6
-rw-r--r--main/pinentry/pinentry.post-install6
-rw-r--r--main/pingu/APKBUILD2
-rw-r--r--main/pixman/APKBUILD4
-rw-r--r--main/pjproject/APKBUILD15
-rw-r--r--main/pkgconfig/APKBUILD2
-rw-r--r--main/policyd-spf-fs/APKBUILD3
-rw-r--r--main/poppler-gtk/APKBUILD2
-rw-r--r--main/poppler/APKBUILD2
-rw-r--r--main/popt/APKBUILD10
-rw-r--r--main/portmap/APKBUILD13
-rw-r--r--main/portmap/portmap.pre-install2
-rw-r--r--main/postfix/APKBUILD2
-rw-r--r--main/postgresql/APKBUILD10
-rw-r--r--main/postgresql/pg-restore.confd2
-rw-r--r--main/postgresql/pg-restore.initd20
-rw-r--r--main/postgresql/postgresql.confd2
-rw-r--r--main/postgresql/postgresql.initd36
-rw-r--r--main/pound/APKBUILD11
-rw-r--r--main/pound/pound-2.5-openssl.patch290
-rw-r--r--main/ppp/APKBUILD2
-rw-r--r--main/psqlodbc/APKBUILD (renamed from testing/psqlodbc/APKBUILD)2
-rw-r--r--main/pth/APKBUILD4
-rw-r--r--main/python/APKBUILD2
-rw-r--r--main/quagga/APKBUILD2
-rw-r--r--main/rarian/APKBUILD2
-rw-r--r--main/razor/APKBUILD4
-rw-r--r--main/rdesktop/APKBUILD8
-rw-r--r--main/readline/APKBUILD2
-rw-r--r--main/remmina/APKBUILD2
-rw-r--r--main/rgb/APKBUILD2
-rw-r--r--main/ristretto/APKBUILD2
-rw-r--r--main/rrdtool/APKBUILD14
-rw-r--r--main/rsync/APKBUILD2
-rw-r--r--main/ruby/APKBUILD23
-rw-r--r--main/ruby/ruby-openssl-1.0.0.patch167
-rw-r--r--main/ruby/test.db0
-rw-r--r--main/run-parts/APKBUILD2
-rw-r--r--main/rxmtp/APKBUILD2
-rw-r--r--main/samba/APKBUILD20
-rw-r--r--main/samba/samba-uclibc-fstab.patch15
-rw-r--r--main/screen/APKBUILD2
-rw-r--r--main/scrot/APKBUILD2
-rw-r--r--main/sdl/APKBUILD2
-rw-r--r--main/sed/APKBUILD2
-rw-r--r--main/sessreg/APKBUILD2
-rw-r--r--main/setxkbmap/APKBUILD2
-rw-r--r--main/sfic/APKBUILD19
-rw-r--r--main/shared-mime-info/APKBUILD2
-rw-r--r--main/sic/APKBUILD4
-rw-r--r--main/slang/APKBUILD2
-rw-r--r--main/slim/APKBUILD2
-rw-r--r--main/sntpc/APKBUILD2
-rw-r--r--main/sox/APKBUILD7
-rw-r--r--main/spamassassin/APKBUILD2
-rw-r--r--main/spandsp/APKBUILD2
-rw-r--r--main/sqlite/APKBUILD2
-rw-r--r--main/squashfs-tools/APKBUILD2
-rw-r--r--main/squid/APKBUILD2
-rw-r--r--main/ssmtp/APKBUILD2
-rw-r--r--main/startup-notification/APKBUILD2
-rw-r--r--main/strace/APKBUILD6
-rw-r--r--main/subversion/APKBUILD2
-rw-r--r--main/sudo/APKBUILD6
-rw-r--r--main/swfdec-mozilla/APKBUILD2
-rw-r--r--main/swfdec/APKBUILD2
-rw-r--r--main/swig/APKBUILD2
-rw-r--r--main/sylpheed/APKBUILD2
-rw-r--r--main/sysfsutils/APKBUILD4
-rw-r--r--main/sysklogd/APKBUILD2
-rw-r--r--main/syslinux/APKBUILD23
-rw-r--r--main/syslinux/syslinux-3.72-nopie.patch12
-rw-r--r--main/syslinux/syslinux-3.86-nopie.patch11
-rw-r--r--main/sysstat/APKBUILD2
-rw-r--r--main/taglib/APKBUILD4
-rw-r--r--main/tar/APKBUILD2
-rw-r--r--main/tcl/APKBUILD2
-rw-r--r--main/tcpdump/APKBUILD10
-rw-r--r--main/tcpproxy/APKBUILD2
-rw-r--r--main/terminal/APKBUILD2
-rw-r--r--main/texinfo/APKBUILD2
-rw-r--r--main/tftpd-hpa/APKBUILD2
-rw-r--r--main/thunar-archive-plugin/APKBUILD2
-rw-r--r--main/thunar/APKBUILD2
-rw-r--r--main/tiff/APKBUILD2
-rw-r--r--main/tinyproxy/APKBUILD2
-rw-r--r--main/tmux/APKBUILD2
-rw-r--r--main/transmission/APKBUILD6
-rw-r--r--main/ucarp/APKBUILD2
-rw-r--r--main/uclibc++/APKBUILD2
-rw-r--r--main/uclibc/0001-Add-dn_skipname-from-OpenBSD.patch115
-rw-r--r--main/uclibc/0001-avr32-add-varargs-handling-of-prctl-syscall.patch74
-rw-r--r--main/uclibc/0001-ldd-segfault-fix.patch49
-rw-r--r--main/uclibc/0002-Make-use-of-macros-from-sys-asm.h-in-crt1.S.patch87
-rw-r--r--main/uclibc/0003-rpc-fix-typo-in-version-mismatch-msg.patch26
-rw-r--r--main/uclibc/0004-fix-make-install_-host-utils.patch158
-rw-r--r--main/uclibc/0005-host-utils-depend-on-headers.patch35
-rw-r--r--main/uclibc/0006-fstatat-fix-up-behavior-on-32-64-bit-hosts.patch113
-rw-r--r--main/uclibc/0007-Unbreak-build-for-sparc-on-some-config-s.patch42
-rw-r--r--main/uclibc/0008-malloc-fix-race-condition-and-other-bugs-in-the-no-m.patch89
-rw-r--r--main/uclibc/0009-libm-enable-log2f-and-exp2f.patch70
-rw-r--r--main/uclibc/APKBUILD88
-rw-r--r--main/uclibc/pthread-new-aliasing-fix.diff147
-rw-r--r--main/uclibc/uclibc-0.9.30.1-pthread_getattr_np.patch137
-rw-r--r--main/uclibc/uclibc-0.9.30.1-resolv.patch13
-rw-r--r--main/uclibc/uclibc-fork-hidden.diff115
-rw-r--r--main/uclibc/uclibc-fork-hook.diff36
-rw-r--r--main/uclibc/uclibc-i386-floating-stacks.diff23
-rw-r--r--main/uclibc/uclibc-linuxthreads-init-stdio.patch21
-rw-r--r--main/uclibc/uclibc-resolv-cname-fix.diff16
-rw-r--r--main/uiconv/APKBUILD2
-rw-r--r--main/unarj/APKBUILD4
-rw-r--r--main/unfs3/APKBUILD4
-rw-r--r--main/unixodbc/APKBUILD14
-rw-r--r--main/unrar/APKBUILD2
-rw-r--r--main/usbutils/APKBUILD2
-rw-r--r--main/util-linux-ng/APKBUILD4
-rw-r--r--main/util-vserver/APKBUILD2
-rw-r--r--main/uvncrepeater/APKBUILD2
-rw-r--r--main/v86d/APKBUILD7
-rw-r--r--main/vala/APKBUILD4
-rw-r--r--main/valgrind/APKBUILD34
-rw-r--r--main/vim/APKBUILD2
-rw-r--r--main/vsftpd/APKBUILD2
-rw-r--r--main/vte/APKBUILD4
-rw-r--r--main/webkit/APKBUILD4
-rw-r--r--main/wget/APKBUILD2
-rw-r--r--main/wine/APKBUILD (renamed from testing/wine/APKBUILD)10
-rw-r--r--main/wine/dn_skipname.patch38
-rw-r--r--main/wireless-tools/APKBUILD2
-rw-r--r--main/wireshark/APKBUILD2
-rw-r--r--main/wpa_supplicant/APKBUILD2
-rw-r--r--main/wv/APKBUILD2
-rw-r--r--main/x264/APKBUILD4
-rw-r--r--main/xarchiver/APKBUILD2
-rw-r--r--main/xauth/APKBUILD2
-rw-r--r--main/xbacklight/APKBUILD2
-rw-r--r--main/xcb-util/APKBUILD2
-rw-r--r--main/xchat/APKBUILD2
-rw-r--r--main/xcmsdb/APKBUILD2
-rw-r--r--main/xdelta3/APKBUILD2
-rw-r--r--main/xdpyinfo/APKBUILD2
-rw-r--r--main/xdriinfo/APKBUILD2
-rw-r--r--main/xev/APKBUILD2
-rw-r--r--main/xf86-input-evdev/APKBUILD4
-rw-r--r--main/xf86-input-keyboard/APKBUILD2
-rw-r--r--main/xf86-input-mouse/APKBUILD2
-rw-r--r--main/xf86-input-synaptics/APKBUILD2
-rw-r--r--main/xf86-video-apm/APKBUILD2
-rw-r--r--main/xf86-video-ark/APKBUILD2
-rw-r--r--main/xf86-video-ast/APKBUILD2
-rw-r--r--main/xf86-video-ati/APKBUILD4
-rw-r--r--main/xf86-video-chips/APKBUILD2
-rw-r--r--main/xf86-video-cirrus/APKBUILD2
-rw-r--r--main/xf86-video-dummy/APKBUILD2
-rw-r--r--main/xf86-video-fbdev/APKBUILD2
-rw-r--r--main/xf86-video-geode/APKBUILD2
-rw-r--r--main/xf86-video-glint/APKBUILD2
-rw-r--r--main/xf86-video-i128/APKBUILD2
-rw-r--r--main/xf86-video-i740/APKBUILD2
-rw-r--r--main/xf86-video-intel/APKBUILD2
-rw-r--r--main/xf86-video-mach64/APKBUILD2
-rw-r--r--main/xf86-video-newport/APKBUILD2
-rw-r--r--main/xf86-video-nv/APKBUILD2
-rw-r--r--main/xf86-video-openchrome/APKBUILD2
-rw-r--r--main/xf86-video-r128/APKBUILD2
-rw-r--r--main/xf86-video-radeonhd/APKBUILD2
-rw-r--r--main/xf86-video-rendition/APKBUILD2
-rw-r--r--main/xf86-video-s3/APKBUILD2
-rw-r--r--main/xf86-video-s3virge/APKBUILD2
-rw-r--r--main/xf86-video-savage/APKBUILD2
-rw-r--r--main/xf86-video-siliconmotion/APKBUILD6
-rw-r--r--main/xf86-video-sis/APKBUILD2
-rw-r--r--main/xf86-video-sunffb/APKBUILD2
-rw-r--r--main/xf86-video-sunleo/APKBUILD2
-rw-r--r--main/xf86-video-tdfx/APKBUILD2
-rw-r--r--main/xf86-video-tseng/APKBUILD2
-rw-r--r--main/xf86-video-v4l/APKBUILD2
-rw-r--r--main/xf86-video-vesa/APKBUILD2
-rw-r--r--main/xf86-video-vmware/APKBUILD2
-rw-r--r--main/xfce-utils/APKBUILD2
-rw-r--r--main/xfce4-appfinder/APKBUILD2
-rw-r--r--main/xfce4-battery-plugin/APKBUILD2
-rw-r--r--main/xfce4-cpufreq-plugin/APKBUILD2
-rw-r--r--main/xfce4-mixer/APKBUILD2
-rw-r--r--main/xfce4-notifyd/APKBUILD2
-rw-r--r--main/xfce4-panel/APKBUILD2
-rw-r--r--main/xfce4-screenshooter/APKBUILD19
-rw-r--r--main/xfce4-session/APKBUILD2
-rw-r--r--main/xfce4-settings/APKBUILD2
-rw-r--r--main/xfce4-taskmanager/APKBUILD2
-rw-r--r--main/xfce4-wavelan-plugin/APKBUILD2
-rw-r--r--main/xfce4-xkb-plugin/APKBUILD2
-rw-r--r--main/xfconf/APKBUILD2
-rw-r--r--main/xfdesktop/APKBUILD2
-rw-r--r--main/xfprint/APKBUILD2
-rw-r--r--main/xfsprogs/APKBUILD4
-rw-r--r--main/xfwm4/APKBUILD2
-rw-r--r--main/xgamma/APKBUILD2
-rw-r--r--main/xhost/APKBUILD2
-rw-r--r--main/xinit/APKBUILD2
-rw-r--r--main/xkbcomp/APKBUILD2
-rw-r--r--main/xmodmap/APKBUILD2
-rw-r--r--main/xorg-server/APKBUILD2
-rw-r--r--main/xrandr/APKBUILD2
-rw-r--r--main/xrdb/APKBUILD2
-rw-r--r--main/xrefresh/APKBUILD2
-rw-r--r--main/xset/APKBUILD2
-rw-r--r--main/xsetmode/APKBUILD2
-rw-r--r--main/xsetroot/APKBUILD2
-rw-r--r--main/xtables-addons/APKBUILD2
-rw-r--r--main/xvidcore/APKBUILD2
-rw-r--r--main/xvinfo/APKBUILD2
-rw-r--r--main/yasm/APKBUILD2
-rw-r--r--main/zip/APKBUILD4
-rw-r--r--main/zlib/APKBUILD16
-rw-r--r--main/zlib/gzflush.patch12
-rw-r--r--main/zlib/zlib-1.2.5-lfs-decls.patch13
-rw-r--r--main/zonenotify/APKBUILD4
-rw-r--r--main/zsnes/APKBUILD2
-rw-r--r--testing/alsa-utils/APKBUILD4
-rw-r--r--testing/atomic-ops/APKBUILD19
-rw-r--r--testing/bacula-client/APKBUILD2
-rw-r--r--testing/bacula/APKBUILD2
-rw-r--r--testing/bluez-firmware/APKBUILD22
-rw-r--r--testing/bluez-hcidump/APKBUILD25
-rw-r--r--testing/bluez/APKBUILD77
-rw-r--r--testing/bluez/bluetooth-conf.d7
-rw-r--r--testing/bluez/bluetooth-init.d31
-rw-r--r--testing/bluez/bluetooth.confd7
-rw-r--r--testing/bluez/bluetooth.initd32
-rw-r--r--testing/cdparanoia/APKBUILD7
-rw-r--r--testing/cherokee/APKBUILD2
-rw-r--r--testing/collectd/APKBUILD4
-rw-r--r--testing/coova-chilli/APKBUILD6
-rw-r--r--testing/cryptsetup/APKBUILD2
-rw-r--r--testing/daemontools/APKBUILD2
-rw-r--r--testing/dspam/APKBUILD2
-rw-r--r--testing/ebtables/APKBUILD2
-rw-r--r--testing/freeradius/APKBUILD2
-rwxr-xr-xtesting/freeswitch/freeswitch.initd33
-rwxr-xr-xtesting/freeswitch/freeswitch.post-deinstall4
-rwxr-xr-xtesting/freeswitch/freeswitch.post-install5
-rwxr-xr-xtesting/freeswitch/freeswitch.pre-install4
-rw-r--r--testing/fuse/APKBUILD2
-rw-r--r--testing/gnumeric/APKBUILD30
-rw-r--r--testing/gtksourceview/APKBUILD2
-rw-r--r--testing/hardinfo/APKBUILD4
-rw-r--r--testing/hdparm/APKBUILD2
-rw-r--r--testing/hping3/APKBUILD2
-rw-r--r--testing/icecast/APKBUILD2
-rw-r--r--testing/iproute2/APKBUILD2
-rw-r--r--testing/ircii/APKBUILD2
-rw-r--r--testing/ircservices/APKBUILD2
-rw-r--r--testing/iscsi-scst-grsec/APKBUILD60
-rw-r--r--testing/iscsi-scst-grsec/config.c.patch12
-rw-r--r--testing/iscsi-scst/APKBUILD39
-rw-r--r--testing/iscsi-scst/iscsi-scst.initd23
-rw-r--r--testing/kamailio/APKBUILD2
-rw-r--r--testing/libelf/APKBUILD26
-rw-r--r--testing/libgssglue/APKBUILD2
-rw-r--r--testing/libical/APKBUILD26
-rw-r--r--testing/libtirpc/APKBUILD4
-rw-r--r--testing/libunique/APKBUILD2
-rw-r--r--testing/libwmf/APKBUILD2
-rw-r--r--testing/live-media/APKBUILD2
-rw-r--r--testing/ltrace/APKBUILD25
-rw-r--r--testing/lua-crypto/APKBUILD2
-rw-r--r--testing/lua-curl/APKBUILD2
-rw-r--r--testing/lua-filesystem/APKBUILD2
-rw-r--r--testing/lua-nixio/APKBUILD2
-rw-r--r--testing/lua-rexlib/APKBUILD2
-rw-r--r--testing/madplay/APKBUILD28
-rw-r--r--testing/madwimax/APKBUILD2
-rw-r--r--testing/mediaproxy/APKBUILD2
-rw-r--r--testing/mp3info/APKBUILD6
-rw-r--r--testing/mtx/APKBUILD2
-rw-r--r--testing/needbump57
-rw-r--r--testing/obexd/APKBUILD25
-rw-r--r--testing/open-iscsi/APKBUILD10
-rw-r--r--testing/open-iscsi/iscsid.initd (renamed from testing/open-iscsi/iscsid-2.0.871-r1.init.d)5
-rw-r--r--testing/openobex/APKBUILD34
-rw-r--r--testing/opensips-cp/APKBUILD6
-rw-r--r--testing/opensips/APKBUILD11
-rw-r--r--testing/osmo/APKBUILD27
-rw-r--r--testing/osmo/osmo-0.2.10-build-mo.patch20
-rw-r--r--testing/perl-carp-clan/APKBUILD36
-rw-r--r--testing/perl-date-format/APKBUILD36
-rw-r--r--testing/perl-date-manip/APKBUILD34
-rw-r--r--testing/perl-devel-symdump/APKBUILD36
-rw-r--r--testing/perl-file-tail/APKBUILD36
-rw-r--r--testing/perl-pod-coverage/APKBUILD36
-rw-r--r--testing/perl-sub-uplevel/APKBUILD35
-rw-r--r--testing/perl-test-exception/APKBUILD35
-rw-r--r--testing/perl-test-inter/APKBUILD36
-rw-r--r--testing/perl-test-pod-coverage/APKBUILD36
-rw-r--r--testing/perl-yaml-syck/APKBUILD36
-rw-r--r--testing/pmacct/APKBUILD2
-rw-r--r--testing/pptpclient/APKBUILD2
-rw-r--r--testing/prosody/APKBUILD2
-rw-r--r--testing/pycrypto/APKBUILD11
-rw-r--r--testing/python-cjson/APKBUILD2
-rw-r--r--testing/python-gnutls/APKBUILD2
-rw-r--r--testing/qemu/APKBUILD52
-rw-r--r--testing/rrdbot/APKBUILD2
-rw-r--r--testing/rrdcollect/APKBUILD8
-rw-r--r--testing/rtapd/APKBUILD2
-rw-r--r--testing/rtnppd/APKBUILD2
-rw-r--r--testing/scst-grsec/APKBUILD62
-rw-r--r--testing/scst-grsec/scst-kernel-2.6.32.patch17
-rw-r--r--testing/sems/0001-makefile-fail-on-errors.patch170
-rw-r--r--testing/sems/0002-include-headers.patch116
-rw-r--r--testing/sems/APKBUILD13
-rw-r--r--testing/sircbot/APKBUILD2
-rw-r--r--testing/sisctrl/APKBUILD2
-rw-r--r--testing/smartmontools/APKBUILD2
-rw-r--r--testing/spandsp/APKBUILD17
-rw-r--r--testing/swatch/APKBUILD58
-rw-r--r--testing/swatch/swatch.confd8
-rwxr-xr-xtesting/swatch/swatch.initd50
-rw-r--r--testing/swatch/swatchrc103
-rw-r--r--testing/swish-e/APKBUILD2
-rw-r--r--testing/twisted/APKBUILD2
-rw-r--r--testing/ucspi-tcp/APKBUILD2
-rw-r--r--testing/udev/APKBUILD4
-rw-r--r--testing/ulogd/APKBUILD6
-rw-r--r--testing/umix/APKBUILD2
-rw-r--r--testing/wine/libpng14.patch76
-rw-r--r--testing/xf86-video-openchrome-svn/APKBUILD33
-rw-r--r--unstable/vlc/APKBUILD (renamed from testing/vlc/APKBUILD)0
-rw-r--r--unstable/vlc/uclibc.patch (renamed from testing/vlc/uclibc.patch)0
-rw-r--r--unstable/wzdftpd-svn/APKBUILD (renamed from testing/wzdftpd/APKBUILD)0
-rw-r--r--unstable/wzdftpd-svn/wzdftpd-svn.initd (renamed from testing/wzdftpd/wzdftpd-svn.initd)0
757 files changed, 10563 insertions, 7192 deletions
diff --git a/main/a2ps/APKBUILD b/main/a2ps/APKBUILD
index 18409a28d6..369a94db61 100644
--- a/main/a2ps/APKBUILD
+++ b/main/a2ps/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=a2ps 2pkgname=a2ps
3pkgver=4.14 3pkgver=4.14
4pkgrel=0 4pkgrel=1
5pkgdesc="a2ps is an Any to PostScript filter" 5pkgdesc="a2ps is an Any to PostScript filter"
6url="http://www.gnu.org/software/a2ps/" 6url="http://www.gnu.org/software/a2ps/"
7license="GPL3" 7license="GPL3"
diff --git a/main/a52dec/APKBUILD b/main/a52dec/APKBUILD
index 8d3b868d2f..bbb41d5f10 100644
--- a/main/a52dec/APKBUILD
+++ b/main/a52dec/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=a52dec 2pkgname=a52dec
3pkgver=0.7.4 3pkgver=0.7.4
4pkgrel=0 4pkgrel=1
5pkgdesc="liba52 is a free library for decoding ATSC A/52 streams." 5pkgdesc="liba52 is a free library for decoding ATSC A/52 streams."
6url="http://liba52.sourceforge.net/" 6url="http://liba52.sourceforge.net/"
7license="GPL2" 7license="GPL2"
diff --git a/main/abiword/APKBUILD b/main/abiword/APKBUILD
index 8007da2ab4..c134f19920 100644
--- a/main/abiword/APKBUILD
+++ b/main/abiword/APKBUILD
@@ -1,24 +1,68 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=abiword 2pkgname=abiword
3pkgver=2.8.3 3pkgver=2.8.4
4pkgrel=0 4pkgrel=2
5pkgdesc="A fully-featured word processor" 5pkgdesc="A fully-featured word processor"
6url="http://www.abisource.com" 6url="http://www.abisource.com"
7license="GPL" 7license="GPL"
8makedepends="pkgconfig libglade-dev libgsf-dev enchant-dev fribidi-dev wv-dev 8makedepends="pkgconfig libglade-dev libgsf-dev enchant-dev fribidi-dev wv-dev
9 popt-dev jpeg-dev librsvg-dev bzip2-dev" 9 popt-dev jpeg-dev librsvg-dev bzip2-dev goffice-dev"
10subpackages="$pkgname-dev" 10
11# openxml plugin
12makedepends="$makedepends boost-dev"
13
14# collab plugin
15makedepends="$makedepends gnutls-dev libsoup-dev dbus-glib-dev"
16
17
18subpackages="$pkgname-dev $pkgname-doc $pkgname-plugins"
19
20_plugins="applix babelfish bmp clarisworks collab docbook eml freetranslation
21 garble gdict gimp google hancom hrtext iscii kword loadbindings mht
22 mif mswrite openwriter openxml opml paint passepartout pdb pdf
23 presentation s5 sdw t602 urldict wikipedia wml xslfo"
24
25for _i in $_plugins; do
26 subpackages="$subpackages $pkgname-plugin-$_i:$_i"
27done
28
11source="http://www.abisource.com/downloads/$pkgname/$pkgver/source/$pkgname-$pkgver.tar.gz" 29source="http://www.abisource.com/downloads/$pkgname/$pkgver/source/$pkgname-$pkgver.tar.gz"
12 30
13build() { 31build() {
14 cd "$srcdir"/$pkgname-$pkgver 32 cd "$srcdir"/$pkgname-$pkgver
15 ./configure --prefix=/usr \ 33 ./configure --prefix=/usr \
34 --enable-shared \
35 --disable-static \
36 --enable-plugins \
16 || return 1 37 || return 1
17 make || return 1 38 make || return 1
18} 39}
19 40
41# ="opendocument goffice latex" \
20package() { 42package() {
21 cd "$srcdir"/$pkgname-$pkgver 43 cd "$srcdir"/$pkgname-$pkgver
22 make DESTDIR="$pkgdir" install 44 make DESTDIR="$pkgdir" install
23} 45}
24md5sums="8984b09663e1514ca0e361b0627ea285 abiword-2.8.3.tar.gz" 46
47_do_plugin() {
48 local plugin="$1"
49 pkgdesc="Abiword $1 plugin"
50 local dir="usr/lib/abiword-${pkgver%.*}/plugins"
51 mkdir -p "$subpkgdir"/$dir
52 mv "$pkgdir"/$dir/$plugin.so "$subpkgdir"/$dir/
53}
54
55for _i in $_plugins; do
56 eval "$_i() { _do_plugin $_i; }"
57done
58
59plugins() {
60 pkgdesc="Abiword plugins, all of them"
61 depends=
62 for _i in $_plugins; do
63 depends="$depends $pkgname-plugin-$_i"
64 done
65 mkdir -p "$subpkgdir"
66}
67
68md5sums="f782ecb8e07d07ec179f7a143353cc29 abiword-2.8.4.tar.gz"
diff --git a/main/abuild/APKBUILD b/main/abuild/APKBUILD
index 876a6e01a8..8c684d6b93 100644
--- a/main/abuild/APKBUILD
+++ b/main/abuild/APKBUILD
@@ -1,36 +1,22 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgdesc="Script to build Alpine Packages" 2pkgdesc="Script to build Alpine Packages"
3pkgname=abuild 3pkgname=abuild
4pkgver=2.1 4pkgver=2.3
5pkgrel=2 5pkgrel=0
6url=http://git.alpinelinux.org/cgit/abuild/ 6url=http://git.alpinelinux.org/cgit/abuild/
7source="http://git.alpinelinux.org/cgit/abuild/snapshot/abuild-$pkgver.tar.bz2 7source="http://git.alpinelinux.org/cgit/abuild/snapshot/abuild-$pkgver.tar.bz2"
8 0002-add-fetch-from-source-mirror.patch
9 0003-add-color-control-command-line-option.patch"
10depends="fakeroot file sudo pax-utils apk-tools" 8depends="fakeroot file sudo pax-utils apk-tools"
11makedepends="openssl-dev pkgconfig" 9makedepends="openssl-dev pkgconfig"
12license=GPL-2 10license=GPL-2
13 11
14prepare() {
15 cd "$srcdir"/$pkgname-$_realver
16 # patches
17 for i in ../0002-add-fetch-from-source-mirror.patch ../0003-add-color-control-command-line-option.patch; do
18 msg "Applying $i"
19 if ! patch --verbose -p1 -i $i; then
20 error "$i failed"
21 return 1
22 fi
23 done
24}
25
26build() { 12build() {
27 cd "$srcdir/$pkgname-$pkgver" 13 cd "$srcdir/$pkgname-$pkgver"
28
29 make 14 make
15}
16
17package() {
18 cd "$srcdir/$pkgname-$pkgver"
30 make install DESTDIR="$pkgdir" 19 make install DESTDIR="$pkgdir"
31 install -m 644 abuild.conf "$pkgdir"/etc/abuild.conf 20 install -m 644 abuild.conf "$pkgdir"/etc/abuild.conf
32} 21}
33 22md5sums="7c738e0018202160366b8329ec693502 abuild-2.3.tar.bz2"
34md5sums="2268fa6147c8088139ef136184cd2ae0 abuild-2.1.tar.bz2
355c0332196a6693d49cfe3d75c29fc63c 0002-add-fetch-from-source-mirror.patch
36d710ffb3c7f3eae52cac62bc2bf4f454 0003-add-color-control-command-line-option.patch"
diff --git a/main/acct/APKBUILD b/main/acct/APKBUILD
index c4a68c67bb..020721398e 100644
--- a/main/acct/APKBUILD
+++ b/main/acct/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 2# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
3pkgname=acct 3pkgname=acct
4pkgver=6.5.3 4pkgver=6.5.3
5pkgrel=0 5pkgrel=1
6pkgdesc="The GNU Accounting Utilities" 6pkgdesc="The GNU Accounting Utilities"
7url="http://www.gnu.org/software/acct/" 7url="http://www.gnu.org/software/acct/"
8license="GPL" 8license="GPL"
diff --git a/main/acf-weblog/APKBUILD b/main/acf-weblog/APKBUILD
index ec2f111cad..b0b3da27d5 100644
--- a/main/acf-weblog/APKBUILD
+++ b/main/acf-weblog/APKBUILD
@@ -1,7 +1,7 @@
1# Contributor: Ted Trask <ttrask01@yahoo.com> 1# Contributor: Ted Trask <ttrask01@yahoo.com>
2# Maintainer: Ted Trask <ttrask01@yahoo.com> 2# Maintainer: Ted Trask <ttrask01@yahoo.com>
3pkgname=acf-weblog 3pkgname=acf-weblog
4pkgver=0.5.4 4pkgver=0.5.5
5pkgrel=0 5pkgrel=0
6pkgdesc="ACF for web proxy (squid and dansguardian) logfiles" 6pkgdesc="ACF for web proxy (squid and dansguardian) logfiles"
7url="http://git.alpinelinux.org/cgit/acf-weblog" 7url="http://git.alpinelinux.org/cgit/acf-weblog"
@@ -17,4 +17,4 @@ build() {
17 make DESTDIR="$pkgdir" install 17 make DESTDIR="$pkgdir" install
18} 18}
19 19
20md5sums="8926a8178bf646363678bc9feacbc310 acf-weblog-0.5.4.tar.bz2" 20md5sums="c48ef4d8d9136f16de68129404ffb3ee acf-weblog-0.5.5.tar.bz2"
diff --git a/main/alpine-base/APKBUILD b/main/alpine-base/APKBUILD
index b4eeefa3db..36e96a1f99 100644
--- a/main/alpine-base/APKBUILD
+++ b/main/alpine-base/APKBUILD
@@ -2,12 +2,12 @@
2# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 2# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
3pkgname=alpine-base 3pkgname=alpine-base
4pkgver=2.0 4pkgver=2.0
5pkgrel=1 5pkgrel=2
6pkgdesc="Meta package for minimal alpine base" 6pkgdesc="Meta package for minimal alpine base"
7url="http://alpinelinux.org" 7url="http://alpinelinux.org"
8license="GPL" 8license="GPL"
9depends="alpine-baselayout alpine-conf apk-tools busybox busybox-initscripts 9depends="alpine-baselayout alpine-conf apk-tools busybox busybox-initscripts
10 openrc" 10 openrc uclibc-utils"
11makedepends= 11makedepends=
12install= 12install=
13subpackages= 13subpackages=
diff --git a/main/alpine-baselayout/APKBUILD b/main/alpine-baselayout/APKBUILD
index 46a325b976..ba6c321fe9 100644
--- a/main/alpine-baselayout/APKBUILD
+++ b/main/alpine-baselayout/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=alpine-baselayout 2pkgname=alpine-baselayout
3pkgver=2.0_rc1 3pkgver=2.0_rc1
4pkgrel=0 4pkgrel=1
5pkgdesc="Alpine base dir structure and init scripts" 5pkgdesc="Alpine base dir structure and init scripts"
6url=http://git.alpinelinux.org/cgit/alpine-baselayout 6url=http://git.alpinelinux.org/cgit/alpine-baselayout
7depends= 7depends=
@@ -11,7 +11,12 @@ license=GPL-2
11 11
12build() { 12build() {
13 cd "$srcdir"/$pkgname-$pkgver 13 cd "$srcdir"/$pkgname-$pkgver
14 rm -f src/mkmntdirs
14 make 15 make
16}
17
18package() {
19 cd "$srcdir"/$pkgname-$pkgver
15 make install PREFIX= DESTDIR="$pkgdir" || return 1 20 make install PREFIX= DESTDIR="$pkgdir" || return 1
16} 21}
17md5sums="76d61057c9e21d8e3ef85933a20b814d alpine-baselayout-2.0_rc1.tar.bz2" 22md5sums="76d61057c9e21d8e3ef85933a20b814d alpine-baselayout-2.0_rc1.tar.bz2"
diff --git a/main/alpine-sdk/APKBUILD b/main/alpine-sdk/APKBUILD
index 587f1785e6..1b6d79cbde 100644
--- a/main/alpine-sdk/APKBUILD
+++ b/main/alpine-sdk/APKBUILD
@@ -1,6 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=alpine-sdk 2pkgname=alpine-sdk
3pkgver=0.3 3pkgver=0.3
4pkgrel=0
4url=http://dev.alpinelinux.org/cgit 5url=http://dev.alpinelinux.org/cgit
5pkgdesc="Alpine Software Development Kit meta package" 6pkgdesc="Alpine Software Development Kit meta package"
6depends="abuild build-base git cramfs cdrkit acct mkinitfs mtools" 7depends="abuild build-base git cramfs cdrkit acct mkinitfs mtools"
diff --git a/main/alsa-lib/APKBUILD b/main/alsa-lib/APKBUILD
index eda8c61241..1b4503c92b 100644
--- a/main/alsa-lib/APKBUILD
+++ b/main/alsa-lib/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=alsa-lib 2pkgname=alsa-lib
3pkgver=1.0.22 3pkgver=1.0.23
4pkgrel=0 4pkgrel=1
5pkgdesc="An alternative implementation of Linux sound support" 5pkgdesc="An alternative implementation of Linux sound support"
6url="http://www.alsa-project.org" 6url="http://www.alsa-project.org"
7license="GPL" 7license="GPL"
@@ -19,6 +19,7 @@ build() {
19 --enable-seq \ 19 --enable-seq \
20 --enable-aload \ 20 --enable-aload \
21 --disable-dependency-tracking \ 21 --disable-dependency-tracking \
22 --without-versioned \
22 || return 1 23 || return 1
23 make || return 1 24 make || return 1
24} 25}
@@ -27,4 +28,4 @@ package() {
27 cd "$srcdir/$pkgname-$pkgver" 28 cd "$srcdir/$pkgname-$pkgver"
28 make -j1 DESTDIR="$pkgdir" install 29 make -j1 DESTDIR="$pkgdir" install
29} 30}
30md5sums="b28a12348905fb6915bc41f0edb2ecce alsa-lib-1.0.22.tar.bz2" 31md5sums="f48b50421d8a69d2d806d9c47e534f0d alsa-lib-1.0.23.tar.bz2"
diff --git a/main/amavisd-new/APKBUILD b/main/amavisd-new/APKBUILD
index 6929217100..ad9ef36e46 100644
--- a/main/amavisd-new/APKBUILD
+++ b/main/amavisd-new/APKBUILD
@@ -6,7 +6,7 @@ pkgrel=1
6pkgdesc="High-performance interface between mailer (MTA) and content checkers" 6pkgdesc="High-performance interface between mailer (MTA) and content checkers"
7url="http://www.ijs.si/software/amavisd" 7url="http://www.ijs.si/software/amavisd"
8license="GPL-2" 8license="GPL-2"
9depends="uclibc sed file perl perl-archive-zip perl-convert-tnef 9depends="sed file perl perl-archive-zip perl-convert-tnef
10perl-convert-uulib perl-mime-tools perl-mail-tools perl-net-server 10perl-convert-uulib perl-mime-tools perl-mail-tools perl-net-server
11perl-io-stringy perl-unix-syslog perl-db perl-mail-dkim" 11perl-io-stringy perl-unix-syslog perl-db perl-mail-dkim"
12makedepends="" 12makedepends=""
diff --git a/main/antiword/APKBUILD b/main/antiword/APKBUILD
index a6134c9f2f..d7b80c7709 100644
--- a/main/antiword/APKBUILD
+++ b/main/antiword/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Michael Mason <ms13sp@gmail.com> 2# Maintainer: Michael Mason <ms13sp@gmail.com>
3pkgname=antiword 3pkgname=antiword
4pkgver=0.37 4pkgver=0.37
5pkgrel=0 5pkgrel=1
6pkgdesc="free MS Word reader" 6pkgdesc="free MS Word reader"
7url="http://www.winfield.demon.nl" 7url="http://www.winfield.demon.nl"
8license="GPL" 8license="GPL"
diff --git a/main/apcupsd/APKBUILD b/main/apcupsd/APKBUILD
index c9b29fa28d..4193348f20 100644
--- a/main/apcupsd/APKBUILD
+++ b/main/apcupsd/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=apcupsd 2pkgname=apcupsd
3pkgver=3.14.8 3pkgver=3.14.8
4pkgrel=1 4pkgrel=2
5pkgdesc="A Daemon to control APC UPSes" 5pkgdesc="A Daemon to control APC UPSes"
6subpackages="$pkgname-doc" 6subpackages="$pkgname-doc"
7url="http://www.apcupsd.org" 7url="http://www.apcupsd.org"
diff --git a/main/apg/APKBUILD b/main/apg/APKBUILD
index 98d41665a6..8912b5f3e1 100644
--- a/main/apg/APKBUILD
+++ b/main/apg/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=apg 2pkgname=apg
3pkgver=2.2.3 3pkgver=2.2.3
4pkgrel=0 4pkgrel=1
5pkgdesc="Automated Password Generator." 5pkgdesc="Automated Password Generator."
6url="http://www.adel.nursat.kz/apg/index.shtml" 6url="http://www.adel.nursat.kz/apg/index.shtml"
7license="custom" 7license="custom"
diff --git a/main/apk-tools/APKBUILD b/main/apk-tools/APKBUILD
index 7b36613784..87d4d69949 100644
--- a/main/apk-tools/APKBUILD
+++ b/main/apk-tools/APKBUILD
@@ -1,26 +1,30 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=apk-tools 2pkgname=apk-tools
3pkgver=2.0.2 3pkgver=2.0.2
4pkgrel=0 4pkgrel=4
5pkgdesc="Alpine Package Keeper - package manager for alpine" 5pkgdesc="Alpine Package Keeper - package manager for alpine"
6subpackages="$pkgname-static" 6subpackages="$pkgname-static"
7depends= 7depends=
8makedepends="zlib-dev openssl-dev pkgconfig" 8makedepends="zlib-dev openssl-dev pkgconfig"
9source="http://git.alpinelinux.org/cgit/$pkgname/snapshot/$pkgname-$pkgver.tar.bz2 9source="http://git.alpinelinux.org/cgit/$pkgname/snapshot/$pkgname-$pkgver.tar.bz2
10 info-segfault.patch
10 " 11 "
11 12
12 13
13url="http://git.alpinelinux.org/cgit/apk-tools/" 14url="http://git.alpinelinux.org/cgit/apk-tools/"
14license=GPL-2 15license=GPL-2
15 16
16build() { 17prepare() {
17 cd "$srcdir/$pkgname-$pkgver" 18 cd "$srcdir/$pkgname-$pkgver"
18 sed -i -e 's:-Werror::' Make.rules 19 sed -i -e 's:-Werror::' Make.rules
19 for i in ../*.patch; do 20 for i in ../*.patch; do
20 [ -f $i ] || continue 21 [ -f $i ] || continue
21 patch -p1 -i $i || return 1 22 patch -p1 -i $i || return 1
22 done 23 done
24}
23 25
26build() {
27 cd "$srcdir/$pkgname-$pkgver"
24 make || return 1 28 make || return 1
25 make static || return 1 29 make static || return 1
26 make DESTDIR="$pkgdir" install 30 make DESTDIR="$pkgdir" install
@@ -40,4 +44,5 @@ static() {
40 "$subpkgdir"/sbin/apk.static 44 "$subpkgdir"/sbin/apk.static
41} 45}
42 46
43md5sums="c87cb88f90eb8d7021d37e3b5386863d apk-tools-2.0.2.tar.bz2" 47md5sums="c87cb88f90eb8d7021d37e3b5386863d apk-tools-2.0.2.tar.bz2
48aeab86a00119f9945edd6d3c3a8bb9c1 info-segfault.patch"
diff --git a/main/apk-tools/info-segfault.patch b/main/apk-tools/info-segfault.patch
new file mode 100644
index 0000000000..9479fade30
--- /dev/null
+++ b/main/apk-tools/info-segfault.patch
@@ -0,0 +1,22 @@
1commit 87420aaf295f58847332ba3aa89691a0259baace
2Author: Timo Teras <timo.teras@iki.fi>
3Date: Wed May 5 08:56:06 2010 +0300
4
5 info: fix querying of removed, but referenced packages
6
7 Check that package name has packages associated with it before
8 dereferencing the pointer. Fixes #345.
9
10diff --git a/src/info.c b/src/info.c
11index 7ca486c..d944fca 100644
12--- a/src/info.c
13+++ b/src/info.c
14@@ -283,7 +283,7 @@ static int info_package(struct info_ctx *ctx, struct apk_database *db,
15
16 for (i = 0; i < argc; i++) {
17 name = apk_db_query_name(db, APK_BLOB_STR(argv[i]));
18- if (name == NULL) {
19+ if (name == NULL || name->pkgs == NULL) {
20 apk_error("Not found: %s", argv[i]);
21 return 1;
22 }
diff --git a/main/apr-util/APKBUILD b/main/apr-util/APKBUILD
index 4c52e5235c..45133a2c29 100644
--- a/main/apr-util/APKBUILD
+++ b/main/apr-util/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=apr-util 2pkgname=apr-util
3pkgver=1.3.9 3pkgver=1.3.9
4pkgrel=0 4pkgrel=1
5pkgdesc="The Apache Portable Runtime" 5pkgdesc="The Apache Portable Runtime"
6url="http://apr.apache.org/" 6url="http://apr.apache.org/"
7license="APACHE" 7license="APACHE"
diff --git a/main/apr/APKBUILD b/main/apr/APKBUILD
index 98891c9ab2..efef9c19cd 100644
--- a/main/apr/APKBUILD
+++ b/main/apr/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=apr 2pkgname=apr
3pkgver=1.4.2 3pkgver=1.4.2
4pkgrel=0 4pkgrel=1
5pkgdesc="The Apache Portable Runtime" 5pkgdesc="The Apache Portable Runtime"
6url="http://apr.apache.org/" 6url="http://apr.apache.org/"
7license="APACHE" 7license="APACHE"
diff --git a/main/arpon/APKBUILD b/main/arpon/APKBUILD
index a18f88c3ea..5b47cd0db5 100644
--- a/main/arpon/APKBUILD
+++ b/main/arpon/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 2# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
3pkgname=arpon 3pkgname=arpon
4pkgver=1.90 4pkgver=1.90
5pkgrel=1 5pkgrel=2
6pkgdesc="Arp handler inspectiON is a handler daemon with tools to handle all ARP aspects" 6pkgdesc="Arp handler inspectiON is a handler daemon with tools to handle all ARP aspects"
7url="http://arpon.sourceforge.net/" 7url="http://arpon.sourceforge.net/"
8license="GPL" 8license="GPL"
diff --git a/main/arpwatch/APKBUILD b/main/arpwatch/APKBUILD
index ff97c65b20..4907a65cb9 100644
--- a/main/arpwatch/APKBUILD
+++ b/main/arpwatch/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 2# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
3pkgname=arpwatch 3pkgname=arpwatch
4pkgver=2.1a15 4pkgver=2.1a15
5pkgrel=1 5pkgrel=2
6pkgdesc="Ethernet monitoring program" 6pkgdesc="Ethernet monitoring program"
7url="http://www-nrg.ee.lbl.gov/" 7url="http://www-nrg.ee.lbl.gov/"
8license="GPL" 8license="GPL"
diff --git a/main/aspell/APKBUILD b/main/aspell/APKBUILD
index 3a3cef36aa..34cd720d4e 100644
--- a/main/aspell/APKBUILD
+++ b/main/aspell/APKBUILD
@@ -2,28 +2,29 @@
2pkgname=aspell 2pkgname=aspell
3pkgver=0.60.6 3pkgver=0.60.6
4_pkgmajorver=${pkgver%.*} 4_pkgmajorver=${pkgver%.*}
5pkgrel=0 5pkgrel=2
6pkgdesc="A spell checker designed to eventually replace Ispell" 6pkgdesc="A spell checker designed to eventually replace Ispell"
7url="http://aspell.net/" 7url="http://aspell.net/"
8license="LGPL" 8license="LGPL"
9subpackages="$pkgname-dev $pkgname-doc" 9subpackages="$pkgname-dev $pkgname-doc"
10depends= 10depends=
11makedepends="ncurses-dev uclibc++-dev perl" 11makedepends="ncurses-dev perl"
12install= 12install=
13source="ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz 13source="ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz
14 libmath.patch" 14 libmath.patch"
15 15
16build () 16build() {
17{
18 cd "$srcdir"/$pkgname-$pkgver 17 cd "$srcdir"/$pkgname-$pkgver
19 export CXX=${CXX_UC:-g++-uc}
20
21 ./configure --prefix=/usr || return 1 18 ./configure --prefix=/usr || return 1
22 19
23 # we want add -lm to linker flag for libaspell so wil build that 20 # we want add -lm to linker flag for libaspell so wil build that
24 # separately. this is just an ugly workaround 21 # separately. this is just an ugly workaround
25 make libaspell.la LDFLAGS="$LDFLAGS -lm" || return 1 22 make libaspell.la LDFLAGS="$LDFLAGS -lm" || return 1
26 make || return 1 23 make || return 1
24}
25
26package() {
27 cd "$srcdir"/$pkgname-$pkgver
27 make DESTDIR="$pkgdir" install || return 1 28 make DESTDIR="$pkgdir" install || return 1
28 ln -s $pkgname-${_pkgmajorver} "$pkgdir"/usr/lib/$pkgname || return 1 29 ln -s $pkgname-${_pkgmajorver} "$pkgdir"/usr/lib/$pkgname || return 1
29} 30}
diff --git a/main/asterisk-addons/APKBUILD b/main/asterisk-addons/APKBUILD
new file mode 100644
index 0000000000..92fb199000
--- /dev/null
+++ b/main/asterisk-addons/APKBUILD
@@ -0,0 +1,75 @@
1# Contributor: Carlo Landmeter
2# Maintainer:
3pkgname=asterisk-addons
4pkgver=1.6.2.1
5pkgrel=1
6pkgdesc="Asterisk addons"
7url="http://www.asterisk.org"
8license="GPL2"
9makedepends="mysql-dev asterisk-dev autoconf automake"
10install=
11subpackages="$pkgname-mysql $pkgname-mp3 $pkgname-ooh323 $pkgname-saycountpl"
12depends="$subpackages"
13source="http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-addons-1.6.2.1.tar.gz"
14
15_builddir="$srcdir"/$pkgname-$pkgver
16
17prepare() {
18 cd "$_builddir"
19 ./bootstrap.sh
20}
21
22build() {
23 cd "$_builddir"
24 ./configure --prefix=/usr \
25 --sysconfdir=/etc \
26 --mandir=/usr/share/man \
27 --infodir=/usr/share/info
28
29 make -j1 || return 1
30}
31
32package() {
33 cd "$_builddir"
34 make -j1 DESTDIR="$pkgdir" install
35 make -j1 DESTDIR="$pkgdir" samples
36 # we are not building the mobile module because aports does not have bluez so we delete mobile.conf
37 rm -rf "$pkgdir"/etc
38}
39
40_find_and_move() {
41 local pattern="$1"
42 cd "$pkgdir" || return 1
43 find -name "$pattern" -type f | while read f; do
44 local dest="$subpkgdir/${f%/*}"
45 mkdir -p "$dest"
46 mv "$f" "$dest"
47 done
48}
49
50mysql() {
51 pkgdesc="Asterisk mysql addons"
52 depends="asterisk"
53 _find_and_move '*mysql*'
54}
55
56mp3() {
57 pkgdesc="Asterisk mp3 addon"
58 depends="asterisk"
59 _find_and_move '*mp3*'
60}
61
62ooh323() {
63 pkgdesc="Asterisk h323 channel driver"
64 depends="asterisk"
65 _find_and_move '*ooh323*'
66}
67
68saycountpl() {
69 pkgdesc="Asterisk say count pl application"
70 depends="asterisk"
71 _find_and_move '*saycountpl*'
72 mv "$pkgdir"/var "$subpkgdir"
73}
74
75md5sums="95e33f22f53d58ac95c54d2c8b8d9d76 asterisk-addons-1.6.2.1.tar.gz"
diff --git a/main/asterisk/APKBUILD b/main/asterisk/APKBUILD
index 51180cc5e1..1ed4b41083 100644
--- a/main/asterisk/APKBUILD
+++ b/main/asterisk/APKBUILD
@@ -1,7 +1,7 @@
1# Contributor: Timo Teras <timo.teras@iki.fi> 1# Contributor: Timo Teras <timo.teras@iki.fi>
2# Maintainer: Timo Teras <timo.teras@iki.fi> 2# Maintainer: Timo Teras <timo.teras@iki.fi>
3pkgname=asterisk 3pkgname=asterisk
4pkgver=1.6.2.6 4pkgver=1.6.2.7
5pkgrel=1 5pkgrel=1
6pkgdesc="Asterisk: A Module Open Source PBX System" 6pkgdesc="Asterisk: A Module Open Source PBX System"
7url="http://www.asterisk.org/" 7url="http://www.asterisk.org/"
@@ -16,7 +16,6 @@ subpackages="$pkgname-dev $pkgname-doc $pkgname-pgsql $pkgname-odbc
16source="http://downloads.digium.com/pub/asterisk/releases/$pkgname-$pkgver.tar.gz 16source="http://downloads.digium.com/pub/asterisk/releases/$pkgname-$pkgver.tar.gz
17 100-uclibc-daemon.patch 17 100-uclibc-daemon.patch
18 101-caps-uclibc.patch 18 101-caps-uclibc.patch
19 102-gsm-pic.patch
20 400-bug-227.patch 19 400-bug-227.patch
21 asterisk.initd 20 asterisk.initd
22 asterisk.confd 21 asterisk.confd
@@ -111,10 +110,9 @@ sample() {
111 make samples DESTDIR="$subpkgdir" 110 make samples DESTDIR="$subpkgdir"
112} 111}
113 112
114md5sums="f068ef2433eebdc7f6dd635986f36d77 asterisk-1.6.2.6.tar.gz 113md5sums="861f57ba43bfe05dc645e0679a260e41 asterisk-1.6.2.7.tar.gz
115b00c9d98ce2ad445501248a197c6e436 100-uclibc-daemon.patch 114b00c9d98ce2ad445501248a197c6e436 100-uclibc-daemon.patch
1166e1129e30c4fd2c25c86c81685a485a9 101-caps-uclibc.patch 1156e1129e30c4fd2c25c86c81685a485a9 101-caps-uclibc.patch
11797b39fd9777a2521d4f9f095482b7ac2 102-gsm-pic.patch
11879e9634b5054bceb3b8dc246654bb243 400-bug-227.patch 11679e9634b5054bceb3b8dc246654bb243 400-bug-227.patch
1190ce3219e05f55af884a7dc6b99c2b276 asterisk.initd 1170ce3219e05f55af884a7dc6b99c2b276 asterisk.initd
120ed31d7ba37bcf8b0346dcf8593c395f0 asterisk.confd 118ed31d7ba37bcf8b0346dcf8593c395f0 asterisk.confd
diff --git a/main/aterm/APKBUILD b/main/aterm/APKBUILD
index e414f4a457..e8f2b3e8e5 100644
--- a/main/aterm/APKBUILD
+++ b/main/aterm/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=aterm 2pkgname=aterm
3pkgver=1.0.1 3pkgver=1.0.1
4pkgrel=0 4pkgrel=1
5pkgdesc="An xterm replacement with transparency support" 5pkgdesc="An xterm replacement with transparency support"
6url="http://aterm.sourceforge.net/" 6url="http://aterm.sourceforge.net/"
7license="GPL" 7license="GPL"
diff --git a/main/atk/APKBUILD b/main/atk/APKBUILD
index 8033388330..4dd5afd3ab 100644
--- a/main/atk/APKBUILD
+++ b/main/atk/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=atk 2pkgname=atk
3pkgver=1.30.0 3pkgver=1.30.0
4pkgrel=1 4pkgrel=2
5pkgdesc="A library providing a set of interfaces for accessibility" 5pkgdesc="A library providing a set of interfaces for accessibility"
6url="http://www.gtk.org/" 6url="http://www.gtk.org/"
7license="LGPL" 7license="LGPL"
diff --git a/main/atop/APKBUILD b/main/atop/APKBUILD
index 1b70c4075f..2a9eafdb43 100644
--- a/main/atop/APKBUILD
+++ b/main/atop/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=atop 2pkgname=atop
3pkgver=1.24 3pkgver=1.25
4pkgrel=1 4pkgrel=0
5pkgdesc="Resource-specific view of processes" 5pkgdesc="Resource-specific view of processes"
6url="http://www.atcomputing.nl/Tools/atop" 6url="http://www.atcomputing.nl/Tools/atop"
7license="GPL-2" 7license="GPL-2"
@@ -40,6 +40,6 @@ package() {
40 40
41} 41}
42 42
43md5sums="46522f7da28460e810e193ab46907af9 atop-1.24.tar.gz 43md5sums="8b67756a71ca49728b402da369c4f26e atop-1.25.tar.gz
44a4119e314cdc6d50bf027add32e1902b atop-bb-compat.patch 44a4119e314cdc6d50bf027add32e1902b atop-bb-compat.patch
4506aba14ddeadbb1d0c3594536785213b atop.initd" 4506aba14ddeadbb1d0c3594536785213b atop.initd"
diff --git a/main/attr/APKBUILD b/main/attr/APKBUILD
index 7046bd56fa..e244a5aac9 100644
--- a/main/attr/APKBUILD
+++ b/main/attr/APKBUILD
@@ -2,7 +2,7 @@
2pkgname=attr 2pkgname=attr
3pkgver=2.4.44 3pkgver=2.4.44
4_ver=2.4.44 4_ver=2.4.44
5pkgrel=1 5pkgrel=2
6pkgdesc="Extended attribute support library for ACL support" 6pkgdesc="Extended attribute support library for ACL support"
7url="http://oss.sgi.com/projects/xfs/" 7url="http://oss.sgi.com/projects/xfs/"
8license="LGPL" 8license="LGPL"
diff --git a/main/aumix/APKBUILD b/main/aumix/APKBUILD
index 1e455850d0..694561695d 100644
--- a/main/aumix/APKBUILD
+++ b/main/aumix/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=aumix 2pkgname=aumix
3pkgver=2.8 3pkgver=2.8
4pkgrel=2 4pkgrel=3
5pkgdesc="A color text mode sound mixer" 5pkgdesc="A color text mode sound mixer"
6url="http://www.jpj.net/~trevor/aumix.html" 6url="http://www.jpj.net/~trevor/aumix.html"
7license="GPL" 7license="GPL"
diff --git a/main/b43-fwcutter/APKBUILD b/main/b43-fwcutter/APKBUILD
index 0a7f4cc6a4..6b92c22f9b 100644
--- a/main/b43-fwcutter/APKBUILD
+++ b/main/b43-fwcutter/APKBUILD
@@ -1,7 +1,7 @@
1# Contributor: Natanael Copa <ncopa@alpinelinux.org> 1# Contributor: Natanael Copa <ncopa@alpinelinux.org>
2# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 2# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
3pkgname=b43-fwcutter 3pkgname=b43-fwcutter
4pkgver=012 4pkgver=013
5pkgrel=0 5pkgrel=0
6pkgdesc="Tool to extract firmware from Broadcom drivers" 6pkgdesc="Tool to extract firmware from Broadcom drivers"
7url="http://linuxwireless.org/en/users/Drivers/b43" 7url="http://linuxwireless.org/en/users/Drivers/b43"
@@ -10,15 +10,18 @@ depends=""
10makedepends="" 10makedepends=""
11install= 11install=
12subpackages="$pkgname-doc" 12subpackages="$pkgname-doc"
13source="http://bu3sch.de/b43/fwcutter/b43-fwcutter-012.tar.bz2" 13source="http://bu3sch.de/b43/fwcutter/b43-fwcutter-$pkgver.tar.bz2"
14 14
15build() { 15build() {
16 cd "$srcdir/$pkgname-$pkgver" 16 cd "$srcdir/$pkgname-$pkgver"
17
18 make || return 1 17 make || return 1
18}
19
20package() {
21 cd "$srcdir/$pkgname-$pkgver"
19 make PREFIX="$pkgdir"/usr install 22 make PREFIX="$pkgdir"/usr install
20 mkdir -p "$pkgdir"/usr/share/ 23 mkdir -p "$pkgdir"/usr/share/
21 mv "$pkgdir"/usr/man "$pkgdir"/usr/share/ 24 mv "$pkgdir"/usr/man "$pkgdir"/usr/share/
22} 25}
23 26
24md5sums="69eadf67b459f313a8d6b37aaabef96c b43-fwcutter-012.tar.bz2" 27md5sums="3547ec6c474ac1bc2c4a5bb765b791a4 b43-fwcutter-013.tar.bz2"
diff --git a/main/bash/APKBUILD b/main/bash/APKBUILD
index 421c936cc1..27f2cf97d5 100644
--- a/main/bash/APKBUILD
+++ b/main/bash/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2 2
3pkgname=bash 3pkgname=bash
4pkgver=4.1.005 4pkgver=4.1.007
5_patchlevel=${pkgver##*.} 5_patchlevel=${pkgver##*.}
6_myver=${pkgver%.*} 6_myver=${pkgver%.*}
7_patchbase=${_myver%.*}${_myver#*.} 7_patchbase=${_myver%.*}${_myver#*.}
@@ -70,4 +70,6 @@ md5sums="9800d8724815fd84994d9be65ab5e7b8 bash-4.1.tar.gz
70118d465095d4a4706eb1d34696a2666a bash41-002 70118d465095d4a4706eb1d34696a2666a bash41-002
71120f7cf039a40d35fe375e59d6f17adc bash41-003 71120f7cf039a40d35fe375e59d6f17adc bash41-003
72336ee037fc2cc1e2350b05097fbdc87c bash41-004 72336ee037fc2cc1e2350b05097fbdc87c bash41-004
739471e666797f0b03eb2175ed752a9550 bash41-005" 739471e666797f0b03eb2175ed752a9550 bash41-005
74fb80ccd58cb1e34940f3adf4ce6e4a1e bash41-006
75192a8b161d419a1d0d211169f1d1046e bash41-007"
diff --git a/main/bbsuid/APKBUILD b/main/bbsuid/APKBUILD
index 45db1e43dc..4389e9a185 100644
--- a/main/bbsuid/APKBUILD
+++ b/main/bbsuid/APKBUILD
@@ -1,11 +1,11 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=bbsuid 2pkgname=bbsuid
3pkgver=0.3 3pkgver=0.3
4pkgrel=0 4pkgrel=1
5pkgdesc="Busybox SUID root application wrapper" 5pkgdesc="Busybox SUID root application wrapper"
6url="http://git.alpinelinux.org/cgit/bbsuid" 6url="http://git.alpinelinux.org/cgit/bbsuid"
7license="GPL-2" 7license="GPL-2"
8depends="uclibc busybox" 8depends="busybox"
9source="http://git.alpinelinux.org/cgit/$pkgname/snapshot/$pkgname-$pkgver.tar.bz2" 9source="http://git.alpinelinux.org/cgit/$pkgname/snapshot/$pkgname-$pkgver.tar.bz2"
10 10
11build() { 11build() {
diff --git a/main/bc/APKBUILD b/main/bc/APKBUILD
index d5f1851f2d..5b990def74 100644
--- a/main/bc/APKBUILD
+++ b/main/bc/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 2# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
3pkgname=bc 3pkgname=bc
4pkgver=1.06 4pkgver=1.06
5pkgrel=1 5pkgrel=2
6pkgdesc="arbitrary precision numeric processing language (calculator)" 6pkgdesc="arbitrary precision numeric processing language (calculator)"
7url="http://www.gnu.org/software/bc/bc.html" 7url="http://www.gnu.org/software/bc/bc.html"
8license="GPL" 8license="GPL"
diff --git a/main/bdftopcf/APKBUILD b/main/bdftopcf/APKBUILD
index 49abcee746..3a003cb294 100644
--- a/main/bdftopcf/APKBUILD
+++ b/main/bdftopcf/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=bdftopcf 2pkgname=bdftopcf
3pkgver=1.0.2 3pkgver=1.0.2
4pkgrel=0 4pkgrel=1
5pkgdesc="X.Org font utility" 5pkgdesc="X.Org font utility"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/beecrypt/APKBUILD b/main/beecrypt/APKBUILD
index d56b0e8221..3b12e35901 100644
--- a/main/beecrypt/APKBUILD
+++ b/main/beecrypt/APKBUILD
@@ -2,36 +2,41 @@
2# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 2# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
3pkgname=beecrypt 3pkgname=beecrypt
4pkgver=4.1.2 4pkgver=4.1.2
5pkgrel=3 5pkgrel=5
6pkgdesc="general-purpose cryptography library" 6pkgdesc="general-purpose cryptography library"
7url="http://sourceforge.net/projects/beecrypt" 7url="http://sourceforge.net/projects/beecrypt"
8license="LGPL" 8license="LGPL"
9depends= 9depends=
10makedepends="uclibc++-dev libtool m4" 10makedepends="libtool m4"
11 11
12subpackages="$pkgname-dev" 12subpackages="$pkgname-dev"
13source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz 13source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
14 $pkgname-4.1.2-base64.patch 14 $pkgname-4.1.2-base64.patch
15 " 15 "
16 16
17build() { 17_builddir="$srcdir/$pkgname-$pkgver"
18 cd "$srcdir/$pkgname-$pkgver" 18prepare() {
19 export CXX=${CXX_UC:-g++-uc} 19 cd "$_builddir"
20
21 for i in ../*.patch; do 20 for i in ../*.patch; do
22 msg "Applying $i..." 21 msg "Applying $i..."
23 patch -p1 < $i || return 1 22 patch -p1 < $i || return 1
24 done 23 done
24}
25 25
26build() {
27 cd "$_builddir"
26 ./configure --prefix=/usr \ 28 ./configure --prefix=/usr \
27 --sysconfdir=/etc \ 29 --sysconfdir=/etc \
28 --disable-threads \ 30 --enable-threads \
29 --enable-shared \ 31 --enable-shared \
30 --without-java \ 32 --without-java \
31 --without-python \ 33 --without-python \
32 --with-cplusplus=no 34 --with-cplusplus=no
33
34 make || return 1 35 make || return 1
36}
37
38package() {
39 cd "$_builddir"
35 make DESTDIR="$pkgdir" install 40 make DESTDIR="$pkgdir" install
36} 41}
37md5sums="820d26437843ab0a6a8a5151a73a657c beecrypt-4.1.2.tar.gz 42md5sums="820d26437843ab0a6a8a5151a73a657c beecrypt-4.1.2.tar.gz
diff --git a/main/beep/APKBUILD b/main/beep/APKBUILD
index 742998204e..a41389bf2a 100644
--- a/main/beep/APKBUILD
+++ b/main/beep/APKBUILD
@@ -2,11 +2,11 @@
2# Maintainer: Leonardo Arena <rnalrd@gmail.com> 2# Maintainer: Leonardo Arena <rnalrd@gmail.com>
3pkgname=beep 3pkgname=beep
4pkgver=1.2.2 4pkgver=1.2.2
5pkgrel=0 5pkgrel=1
6pkgdesc="A terminal bell" 6pkgdesc="A terminal bell"
7url="http://johnath.com/beep" 7url="http://johnath.com/beep"
8license="GPL-2" 8license="GPL-2"
9depends="uclibc" 9depends=""
10makedepends="" 10makedepends=""
11#install= 11#install=
12subpackages="$pkgname-doc" 12subpackages="$pkgname-doc"
diff --git a/main/bind/APKBUILD b/main/bind/APKBUILD
index 946af90e8a..93a3047206 100644
--- a/main/bind/APKBUILD
+++ b/main/bind/APKBUILD
@@ -4,7 +4,7 @@ pkgname=bind
4pkgver=9.7.0_p1 4pkgver=9.7.0_p1
5_ver=${pkgver%_p*} 5_ver=${pkgver%_p*}
6_p=${pkgver#*_p} 6_p=${pkgver#*_p}
7pkgrel=0 7pkgrel=2
8pkgdesc="BIND - Berkeley Internet Name Domain - Name Server and tools" 8pkgdesc="BIND - Berkeley Internet Name Domain - Name Server and tools"
9url="http://www.isc.org" 9url="http://www.isc.org"
10license="as-is" 10license="as-is"
diff --git a/main/binutils/APKBUILD b/main/binutils/APKBUILD
index 1a2fbf5dfd..a2c952630a 100644
--- a/main/binutils/APKBUILD
+++ b/main/binutils/APKBUILD
@@ -1,6 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=binutils 2pkgname=binutils
3pkgver=2.20.51.0.4 3pkgver=2.20.51.0.4
4pkgrel=1
4pkgdesc="Tools necessary to build programs" 5pkgdesc="Tools necessary to build programs"
5url=http://sources.redhat.com/binutils 6url=http://sources.redhat.com/binutils
6source="http://ftp.kernel.org/pub/linux/devel/binutils/$pkgname-$pkgver.tar.bz2" 7source="http://ftp.kernel.org/pub/linux/devel/binutils/$pkgname-$pkgver.tar.bz2"
diff --git a/main/bison/APKBUILD b/main/bison/APKBUILD
index f24dd7441a..c355b0cf1a 100644
--- a/main/bison/APKBUILD
+++ b/main/bison/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=bison 2pkgname=bison
3pkgver=2.4.2 3pkgver=2.4.2
4pkgrel=0 4pkgrel=1
5pkgdesc="The GNU general-purpose parser generator" 5pkgdesc="The GNU general-purpose parser generator"
6license="GPL" 6license="GPL"
7url="http://www.gnu.org/software/bison/bison.html" 7url="http://www.gnu.org/software/bison/bison.html"
diff --git a/main/boost/APKBUILD b/main/boost/APKBUILD
new file mode 100644
index 0000000000..1c40e470ad
--- /dev/null
+++ b/main/boost/APKBUILD
@@ -0,0 +1,147 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=boost
3pkgver=1.43.0
4
5_x=${pkgver%%.*} # strip .y.z
6_y=${pkgver%.*} # strip .z
7_y=${_y#*.} # strip x.
8_z=${pkgver##*.} # strip x.y.
9_ver=${_x}_${_y}_${_z}
10
11pkgrel=0
12pkgdesc="Free peer-reviewed portable C++ source libraries"
13url="http://www.boost.org/"
14license="custom"
15depends=
16makedepends="python-dev>=2.6 flex bison bzip2-dev zlib-dev"
17subpackages="$pkgname-dev $pkgname-doc
18$pkgname-date_time
19$pkgname-filesystem
20$pkgname-graph
21$pkgname-iostreams
22$pkgname-math
23$pkgname-prg_exec_monitor
24$pkgname-program_options
25$pkgname-python:py
26$pkgname-random
27$pkgname-regex
28$pkgname-serialization
29$pkgname-signals
30$pkgname-system
31$pkgname-thread
32$pkgname-unit_test_framework
33$pkgname-wave
34$pkgname-wserialization
35"
36source="http://downloads.sourceforge.net/$pkgname/${pkgname}_$_ver.tar.gz
37 boost-1.41.0-parameter-needs-python.patch
38 boost-uclibc-thread.patch
39 random-Jamfile"
40
41_builddir="$srcdir"/${pkgname}_${_ver}
42prepare() {
43 cd "$_builddir"
44 for i in "$srcdir"/*.patch; do
45 [ -r "$i" ] || continue
46 msg "Applying $i"
47 patch -p1 -i "$i" || return 1
48 done
49
50 # add support for /dev/urandom
51 mkdir -p libs/random/build
52 cp "$srcdir"/random-Jamfile libs/random/build/Jamfile.2
53 sed -i -e 's/#ifdef __linux__/#if 1/' \
54 libs/random/src/random_device.cpp \
55 || return 1
56
57 # create user-config.jam
58 cat > user-config.jam <<__EOF__
59
60using gcc : : $CC : <cxxflags>"${CXXFLAGS}" <linkflags>"${LDFLAGS}" ;
61
62__EOF__
63}
64
65_options="--user-config=\"$_builddir/user-config.jam\"
66 --prefix=\"$pkgdir/usr\"
67 release
68 debug-symbols=off
69 threading=single,multi
70 runtime-link=shared
71 link=shared,static
72 cflags=-fno-strict-aliasing
73 -sPYTHON_ROOT=/usr
74 -sPYTHON_VERSION=2.6
75 -sTOOLS=gcc
76 --layout=tagged
77 -q
78 -j${JOBS:-2}
79"
80
81build() {
82 msg "Building bjam"
83 export BOOST_ROOT="$_builddir"
84 cd "$_builddir"/tools/jam/src
85 CC= ./build.sh cc || return 1
86 _bindir="bin.linuxx86"
87 [ "${CARCH}" = "x86_64" ] && _bindir="bin.linuxx86_64"
88 install -m755 -d "$pkgdir"/usr/bin
89 install -m755 ${_bindir}/bjam "$pkgdir"/usr/bin/bjam || return 1
90 _bjam="$pkgdir"/usr/bin/bjam
91
92 msg "Building bcp"
93 cd "${_builddir}"/tools/bcp
94 "${_bjam}" -j${JOBS:-2} || return 1
95 install -m755 "$srcdir"/${pkgname}_${_ver}/dist/bin/bcp \
96 "$pkgdir"/usr/bin/bcp || return 1
97
98 msg "Building boost"
99 cd "$_builddir"
100 "${_bjam}" $_options
101}
102
103package() {
104 cd "$_builddir"
105 export BOOST_ROOT="$_builddir"
106 _bjam="$pkgdir"/usr/bin/bjam
107 "${_bjam}" $_options \
108 --includedir="$pkgdir"/usr/include \
109 --libdir="$pkgdir"/usr/lib \
110 install || return 1
111
112 cd "$srcdir"/${pkgname}_${_ver}/libs/python/pyste/install
113 python setup.py install --root="$pkgdir" || return 1
114 install -m755 -d "$pkgdir"/usr/share/licenses/$pkgname
115 install -m644 "$srcdir"/${pkgname}_${_ver}/LICENSE_1_0.txt \
116 "$pkgdir"/usr/share/licenses/$pkgname/ || return 1
117}
118
119_mvlib() {
120 pkgdesc="Boost $1 library"
121 mkdir -p "$subpkgdir"/usr/lib
122 mv "$pkgdir"/usr/lib/libboost_$1* "$subpkgdir"/usr/lib/
123}
124
125date_time() { _mvlib date_time; }
126filesystem() { _mvlib filesystem; }
127graph() { _mvlib graph; }
128iostreams() { _mvlib iostreams; }
129math() { _mvlib math; }
130prg_exec_monitor() { _mvlib prg_exec_monitor; }
131program_options() { _mvlib program_options; }
132py() { _mvlib python; }
133random() { _mvlib random; }
134regex() { _mvlib regex; }
135serialization() { _mvlib serialization; }
136signals() { _mvlib signals; }
137system() { _mvlib system; }
138thread() { _mvlib thread; }
139unit_test_framework() { _mvlib unit_test_framework; }
140wave() { _mvlib wave; }
141wserialization() { _mvlib wserialization; }
142
143
144md5sums="734565ca4819bf04bd8e903e116c3fb1 boost_1_43_0.tar.gz
14583dbee9d7291a0f322fd2b8936aeace7 boost-1.41.0-parameter-needs-python.patch
1467ea3caa231764eca4522ae303939214d boost-uclibc-thread.patch
1471d43f6ee1fc426f1ddcb4aafc6b77b9b random-Jamfile"
diff --git a/main/boost/boost-1.41.0-parameter-needs-python.patch b/main/boost/boost-1.41.0-parameter-needs-python.patch
new file mode 100644
index 0000000000..016995fccc
--- /dev/null
+++ b/main/boost/boost-1.41.0-parameter-needs-python.patch
@@ -0,0 +1,106 @@
1--- a/boost/parameter/aux_/maybe.hpp 2008-03-22 21:45:55.000000000 +0000
2+++ b/boost/parameter/aux_/maybe.hpp.new 2009-10-22 03:55:24.000000000 +0000
3@@ -2,20 +2,41 @@
4 // subject to the Boost Software License, Version 1.0. (See accompanying
5 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6
7-#ifndef BOOST_PARAMETER_MAYBE_060211_HPP
8-# define BOOST_PARAMETER_MAYBE_060211_HPP
9+//
10+// 2009.10.21 TDS remove depenency on boost::python::detail::referent_storage
11+//
12+#ifndef BOOST_PARAMETER_MAYBE_091021_HPP
13+# define BOOST_PARAMETER_MAYBE_091021_HPP
14
15 # include <boost/mpl/if.hpp>
16 # include <boost/mpl/identity.hpp>
17 # include <boost/type_traits/is_reference.hpp>
18 # include <boost/type_traits/add_reference.hpp>
19 # include <boost/optional.hpp>
20-# include <boost/python/detail/referent_storage.hpp>
21+# include <boost/aligned_storage.hpp>
22 # include <boost/type_traits/remove_cv.hpp>
23 # include <boost/type_traits/add_const.hpp>
24
25 namespace boost { namespace parameter { namespace aux {
26
27+template <class T> struct referent_size;
28+
29+template <class T>
30+struct referent_size<T&>
31+{
32+ BOOST_STATIC_CONSTANT(std::size_t, value = sizeof(T));
33+};
34+
35+// A metafunction returning a POD type which can store U, where T ==
36+// U&. If T is not a reference type, returns a POD which can store T.
37+template <class T>
38+struct referent_storage
39+{
40+ typedef typename boost::aligned_storage<
41+ referent_size<T>::value
42+ >::type type;
43+};
44+
45 struct maybe_base {};
46
47 template <class T>
48@@ -33,8 +54,8 @@
49 BOOST_DEDUCED_TYPENAME remove_reference<reference>::type
50 >::type non_cv_value;
51
52- explicit maybe(T value)
53- : value(value)
54+ explicit maybe(T value_)
55+ : value(value_)
56 , constructed(false)
57 {}
58
59@@ -48,28 +69,28 @@
60 this->destroy();
61 }
62
63- reference construct(reference value) const
64+ reference construct(reference value_) const
65 {
66- return value;
67+ return value_;
68 }
69
70 template <class U>
71- reference construct2(U const& value) const
72+ reference construct2(U const& value_) const
73 {
74- new (m_storage.bytes) non_cv_value(value);
75+ new (m_storage.address()) non_cv_value(value_);
76 constructed = true;
77- return *(non_cv_value*)m_storage.bytes;
78+ return *(non_cv_value*)m_storage.address();
79 }
80
81 template <class U>
82- reference construct(U const& value) const
83+ reference construct(U const& value_) const
84 {
85- return this->construct2(value);
86+ return this->construct2(value_);
87 }
88
89 void destroy()
90 {
91- ((non_cv_value*)m_storage.bytes)->~non_cv_value();
92+ ((non_cv_value*)m_storage.address())->~non_cv_value();
93 }
94
95 typedef reference(maybe<T>::*safe_bool)() const;
96@@ -87,7 +108,9 @@
97 private:
98 boost::optional<T> value;
99 mutable bool constructed;
100- mutable typename boost::python::detail::referent_storage<
101+
102+
103+ mutable typename referent_storage<
104 reference
105 >::type m_storage;
106 };
diff --git a/main/boost/boost-uclibc-thread.patch b/main/boost/boost-uclibc-thread.patch
new file mode 100644
index 0000000000..e9e6b79e10
--- /dev/null
+++ b/main/boost/boost-uclibc-thread.patch
@@ -0,0 +1,11 @@
1--- ./libs/thread/src/pthread/thread.cpp.orig
2+++ ./libs/thread/src/pthread/thread.cpp
3@@ -380,7 +380,7 @@
4 {
5 #if defined(PTW32_VERSION) || defined(__hpux)
6 return pthread_num_processors_np();
7-#elif defined(_GNU_SOURCE)
8+#elif defined(_GNU_SOURCE) && !defined(__UCLIBC__)
9 return get_nprocs();
10 #elif defined(__APPLE__) || defined(__FreeBSD__)
11 int count;
diff --git a/main/boost/random-Jamfile b/main/boost/random-Jamfile
new file mode 100644
index 0000000000..5cb6f6bcd9
--- /dev/null
+++ b/main/boost/random-Jamfile
@@ -0,0 +1,15 @@
1# Copyright (c) 2006 Tiziano Mueller
2#
3# Use, modification and distribution of the file is subject to the
4# Boost Software License, Version 1.0.
5# (See at http://www.boost.org/LICENSE_1_0.txt)
6
7
8project boost/random
9 : source-location ../ ;
10
11SOURCES = random_device ;
12
13lib boost_random
14 : $(SOURCES).cpp
15 : <link>shared:<define>BOOST_RANDOM_DYN_LINK=1 ;
diff --git a/main/bridge-utils/APKBUILD b/main/bridge-utils/APKBUILD
index d76110b10b..1f2b79dffe 100644
--- a/main/bridge-utils/APKBUILD
+++ b/main/bridge-utils/APKBUILD
@@ -1,12 +1,12 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=bridge-utils 2pkgname=bridge-utils
3pkgver=1.4 3pkgver=1.4
4pkgrel=0 4pkgrel=1
5pkgdesc="Tools for configuring the Linux kernel 802.1d Ethernet Bridge" 5pkgdesc="Tools for configuring the Linux kernel 802.1d Ethernet Bridge"
6url="http://linux-net.osdl.org/index.php/Bridge" 6url="http://linux-net.osdl.org/index.php/Bridge"
7license="GPL-2" 7license="GPL-2"
8subpackages="$pkgname-dev $pkgname-doc" 8subpackages="$pkgname-dev $pkgname-doc"
9depends="uclibc" 9depends=""
10makedepends="autoconf" 10makedepends="autoconf"
11source="http://downloads.sourceforge.net/project/bridge/bridge/bridge-utils-$pkgver/bridge-utils-$pkgver.tar.gz" 11source="http://downloads.sourceforge.net/project/bridge/bridge/bridge-utils-$pkgver/bridge-utils-$pkgver.tar.gz"
12#"http://download.sourceforge.net/bridge/$pkgname-$pkgver.tar.gz" 12#"http://download.sourceforge.net/bridge/$pkgname-$pkgver.tar.gz"
@@ -15,7 +15,7 @@ build() {
15 cd "$srcdir"/$pkgname-$pkgver 15 cd "$srcdir"/$pkgname-$pkgver
16 autoconf 16 autoconf
17 # src_compile 17 # src_compile
18 configure --prefix=/ \ 18 ./configure --prefix=/ \
19 --mandir=/usr/share/man \ 19 --mandir=/usr/share/man \
20 --libdir=/usr/lib \ 20 --libdir=/usr/lib \
21 --includedir=/usr/include \ 21 --includedir=/usr/include \
diff --git a/main/build-base/APKBUILD b/main/build-base/APKBUILD
index 32c4e93b62..59e1f2ee5b 100644
--- a/main/build-base/APKBUILD
+++ b/main/build-base/APKBUILD
@@ -1,6 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=build-base 2pkgname=build-base
3pkgver=0.2 3pkgver=0.2
4pkgrel=0
4url=http://dev.alpinelinux.org/cgit 5url=http://dev.alpinelinux.org/cgit
5pkgdesc="Meta package for build base" 6pkgdesc="Meta package for build base"
6depends="binutils gcc make patch uclibc-dev g++" 7depends="binutils gcc make patch uclibc-dev g++"
diff --git a/main/busybox-initscripts/APKBUILD b/main/busybox-initscripts/APKBUILD
index c0d01f1ed5..4b9402af9b 100644
--- a/main/busybox-initscripts/APKBUILD
+++ b/main/busybox-initscripts/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 2# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
3pkgname=busybox-initscripts 3pkgname=busybox-initscripts
4pkgver=2.0 4pkgver=2.0
5pkgrel=11 5pkgrel=12
6pkgdesc="Init scripts for busybox daemons" 6pkgdesc="Init scripts for busybox daemons"
7url="http://git.alpinelinux.org/cgit/aports/tree/core/busybox-initscripts" 7url="http://git.alpinelinux.org/cgit/aports/tree/core/busybox-initscripts"
8license="GPL-2" 8license="GPL-2"
@@ -55,9 +55,9 @@ b5b23dd06cea120bd8d850b54bca0b59 syslog.initd
5522adbf155ffc4595206ded6daad07812 rdate.confd 5522adbf155ffc4595206ded6daad07812 rdate.confd
5677fb31a75511247bf4e3430565a276bc syslog.confd 5677fb31a75511247bf4e3430565a276bc syslog.confd
570bb55dde32f5e119111fa4938daaef3d watchdog.confd 570bb55dde32f5e119111fa4938daaef3d watchdog.confd
58c3eb08c577384154fdf748f1db06f8db mdev.conf 58c514213ed7e56c64c44be3285d34a297 mdev.conf
59ad1556961294e4aa2abca6be52138b7c dvbdev 59ad1556961294e4aa2abca6be52138b7c dvbdev
605c8725b4cbdeda23b00f08124a0d20bf ide_links 605c8725b4cbdeda23b00f08124a0d20bf ide_links
611acfd58dfd1cf324c90ca3a3be519510 usbdev 61c422992ca5bfdfabdbba1f1532bc1358 usbdev
6230b0c85956b6701caf55309a17e537f6 usbdisk_link 6230b0c85956b6701caf55309a17e537f6 usbdisk_link
63826d85313ca7a4a0205d63bd58b7d01f xvd_links" 63826d85313ca7a4a0205d63bd58b7d01f xvd_links"
diff --git a/main/busybox-initscripts/mdev.conf b/main/busybox-initscripts/mdev.conf
index 5a86a9cd6d..ce6aa4e9fe 100644
--- a/main/busybox-initscripts/mdev.conf
+++ b/main/busybox-initscripts/mdev.conf
@@ -17,7 +17,10 @@ urandom root:root 0444
17hwrandom root:root 0660 17hwrandom root:root 0660
18 18
19# console does already exist; therefore ownership has to be changed with command 19# console does already exist; therefore ownership has to be changed with command
20console root:tty 0600 @chmod 600 $MDEV && mkdir -p vc && ln -sf ../$MDEV vc/0 20#console root:tty 0600 @chmod 600 $MDEV && mkdir -p vc && ln -sf ../$MDEV vc/0
21console root:tty 0600 @mkdir -pm 755 fd && cd fd && for x in 0 1 2 3 ; do ln -sf /proc/self/fd/$x $x; done
22
23
21fd0 root:floppy 0660 24fd0 root:floppy 0660
22kmem root:root 0640 25kmem root:root 0640
23mem root:root 0640 26mem root:root 0640
diff --git a/main/busybox-initscripts/usbdev b/main/busybox-initscripts/usbdev
index b1aff296cd..ea5b915573 100644
--- a/main/busybox-initscripts/usbdev
+++ b/main/busybox-initscripts/usbdev
@@ -15,13 +15,13 @@ add_zeros () {
15 15
16 16
17# bus and device dirs in /sys 17# bus and device dirs in /sys
18local USB_PATH=$(echo $MDEV | sed -e 's/usbdev\([0-9]\).[0-9]/usb\1/') 18USB_PATH=$(echo $MDEV | sed -e 's/usbdev\([0-9]\).[0-9]/usb\1/')
19USB_PATH=$(find /sys/devices -type d -name "$USB_PATH") 19USB_PATH=$(find /sys/devices -type d -name "$USB_PATH")
20local USB_DEV_DIR=$(echo $MDEV | sed -e 's/usbdev\([0-9]\).\([0-9]\)/\1-\2/') 20USB_DEV_DIR=$(echo $MDEV | sed -e 's/usbdev\([0-9]\).\([0-9]\)/\1-\2/')
21 21
22# dir names in /dev 22# dir names in /dev
23local BUS=$(add_zeros $(echo $MDEV | sed -e 's/^usbdev\([0-9]\).[0-9]/\1/')) 23BUS=$(add_zeros $(echo $MDEV | sed -e 's/^usbdev\([0-9]\).[0-9]/\1/'))
24local USB_DEV=$(add_zeros $(echo $MDEV | sed -e 's/^usbdev[0-9].\([0-9]\)/\1/')) 24USB_DEV=$(add_zeros $(echo $MDEV | sed -e 's/^usbdev[0-9].\([0-9]\)/\1/'))
25 25
26 26
27# try to load the proper driver for usb devices 27# try to load the proper driver for usb devices
diff --git a/main/busybox/APKBUILD b/main/busybox/APKBUILD
index bd0f178f64..e625da83fe 100644
--- a/main/busybox/APKBUILD
+++ b/main/busybox/APKBUILD
@@ -1,19 +1,25 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=busybox 2pkgname=busybox
3pkgver=1.16.1 3pkgver=1.16.1
4pkgrel=0 4pkgrel=3
5pkgdesc="Size optimized toolbox of many common UNIX utilities" 5pkgdesc="Size optimized toolbox of many common UNIX utilities"
6url=http://busybox.net 6url=http://busybox.net
7license="GPL-2" 7license="GPL-2"
8depends= 8depends=
9install="$pkgname.post-install $pkgname.post-upgrade" 9install="$pkgname.post-install $pkgname.post-upgrade"
10subpackages="$pkgname-static"
10triggers="busybox.trigger:/bin /usr/bin /sbin /usr/sbin /lib/modules/*" 11triggers="busybox.trigger:/bin /usr/bin /sbin /usr/sbin /lib/modules/*"
11source="http://busybox.net/downloads/$pkgname-$pkgver.tar.bz2 12source="http://busybox.net/downloads/$pkgname-$pkgver.tar.bz2
12 $pkgname-1.11.1-bb.patch 13 $pkgname-1.11.1-bb.patch
13 flock-bb.patch 14 flock-bb.patch
15 http://www.busybox.net/downloads/fixes-1.16.1/busybox-1.16.1-dnsd.patch
16 http://www.busybox.net/downloads/fixes-1.16.1/busybox-1.16.1-hwclock.patch
17 http://www.busybox.net/downloads/fixes-1.16.1/busybox-1.16.1-indexcgi.patch
18 http://www.busybox.net/downloads/fixes-1.16.1/busybox-1.16.1-sed.patch
14 busyboxconfig" 19 busyboxconfig"
15 20
16_builddir="$srcdir"/$pkgname-$pkgver 21_builddir="$srcdir"/$pkgname-$pkgver
22_config="$srcdir"/busyboxconfig
17prepare() { 23prepare() {
18 cd "$_builddir" 24 cd "$_builddir"
19 #patches 25 #patches
@@ -28,30 +34,48 @@ prepare() {
28 sed -i -e 's/(ip, _BB_DIR_BIN/(ip, _BB_DIR_SBIN/' \ 34 sed -i -e 's/(ip, _BB_DIR_BIN/(ip, _BB_DIR_SBIN/' \
29 -e 's/(vi, _BB_DIR_BIN/(vi, _BB_DIR_USR_BIN/' \ 35 -e 's/(vi, _BB_DIR_BIN/(vi, _BB_DIR_USR_BIN/' \
30 include/applets.h || return 1 36 include/applets.h || return 1
31
32 # we set the install prefix with sed since it might differ depending
33 # on abuild version
34 sed -e "s:^CONFIG_PREFIX=.*:CONFIG_PREFIX=\"$pkgdir\":" \
35 ../busyboxconfig > .config
36} 37}
37 38
38build() { 39build() {
39 cd "$_builddir" 40 cd "$_builddir"
41 msg "Building static busybox"
42 sed -e "s/.*CONFIG_PIE.*/\# CONFIG_PIE is not set/" \
43 -e "s/.*CONFIG_STATIC.*/CONFIG_STATIC=y/" \
44 "$_config" > .config
45 make silentoldconfig || return 1
46 make || return 1
47 mv busybox busybox.static
48
49 # build dynamic
50 msg "Building dynamic busybox"
51 cp "$_config" .config
40 make silentoldconfig || return 1 52 make silentoldconfig || return 1
41 make || return 1 53 make || return 1
42} 54}
43 55
44package() { 56package() {
45 cd "$_builddir" 57 cd "$_builddir"
46 make install DESTDIR="$pkgdir"
47 mkdir -p "$pkgdir"/usr/sbin "$pkgdir"/usr/bin "$pkgdir"/tmp \ 58 mkdir -p "$pkgdir"/usr/sbin "$pkgdir"/usr/bin "$pkgdir"/tmp \
48 "$pkgdir"/var/cache/misc 59 "$pkgdir"/var/cache/misc "$pkgdir"/bin "$pkgdir"/sbin
49 chmod 1777 "$pkgdir"/tmp 60 chmod 1777 "$pkgdir"/tmp
61 install -m755 busybox "$pkgdir"/bin/busybox
50 # we need /bin/sh to be able to execute post-install 62 # we need /bin/sh to be able to execute post-install
51 ln -s /bin/busybox "$pkgdir"/bin/sh 63 ln -s /bin/busybox "$pkgdir"/bin/sh
52} 64}
53 65
66static() {
67 triggers=
68 mkdir -p "$subpkgdir"/bin
69 install -m755 "$_builddir"/busybox.static \
70 "$subpkgdir"/bin/busybox.static
71
72}
73
54md5sums="319486ec65078d07fde26eb620fecde7 busybox-1.16.1.tar.bz2 74md5sums="319486ec65078d07fde26eb620fecde7 busybox-1.16.1.tar.bz2
554c0f3b486eaa0674961b7ddcd0c60a9b busybox-1.11.1-bb.patch 754c0f3b486eaa0674961b7ddcd0c60a9b busybox-1.11.1-bb.patch
5620d9beea7d0c0aaca14553a8f98fee12 flock-bb.patch 7620d9beea7d0c0aaca14553a8f98fee12 flock-bb.patch
779fd18c9833253119996039429bee1992 busybox-1.16.1-dnsd.patch
78b16ad6491dcb4f053f84ae2c4064918d busybox-1.16.1-hwclock.patch
79c3bc34309334c456b6f905f0708c914f busybox-1.16.1-indexcgi.patch
808e1ef2dc70aaaa6f1af1d5e0541de103 busybox-1.16.1-sed.patch
574bc85af9dd659cbb83c9a819b3481a47 busyboxconfig" 814bc85af9dd659cbb83c9a819b3481a47 busyboxconfig"
diff --git a/main/bwm-ng/APKBUILD b/main/bwm-ng/APKBUILD
index 342852313c..f75a073039 100644
--- a/main/bwm-ng/APKBUILD
+++ b/main/bwm-ng/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=bwm-ng 2pkgname=bwm-ng
3pkgver=0.6 3pkgver=0.6
4pkgrel=0 4pkgrel=1
5pkgdesc="A small and simple console-based live bandwidth monitor" 5pkgdesc="A small and simple console-based live bandwidth monitor"
6url="http://www.gropp.org/" 6url="http://www.gropp.org/"
7license="GPL" 7license="GPL"
diff --git a/main/bzip2/APKBUILD b/main/bzip2/APKBUILD
index 09721bb760..1081978b5c 100644
--- a/main/bzip2/APKBUILD
+++ b/main/bzip2/APKBUILD
@@ -1,11 +1,11 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=bzip2 2pkgname=bzip2
3pkgver=1.0.5 3pkgver=1.0.5
4pkgrel=1 4pkgrel=2
5pkgdesc="A high-quality data compression program" 5pkgdesc="A high-quality data compression program"
6url="http://sources.redhat.com/bzip2" 6url="http://sources.redhat.com/bzip2"
7license="BZIP2" 7license="BZIP2"
8depends="uclibc" 8depends=""
9install="$pkgname.post-deinstall" 9install="$pkgname.post-deinstall"
10source="http://www.bzip.org/$pkgver/$pkgname-$pkgver.tar.gz 10source="http://www.bzip.org/$pkgver/$pkgname-$pkgver.tar.gz
11 $install 11 $install
diff --git a/main/c-ares/APKBUILD b/main/c-ares/APKBUILD
index 817bc3df21..d0af1f04b2 100644
--- a/main/c-ares/APKBUILD
+++ b/main/c-ares/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Carlo Landmeter <clandmeter@gmail.com> 2# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
3pkgname=c-ares 3pkgname=c-ares
4pkgver=1.7.0 4pkgver=1.7.0
5pkgrel=0 5pkgrel=1
6pkgdesc="An asynchronously DNS/names resolver library" 6pkgdesc="An asynchronously DNS/names resolver library"
7url="http://c-ares.haxx.se/" 7url="http://c-ares.haxx.se/"
8license="GPL" 8license="GPL"
diff --git a/main/cabextract/APKBUILD b/main/cabextract/APKBUILD
index b4788780ee..addf021eb6 100644
--- a/main/cabextract/APKBUILD
+++ b/main/cabextract/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Leonardo Arena <rnalrd@gmail.com> 1# Maintainer: Leonardo Arena <rnalrd@gmail.com>
2pkgname=cabextract 2pkgname=cabextract
3pkgver=1.2 3pkgver=1.2
4pkgrel=0 4pkgrel=1
5pkgdesc="Tool for extracting Microsoft cabinet files" 5pkgdesc="Tool for extracting Microsoft cabinet files"
6url="http://www.cabextract.org.uk/" 6url="http://www.cabextract.org.uk/"
7license="GPL" 7license="GPL"
diff --git a/main/cairo/APKBUILD b/main/cairo/APKBUILD
index efa1a4efca..1157120312 100644
--- a/main/cairo/APKBUILD
+++ b/main/cairo/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=cairo 2pkgname=cairo
3pkgver=1.8.10 3pkgver=1.8.10
4pkgrel=0 4pkgrel=1
5pkgdesc="Cairo vector graphics library" 5pkgdesc="Cairo vector graphics library"
6url="http://cairographics.org/" 6url="http://cairographics.org/"
7license="LGPL MPL" 7license="LGPL MPL"
diff --git a/main/ccache/APKBUILD b/main/ccache/APKBUILD
index 2143bdb728..2848bb64d5 100644
--- a/main/ccache/APKBUILD
+++ b/main/ccache/APKBUILD
@@ -1,12 +1,12 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=ccache 2pkgname=ccache
3pkgver=2.4 3pkgver=2.4
4pkgrel=0 4pkgrel=1
5pkgdesc="ccache is a compiler cache" 5pkgdesc="ccache is a compiler cache"
6url="http://ccache.samba.org/" 6url="http://ccache.samba.org/"
7license="GPL" 7license="GPL"
8subpackages="$pkgname-doc" 8subpackages="$pkgname-doc"
9depends="uclibc" 9depends=""
10makedepends="" 10makedepends=""
11source="http://samba.org/ftp/$pkgname/$pkgname-$pkgver.tar.gz" 11source="http://samba.org/ftp/$pkgname/$pkgname-$pkgver.tar.gz"
12 12
diff --git a/main/cciss_vol_status/APKBUILD b/main/cciss_vol_status/APKBUILD
index 5891845025..8f346b709c 100644
--- a/main/cciss_vol_status/APKBUILD
+++ b/main/cciss_vol_status/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa 1# Maintainer: Natanael Copa
2pkgname=cciss_vol_status 2pkgname=cciss_vol_status
3pkgver=1.06 3pkgver=1.06
4pkgrel=0 4pkgrel=1
5pkgdesc="Drivers for the HP (previously Compaq) Smart Array controllers which provide hardware RAID capability." 5pkgdesc="Drivers for the HP (previously Compaq) Smart Array controllers which provide hardware RAID capability."
6url="http://cciss.sourceforge.net/" 6url="http://cciss.sourceforge.net/"
7license="GPL" 7license="GPL"
diff --git a/main/cdrkit/APKBUILD b/main/cdrkit/APKBUILD
index ce5f9830e1..1d17896b34 100644
--- a/main/cdrkit/APKBUILD
+++ b/main/cdrkit/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=cdrkit 2pkgname=cdrkit
3pkgver=1.1.10 3pkgver=1.1.10
4pkgrel=0 4pkgrel=1
5pkgdesc="Suite of programs for CD/DVD recording, ISO image creation, and audio CD extraction" 5pkgdesc="Suite of programs for CD/DVD recording, ISO image creation, and audio CD extraction"
6url="http://cdrkit.org/" 6url="http://cdrkit.org/"
7license="GPL2" 7license="GPL2"
diff --git a/main/cgit/APKBUILD b/main/cgit/APKBUILD
index c33aae4a09..6b30ed7846 100644
--- a/main/cgit/APKBUILD
+++ b/main/cgit/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=cgit 2pkgname=cgit
3pkgver=0.8.3.1 3pkgver=0.8.3.1
4pkgrel=0 4pkgrel=2
5_gitver=1.6.4.3 5_gitver=1.6.4.3
6pkgdesc="a fast webinterface for git" 6pkgdesc="a fast webinterface for git"
7url="http://hjemli.net/git/cgit" 7url="http://hjemli.net/git/cgit"
@@ -14,14 +14,17 @@ source="
14 " 14 "
15 15
16_makeopts="NO_ICONV=YesPlease 16_makeopts="NO_ICONV=YesPlease
17 NO_NSEC=YesPlease
18 NO_TCLTK=YesPlease 17 NO_TCLTK=YesPlease
19 NO_SVN_TESTS=YesPlease" 18 NO_SVN_TESTS=YesPlease"
20 19
21build() { 20prepare() {
22 cd "$srcdir/$pkgname-$pkgver" 21 cd "$srcdir/$pkgname-$pkgver"
23 rm -rf git 22 rm -rf git
24 ln -s ../git-$_gitver git 23 ln -s ../git-$_gitver git
24}
25
26build() {
27 cd "$srcdir/$pkgname-$pkgver"
25 make $_makeopts 28 make $_makeopts
26} 29}
27 30
diff --git a/main/chrony/APKBUILD b/main/chrony/APKBUILD
index a995bf10d0..cc0696605a 100644
--- a/main/chrony/APKBUILD
+++ b/main/chrony/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=chrony 2pkgname=chrony
3pkgver=1.23 3pkgver=1.23
4pkgrel=5 4pkgrel=6
5pkgdesc="NTP client and server programs" 5pkgdesc="NTP client and server programs"
6url="http://chrony.tuxfamily.org/" 6url="http://chrony.tuxfamily.org/"
7license="GPL-2" 7license="GPL-2"
diff --git a/main/cksfv/APKBUILD b/main/cksfv/APKBUILD
index 4cd06d3fcb..942c9cb8ea 100644
--- a/main/cksfv/APKBUILD
+++ b/main/cksfv/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Carlo Landmeter <clandmeter@gmail.com> 2# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
3pkgname=cksfv 3pkgname=cksfv
4pkgver=1.3.14 4pkgver=1.3.14
5pkgrel=0 5pkgrel=1
6pkgdesc="Simple File Verification" 6pkgdesc="Simple File Verification"
7url="http://zakalwe.fi/~shd/foss/cksfv" 7url="http://zakalwe.fi/~shd/foss/cksfv"
8license="GPL" 8license="GPL"
diff --git a/main/clamav/APKBUILD b/main/clamav/APKBUILD
index 0b12df40dc..b59af1b953 100644
--- a/main/clamav/APKBUILD
+++ b/main/clamav/APKBUILD
@@ -1,7 +1,7 @@
1# Contributor: Carlo Landmeter <clandmeter at gmail> 1# Contributor: Carlo Landmeter <clandmeter at gmail>
2# Maintainer: Carlo Landmeter <clandmeter at gmail> 2# Maintainer: Carlo Landmeter <clandmeter at gmail>
3pkgname=clamav 3pkgname=clamav
4pkgver=0.95.3 4pkgver=0.96
5pkgrel=0 5pkgrel=0
6pkgusers=clamav 6pkgusers=clamav
7pkggroups=clamav 7pkggroups=clamav
@@ -21,48 +21,61 @@ source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
21 clamav.logrotate 21 clamav.logrotate
22 " 22 "
23 23
24build() { 24_builddir="$srcdir/$pkgname-$pkgver"
25 cd "$srcdir/$pkgname-$pkgver" 25
26prepare() {
27 cd "$_builddir"
26 28
27 patch -p0 -i "$srcdir/clamav-0.95.1-nls.patch" || return 1 29 patch -p0 -i "$srcdir/clamav-0.95.1-nls.patch" || return 1
30}
31
32build() {
33 cd "$_builddir"
28 34
29 ./configure --prefix=/usr \ 35 ./configure --prefix=/usr \
30 --sysconfdir=/etc/clamav \ 36 --sysconfdir=/etc/clamav \
31 --mandir=/usr/share/man \ 37 --mandir=/usr/share/man \
32 --infodir=/usr/share/info \ 38 --infodir=/usr/share/info \
33 --without-iconv 39 --without-iconv \
40 --disable-llvm
41
34 make || return 1 42 make || return 1
43}
44
45package() {
46 cd "$_builddir"
47
35 make DESTDIR="$pkgdir" install 48 make DESTDIR="$pkgdir" install
36 49
37 # Change /etc/clamd.conf to be usable out of the box 50 # Change /etc/clamd.conf to be usable out of the box
38 sed -i -e "s:^\(Example\):\# \1:" \ 51 sed -i -e "s:^\(Example\):\# \1:" \
39 -e "s:.*\(PidFile\) .*:\1 /var/run/clamav/clamd.pid:" \ 52 -e "s:.*\(PidFile\) .*:\1 /var/run/clamav/clamd.pid:" \
40 -e "s:.*\(LocalSocket\) .*:\1 /var/run/clamav/clamd.sock:" \ 53 -e "s:.*\(LocalSocket\) .*:\1 /var/run/clamav/clamd.sock:" \
41 -e "s:.*\(User\) .*:\1 clamav:" \ 54 -e "s:.*\(User\) .*:\1 clamav:" \
42 -e "s:^\#\(LogFile\) .*:\1 /var/log/clamav/clamd.log:" \ 55 -e "s:^\#\(LogFile\) .*:\1 /var/log/clamav/clamd.log:" \
43 -e "s:^\#\(LogTime\).*:\1 yes:" \ 56 -e "s:^\#\(LogTime\).*:\1 yes:" \
44 -e "s:^\#\(AllowSupplementaryGroups\).*:\1 yes:" \ 57 -e "s:^\#\(AllowSupplementaryGroups\).*:\1 yes:" \
45 "$pkgdir"/etc/clamav/clamd.conf 58 "$pkgdir"/etc/clamav/clamd.conf
46 59
47 # Do the same for /etc/freshclam.conf 60 # Do the same for /etc/freshclam.conf
48 sed -i -e "s:^\(Example\):\# \1:" \ 61 sed -i -e "s:^\(Example\):\# \1:" \
49 -e "s:.*\(PidFile\) .*:\1 /var/run/clamav/freshclam.pid:" \ 62 -e "s:.*\(PidFile\) .*:\1 /var/run/clamav/freshclam.pid:" \
50 -e "s:.*\(DatabaseOwner\) .*:\1 clamav:" \ 63 -e "s:.*\(DatabaseOwner\) .*:\1 clamav:" \
51 -e "s:^\#\(UpdateLogFile\) .*:\1 /var/log/clamav/freshclam.log:" \ 64 -e "s:^\#\(UpdateLogFile\) .*:\1 /var/log/clamav/freshclam.log:" \
52 -e "s:^\#\(NotifyClamd\).*:\1 /etc/clamav/clamd.conf:" \ 65 -e "s:^\#\(NotifyClamd\).*:\1 /etc/clamav/clamd.conf:" \
53 -e "s:^\#\(ScriptedUpdates\).*:\1 yes:" \ 66 -e "s:^\#\(ScriptedUpdates\).*:\1 yes:" \
54 -e "s:^\#\(AllowSupplementaryGroups\).*:\1 yes:" \ 67 -e "s:^\#\(AllowSupplementaryGroups\).*:\1 yes:" \
55 "$pkgdir"/etc/clamav/freshclam.conf 68 "$pkgdir"/etc/clamav/freshclam.conf
56 69
57 install -m755 -D "$srcdir"/clamd.initd "$pkgdir"/etc/init.d/clamd 70 install -m755 -D "$srcdir"/clamd.initd "$pkgdir"/etc/init.d/clamd
58 install -m644 -D "$srcdir"/clamd.confd "$pkgdir"/etc/conf.d/clamd 71 install -m644 -D "$srcdir"/clamd.confd "$pkgdir"/etc/conf.d/clamd
59 install -m755 -D "$srcdir"/freshclam.initd "$pkgdir"/etc/init.d/freshclam 72 install -m755 -D "$srcdir"/freshclam.initd "$pkgdir"/etc/init.d/freshclam
60 install -m644 -D "$srcdir"/freshclam.confd "$pkgdir"/etc/conf.d/freshclam 73 install -m644 -D "$srcdir"/freshclam.confd "$pkgdir"/etc/conf.d/freshclam
61 install -m644 -D "$srcdir"/clamav.logrotate "$pkgdir"/etc/logrotate.d/clamav 74 install -m644 -D "$srcdir"/clamav.logrotate "$pkgdir"/etc/logrotate.d/clamav
62 mkdir -p "$pkgdir"/var/run/clamav "$pkgdir"/var/log/clamav 75 mkdir -p "$pkgdir"/var/run/clamav "$pkgdir"/var/log/clamav
63} 76}
64 77
65md5sums="eaf9fccc3cc3567605a9732313652967 clamav-0.95.3.tar.gz 78md5sums="28ac7bec4cc03627a8e2d6e8647ee661 clamav-0.96.tar.gz
66d64432c463850663c5041c3097f3e903 clamd.initd 79d64432c463850663c5041c3097f3e903 clamd.initd
67567bc32b657dd7031b9b7beaa946203a clamd.confd 80567bc32b657dd7031b9b7beaa946203a clamd.confd
68f4d1f415322905128dc27135566ad136 freshclam.initd 81f4d1f415322905128dc27135566ad136 freshclam.initd
diff --git a/main/clamsmtp/APKBUILD b/main/clamsmtp/APKBUILD
index 1bad20a087..3b9906e7fc 100644
--- a/main/clamsmtp/APKBUILD
+++ b/main/clamsmtp/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Carlo Landmeter <clandmeter at gmail> 2# Maintainer: Carlo Landmeter <clandmeter at gmail>
3pkgname=clamsmtp 3pkgname=clamsmtp
4pkgver=1.10 4pkgver=1.10
5pkgrel=6 5pkgrel=7
6pkgdesc="An SMTP Virus Filter" 6pkgdesc="An SMTP Virus Filter"
7url="http://memberwebs.com/stef/software/clamsmtp/" 7url="http://memberwebs.com/stef/software/clamsmtp/"
8license="as-is" 8license="as-is"
diff --git a/main/claws-mail/APKBUILD b/main/claws-mail/APKBUILD
index 74644f3c8d..a98dac5665 100644
--- a/main/claws-mail/APKBUILD
+++ b/main/claws-mail/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=claws-mail 2pkgname=claws-mail
3pkgver=3.7.5 3pkgver=3.7.6
4pkgrel=0 4pkgrel=1
5pkgdesc="A GTK+ based e-mail client." 5pkgdesc="A GTK+ based e-mail client."
6url="http://www.claws-mail.org" 6url="http://www.claws-mail.org"
7license="GPL3" 7license="GPL3"
@@ -46,5 +46,5 @@ package() {
46 install -D -m755 ${i} "$pkgdir"/usr/lib/claws-mail/tools/${i} 46 install -D -m755 ${i} "$pkgdir"/usr/lib/claws-mail/tools/${i}
47 done 47 done
48} 48}
49md5sums="05a97ef3bf41ae5e6e2a3ddeb600ab44 claws-mail-3.7.5.tar.bz2 49md5sums="09c150cf13c04201c92089fc285cecd9 claws-mail-3.7.6.tar.bz2
50f3416743b5d8ff97b5a3cc2f7efc2dc1 libc-version.patch" 50f3416743b5d8ff97b5a3cc2f7efc2dc1 libc-version.patch"
diff --git a/main/cmake/APKBUILD b/main/cmake/APKBUILD
index bc6331b58e..bbd1b5885d 100644
--- a/main/cmake/APKBUILD
+++ b/main/cmake/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=cmake 2pkgname=cmake
3pkgver=2.8.1 3pkgver=2.8.1
4pkgrel=0 4pkgrel=1
5pkgdesc="CMake is a cross-platform open-source make system" 5pkgdesc="CMake is a cross-platform open-source make system"
6url="http://www.cmake.org" 6url="http://www.cmake.org"
7license="CMake" 7license="CMake"
diff --git a/main/confuse/APKBUILD b/main/confuse/APKBUILD
index ef5d5b07b9..ec90644fa2 100644
--- a/main/confuse/APKBUILD
+++ b/main/confuse/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=confuse 2pkgname=confuse
3pkgver=2.6 3pkgver=2.6
4pkgrel=0 4pkgrel=1
5pkgdesc="C-library for parsing configuration files" 5pkgdesc="C-library for parsing configuration files"
6url="http://www.nongnu.org/confuse" 6url="http://www.nongnu.org/confuse"
7license="LGPL" 7license="LGPL"
diff --git a/main/conntrack-tools/APKBUILD b/main/conntrack-tools/APKBUILD
index 5ed2b0709e..343eb8f1aa 100644
--- a/main/conntrack-tools/APKBUILD
+++ b/main/conntrack-tools/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=conntrack-tools 2pkgname=conntrack-tools
3pkgver=0.9.13 3pkgver=0.9.13
4pkgrel=1 4pkgrel=2
5pkgdesc="Connection tracking userspace tools" 5pkgdesc="Connection tracking userspace tools"
6url="http://conntrack-tools.netfilter.org" 6url="http://conntrack-tools.netfilter.org"
7license="GPL-2" 7license="GPL-2"
diff --git a/main/coreutils/APKBUILD b/main/coreutils/APKBUILD
index 46c9cc4a1c..7ffc066670 100644
--- a/main/coreutils/APKBUILD
+++ b/main/coreutils/APKBUILD
@@ -1,8 +1,8 @@
1# Contributor: Michael Mason <ms13sp@gmail.com> 1# Contributor: Michael Mason <ms13sp@gmail.com>
2# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 2# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
3pkgname=coreutils 3pkgname=coreutils
4pkgver=8.4 4pkgver=8.5
5pkgrel=1 5pkgrel=0
6pkgdesc="The basic file, shell and text manipulation utilities" 6pkgdesc="The basic file, shell and text manipulation utilities"
7url="http://www.gnu.org/software/coreutils/" 7url="http://www.gnu.org/software/coreutils/"
8license="GPL" 8license="GPL"
@@ -28,4 +28,4 @@ package() {
28 make DESTDIR="$pkgdir" install 28 make DESTDIR="$pkgdir" install
29} 29}
30 30
31md5sums="56f549854d723d9dcebb77919019df55 coreutils-8.4.tar.gz" 31md5sums="c1ffe586d001e87d66cd80c4536ee823 coreutils-8.5.tar.gz"
diff --git a/main/cpufreqd/APKBUILD b/main/cpufreqd/APKBUILD
index 98d7f94cf3..e70d415e47 100644
--- a/main/cpufreqd/APKBUILD
+++ b/main/cpufreqd/APKBUILD
@@ -1,12 +1,12 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=cpufreqd 2pkgname=cpufreqd
3pkgver=2.3.4 3pkgver=2.4.2
4pkgrel=1 4pkgrel=0
5pkgdesc="A small daemon to adjust cpu speed (and indeed voltage)" 5pkgdesc="A small daemon to adjust cpu speed (and indeed voltage)"
6url="http://sourceforge.net/projects/cpufreqd" 6url="http://sourceforge.net/projects/cpufreqd"
7license="GPL2" 7license="GPL2"
8subpackages="$pkgname-dev $pkgname-doc" 8subpackages="$pkgname-dev $pkgname-doc"
9depends="cpufrequtils sysfsutils uclibc" 9depends=
10makedepends="cpufrequtils-dev sysfsutils-dev g++" 10makedepends="cpufrequtils-dev sysfsutils-dev g++"
11install= 11install=
12source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2 12source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2
@@ -18,9 +18,13 @@ build ()
18 ./configure --prefix=/usr \ 18 ./configure --prefix=/usr \
19 --sysconfdir=/etc 19 --sysconfdir=/etc
20 make LIBS=-lpthread || return 1 20 make LIBS=-lpthread || return 1
21}
22
23package() {
24 cd "$srcdir"/$pkgname-$pkgver
21 make DESTDIR="$pkgdir" install 25 make DESTDIR="$pkgdir" install
22 install -Dm 755 ../cpufreqd.initd "$pkgdir"/etc/init.d/cpufreqd \ 26 install -Dm 755 ../cpufreqd.initd "$pkgdir"/etc/init.d/cpufreqd \
23 || return 1 27 || return 1
24} 28}
25md5sums="f4193f688305566a8422dd3989667668 cpufreqd-2.3.4.tar.bz2 29md5sums="2ca80a77849c9a69b81e27c1843c97f5 cpufreqd-2.4.2.tar.bz2
264c3298abc888ac4f688249ee542ce784 cpufreqd.initd" 304c3298abc888ac4f688249ee542ce784 cpufreqd.initd"
diff --git a/main/cpufrequtils/APKBUILD b/main/cpufrequtils/APKBUILD
index 377fe0217e..af8cff9dc0 100644
--- a/main/cpufrequtils/APKBUILD
+++ b/main/cpufrequtils/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=cpufrequtils 2pkgname=cpufrequtils
3pkgver=007 3pkgver=007
4pkgrel=0 4pkgrel=1
5pkgdesc="Userspace tools for the kernel cpufreq subsystem" 5pkgdesc="Userspace tools for the kernel cpufreq subsystem"
6url="http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html" 6url="http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html"
7license="GPL" 7license="GPL"
diff --git a/main/cracklib/APKBUILD b/main/cracklib/APKBUILD
index e03c6a7700..f7fda7960c 100644
--- a/main/cracklib/APKBUILD
+++ b/main/cracklib/APKBUILD
@@ -2,11 +2,11 @@
2# Maintainer: Michael Mason <ms13sp@gmail.com> 2# Maintainer: Michael Mason <ms13sp@gmail.com>
3pkgname=cracklib 3pkgname=cracklib
4pkgver=2.8.13 4pkgver=2.8.13
5pkgrel=0 5pkgrel=1
6pkgdesc="A library used to enforce strong passwords" 6pkgdesc="A library used to enforce strong passwords"
7url="http://sourceforge.net/projects/cracklib" 7url="http://sourceforge.net/projects/cracklib"
8license="GPL" 8license="GPL"
9depends="uclibc" 9depends=""
10makedepends="" 10makedepends=""
11install= 11install=
12subpackages="$pkgname-dev" 12subpackages="$pkgname-dev"
diff --git a/main/cramfs/APKBUILD b/main/cramfs/APKBUILD
index d552fec3c2..79c53cc368 100644
--- a/main/cramfs/APKBUILD
+++ b/main/cramfs/APKBUILD
@@ -6,14 +6,17 @@ pkgdesc="Linux filesystem designed to be simple, small, and to compress things w
6arch="" 6arch=""
7url="http://sourceforge.net/projects/cramfs/" 7url="http://sourceforge.net/projects/cramfs/"
8license='GPL' 8license='GPL'
9depends="" 9depends=
10makedepends="zlib-dev" 10makedepends="zlib-dev"
11source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz" 11source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
12 12
13build() { 13build() {
14 cd "$srcdir/$pkgname-$pkgver" 14 cd "$srcdir/$pkgname-$pkgver"
15
16 make CFLAGS="$CFLAGS" || return 1 15 make CFLAGS="$CFLAGS" || return 1
16}
17
18package() {
19 cd "$srcdir/$pkgname-$pkgver"
17 install -d "$pkgdir"/sbin 20 install -d "$pkgdir"/sbin
18 install mkcramfs cramfsck "$pkgdir"/sbin 21 install mkcramfs cramfsck "$pkgdir"/sbin
19} 22}
diff --git a/main/ctags/APKBUILD b/main/ctags/APKBUILD
index b986f9c9ca..7be38174ad 100644
--- a/main/ctags/APKBUILD
+++ b/main/ctags/APKBUILD
@@ -1,11 +1,11 @@
1# Contributor: Michael Mason <ms13sp@gmail.com> 1# Contributor: Michael Mason <ms13sp@gmail.com>
2pkgname=ctags 2pkgname=ctags
3pkgver=5.8 3pkgver=5.8
4pkgrel=0 4pkgrel=1
5pkgdesc="Generator of tags for all types of C/C++ languages" 5pkgdesc="Generator of tags for all types of C/C++ languages"
6url="http://ctags.sourceforge.net/" 6url="http://ctags.sourceforge.net/"
7license="GPL" 7license="GPL"
8depends="uclibc" 8depends=""
9makedepends="" 9makedepends=""
10install= 10install=
11subpackages="" 11subpackages=""
diff --git a/main/cups/APKBUILD b/main/cups/APKBUILD
index b87c456f0f..d63b0c147c 100644
--- a/main/cups/APKBUILD
+++ b/main/cups/APKBUILD
@@ -1,12 +1,12 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=cups 2pkgname=cups
3pkgver=1.4.3 3pkgver=1.4.3
4pkgrel=0 4pkgrel=3
5pkgdesc="The CUPS Printing System" 5pkgdesc="The CUPS Printing System"
6url="http://www.cups.org/" 6url="http://www.cups.org/"
7license="GPL" 7license="GPL"
8subpackages="$pkgname-dev $pkgname-doc libcups $pkgname-client" 8subpackages="$pkgname-dev $pkgname-doc libcups $pkgname-client"
9makedepends="openssl-dev libpaper-dev dbus-dev jpeg-dev>=8" 9makedepends="openssl-dev libpaper-dev dbus-dev jpeg-dev>=8 zlib-dev"
10depends="cups-client poppler-utils" 10depends="cups-client poppler-utils"
11install= 11install=
12pkggroups="lp lpadmin" 12pkggroups="lp lpadmin"
@@ -16,6 +16,8 @@ source="ftp://ftp.easysw.com/pub/$pkgname/$pkgver/$pkgname-$pkgver-source.tar.bz
16 cupsd.initd 16 cupsd.initd
17 " 17 "
18 18
19depends_dev="openssl-dev zlib-dev"
20
19build () 21build ()
20{ 22{
21 cd "$srcdir"/$pkgname-$pkgver 23 cd "$srcdir"/$pkgname-$pkgver
diff --git a/main/curl/APKBUILD b/main/curl/APKBUILD
index fb4ed38d6e..f7d6c504f1 100644
--- a/main/curl/APKBUILD
+++ b/main/curl/APKBUILD
@@ -1,18 +1,19 @@
1# Maintainer: Carlo Landmeter <clandmeter at gmail.com> 1# Maintainer: Carlo Landmeter <clandmeter at gmail.com>
2pkgname=curl 2pkgname=curl
3pkgver=7.20.0 3pkgver=7.20.1
4pkgrel=0 4pkgrel=1
5pkgdesc="An URL retrival utility and library" 5pkgdesc="An URL retrival utility and library"
6url="http://curl.haxx.se" 6url="http://curl.haxx.se"
7license="MIT" 7license="MIT"
8depends= 8depends=
9makedepends="zlib-dev openssl-dev" 9makedepends="zlib-dev openssl-dev"
10source="http://curl.haxx.se/download/curl-$pkgver.tar.bz2" 10source="http://curl.haxx.se/download/curl-$pkgver.tar.bz2"
11
12subpackages="$pkgname-doc $pkgname-dev" 11subpackages="$pkgname-doc $pkgname-dev"
13 12
13_builddir="$srcdir/$pkgname-$pkgver"
14
14build() { 15build() {
15 cd "$srcdir/$pkgname-$pkgver" 16 cd "$_builddir"
16 ./configure --prefix=/usr \ 17 ./configure --prefix=/usr \
17 --mandir=/usr/share/man \ 18 --mandir=/usr/share/man \
18 --without-libidn \ 19 --without-libidn \
@@ -21,8 +22,8 @@ build() {
21} 22}
22 23
23package() { 24package() {
24 cd "$srcdir/$pkgname-$pkgver" 25 cd "$_builddir"
25 make DESTDIR="$pkgdir" install 26 make DESTDIR="$pkgdir" install
26} 27}
27 28
28md5sums="3dda78c4a808d9a779dc3a2ae81b47d8 curl-7.20.0.tar.bz2" 29md5sums="244b16b2a38c70e47130c8494b7371b9 curl-7.20.1.tar.bz2"
diff --git a/main/cutter/APKBUILD b/main/cutter/APKBUILD
index be27d880c7..0337b29a59 100644
--- a/main/cutter/APKBUILD
+++ b/main/cutter/APKBUILD
@@ -2,11 +2,11 @@
2# Maintainer: Michael Mason <ms13sp@gmail.com> 2# Maintainer: Michael Mason <ms13sp@gmail.com>
3pkgname=cutter 3pkgname=cutter
4pkgver=1.03 4pkgver=1.03
5pkgrel=1 5pkgrel=2
6pkgdesc="A program that allows firewall administrators to abort TCP/IP connections." 6pkgdesc="A program that allows firewall administrators to abort TCP/IP connections."
7url="http://www.lowth.com/cutter" 7url="http://www.lowth.com/cutter"
8license="GPL" 8license="GPL"
9depends="uclibc" 9depends=""
10makedepends="" 10makedepends=""
11install= 11install=
12subpackages="" 12subpackages=""
diff --git a/main/cvs/APKBUILD b/main/cvs/APKBUILD
index bcfcea6f24..21c4d58134 100644
--- a/main/cvs/APKBUILD
+++ b/main/cvs/APKBUILD
@@ -2,11 +2,11 @@
2# Maintainer: 2# Maintainer:
3pkgname=cvs 3pkgname=cvs
4pkgver=1.11.23 4pkgver=1.11.23
5pkgrel=0 5pkgrel=1
6pkgdesc="Concurrent Versions System" 6pkgdesc="Concurrent Versions System"
7url="http://www.nongnu.org/cvs/" 7url="http://www.nongnu.org/cvs/"
8license="GPL" 8license="GPL"
9depends="uclibc" 9depends=""
10makedepends="" 10makedepends=""
11install= 11install=
12subpackages="$pkgname-doc" 12subpackages="$pkgname-doc"
diff --git a/main/cyrus-sasl/APKBUILD b/main/cyrus-sasl/APKBUILD
index 6346d9fae2..98c7543990 100644
--- a/main/cyrus-sasl/APKBUILD
+++ b/main/cyrus-sasl/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=cyrus-sasl 2pkgname=cyrus-sasl
3pkgver=2.1.23 3pkgver=2.1.23
4pkgrel=2 4pkgrel=4
5pkgdesc="Cyrus Simple Authentication Service Layer (SASL)" 5pkgdesc="Cyrus Simple Authentication Service Layer (SASL)"
6url="http://cyrusimap.web.cmu.edu/downloads.html#sasl" 6url="http://cyrusimap.web.cmu.edu/downloads.html#sasl"
7license="custom" 7license="custom"
diff --git a/main/dahdi-tools/APKBUILD b/main/dahdi-tools/APKBUILD
index 9a1538fab6..dbb82aab67 100644
--- a/main/dahdi-tools/APKBUILD
+++ b/main/dahdi-tools/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Timo Teras <timo.teras@iki.fi> 2# Maintainer: Timo Teras <timo.teras@iki.fi>
3pkgname=dahdi-tools 3pkgname=dahdi-tools
4pkgver=2.2.0 4pkgver=2.2.0
5pkgrel=0 5pkgrel=1
6pkgdesc="Digium Asterisk Hardware Device Interface management utilities" 6pkgdesc="Digium Asterisk Hardware Device Interface management utilities"
7url="http://www.asterisk.org" 7url="http://www.asterisk.org"
8license="GPL" 8license="GPL"
diff --git a/main/dansguardian/APKBUILD b/main/dansguardian/APKBUILD
index 607cd53383..82aa4aa99f 100644
--- a/main/dansguardian/APKBUILD
+++ b/main/dansguardian/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 2# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
3pkgname=dansguardian 3pkgname=dansguardian
4pkgver=2.10.1.1 4pkgver=2.10.1.1
5pkgrel=5 5pkgrel=6
6pkgdesc="Web content filter" 6pkgdesc="Web content filter"
7url="http://dansguardian.org" 7url="http://dansguardian.org"
8license="GPL" 8license="GPL"
diff --git a/main/db/APKBUILD b/main/db/APKBUILD
index 926b9713d7..d299132bbe 100644
--- a/main/db/APKBUILD
+++ b/main/db/APKBUILD
@@ -2,7 +2,7 @@
2pkgname=db 2pkgname=db
3pkgver=4.8.26 3pkgver=4.8.26
4_ver=${pkgver} 4_ver=${pkgver}
5pkgrel=0 5pkgrel=1
6pkgdesc="The Berkeley DB embedded database system 4.8" 6pkgdesc="The Berkeley DB embedded database system 4.8"
7url="http://www.oracle.com/technology/software/products/berkeley-db/index.html" 7url="http://www.oracle.com/technology/software/products/berkeley-db/index.html"
8license="custom" 8license="custom"
diff --git a/main/dbus-glib/APKBUILD b/main/dbus-glib/APKBUILD
index 46c85f2019..799560fbab 100644
--- a/main/dbus-glib/APKBUILD
+++ b/main/dbus-glib/APKBUILD
@@ -1,13 +1,13 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=dbus-glib 2pkgname=dbus-glib
3pkgver=0.82 3pkgver=0.86
4pkgrel=0 4pkgrel=0
5pkgdesc="GLib bindings for DBUS" 5pkgdesc="GLib bindings for DBUS"
6url="http://www.freedesktop.org/wiki/Software/DBusBindings" 6url="http://www.freedesktop.org/wiki/Software/DBusBindings"
7license="GPL" 7license="GPL"
8subpackages="$pkgname-dev $pkgname-doc" 8subpackages="$pkgname-dev $pkgname-doc"
9depends="dbus glib libiconv expat gettext" 9depends=
10makedepends="pkgconfig dbus-dev glib-dev libiconv-dev gettext-dev g++ expat-dev" 10makedepends="pkgconfig dbus-dev glib-dev libiconv-dev gettext-dev expat-dev"
11source="http://dbus.freedesktop.org/releases/$pkgname/$pkgname-$pkgver.tar.gz" 11source="http://dbus.freedesktop.org/releases/$pkgname/$pkgname-$pkgver.tar.gz"
12depends_dev="glib-dev dbus-dev" 12depends_dev="glib-dev dbus-dev"
13 13
@@ -25,4 +25,4 @@ package() {
25 cd "$srcdir"/$pkgname-$pkgver 25 cd "$srcdir"/$pkgname-$pkgver
26 make DESTDIR="$pkgdir" install || return 1 26 make DESTDIR="$pkgdir" install || return 1
27} 27}
28md5sums="aa2a4517de0e9144be3bce2cf8cdd924 dbus-glib-0.82.tar.gz" 28md5sums="cd0ab148fb0c786fc88be49d19971f50 dbus-glib-0.86.tar.gz"
diff --git a/main/dbus/APKBUILD b/main/dbus/APKBUILD
index d8471073b9..12f946ea4f 100644
--- a/main/dbus/APKBUILD
+++ b/main/dbus/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=dbus 2pkgname=dbus
3pkgver=1.2.24 3pkgver=1.2.24
4pkgrel=1 4pkgrel=2
5pkgdesc="Freedesktop.org message bus system" 5pkgdesc="Freedesktop.org message bus system"
6url="http://www.freedesktop.org/Software/dbus" 6url="http://www.freedesktop.org/Software/dbus"
7pkggroups="messagebus" 7pkggroups="messagebus"
diff --git a/main/debootstrap/APKBUILD b/main/debootstrap/APKBUILD
index 9bd4502ce2..db61256bad 100644
--- a/main/debootstrap/APKBUILD
+++ b/main/debootstrap/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=debootstrap 2pkgname=debootstrap
3pkgver=1.0.22 3pkgver=1.0.22
4pkgrel=0 4pkgrel=1
5pkgdesc="Debian/Ubuntu bootstrap scripts" 5pkgdesc="Debian/Ubuntu bootstrap scripts"
6url="http://packages.qa.debian.org/d/debootstrap.html" 6url="http://packages.qa.debian.org/d/debootstrap.html"
7license="GPL-2" 7license="GPL-2"
diff --git a/main/desktop-file-utils/APKBUILD b/main/desktop-file-utils/APKBUILD
index dc952e8692..bdfd391773 100644
--- a/main/desktop-file-utils/APKBUILD
+++ b/main/desktop-file-utils/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=desktop-file-utils 2pkgname=desktop-file-utils
3pkgver=0.16 3pkgver=0.16
4pkgrel=0 4pkgrel=1
5pkgdesc="Command line utilities for working with desktop entries" 5pkgdesc="Command line utilities for working with desktop entries"
6url="http://www.freedesktop.org/wiki/Software/desktop-file-utils" 6url="http://www.freedesktop.org/wiki/Software/desktop-file-utils"
7license="GPL" 7license="GPL"
diff --git a/main/dhcp/APKBUILD b/main/dhcp/APKBUILD
index 517815a2c0..5b3c7d63d0 100644
--- a/main/dhcp/APKBUILD
+++ b/main/dhcp/APKBUILD
@@ -2,7 +2,7 @@
2pkgname=dhcp 2pkgname=dhcp
3pkgver=4.1.0_p1 3pkgver=4.1.0_p1
4_realver=4.1.0p1 4_realver=4.1.0p1
5pkgrel=9 5pkgrel=10
6pkgdesc="ISC Dynamic Host Configuration Protocol (DHCP)" 6pkgdesc="ISC Dynamic Host Configuration Protocol (DHCP)"
7url="https://www.isc.org/" 7url="https://www.isc.org/"
8license="GPL" 8license="GPL"
diff --git a/main/dhcpcd-dbus/APKBUILD b/main/dhcpcd-dbus/APKBUILD
index ed4415aff8..b7f2ffa2c2 100644
--- a/main/dhcpcd-dbus/APKBUILD
+++ b/main/dhcpcd-dbus/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=dhcpcd-dbus 2pkgname=dhcpcd-dbus
3pkgver=0.4.2 3pkgver=0.4.2
4pkgrel=0 4pkgrel=1
5pkgdesc="DBUS binding to dhcpcd" 5pkgdesc="DBUS binding to dhcpcd"
6url="http://roy.marples.name/projects/dhcpcd-dbus" 6url="http://roy.marples.name/projects/dhcpcd-dbus"
7license="BSD" 7license="BSD"
diff --git a/main/dhcpcd-ui/APKBUILD b/main/dhcpcd-ui/APKBUILD
index 2732f1c73a..eb6d6ebd0d 100644
--- a/main/dhcpcd-ui/APKBUILD
+++ b/main/dhcpcd-ui/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=dhcpcd-ui 2pkgname=dhcpcd-ui
3pkgver=0.4.3 3pkgver=0.4.3
4pkgrel=0 4pkgrel=1
5pkgdesc="A GTK+ monitor and configuration GUI for dhcpcd" 5pkgdesc="A GTK+ monitor and configuration GUI for dhcpcd"
6url="http://roy.marples.name/projects/dhcpcd-dbus" 6url="http://roy.marples.name/projects/dhcpcd-dbus"
7license="BSD-2" 7license="BSD-2"
diff --git a/main/dhcpcd/APKBUILD b/main/dhcpcd/APKBUILD
index cfc7a77c8e..17f3bd0d45 100644
--- a/main/dhcpcd/APKBUILD
+++ b/main/dhcpcd/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 2# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
3pkgname=dhcpcd 3pkgname=dhcpcd
4pkgver=5.2.2 4pkgver=5.2.2
5pkgrel=0 5pkgrel=1
6pkgdesc="RFC2131 compliant DHCP client" 6pkgdesc="RFC2131 compliant DHCP client"
7url="http://roy.marples.name/projects/dhcpcd/" 7url="http://roy.marples.name/projects/dhcpcd/"
8license="BSD-2" 8license="BSD-2"
diff --git a/main/dialog/APKBUILD b/main/dialog/APKBUILD
index a94e4f99dd..b17527f69a 100644
--- a/main/dialog/APKBUILD
+++ b/main/dialog/APKBUILD
@@ -3,11 +3,11 @@
3pkgname=dialog 3pkgname=dialog
4pkgver=1.1.20100119 4pkgver=1.1.20100119
5_ver=${pkgver%.*}-${pkgver##*.} 5_ver=${pkgver%.*}-${pkgver##*.}
6pkgrel=0 6pkgrel=1
7pkgdesc="A script-interpreter which provides a set of curses" 7pkgdesc="A script-interpreter which provides a set of curses"
8url="http://invisible-island.net/dialog/dialog.html" 8url="http://invisible-island.net/dialog/dialog.html"
9license="GPL" 9license="GPL"
10depends="" 10depends=
11makedepends="ncurses-dev" 11makedepends="ncurses-dev"
12install= 12install=
13subpackages="$pkgname-doc" 13subpackages="$pkgname-doc"
@@ -15,12 +15,15 @@ source="ftp://invisible-island.net/dialog/$pkgname.tar.gz"
15 15
16build() { 16build() {
17 cd "$srcdir/$pkgname-$_ver" 17 cd "$srcdir/$pkgname-$_ver"
18
19 ./configure --prefix=/usr \ 18 ./configure --prefix=/usr \
20 --sysconfdir=/etc \ 19 --sysconfdir=/etc \
21 --mandir=/usr/share/man \ 20 --mandir=/usr/share/man \
22 --infodir=/usr/share/info 21 --infodir=/usr/share/info
23 make || return 1 22 make || return 1
23}
24
25package() {
26 cd "$srcdir/$pkgname-$_ver"
24 make DESTDIR="$pkgdir" install 27 make DESTDIR="$pkgdir" install
25} 28}
26 29
diff --git a/main/diffutils/APKBUILD b/main/diffutils/APKBUILD
index 004d0e91fb..66f74eff96 100644
--- a/main/diffutils/APKBUILD
+++ b/main/diffutils/APKBUILD
@@ -1,12 +1,12 @@
1# Maintainer: Leonardo Arena <rnalrd@gmail.com> 1# Maintainer: Leonardo Arena <rnalrd@gmail.com>
2pkgname=diffutils 2pkgname=diffutils
3pkgver=2.9 3pkgver=2.9
4pkgrel=0 4pkgrel=1
5pkgdesc="Show differences among files" 5pkgdesc="Show differences among files"
6subpackages="$pkgname-doc" 6subpackages="$pkgname-doc"
7url="http://www.gnu.org/software/diffutils/" 7url="http://www.gnu.org/software/diffutils/"
8license="GPL2" 8license="GPL2"
9depends="uclibc" 9depends=""
10makedepends="" 10makedepends=""
11install="$pkgname.post-deinstall" 11install="$pkgname.post-deinstall"
12source="http://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.gz 12source="http://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.gz
diff --git a/main/dircproxy/APKBUILD b/main/dircproxy/APKBUILD
index becb8133ae..88ae453fa1 100644
--- a/main/dircproxy/APKBUILD
+++ b/main/dircproxy/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 2# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
3pkgname=dircproxy 3pkgname=dircproxy
4pkgver=1.1.0 4pkgver=1.1.0
5pkgrel=0 5pkgrel=1
6pkgdesc="IRC proxy server designed for people who use IRC from lots of different workstations or clients" 6pkgdesc="IRC proxy server designed for people who use IRC from lots of different workstations or clients"
7url="http://code.google.com/p/dircproxy/" 7url="http://code.google.com/p/dircproxy/"
8license="GPL" 8license="GPL"
diff --git a/main/distcc/APKBUILD b/main/distcc/APKBUILD
index 27803991d9..c022995daa 100644
--- a/main/distcc/APKBUILD
+++ b/main/distcc/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=distcc 2pkgname=distcc
3pkgver=3.1 3pkgver=3.1
4pkgrel=2 4pkgrel=3
5pkgdesc="A distributed C, C++, Obj C compiler" 5pkgdesc="A distributed C, C++, Obj C compiler"
6url="http://distcc.org" 6url="http://distcc.org"
7license="GPL-2" 7license="GPL-2"
diff --git a/main/djbdns/APKBUILD b/main/djbdns/APKBUILD
index a9895c23a1..c52201a906 100644
--- a/main/djbdns/APKBUILD
+++ b/main/djbdns/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=djbdns 2pkgname=djbdns
3pkgver=1.05 3pkgver=1.05
4pkgrel=33 4pkgrel=36
5pkgdesc="Excellent high-performance DNS services" 5pkgdesc="Excellent high-performance DNS services"
6url="http://cr.yp.to/djbdns.html" 6url="http://cr.yp.to/djbdns.html"
7license="public-domain" 7license="public-domain"
@@ -50,7 +50,7 @@ common() {
50 replaces="djbdns" 50 replaces="djbdns"
51 51
52 mkdir -p "$subpkgdir"/usr/bin 52 mkdir -p "$subpkgdir"/usr/bin
53 mv "$pkgdir"/usr/bin/dnsq "$subpkgdir"/usr/bin 53 mv "$pkgdir"/usr/bin/dnsqr "$subpkgdir"/usr/bin
54 mv "$pkgdir"/usr/bin/dnsip "$subpkgdir"/usr/bin 54 mv "$pkgdir"/usr/bin/dnsip "$subpkgdir"/usr/bin
55} 55}
56 56
@@ -101,4 +101,4 @@ fe48165a920cf843ceb9a4ee50bf74c0 tinydns.initd
101e09c3a6ba6917e16f4736ab5c070dbe9 dnscache.pre-install 101e09c3a6ba6917e16f4736ab5c070dbe9 dnscache.pre-install
102e5cada3b032da84c4a0e41ef8b3108cb dnscache.initd 102e5cada3b032da84c4a0e41ef8b3108cb dnscache.initd
1032b3d02e88f70603c760bf368ab3ed636 dnscache.confd 1032b3d02e88f70603c760bf368ab3ed636 dnscache.confd
1046253f44f042fc5aa31fd182780d9853c dnscache.monthly" 104805b6989f945d727788f1908fe3fce81 dnscache.monthly"
diff --git a/main/djbdns/dnscache.monthly b/main/djbdns/dnscache.monthly
index 0bd5a85397..4e53fd6fde 100755
--- a/main/djbdns/dnscache.monthly
+++ b/main/djbdns/dnscache.monthly
@@ -1,6 +1,6 @@
1#!/bin/sh 1#!/bin/sh
2 2
3if [ -f ./etc/conf.d/dnscache ]; then 3if [ -f /etc/conf.d/dnscache ]; then
4 . /etc/conf.d/dnscache 4 . /etc/conf.d/dnscache
5fi 5fi
6 6
@@ -42,7 +42,7 @@ for ZONEFILE in $ZONES; do
42done 42done
43 43
44if [ "$NEEDRESTART" ] && /etc/init.d/dnscache --quiet status; then 44if [ "$NEEDRESTART" ] && /etc/init.d/dnscache --quiet status; then
45 /etc/init.d/dnscache restart 45 /etc/init.d/dnscache --quiet restart
46fi 46fi
47 47
48exit 0 48exit 0
diff --git a/main/dnsmasq/APKBUILD b/main/dnsmasq/APKBUILD
index feddb67f52..a570033801 100644
--- a/main/dnsmasq/APKBUILD
+++ b/main/dnsmasq/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=dnsmasq 2pkgname=dnsmasq
3pkgver=2.52 3pkgver=2.52
4pkgrel=0 4pkgrel=1
5pkgdesc="Small forwarding DNS server" 5pkgdesc="Small forwarding DNS server"
6url="http://www.thekelleys.org.uk/dnsmasq/" 6url="http://www.thekelleys.org.uk/dnsmasq/"
7license="GPL-2" 7license="GPL-2"
diff --git a/main/dosfstools/APKBUILD b/main/dosfstools/APKBUILD
index 07648fe9a7..fc11de09f5 100644
--- a/main/dosfstools/APKBUILD
+++ b/main/dosfstools/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=dosfstools 2pkgname=dosfstools
3pkgver=3.0.9 3pkgver=3.0.9
4pkgrel=0 4pkgrel=1
5pkgdesc="DOS filesystem utilities" 5pkgdesc="DOS filesystem utilities"
6url="http://www.daniel-baumann.ch/software/dosfstools/" 6url="http://www.daniel-baumann.ch/software/dosfstools/"
7license="GPL-2" 7license="GPL-2"
diff --git a/main/dovecot/APKBUILD b/main/dovecot/APKBUILD
index 449012806b..6dd77003a0 100644
--- a/main/dovecot/APKBUILD
+++ b/main/dovecot/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 2# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
3pkgname=dovecot 3pkgname=dovecot
4pkgver=1.2.11 4pkgver=1.2.11
5pkgrel=1 5pkgrel=3
6pkgdesc="IMAP and POP3 server" 6pkgdesc="IMAP and POP3 server"
7url="http://www.dovecot.org/" 7url="http://www.dovecot.org/"
8license="LGPL-2.1" 8license="LGPL-2.1"
diff --git a/main/dpkg/APKBUILD b/main/dpkg/APKBUILD
index 5710f9c5ad..5672b96e4b 100644
--- a/main/dpkg/APKBUILD
+++ b/main/dpkg/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=dpkg 2pkgname=dpkg
3pkgver=1.15.5.6 3pkgver=1.15.5.6
4pkgrel=0 4pkgrel=1
5pkgdesc="The Debian Package Manager" 5pkgdesc="The Debian Package Manager"
6url="http://packages.debian.org/dpkg" 6url="http://packages.debian.org/dpkg"
7license="GPL" 7license="GPL"
diff --git a/main/dropbear/APKBUILD b/main/dropbear/APKBUILD
index 53bbdc4e29..65c698eff1 100644
--- a/main/dropbear/APKBUILD
+++ b/main/dropbear/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 2# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
3pkgname=dropbear 3pkgname=dropbear
4pkgver=0.52 4pkgver=0.52
5pkgrel=2 5pkgrel=3
6pkgdesc="small SSH 2 client/server designed for small memory environments" 6pkgdesc="small SSH 2 client/server designed for small memory environments"
7url="http://matt.ucc.asn.au/dropbear/dropbear.html" 7url="http://matt.ucc.asn.au/dropbear/dropbear.html"
8license='MIT' 8license='MIT'
diff --git a/main/dtach/APKBUILD b/main/dtach/APKBUILD
index 120ef4eee7..46aaf7358b 100644
--- a/main/dtach/APKBUILD
+++ b/main/dtach/APKBUILD
@@ -1,11 +1,11 @@
1# Maintainer: Carlo Landmeter <clandmeter at gmail.com> 1# Maintainer: Carlo Landmeter <clandmeter at gmail.com>
2pkgname=dtach 2pkgname=dtach
3pkgver=0.8 3pkgver=0.8
4pkgrel=0 4pkgrel=1
5pkgdesc="A program that emulates the detach feature of screen" 5pkgdesc="A program that emulates the detach feature of screen"
6url="http://dtach.sourceforge.net" 6url="http://dtach.sourceforge.net"
7license='GPL' 7license='GPL'
8depends="uclibc" 8depends=""
9makedepends="" 9makedepends=""
10source="http://surfnet.dl.sourceforge.net/sourceforge/dtach/dtach-0.8.tar.gz" 10source="http://surfnet.dl.sourceforge.net/sourceforge/dtach/dtach-0.8.tar.gz"
11subpackages="$pkgname-doc" 11subpackages="$pkgname-doc"
diff --git a/main/e2fsprogs/APKBUILD b/main/e2fsprogs/APKBUILD
index e0360aacf3..26b6d43beb 100644
--- a/main/e2fsprogs/APKBUILD
+++ b/main/e2fsprogs/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=e2fsprogs 2pkgname=e2fsprogs
3pkgver=1.41.11 3pkgver=1.41.11
4pkgrel=0 4pkgrel=1
5pkgdesc="Standard Ext2/3/4 filesystem utilities" 5pkgdesc="Standard Ext2/3/4 filesystem utilities"
6url="http://e2fsprogs.sourceforge.net" 6url="http://e2fsprogs.sourceforge.net"
7license="GPL LGPL MIT" 7license="GPL LGPL MIT"
diff --git a/main/eggdrop/APKBUILD b/main/eggdrop/APKBUILD
index 59c21f2e07..2bf311da91 100644
--- a/main/eggdrop/APKBUILD
+++ b/main/eggdrop/APKBUILD
@@ -1,7 +1,7 @@
1# Contributor: Carlo Landmeter <clandmeter at gmail> 1# Contributor: Carlo Landmeter <clandmeter at gmail>
2pkgname=eggdrop 2pkgname=eggdrop
3pkgver=1.6.19 3pkgver=1.6.19
4pkgrel=1 4pkgrel=2
5pkgdesc="World's most popular Open Source IRC bot" 5pkgdesc="World's most popular Open Source IRC bot"
6url="http://www.eggheads.org/" 6url="http://www.eggheads.org/"
7license='GPL-2' 7license='GPL-2'
diff --git a/main/email/APKBUILD b/main/email/APKBUILD
index a1301fe044..8c81437ca7 100644
--- a/main/email/APKBUILD
+++ b/main/email/APKBUILD
@@ -1,11 +1,11 @@
1# Maintainer: Carlo Landmeter <clandmeter at gmail.com> 1# Maintainer: Carlo Landmeter <clandmeter at gmail.com>
2pkgname=email 2pkgname=email
3pkgver=3.1.2 3pkgver=3.1.2
4pkgrel=0 4pkgrel=2
5pkgdesc="A command line SMTP client that's simple" 5pkgdesc="A command line SMTP client that's simple"
6url="http://www.cleancode.org/projects/email" 6url="http://www.cleancode.org/projects/email"
7license="GPL" 7license="GPL"
8depends="uclibc openssl" 8depends="openssl"
9makedepends="openssl-dev" 9makedepends="openssl-dev"
10source="http://www.cleancode.org/downloads/email/email-3.1.2.tar.bz2" 10source="http://www.cleancode.org/downloads/email/email-3.1.2.tar.bz2"
11 11
diff --git a/main/enchant/APKBUILD b/main/enchant/APKBUILD
index 8133127b47..a2698dac4b 100644
--- a/main/enchant/APKBUILD
+++ b/main/enchant/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=enchant 2pkgname=enchant
3pkgver=1.5.0 3pkgver=1.6.0
4pkgrel=1 4pkgrel=0
5pkgdesc="A wrapper library for generic spell checking" 5pkgdesc="A wrapper library for generic spell checking"
6url="http://www.abisource.com/enchant/" 6url="http://www.abisource.com/enchant/"
7license="LGPL" 7license="LGPL"
@@ -11,11 +11,14 @@ depends_dev="glib-dev"
11makedepends="aspell-dev dbus-glib-dev hunspell-dev libiconv-dev gettext-dev" 11makedepends="aspell-dev dbus-glib-dev hunspell-dev libiconv-dev gettext-dev"
12source="http://www.abisource.com/downloads/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz" 12source="http://www.abisource.com/downloads/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz"
13 13
14build () 14build() {
15{
16 cd "$srcdir"/$pkgname-$pkgver 15 cd "$srcdir"/$pkgname-$pkgver
17 ./configure --prefix=/usr --disable-static || return 1 16 ./configure --prefix=/usr --disable-static || return 1
18 make || return 1 17 make || return 1
18}
19
20package() {
21 cd "$srcdir"/$pkgname-$pkgver
19 make DESTDIR="$pkgdir" install || return 1 22 make DESTDIR="$pkgdir" install || return 1
20} 23}
21md5sums="7dfaed14e142b4a0004b770c9568ed02 enchant-1.5.0.tar.gz" 24md5sums="de11011aff801dc61042828041fb59c7 enchant-1.6.0.tar.gz"
diff --git a/main/epdfview/APKBUILD b/main/epdfview/APKBUILD
index fdd6e41866..c89c1e3166 100644
--- a/main/epdfview/APKBUILD
+++ b/main/epdfview/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=epdfview 2pkgname=epdfview
3pkgver=0.1.7 3pkgver=0.1.7
4pkgrel=1 4pkgrel=2
5pkgdesc="A free lightweight PDF document viewer." 5pkgdesc="A free lightweight PDF document viewer."
6url="http://www.emma-soft.com/projects/epdfview/" 6url="http://www.emma-soft.com/projects/epdfview/"
7license="GPL" 7license="GPL"
diff --git a/main/epris/APKBUILD b/main/epris/APKBUILD
index eb1aaf0b88..a313cf61e8 100644
--- a/main/epris/APKBUILD
+++ b/main/epris/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=epris 2pkgname=epris
3pkgver=0.2 3pkgver=0.2
4pkgrel=0 4pkgrel=1
5pkgdesc="Small audio player using GStreamer and DBus" 5pkgdesc="Small audio player using GStreamer and DBus"
6url="http://code.google.com/p/epris/" 6url="http://code.google.com/p/epris/"
7license="LGPL" 7license="LGPL"
diff --git a/main/espeak/APKBUILD b/main/espeak/APKBUILD
index 2d55080fe1..c8a114d1c0 100644
--- a/main/espeak/APKBUILD
+++ b/main/espeak/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=espeak 2pkgname=espeak
3pkgver=1.43.03 3pkgver=1.43.03
4pkgrel=0 4pkgrel=1
5pkgdesc="Speech synthesizer for English and other languages" 5pkgdesc="Speech synthesizer for English and other languages"
6url="http://espeak.sourceforge.net/" 6url="http://espeak.sourceforge.net/"
7license="GPL-3" 7license="GPL-3"
diff --git a/main/ethtool/APKBUILD b/main/ethtool/APKBUILD
index 50c92d40ec..4a5cd1bc15 100644
--- a/main/ethtool/APKBUILD
+++ b/main/ethtool/APKBUILD
@@ -1,11 +1,11 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=ethtool 2pkgname=ethtool
3pkgver=6 3pkgver=6
4pkgrel=0 4pkgrel=1
5pkgdesc="gkernel ethtool" 5pkgdesc="gkernel ethtool"
6url="http://sourceforge.net/projects/gkernel/" 6url="http://sourceforge.net/projects/gkernel/"
7license="GPL" 7license="GPL"
8depends="uclibc" 8depends=""
9makedepends="" 9makedepends=""
10source="http://easynews.dl.sf.net/sourceforge/gkernel/$pkgname-$pkgver.tar.gz" 10source="http://easynews.dl.sf.net/sourceforge/gkernel/$pkgname-$pkgver.tar.gz"
11subpackages="$pkgname-doc" 11subpackages="$pkgname-doc"
diff --git a/main/exo/APKBUILD b/main/exo/APKBUILD
index 62277d23c9..897f279f94 100644
--- a/main/exo/APKBUILD
+++ b/main/exo/APKBUILD
@@ -2,7 +2,7 @@
2# TODO: hal 2# TODO: hal
3pkgname=exo 3pkgname=exo
4pkgver=0.3.106 4pkgver=0.3.106
5pkgrel=1 5pkgrel=2
6pkgdesc="Extensions to Xfce by os-cillation" 6pkgdesc="Extensions to Xfce by os-cillation"
7url="http://www.os-cillation.com/article.php?sid=40" 7url="http://www.os-cillation.com/article.php?sid=40"
8license="GPL-2 LGPL-2" 8license="GPL-2 LGPL-2"
diff --git a/main/expat/APKBUILD b/main/expat/APKBUILD
index e49d990744..3fb6c6212c 100644
--- a/main/expat/APKBUILD
+++ b/main/expat/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Carlo Landmeter <clandmeter at gmail.com> 1# Maintainer: Carlo Landmeter <clandmeter at gmail.com>
2pkgname=expat 2pkgname=expat
3pkgver=2.0.1 3pkgver=2.0.1
4pkgrel=1 4pkgrel=2
5pkgdesc="An XML Parser library written in C" 5pkgdesc="An XML Parser library written in C"
6url="http://www.libexpat.org/" 6url="http://www.libexpat.org/"
7license='AS IS' 7license='AS IS'
diff --git a/main/ez-ipupdate/APKBUILD b/main/ez-ipupdate/APKBUILD
index 9da9730560..2d3d4f266c 100644
--- a/main/ez-ipupdate/APKBUILD
+++ b/main/ez-ipupdate/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Jeremy Thomerson <jeremy@thomersonfamily.com> 2# Maintainer: Jeremy Thomerson <jeremy@thomersonfamily.com>
3pkgname=ez-ipupdate 3pkgname=ez-ipupdate
4pkgver=3.0.10 4pkgver=3.0.10
5pkgrel=0 5pkgrel=1
6pkgdesc="utility for updating your host name for many of the dynamic DNS services (ez-ip.net, dyndns.org, etc)" 6pkgdesc="utility for updating your host name for many of the dynamic DNS services (ez-ip.net, dyndns.org, etc)"
7url="http://ez-ipupdate.com/" 7url="http://ez-ipupdate.com/"
8license="GPL" 8license="GPL"
diff --git a/main/faac/APKBUILD b/main/faac/APKBUILD
index 3e523a4d51..85a7307942 100644
--- a/main/faac/APKBUILD
+++ b/main/faac/APKBUILD
@@ -1,22 +1,24 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=faac 2pkgname=faac
3pkgver=1.28 3pkgver=1.28
4pkgrel=0 4pkgrel=2
5pkgdesc="FAAC is an AAC audio encoder." 5pkgdesc="FAAC is an AAC audio encoder."
6url="http://www.audiocoding.com/" 6url="http://www.audiocoding.com/"
7license="GPL custom" 7license="GPL custom"
8subpackages="$pkgname-dev $pkgname-doc" 8subpackages="$pkgname-dev $pkgname-doc"
9depends= 9depends=
10makedepends="autoconf automake libtool uclibc++-dev" 10makedepends="autoconf automake libtool"
11source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz" 11source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz"
12 12
13build () 13build() {
14{
15 cd "$srcdir"/$pkgname-$pkgver 14 cd "$srcdir"/$pkgname-$pkgver
16 export CXX="${UC_CXX:-g++-uc}"
17 ./bootstrap 15 ./bootstrap
18 ./configure --prefix=/usr 16 ./configure --prefix=/usr
19 make || return 1 17 make || return 1
18}
19
20package() {
21 cd "$srcdir"/$pkgname-$pkgver
20 make DESTDIR="$pkgdir" install 22 make DESTDIR="$pkgdir" install
21 install -D -m644 "$srcdir"/$pkgname-$pkgver/libfaac/kiss_fft/COPYING \ 23 install -D -m644 "$srcdir"/$pkgname-$pkgver/libfaac/kiss_fft/COPYING \
22 "$pkgdir"/usr/share/licenses/faac/COPYING.kiss_fft 24 "$pkgdir"/usr/share/licenses/faac/COPYING.kiss_fft
diff --git a/main/faad2/APKBUILD b/main/faad2/APKBUILD
index e1453df902..111461655f 100644
--- a/main/faad2/APKBUILD
+++ b/main/faad2/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=faad2 2pkgname=faad2
3pkgver=2.7 3pkgver=2.7
4pkgrel=0 4pkgrel=1
5pkgdesc="ISO AAC audio decoder" 5pkgdesc="ISO AAC audio decoder"
6url="http://www.audiocoding.com/" 6url="http://www.audiocoding.com/"
7license="custom:GPL" 7license="custom:GPL"
diff --git a/main/fakeroot/APKBUILD b/main/fakeroot/APKBUILD
index 4836aed6a9..6c84461691 100644
--- a/main/fakeroot/APKBUILD
+++ b/main/fakeroot/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=fakeroot 2pkgname=fakeroot
3pkgver=1.14.4 3pkgver=1.14.4
4pkgrel=0 4pkgrel=1
5pkgdesc="Gives a fake root environment, useful for building packages as a non-privileged user" 5pkgdesc="Gives a fake root environment, useful for building packages as a non-privileged user"
6license='GPL' 6license='GPL'
7url="http://packages.debian.org/fakeroot" 7url="http://packages.debian.org/fakeroot"
diff --git a/main/fcgi/APKBUILD b/main/fcgi/APKBUILD
index fc208006cb..d2a8bb0344 100644
--- a/main/fcgi/APKBUILD
+++ b/main/fcgi/APKBUILD
@@ -2,11 +2,11 @@
2# Maintainer: Carlo Landmeter <clandmeter@gmail.com> 2# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
3pkgname=fcgi 3pkgname=fcgi
4pkgver=2.4.0 4pkgver=2.4.0
5pkgrel=0 5pkgrel=1
6pkgdesc="FAST CGI(fcgi) is a language independent, high performant extension to CGI" 6pkgdesc="FAST CGI(fcgi) is a language independent, high performant extension to CGI"
7url="http://www.fastcgi.com" 7url="http://www.fastcgi.com"
8license="GPL" 8license="GPL"
9depends="uclibc" 9depends=""
10makedepends="" 10makedepends=""
11subpackages="$pkgname-dev" 11subpackages="$pkgname-dev"
12source="http://www.fastcgi.com/dist/${pkgname}-${pkgver}.tar.gz 12source="http://www.fastcgi.com/dist/${pkgname}-${pkgver}.tar.gz
diff --git a/main/feh/APKBUILD b/main/feh/APKBUILD
index aeefeb3d69..af55607849 100644
--- a/main/feh/APKBUILD
+++ b/main/feh/APKBUILD
@@ -1,6 +1,6 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=feh 2pkgname=feh
3pkgver=1.4.2 3pkgver=1.5
4pkgrel=0 4pkgrel=0
5pkgdesc="feh is a fast, lightweight image viewer which uses imlib2" 5pkgdesc="feh is a fast, lightweight image viewer which uses imlib2"
6url="http://www.linuxbrit.co.uk/feh/" 6url="http://www.linuxbrit.co.uk/feh/"
@@ -23,4 +23,4 @@ package() {
23 make DESTDIR=$pkgdir docsdir=/usr/share/doc/feh install || return 1 23 make DESTDIR=$pkgdir docsdir=/usr/share/doc/feh install || return 1
24 install -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE 24 install -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
25} 25}
26md5sums="19906a6e319e99e0d98856f64324fed8 feh-1.4.2.tar.bz2" 26md5sums="aee156f0a82582108c5a56fbe85319ae feh-1.5.tar.bz2"
diff --git a/main/fetchmail/APKBUILD b/main/fetchmail/APKBUILD
index 779ab8b916..b86bd2a032 100644
--- a/main/fetchmail/APKBUILD
+++ b/main/fetchmail/APKBUILD
@@ -1,8 +1,8 @@
1# Contributor: Michael Mason <ms13sp@gmail.com> 1# Contributor: Michael Mason <ms13sp@gmail.com>
2# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 2# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
3pkgname=fetchmail 3pkgname=fetchmail
4pkgver=6.3.16 4pkgver=6.3.17
5pkgrel=0 5pkgrel=1
6pkgdesc="A remote-mail retrieval and forwarding utility" 6pkgdesc="A remote-mail retrieval and forwarding utility"
7url="http://fetchmail.berlios.de/" 7url="http://fetchmail.berlios.de/"
8license="GPL" 8license="GPL"
@@ -41,5 +41,5 @@ fetchmailconf() {
41 mv usr/lib "$subpkgdir"/usr/ 41 mv usr/lib "$subpkgdir"/usr/
42} 42}
43 43
44md5sums="1a40acb371376c7d54fe468c99dfc216 fetchmail-6.3.16.tar.bz2 44md5sums="7b1d449ecddb6164e22c32854adc4a75 fetchmail-6.3.17.tar.bz2
45b27fe01a7c25534d62d175c8ba22fc48 fetchmail.initd" 45b27fe01a7c25534d62d175c8ba22fc48 fetchmail.initd"
diff --git a/main/ffmpeg/APKBUILD b/main/ffmpeg/APKBUILD
index eb1e167db9..840d01f6f2 100644
--- a/main/ffmpeg/APKBUILD
+++ b/main/ffmpeg/APKBUILD
@@ -2,7 +2,7 @@
2pkgname=ffmpeg 2pkgname=ffmpeg
3_svnrev=30526 3_svnrev=30526
4pkgver=0.5_svn$_svnrev 4pkgver=0.5_svn$_svnrev
5pkgrel=1 5pkgrel=3
6pkgdesc="Complete and free Internet live audio and video broadcasting solution for Linux/Unix" 6pkgdesc="Complete and free Internet live audio and video broadcasting solution for Linux/Unix"
7url="http://ffmpeg.mplayerhq.hu/" 7url="http://ffmpeg.mplayerhq.hu/"
8license="GPL" 8license="GPL"
diff --git a/main/file/APKBUILD b/main/file/APKBUILD
index 06bde75b1a..0602565b6c 100644
--- a/main/file/APKBUILD
+++ b/main/file/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=file 2pkgname=file
3pkgver=5.04 3pkgver=5.04
4pkgrel=0 4pkgrel=1
5pkgdesc="File type identification utility" 5pkgdesc="File type identification utility"
6url="http://www.darwinsys.com/file/" 6url="http://www.darwinsys.com/file/"
7license="custom" 7license="custom"
diff --git a/main/findutils/APKBUILD b/main/findutils/APKBUILD
index 3fbb0bac28..31146e8ed2 100644
--- a/main/findutils/APKBUILD
+++ b/main/findutils/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Michael Mason <ms13sp@gmail.com> 2# Maintainer: Michael Mason <ms13sp@gmail.com>
3pkgname=findutils 3pkgname=findutils
4pkgver=4.4.2 4pkgver=4.4.2
5pkgrel=0 5pkgrel=1
6pkgdesc="GNU utilities for finding files" 6pkgdesc="GNU utilities for finding files"
7url="http://www.gnu.org/software/findutils/" 7url="http://www.gnu.org/software/findutils/"
8license="GPL" 8license="GPL"
diff --git a/main/flac/APKBUILD b/main/flac/APKBUILD
index a5626e1c44..03806b59df 100644
--- a/main/flac/APKBUILD
+++ b/main/flac/APKBUILD
@@ -1,13 +1,13 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=flac 2pkgname=flac
3pkgver=1.2.1 3pkgver=1.2.1
4pkgrel=0 4pkgrel=1
5pkgdesc="Free Lossless Audio Codec" 5pkgdesc="Free Lossless Audio Codec"
6url="http://flac.sourceforge.net/" 6url="http://flac.sourceforge.net/"
7license="custom:Xiph LGPL GPL FDL" 7license="custom:Xiph LGPL GPL FDL"
8subpackages="$pkgname-dev $pkgname-doc" 8subpackages="$pkgname-dev $pkgname-doc"
9depends="uclibc libogg" 9depends=
10makedepends="libogg-dev" 10makedepends="libogg-dev !libiconv"
11source="http://downloads.sf.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz 11source="http://downloads.sf.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz
12 " 12 "
13 13
@@ -23,6 +23,10 @@ build () {
23 --disable-cpplibs \ 23 --disable-cpplibs \
24 --with-pic || return 1 24 --with-pic || return 1
25 make || return 1 25 make || return 1
26}
27
28package() {
29 cd "$srcdir"/$pkgname-$pkgver || return 1
26 make DESTDIR="$pkgdir" install || return 1 30 make DESTDIR="$pkgdir" install || return 1
27 install -Dm0644 COPYING.Xiph \ 31 install -Dm0644 COPYING.Xiph \
28 "$pkgdir"/usr/share/licenses/$pkgname/COPYING.Xiph 32 "$pkgdir"/usr/share/licenses/$pkgname/COPYING.Xiph
diff --git a/main/flex/APKBUILD b/main/flex/APKBUILD
index d44643d776..830191adec 100644
--- a/main/flex/APKBUILD
+++ b/main/flex/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncop@alpinelinux.org> 1# Maintainer: Natanael Copa <ncop@alpinelinux.org>
2pkgname=flex 2pkgname=flex
3pkgver=2.5.35 3pkgver=2.5.35
4pkgrel=2 4pkgrel=3
5pkgdesc="A tool for generating text-scanning programs" 5pkgdesc="A tool for generating text-scanning programs"
6url="http://flex.sourceforge.net" 6url="http://flex.sourceforge.net"
7license=custom 7license=custom
diff --git a/main/fluxbox/APKBUILD b/main/fluxbox/APKBUILD
index 4229d1bba8..dce038f728 100644
--- a/main/fluxbox/APKBUILD
+++ b/main/fluxbox/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=fluxbox 2pkgname=fluxbox
3pkgver=1.1.1 3pkgver=1.1.1
4pkgrel=1 4pkgrel=2
5pkgdesc="A lightweight and highly-configurable window manager" 5pkgdesc="A lightweight and highly-configurable window manager"
6url="http://www.fluxbox.org" 6url="http://www.fluxbox.org"
7license="MIT" 7license="MIT"
diff --git a/main/font-util/APKBUILD b/main/font-util/APKBUILD
index d7bbb361d4..fef19d7907 100644
--- a/main/font-util/APKBUILD
+++ b/main/font-util/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=font-util 2pkgname=font-util
3pkgver=1.1.1 3pkgver=1.1.1
4pkgrel=0 4pkgrel=1
5pkgdesc="X.org font utilities" 5pkgdesc="X.org font utilities"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/fontconfig/APKBUILD b/main/fontconfig/APKBUILD
index 3ae0ffd41f..f45956b926 100644
--- a/main/fontconfig/APKBUILD
+++ b/main/fontconfig/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 2# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
3pkgname=fontconfig 3pkgname=fontconfig
4pkgver=2.8.0 4pkgver=2.8.0
5pkgrel=0 5pkgrel=1
6pkgdesc="The Fontconfig package is a library for configuring and customizing font access." 6pkgdesc="The Fontconfig package is a library for configuring and customizing font access."
7url="http://fontconfig.org" 7url="http://fontconfig.org"
8license="GPL" 8license="GPL"
diff --git a/main/fping/APKBUILD b/main/fping/APKBUILD
index 11b4f1819a..9dea936990 100644
--- a/main/fping/APKBUILD
+++ b/main/fping/APKBUILD
@@ -1,11 +1,11 @@
1pkgname=fping 1pkgname=fping
2pkgver=2.4_beta2 2pkgver=2.4_beta2
3_myver=2.4b2_to 3_myver=2.4b2_to
4pkgrel=1 4pkgrel=2
5pkgdesc="A utility to ping multiple hosts at once" 5pkgdesc="A utility to ping multiple hosts at once"
6url="http://www.fping.com/" 6url="http://www.fping.com/"
7license="fping" 7license="fping"
8depends="uclibc" 8depends=""
9subpackages="$pkgname-doc" 9subpackages="$pkgname-doc"
10 10
11# what happened to upstream download? use gentoo distfiles meanwhile 11# what happened to upstream download? use gentoo distfiles meanwhile
diff --git a/main/fprobe/APKBUILD b/main/fprobe/APKBUILD
index 824129afe5..f7311e98e3 100644
--- a/main/fprobe/APKBUILD
+++ b/main/fprobe/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Carlo Landmeter <clandmeter@gmail.com> 2# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
3pkgname=fprobe 3pkgname=fprobe
4pkgver=1.1 4pkgver=1.1
5pkgrel=2 5pkgrel=3
6pkgdesc="libpcap-based tool that collect network traffic" 6pkgdesc="libpcap-based tool that collect network traffic"
7url="http://fprobe.sourceforge.net/" 7url="http://fprobe.sourceforge.net/"
8license="GPL" 8license="GPL"
diff --git a/testing/freeswitch/APKBUILD b/main/freeswitch/APKBUILD
index 7b1a4ea909..860ec0ffe7 100644
--- a/testing/freeswitch/APKBUILD
+++ b/main/freeswitch/APKBUILD
@@ -1,14 +1,14 @@
1# Contributor: Michael Mason <ms13sp@gmail.com> 1# Contributor: Michael Mason <ms13sp@gmail.com>
2pkgname=freeswitch 2pkgname=freeswitch
3pkgver=1.0.4 3pkgver=1.0.6
4pkgrel=2 4pkgrel=6
5pkgdesc="A communications platform written in C from the ground up" 5pkgdesc="A communications platform written in C from the ground up"
6url="http://www.freeswitch.org" 6url="http://www.freeswitch.org"
7license="GPL" 7license="GPL"
8depends="" 8depends=""
9makedepends="curl-dev unixodbc-dev zlib-dev openssl-dev 9makedepends="curl-dev unixodbc-dev zlib-dev openssl-dev
10 autoconf automake libtool" 10 autoconf automake libtool"
11install= 11install="$pkgname.pre-install $pkgname.post-install"
12subpackages="$pkgname-dev" 12subpackages="$pkgname-dev"
13source="http://files.freeswitch.org/freeswitch-$pkgver.tar.gz 13source="http://files.freeswitch.org/freeswitch-$pkgver.tar.gz
14 modules.conf 14 modules.conf
@@ -16,7 +16,6 @@ source="http://files.freeswitch.org/freeswitch-$pkgver.tar.gz
16 freeswitch.initd 16 freeswitch.initd
17 freeswitch.post-install 17 freeswitch.post-install
18 freeswitch.pre-install 18 freeswitch.pre-install
19 freeswitch.post-deinstall
20 " 19 "
21 20
22build() { 21build() {
@@ -30,35 +29,33 @@ build() {
30 ./configure --prefix=/usr \ 29 ./configure --prefix=/usr \
31 --sysconfdir=/etc/freeswitch \ 30 --sysconfdir=/etc/freeswitch \
32 --with-modinstdir=/usr/lib/freeswitch \ 31 --with-modinstdir=/usr/lib/freeswitch \
32 --with-rundir=/var/run/freeswitch \
33 --mandir=/usr/share/man \ 33 --mandir=/usr/share/man \
34 --infodir=/usr/share/info 34 --infodir=/usr/share/info \
35 35
36 # check how/when parallel builds are fixed here: 36 make all || return 1
37 # http://jira.freeswitch.org/browse/FSBUILD-6
38
39 # build the libs and prerequisites in parallel first
40 make libs/apr/libapr-1.la \
41 libs/apr-util/libaprutil-1.la \
42 libs/speex/libspeex/libspeexdsp.la \
43 libs/sqlite/libsqlite3.la \
44 libs/pcre/libpcre.la \
45 libs/srtp/libsrtp.la \
46 src/include/switch_version.h
47
48 # then the rest should build in parallel too
49 make || return 1
50} 37}
51package(){ 38package(){
52 cd "$srcdir/$pkgname-$pkgver" 39 cd "$srcdir/$pkgname-$pkgver"
53 make -j1 DESTDIR="$pkgdir" install 40 make -j1 DESTDIR="$pkgdir" install
41 # we need to do some moving/cleanup to allow some... kind of FHS
42 mkdir -p "$pkgdir"/var/run/freeswitch
43 mkdir -p "$pkgdir"/var/lib/freeswitch
44 mkdir -p "$pkgdir"/var/log
45 mkdir -p "$pkgdir"/usr/share/freeswitch
46 mv "$pkgdir"/usr/db "$pkgdir"/var/lib/freeswitch/
47 mv "$pkgdir"/usr/grammar "$pkgdir"/var/lib/freeswitch/
48 mv "$pkgdir"/usr/htdocs "$pkgdir"/usr/share/freeswitch/
49 mv "$pkgdir"/usr/recordings "$pkgdir"/var/lib/freeswitch/
50 mv "$pkgdir"/usr/scripts "$pkgdir"/usr/share/freeswitch/
51 mv "$pkgdir"/usr/log "$pkgdir"/var/log/freeswitch
54 install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname 52 install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
55 install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname 53 install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
56} 54}
57 55
58md5sums="86e34bdd8cc027d71772cb0dc51388da freeswitch-1.0.4.tar.gz 56md5sums="388effee587887a81fe7f411b7350590 freeswitch-1.0.6.tar.gz
59c05f2356be159e99b3845f5260a33599 modules.conf 57c05f2356be159e99b3845f5260a33599 modules.conf
60c608cca8ad773acebf201f581438c7e7 freeswitch.confd 58c608cca8ad773acebf201f581438c7e7 freeswitch.confd
61dd3a6535c54fc6ed8399d6bb57d88369 freeswitch.initd 59a15f739b6f4f2c1685ab9f8831d30ca6 freeswitch.initd
62c0d7ad55063b1f62c9a2fcfa37b2fc0a freeswitch.post-install 60107c52398ff88275006b8223ee0b4907 freeswitch.post-install
63a34305ba1f8a8e7e6dbb9c678cc442b9 freeswitch.pre-install 6125945ad43b7dd988f37bf6f2603e22be freeswitch.pre-install"
64a7188703019a74fd7f128d165b3ecf42 freeswitch.post-deinstall"
diff --git a/testing/freeswitch/freeswitch.confd b/main/freeswitch/freeswitch.confd
index 378e4b41f4..378e4b41f4 100644
--- a/testing/freeswitch/freeswitch.confd
+++ b/main/freeswitch/freeswitch.confd
diff --git a/main/freeswitch/freeswitch.initd b/main/freeswitch/freeswitch.initd
new file mode 100755
index 0000000000..0538fff56b
--- /dev/null
+++ b/main/freeswitch/freeswitch.initd
@@ -0,0 +1,58 @@
1#!/sbin/runscript
2# Copyright 2007 Gentoo Foundation
3# Distributed under the terms of the GNU General Public License, v2 or later
4# $Header: $
5
6depend() {
7 need net
8}
9
10opts="reload"
11
12start() {
13 local OPTS
14
15 [ -n "${FREESWITCH_USER}" ] && \
16 OPTS="${OPTS} -u ${FREESWITCH_USER}"
17
18 [ -n "${FREESWITCH_GROUP}" ] && \
19 OPTS="${OPTS} -g ${FREESWITCH_GROUP}"
20
21 [ -n "${FREESWITCH_OPTS}" ] && \
22 OPTS="${OPTS} ${FREESWITCH_OPTS}"
23
24 ebegin "Starting Freeswitch"
25 limits
26 start-stop-daemon --start --quiet --exec /usr/bin/freeswitch \
27 -- -nc -conf /etc/freeswitch -log /var/log/freeswitch \
28 -run /var/run/freeswitch -db /var/lib/freeswitch/db \
29 -htdocs /usr/share/freeswitch/htdocs \
30 -scripts /usr/share/freeswitch/scripts ${OPTS}
31 eend $?
32}
33
34# Recomended ULIMIT settings
35# http://tinyurl.com/2dr467l (i,q,u,x not suppoted)
36
37limits() {
38 ulimit -c unlimited
39 ulimit -d unlimited
40 ulimit -f unlimited
41 ulimit -n 999999
42 ulimit -v unlimited
43 ulimit -s 244
44 ulimit -l unlimited
45}
46
47stop() {
48 ebegin "Stopping Freeswitch"
49 /usr/bin/freeswitch -stop
50 eend $?
51}
52
53reload() {
54 start-stop-daemon --stop --signal 1 --quiet --pidfile \
55 /var/run/freeswitch.pid --name freeswitch
56 return 0
57}
58
diff --git a/main/freeswitch/freeswitch.post-install b/main/freeswitch/freeswitch.post-install
new file mode 100755
index 0000000000..fef23caef1
--- /dev/null
+++ b/main/freeswitch/freeswitch.post-install
@@ -0,0 +1,5 @@
1#!/bin/sh
2
3chown -R freeswitch:freeswitch /var/*/freeswitch
4
5exit 0
diff --git a/main/freeswitch/freeswitch.pre-install b/main/freeswitch/freeswitch.pre-install
new file mode 100755
index 0000000000..043b963bbd
--- /dev/null
+++ b/main/freeswitch/freeswitch.pre-install
@@ -0,0 +1,5 @@
1#!/bin/sh
2
3adduser -H -h /var/run/freeswitch -s /bin/false -D freeswitch 2>/dev/null
4
5exit 0
diff --git a/testing/freeswitch/modules.conf b/main/freeswitch/modules.conf
index c6f5a05de8..c6f5a05de8 100644
--- a/testing/freeswitch/modules.conf
+++ b/main/freeswitch/modules.conf
diff --git a/main/freetds/APKBUILD b/main/freetds/APKBUILD
index 5e58429d9c..bae42d6689 100644
--- a/main/freetds/APKBUILD
+++ b/main/freetds/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Michael Mason <ms13sp@gmail.com> 2# Maintainer: Michael Mason <ms13sp@gmail.com>
3pkgname=freetds 3pkgname=freetds
4pkgver=0.82 4pkgver=0.82
5pkgrel=1 5pkgrel=2
6pkgdesc="Tabular Datastream Library" 6pkgdesc="Tabular Datastream Library"
7url="http://www.freetds.org/" 7url="http://www.freetds.org/"
8license="GPL" 8license="GPL"
diff --git a/main/freetype/APKBUILD b/main/freetype/APKBUILD
index e7f2a87ffc..f88da34b87 100644
--- a/main/freetype/APKBUILD
+++ b/main/freetype/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Carlo Landmeter <clandmeter at gmail> 2# Maintainer: Carlo Landmeter <clandmeter at gmail>
3pkgname=freetype 3pkgname=freetype
4pkgver=2.3.8 4pkgver=2.3.8
5pkgrel=0 5pkgrel=1
6pkgdesc="TrueType font rendering library" 6pkgdesc="TrueType font rendering library"
7url="http://freetype.sourceforge.net" 7url="http://freetype.sourceforge.net"
8license="GPL" 8license="GPL"
diff --git a/main/fribidi/APKBUILD b/main/fribidi/APKBUILD
index 3c146ec0a1..fdf62ff69e 100644
--- a/main/fribidi/APKBUILD
+++ b/main/fribidi/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=fribidi 2pkgname=fribidi
3pkgver=0.19.2 3pkgver=0.19.2
4pkgrel=0 4pkgrel=1
5pkgdesc="A Free Implementation of the Unicode Bidirectional Algorithm" 5pkgdesc="A Free Implementation of the Unicode Bidirectional Algorithm"
6url="http://fribidi.org" 6url="http://fribidi.org"
7license="LGPL" 7license="LGPL"
diff --git a/main/galculator/APKBUILD b/main/galculator/APKBUILD
index 4ef92f888c..f8f2d43652 100644
--- a/main/galculator/APKBUILD
+++ b/main/galculator/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=galculator 2pkgname=galculator
3pkgver=1.3.4 3pkgver=1.3.4
4pkgrel=0 4pkgrel=1
5pkgdesc="GTK+ based scientific calculator" 5pkgdesc="GTK+ based scientific calculator"
6url="http://galculator.sourceforge.net/" 6url="http://galculator.sourceforge.net/"
7license="GPL" 7license="GPL"
diff --git a/main/gamin/APKBUILD b/main/gamin/APKBUILD
index 730271afb4..f7c8936aa9 100644
--- a/main/gamin/APKBUILD
+++ b/main/gamin/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=gamin 2pkgname=gamin
3pkgver=0.1.10 3pkgver=0.1.10
4pkgrel=1 4pkgrel=2
5pkgdesc="Gamin is a file and directory monitoring system defined to be a subset of the FAM (File Alteration Monitor) system." 5pkgdesc="Gamin is a file and directory monitoring system defined to be a subset of the FAM (File Alteration Monitor) system."
6url="http://www.gnome.org/~veillard/gamin" 6url="http://www.gnome.org/~veillard/gamin"
7license="GPL" 7license="GPL"
diff --git a/main/gawk/APKBUILD b/main/gawk/APKBUILD
index fbc2daaa6f..b1389cd385 100644
--- a/main/gawk/APKBUILD
+++ b/main/gawk/APKBUILD
@@ -1,7 +1,7 @@
1# Contributor: Michael Mason <ms13sp@gmail.com> 1# Contributor: Michael Mason <ms13sp@gmail.com>
2# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 2# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
3pkgname=gawk 3pkgname=gawk
4pkgver=3.1.7 4pkgver=3.1.8
5pkgrel=0 5pkgrel=0
6pkgdesc="GNU awk pattern-matching language" 6pkgdesc="GNU awk pattern-matching language"
7url="http://www.gnu.org/software/gawk/gawk.html" 7url="http://www.gnu.org/software/gawk/gawk.html"
@@ -22,9 +22,13 @@ build() {
22 --infodir=/usr/share/info \ 22 --infodir=/usr/share/info \
23 --disable-nls 23 --disable-nls
24 make || return 1 24 make || return 1
25}
26
27package() {
28 cd "$srcdir/$pkgname-$pkgver"
25 make DESTDIR="$pkgdir" install 29 make DESTDIR="$pkgdir" install
26 30
27} 31}
28 32
29md5sums="a38d5dec19320ace01f1d16c8beb1363 gawk-3.1.7.tar.gz 33md5sums="35937a0f83f0efe7a8c2dee635624784 gawk-3.1.8.tar.gz
30b84506d253e04db3c5af9016fead45a3 gawk.post-deinstall" 34b84506d253e04db3c5af9016fead45a3 gawk.post-deinstall"
diff --git a/main/gcc/APKBUILD b/main/gcc/APKBUILD
index 7ab9918c1b..4668a06856 100644
--- a/main/gcc/APKBUILD
+++ b/main/gcc/APKBUILD
@@ -4,12 +4,14 @@ pkgver=4.4.3
4_pv=4.4.2 4_pv=4.4.2
5_specsver=0.1.7 5_specsver=0.1.7
6_espfver=0.3.6 6_espfver=0.3.6
7pkgrel=0 7_uclibc_abiver=0.9.32
8
9pkgrel=3
8pkgdesc="The GNU Compiler Collection" 10pkgdesc="The GNU Compiler Collection"
9url="http://gcc.gnu.org" 11url="http://gcc.gnu.org"
10license="GPL LGPL" 12license="GPL LGPL"
11depends="binutils libgcc" 13depends="binutils libgcc libgomp"
12makedepends="bison flex gmp-dev mpfr-dev texinfo" 14makedepends="bison flex gmp5-dev mpfr-dev texinfo"
13subpackages="$pkgname-doc libstdc++:libcxx g++:gpp libgcc libgomp" 15subpackages="$pkgname-doc libstdc++:libcxx g++:gpp libgcc libgomp"
14source="ftp://gcc.gnu.org/pub/gcc/releases/gcc-$pkgver/gcc-core-$pkgver.tar.bz2 16source="ftp://gcc.gnu.org/pub/gcc/releases/gcc-$pkgver/gcc-core-$pkgver.tar.bz2
15 ftp://gcc.gnu.org/pub/gcc/releases/gcc-$pkgver/gcc-g++-$pkgver.tar.bz2 17 ftp://gcc.gnu.org/pub/gcc/releases/gcc-$pkgver/gcc-g++-$pkgver.tar.bz2
@@ -18,6 +20,7 @@ source="ftp://gcc.gnu.org/pub/gcc/releases/gcc-$pkgver/gcc-core-$pkgver.tar.bz2
18 gcc-spec-env.patch 20 gcc-spec-env.patch
19 pt_gnu_eh_frame.patch 21 pt_gnu_eh_frame.patch
20 uclibc-getipinfo.patch 22 uclibc-getipinfo.patch
23 gcc-dynamic-linker.patch
21 " 24 "
22# ftp://gcc.gnu.org/pub/gcc/releases/gcc-$pkgver/gcc-objc-$pkgver.tar.bz2 25# ftp://gcc.gnu.org/pub/gcc/releases/gcc-$pkgver/gcc-objc-$pkgver.tar.bz2
23build () 26build ()
@@ -52,7 +55,6 @@ build ()
52 --disable-libstdcxx-pch \ 55 --disable-libstdcxx-pch \
53 --disable-multilib \ 56 --disable-multilib \
54 --disable-nls \ 57 --disable-nls \
55 --disable-threads \
56 --disable-werror \ 58 --disable-werror \
57 --enable-__cxa_atexit \ 59 --enable-__cxa_atexit \
58 --enable-cld \ 60 --enable-cld \
@@ -61,7 +63,10 @@ build ()
61 --enable-shared \ 63 --enable-shared \
62 --enable-target-optspace \ 64 --enable-target-optspace \
63 --enable-tls \ 65 --enable-tls \
66 --enable-threads \
64 --with-arch=i486 \ 67 --with-arch=i486 \
68 --with-dynamic-linker=ld-uClibc.so.$_uclibc_abiver \
69 --with-dynamic-linker-prefix=/lib \
65 --with-system-zlib \ 70 --with-system-zlib \
66 --without-system-libunwind 71 --without-system-libunwind
67 72
@@ -127,4 +132,5 @@ cd179ec4f05ee17ce76464da25a2674c gcc-g++-4.4.3.tar.bz2
127528926b586b2591474b6c2a7ef8ee6d7 gcc-4.4.2-specs-0.1.7.tar.bz2 132528926b586b2591474b6c2a7ef8ee6d7 gcc-4.4.2-specs-0.1.7.tar.bz2
128c4045bfa85d8be780affd465be9d8ca8 gcc-spec-env.patch 133c4045bfa85d8be780affd465be9d8ca8 gcc-spec-env.patch
1292db1e3482c5dd59dab70f701afa2ca80 pt_gnu_eh_frame.patch 1342db1e3482c5dd59dab70f701afa2ca80 pt_gnu_eh_frame.patch
1306cc2385c5bbd6d0da6eaedd53c8bf547 uclibc-getipinfo.patch" 1356cc2385c5bbd6d0da6eaedd53c8bf547 uclibc-getipinfo.patch
1366db5c87887beee75cde3cce86625b9ed gcc-dynamic-linker.patch"
diff --git a/main/gcc/gcc-dynamic-linker.patch b/main/gcc/gcc-dynamic-linker.patch
new file mode 100644
index 0000000000..9b34664515
--- /dev/null
+++ b/main/gcc/gcc-dynamic-linker.patch
@@ -0,0 +1,425 @@
1Submitted By: Kevin Day <thekevinday AT gmail DOT com>
2Date: 2008-12-19
3Initial Package Version: 4.3.2
4Upstream Status: Not submitted
5Description: Why not just be able to define the prefix of the dynamic linker instead of hardcoding it..
6This includes the --nostdinc patch as well, so think of this as a specs-3 patch
7This also allows for specifying the dynamic-linker as well
8
9diff -r -u gcc-4.4.0.orig/gcc/Makefile.in gcc-4.4.0/gcc/Makefile.in
10--- gcc-4.4.0.orig/gcc/Makefile.in 2009-06-06 09:15:56 -0500
11+++ gcc-4.4.0/gcc/Makefile.in 2009-06-06 09:40:07 -0500
12@@ -893,7 +893,7 @@
13 # This is the variable actually used when we compile. If you change this,
14 # you probably want to update BUILD_CFLAGS in configure.ac
15 ALL_CFLAGS = $(T_CFLAGS) \
16- $(CFLAGS) $(INTERNAL_CFLAGS) $(COVERAGE_FLAGS) $(WARN_CFLAGS) @DEFS@
17+ $(CFLAGS) $(INTERNAL_CFLAGS) $(COVERAGE_FLAGS) $(WARN_CFLAGS) @DEFS@ @NOSTDINC@
18
19 # Likewise. Put INCLUDES at the beginning: this way, if some autoconf macro
20 # puts -I options in CPPFLAGS, our include files in the srcdir will always
21@@ -1947,6 +1947,8 @@
22 -DSTANDARD_STARTFILE_PREFIX=\"$(unlibsubdir)/\" \
23 -DSTANDARD_EXEC_PREFIX=\"$(libdir)/gcc/\" \
24 -DSTANDARD_LIBEXEC_PREFIX=\"$(libexecdir)/gcc/\" \
25+ -DDYNAMIC_LINKER_PREFIX=\"@DYNAMICLINKERPREFIX@\" \
26+ -DDYNAMIC_LINKER=\"@DYNAMICLINKER@\" \
27 -DDEFAULT_TARGET_VERSION=\"$(version)\" \
28 -DDEFAULT_TARGET_MACHINE=\"$(target_noncanonical)\" \
29 -DSTANDARD_BINDIR_PREFIX=\"$(bindir)/\" \
30diff -r -u gcc-4.4.0.orig/gcc/config/alpha/gnu.h gcc-4.4.0/gcc/config/alpha/gnu.h
31--- gcc-4.4.0.orig/gcc/config/alpha/gnu.h 2009-06-06 09:16:15 -0500
32+++ gcc-4.4.0/gcc/config/alpha/gnu.h 2009-06-06 09:40:29 -0500
33@@ -11,7 +11,7 @@
34 } while (0)
35
36 #undef ELF_DYNAMIC_LINKER
37-#define ELF_DYNAMIC_LINKER "/lib/ld.so"
38+#define ELF_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/" DYNAMIC_LINKER
39
40 #undef STARTFILE_SPEC
41 #define STARTFILE_SPEC \
42diff -r -u gcc-4.4.0.orig/gcc/config/alpha/linux-elf.h gcc-4.4.0/gcc/config/alpha/linux-elf.h
43--- gcc-4.4.0.orig/gcc/config/alpha/linux-elf.h 2009-06-06 09:16:15 -0500
44+++ gcc-4.4.0/gcc/config/alpha/linux-elf.h 2009-06-06 09:40:07 -0500
45@@ -27,8 +27,8 @@
46 #define EXTRA_SPECS \
47 { "elf_dynamic_linker", ELF_DYNAMIC_LINKER },
48
49-#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
50-#define UCLIBC_DYNAMIC_LINKER "/lib/ld-uClibc.so.0"
51+#define GLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/" DYNAMIC_LINKER
52+#define UCLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/" DYNAMIC_LINKER
53 #if UCLIBC_DEFAULT
54 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:%{muclibc:%e-mglibc and -muclibc used together}" G ";:" U "}"
55 #else
56diff -r -u gcc-4.4.0.orig/gcc/config/arm/linux-eabi.h gcc-4.4.0/gcc/config/arm/linux-eabi.h
57--- gcc-4.4.0.orig/gcc/config/arm/linux-eabi.h 2009-06-06 09:16:10 -0500
58+++ gcc-4.4.0/gcc/config/arm/linux-eabi.h 2009-06-06 09:40:07 -0500
59@@ -61,7 +61,7 @@
60 /* Use ld-linux.so.3 so that it will be possible to run "classic"
61 GNU/Linux binaries on an EABI system. */
62 #undef GLIBC_DYNAMIC_LINKER
63-#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.3"
64+#define GLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/" DYNAMIC_LINKER
65
66 /* At this point, bpabi.h will have clobbered LINK_SPEC. We want to
67 use the GNU/Linux version, not the generic BPABI version. */
68diff -r -u gcc-4.4.0.orig/gcc/config/arm/linux-elf.h gcc-4.4.0/gcc/config/arm/linux-elf.h
69--- gcc-4.4.0.orig/gcc/config/arm/linux-elf.h 2009-06-06 09:16:10 -0500
70+++ gcc-4.4.0/gcc/config/arm/linux-elf.h 2009-06-06 09:40:07 -0500
71@@ -62,7 +62,7 @@
72
73 #define LIBGCC_SPEC "%{msoft-float:-lfloat} %{mfloat-abi=soft*:-lfloat} -lgcc"
74
75-#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
76+#define GLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/" DYNAMIC_LINKER
77
78 #define LINUX_TARGET_LINK_SPEC "%{h*} %{version:-v} \
79 %{b} \
80diff -r -u gcc-4.4.0.orig/gcc/config/bfin/linux.h gcc-4.4.0/gcc/config/bfin/linux.h
81--- gcc-4.4.0.orig/gcc/config/bfin/linux.h 2009-06-06 09:16:15 -0500
82+++ gcc-4.4.0/gcc/config/bfin/linux.h 2009-06-06 09:40:07 -0500
83@@ -22,7 +22,7 @@
84 %{shared:-G -Bdynamic} \
85 %{!shared: %{!static: \
86 %{rdynamic:-export-dynamic} \
87- %{!dynamic-linker:-dynamic-linker /lib/ld-uClibc.so.0}} \
88+ %{!dynamic-linker:-dynamic-linker DYNAMIC_LINKER_PREFIX "/" DYNAMIC_LINKER}} \
89 %{static}} -init __init -fini __fini"
90
91 #define MD_UNWIND_SUPPORT "config/bfin/linux-unwind.h"
92diff -r -u gcc-4.4.0.orig/gcc/config/cris/linux.h gcc-4.4.0/gcc/config/cris/linux.h
93--- gcc-4.4.0.orig/gcc/config/cris/linux.h 2009-06-06 09:16:15 -0500
94+++ gcc-4.4.0/gcc/config/cris/linux.h 2009-06-06 09:40:07 -0500
95@@ -103,7 +103,7 @@
96 #undef CRIS_DEFAULT_CPU_VERSION
97 #define CRIS_DEFAULT_CPU_VERSION CRIS_CPU_NG
98
99-#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
100+#define GLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/" DYNAMIC_LINKER
101
102 /* We need an -rpath-link to ld.so.1, and presumably to each directory
103 specified with -B. */
104diff -r -u gcc-4.4.0.orig/gcc/config/freebsd-spec.h gcc-4.4.0/gcc/config/freebsd-spec.h
105--- gcc-4.4.0.orig/gcc/config/freebsd-spec.h 2009-06-06 09:16:15 -0500
106+++ gcc-4.4.0/gcc/config/freebsd-spec.h 2009-06-06 09:41:42 -0500
107@@ -144,7 +144,7 @@
108 #endif
109
110 #if FBSD_MAJOR < 6
111-#define FBSD_DYNAMIC_LINKER "/usr/libexec/ld-elf.so.1"
112+#define FBSD_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/" DYNAMIC_LINKER
113 #else
114-#define FBSD_DYNAMIC_LINKER "/libexec/ld-elf.so.1"
115+#define FBSD_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/" DYNAMIC_LINKER
116 #endif
117diff -r -u gcc-4.4.0.orig/gcc/config/frv/linux.h gcc-4.4.0/gcc/config/frv/linux.h
118--- gcc-4.4.0.orig/gcc/config/frv/linux.h 2009-06-06 09:16:11 -0500
119+++ gcc-4.4.0/gcc/config/frv/linux.h 2009-06-06 09:40:07 -0500
120@@ -35,7 +35,7 @@
121 #define ENDFILE_SPEC \
122 "%{shared|pie:crtendS.o%s;:crtend.o%s} crtn.o%s"
123
124-#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
125+#define GLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/" DYNAMIC_LINKER
126
127 #undef LINK_SPEC
128 #define LINK_SPEC "\
129diff -r -u gcc-4.4.0.orig/gcc/config/i386/linux.h gcc-4.4.0/gcc/config/i386/linux.h
130--- gcc-4.4.0.orig/gcc/config/i386/linux.h 2009-06-06 09:16:11 -0500
131+++ gcc-4.4.0/gcc/config/i386/linux.h 2009-06-06 09:40:07 -0500
132@@ -100,7 +100,7 @@
133
134 /* These macros may be overridden in k*bsd-gnu.h and i386/k*bsd-gnu.h. */
135 #define LINK_EMULATION "elf_i386"
136-#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
137+#define GLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/" DYNAMIC_LINKER
138
139 #undef ASM_SPEC
140 #define ASM_SPEC \
141diff -r -u gcc-4.4.0.orig/gcc/config/i386/linux64.h gcc-4.4.0/gcc/config/i386/linux64.h
142--- gcc-4.4.0.orig/gcc/config/i386/linux64.h 2009-06-06 09:16:11 -0500
143+++ gcc-4.4.0/gcc/config/i386/linux64.h 2009-06-06 09:40:07 -0500
144@@ -58,8 +58,8 @@
145 When the -shared link option is used a final link is not being
146 done. */
147
148-#define GLIBC_DYNAMIC_LINKER32 "/lib/ld-linux.so.2"
149-#define GLIBC_DYNAMIC_LINKER64 "/lib64/ld-linux-x86-64.so.2"
150+#define GLIBC_DYNAMIC_LINKER32 "/" DYNAMIC_LINKER
151+#define GLIBC_DYNAMIC_LINKER64 DYNAMIC_LINKER_PREFIX "/" DYNAMIC_LINKER
152
153 #undef ASM_SPEC
154 #define ASM_SPEC "%{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Yd,*} \
155diff -r -u gcc-4.4.0.orig/gcc/config/ia64/linux.h gcc-4.4.0/gcc/config/ia64/linux.h
156--- gcc-4.4.0.orig/gcc/config/ia64/linux.h 2009-06-06 09:16:11 -0500
157+++ gcc-4.4.0/gcc/config/ia64/linux.h 2009-06-06 09:40:07 -0500
158@@ -37,7 +37,7 @@
159 /* Define this for shared library support because it isn't in the main
160 linux.h file. */
161
162-#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-ia64.so.2"
163+#define GLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/" DYNAMIC_LINKER
164
165 #undef LINK_SPEC
166 #define LINK_SPEC "\
167diff -r -u gcc-4.4.0.orig/gcc/config/knetbsd-gnu.h gcc-4.4.0/gcc/config/knetbsd-gnu.h
168--- gcc-4.4.0.orig/gcc/config/knetbsd-gnu.h 2009-06-06 09:16:15 -0500
169+++ gcc-4.4.0/gcc/config/knetbsd-gnu.h 2009-06-06 09:40:59 -0500
170@@ -34,5 +34,5 @@
171
172 #ifdef GLIBC_DYNAMIC_LINKER
173 #undef GLIBC_DYNAMIC_LINKER
174-#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
175+#define GLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/" DYNAMIC_LINKER
176 #endif
177diff -r -u gcc-4.4.0.orig/gcc/config/linux.h gcc-4.4.0/gcc/config/linux.h
178--- gcc-4.4.0.orig/gcc/config/linux.h 2009-06-06 09:16:11 -0500
179+++ gcc-4.4.0/gcc/config/linux.h 2009-06-06 09:40:07 -0500
180@@ -117,9 +117,9 @@
181 GLIBC_DYNAMIC_LINKER must be defined for each target using them, or
182 GLIBC_DYNAMIC_LINKER32 and GLIBC_DYNAMIC_LINKER64 for targets
183 supporting both 32-bit and 64-bit compilation. */
184-#define UCLIBC_DYNAMIC_LINKER "/lib/ld-uClibc.so.0"
185-#define UCLIBC_DYNAMIC_LINKER32 "/lib/ld-uClibc.so.0"
186-#define UCLIBC_DYNAMIC_LINKER64 "/lib/ld64-uClibc.so.0"
187+#define UCLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/" DYNAMIC_LINKER
188+#define UCLIBC_DYNAMIC_LINKER32 DYNAMIC_LINKER_PREFIX "/" DYNAMIC_LINKER
189+#define UCLIBC_DYNAMIC_LINKER64 DYNAMIC_LINKER_PREFIX "/" DYNAMIC_LINKER
190 #define LINUX_DYNAMIC_LINKER \
191 CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER)
192 #define LINUX_DYNAMIC_LINKER32 \
193@@ -135,3 +135,8 @@
194 #define TARGET_HAS_SINCOS (OPTION_GLIBC)
195
196 #define TARGET_POSIX_IO
197+
198+#ifdef NOSTDINC
199+#undef STANDARD_INCLUDE_DIR
200+#define STANDARD_INCLUDE_DIR 0
201+#endif
202diff -r -u gcc-4.4.0.orig/gcc/config/m32r/linux.h gcc-4.4.0/gcc/config/m32r/linux.h
203--- gcc-4.4.0.orig/gcc/config/m32r/linux.h 2009-06-06 09:16:11 -0500
204+++ gcc-4.4.0/gcc/config/m32r/linux.h 2009-06-06 09:40:07 -0500
205@@ -58,7 +58,7 @@
206
207 /* If ELF is the default format, we should not use /lib/elf. */
208
209-#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
210+#define GLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/" DYNAMIC_LINKER
211
212 #undef LINK_SPEC
213 #if TARGET_LITTLE_ENDIAN
214diff -r -u gcc-4.4.0.orig/gcc/config/m68k/linux.h gcc-4.4.0/gcc/config/m68k/linux.h
215--- gcc-4.4.0.orig/gcc/config/m68k/linux.h 2009-06-06 09:16:11 -0500
216+++ gcc-4.4.0/gcc/config/m68k/linux.h 2009-06-06 09:40:07 -0500
217@@ -84,7 +84,7 @@
218
219 /* If ELF is the default format, we should not use /lib/elf. */
220
221-#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
222+#define GLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/" DYNAMIC_LINKER
223
224 #undef LINK_SPEC
225 #define LINK_SPEC "-m m68kelf %{shared} \
226diff -r -u gcc-4.4.0.orig/gcc/config/mips/linux.h gcc-4.4.0/gcc/config/mips/linux.h
227--- gcc-4.4.0.orig/gcc/config/mips/linux.h 2009-06-06 09:16:11 -0500
228+++ gcc-4.4.0/gcc/config/mips/linux.h 2009-06-06 09:40:07 -0500
229@@ -64,7 +64,7 @@
230 #undef MIPS_DEFAULT_GVALUE
231 #define MIPS_DEFAULT_GVALUE 0
232
233-#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
234+#define GLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/" DYNAMIC_LINKER
235
236 /* Borrowed from sparc/linux.h */
237 #undef LINK_SPEC
238diff -r -u gcc-4.4.0.orig/gcc/config/mips/linux64.h gcc-4.4.0/gcc/config/mips/linux64.h
239--- gcc-4.4.0.orig/gcc/config/mips/linux64.h 2009-06-06 09:16:11 -0500
240+++ gcc-4.4.0/gcc/config/mips/linux64.h 2009-06-06 09:40:07 -0500
241@@ -35,10 +35,10 @@
242 %{!shared: \
243 %{profile:-lc_p} %{!profile:-lc}}"
244
245-#define GLIBC_DYNAMIC_LINKER32 "/lib/ld.so.1"
246-#define GLIBC_DYNAMIC_LINKER64 "/lib64/ld.so.1"
247-#define GLIBC_DYNAMIC_LINKERN32 "/lib32/ld.so.1"
248-#define UCLIBC_DYNAMIC_LINKERN32 "/lib32/ld-uClibc.so.0"
249+#define GLIBC_DYNAMIC_LINKER32 DYNAMIC_LINKER_PREFIX "/" DYNAMIC_LINKER
250+#define GLIBC_DYNAMIC_LINKER64 DYNAMIC_LINKER_PREFIX "/" DYNAMIC_LINKER
251+#define GLIBC_DYNAMIC_LINKERN32 DYNAMIC_LINKER_PREFIX "/" DYNAMIC_LINKER
252+#define UCLIBC_DYNAMIC_LINKERN32 DYNAMIC_LINKER_PREFIX "/" DYNAMIC_LINKER
253 #define LINUX_DYNAMIC_LINKERN32 \
254 CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKERN32, UCLIBC_DYNAMIC_LINKERN32)
255
256diff -r -u gcc-4.4.0.orig/gcc/config/mn10300/linux.h gcc-4.4.0/gcc/config/mn10300/linux.h
257--- gcc-4.4.0.orig/gcc/config/mn10300/linux.h 2009-06-06 09:16:11 -0500
258+++ gcc-4.4.0/gcc/config/mn10300/linux.h 2009-06-06 09:40:07 -0500
259@@ -32,7 +32,7 @@
260 #undef ASM_SPEC
261 #define ASM_SPEC "%{Wa,*:%*}"
262
263-#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
264+#define GLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/" DYNAMIC_LINKER
265
266 #undef LINK_SPEC
267 #define LINK_SPEC "%{mrelax:--relax} %{shared:-shared} \
268diff -r -u gcc-4.4.0.orig/gcc/config/rs6000/linux64.h gcc-4.4.0/gcc/config/rs6000/linux64.h
269--- gcc-4.4.0.orig/gcc/config/rs6000/linux64.h 2009-06-06 09:16:15 -0500
270+++ gcc-4.4.0/gcc/config/rs6000/linux64.h 2009-06-06 09:40:07 -0500
271@@ -342,10 +342,10 @@
272 #undef LINK_OS_DEFAULT_SPEC
273 #define LINK_OS_DEFAULT_SPEC "%(link_os_linux)"
274
275-#define GLIBC_DYNAMIC_LINKER32 "/lib/ld.so.1"
276-#define GLIBC_DYNAMIC_LINKER64 "/lib64/ld64.so.1"
277-#define UCLIBC_DYNAMIC_LINKER32 "/lib/ld-uClibc.so.0"
278-#define UCLIBC_DYNAMIC_LINKER64 "/lib/ld64-uClibc.so.0"
279+#define GLIBC_DYNAMIC_LINKER32 DYNAMIC_LINKER_PREFIX "/" DYNAMIC_LINKER
280+#define GLIBC_DYNAMIC_LINKER64 DYNAMIC_LINKER_PREFIX "/" DYNAMIC_LINKER
281+#define UCLIBC_DYNAMIC_LINKER32 DYNAMIC_LINKER_PREFIX "/" DYNAMIC_LINKER
282+#define UCLIBC_DYNAMIC_LINKER64 DYNAMIC_LINKER_PREFIX "/" DYNAMIC_LINKER
283 #if UCLIBC_DEFAULT
284 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{mglibc:%{muclibc:%e-mglibc and -muclibc used together}" G ";:" U "}"
285 #else
286diff -r -u gcc-4.4.0.orig/gcc/config/s390/linux.h gcc-4.4.0/gcc/config/s390/linux.h
287--- gcc-4.4.0.orig/gcc/config/s390/linux.h 2009-06-06 09:16:10 -0500
288+++ gcc-4.4.0/gcc/config/s390/linux.h 2009-06-06 09:40:07 -0500
289@@ -72,8 +72,8 @@
290 #define MULTILIB_DEFAULTS { "m31" }
291 #endif
292
293-#define GLIBC_DYNAMIC_LINKER32 "/lib/ld.so.1"
294-#define GLIBC_DYNAMIC_LINKER64 "/lib/ld64.so.1"
295+#define GLIBC_DYNAMIC_LINKER32 DYNAMIC_LINKER_PREFIX "/" DYNAMIC_LINKER
296+#define GLIBC_DYNAMIC_LINKER64 DYNAMIC_LINKER_PREFIX "/" DYNAMIC_LINKER
297
298 #undef LINK_SPEC
299 #define LINK_SPEC \
300diff -r -u gcc-4.4.0.orig/gcc/config/sh/linux.h gcc-4.4.0/gcc/config/sh/linux.h
301--- gcc-4.4.0.orig/gcc/config/sh/linux.h 2009-06-06 09:16:15 -0500
302+++ gcc-4.4.0/gcc/config/sh/linux.h 2009-06-06 09:40:07 -0500
303@@ -47,7 +47,7 @@
304
305 #define TARGET_ASM_FILE_END file_end_indicate_exec_stack
306
307-#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
308+#define GLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/" DYNAMIC_LINKER
309
310 #undef SUBTARGET_LINK_EMUL_SUFFIX
311 #define SUBTARGET_LINK_EMUL_SUFFIX "_linux"
312diff -r -u gcc-4.4.0.orig/gcc/config/sparc/linux.h gcc-4.4.0/gcc/config/sparc/linux.h
313--- gcc-4.4.0.orig/gcc/config/sparc/linux.h 2009-06-06 09:16:15 -0500
314+++ gcc-4.4.0/gcc/config/sparc/linux.h 2009-06-06 09:40:07 -0500
315@@ -83,7 +83,7 @@
316
317 /* If ELF is the default format, we should not use /lib/elf. */
318
319-#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
320+#define GLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/" DYNAMIC_LINKER
321
322 #undef LINK_SPEC
323 #define LINK_SPEC "-m elf32_sparc -Y P,/usr/lib %{shared:-shared} \
324diff -r -u gcc-4.4.0.orig/gcc/config/sparc/linux64.h gcc-4.4.0/gcc/config/sparc/linux64.h
325--- gcc-4.4.0.orig/gcc/config/sparc/linux64.h 2009-06-06 09:16:15 -0500
326+++ gcc-4.4.0/gcc/config/sparc/linux64.h 2009-06-06 09:40:07 -0500
327@@ -109,8 +109,8 @@
328
329 /* If ELF is the default format, we should not use /lib/elf. */
330
331-#define GLIBC_DYNAMIC_LINKER32 "/lib/ld-linux.so.2"
332-#define GLIBC_DYNAMIC_LINKER64 "/lib64/ld-linux.so.2"
333+#define GLIBC_DYNAMIC_LINKER32 DYNAMIC_LINKER_PREFIX "/" DYNAMIC_LINKER
334+#define GLIBC_DYNAMIC_LINKER64 DYNAMIC_LINKER_PREFIX "/" DYNAMIC_LINKER
335
336 #ifdef SPARC_BI_ARCH
337
338diff -r -u gcc-4.4.0.orig/gcc/config/xtensa/linux.h gcc-4.4.0/gcc/config/xtensa/linux.h
339--- gcc-4.4.0.orig/gcc/config/xtensa/linux.h 2009-06-06 09:16:10 -0500
340+++ gcc-4.4.0/gcc/config/xtensa/linux.h 2009-06-06 09:40:07 -0500
341@@ -43,7 +43,7 @@
342 %{mlongcalls:--longcalls} \
343 %{mno-longcalls:--no-longcalls}"
344
345-#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
346+#define GLIBC_DYNAMIC_LINKER DYNAMIC_LINKER_PREFIX "/" DYNAMIC_LINKER
347
348 #undef LINK_SPEC
349 #define LINK_SPEC \
350diff -r -u gcc-4.4.0.orig/gcc/configure gcc-4.4.0/gcc/configure
351--- gcc-4.4.0.orig/gcc/configure 2009-06-06 09:16:16 -0500
352+++ gcc-4.4.0/gcc/configure 2009-06-06 09:40:07 -0500
353@@ -1118,6 +1118,14 @@
354 --with-gc={page,zone} choose the garbage collection mechanism to use
355 with the compiler
356 --with-system-zlib use installed libz
357+ --with-dynamic-linker=PATH
358+ specifies path to dynamic linker.
359+ example: "/lib/ld-linux.so.2", where this defines "ld-linux.so.2"
360+ --with-dynamic-linker-prefix=PATH
361+ specifies path to dynamic linker.
362+ example: "/lib/ld-linux.so.2", where this defines "/lib"
363+ --with-nostdinc build gcc to ignore standard include directories.
364+ You will have to use --with-local-prefix with this option.
365 --with-slibdir=DIR shared libraries in DIR [LIBDIR]
366 --with-datarootdir=DIR Use DIR as the data root [PREFIX/share]
367 --with-docdir=DIR Install documentation in DIR [DATAROOTDIR]
368@@ -5631,6 +5639,47 @@
369 #define SIZEOF_INT $ac_cv_sizeof_int
370 _ACEOF
371
372+# Check whether --with-dynamic-linker was given.
373+
374+DYNAMICLINKER="ld-linux.so.2" ;
375+if test "${with_dynamic_linker+set}" = set; then
376+ withval="$with_dynamic_linker"
377+ case "${withval}" in
378+yes) { { echo "$as_me:$LINENO: error: bad value "${withval}". Use something like --with-dynamic-linker=$DYNAMICLINKER" >&5
379+echo "$as_me: error: bad value "${withval}". Use something like --with-dynamic-linker=$DYNAMICLINKER" >&2;}
380+ { (exit 1); exit 1; }; } ;;
381+no) ;;
382+*) DYNAMICLINKER=$withval ;;
383+esac
384+fi;
385+
386+# Check whether --with-dynamic-linker-prefix= was given.
387+
388+DYNAMICLINKERPREFIX="/lib" ;
389+if test "${with_dynamic_linker_prefix+set}" = set; then
390+ withval="$with_dynamic_linker_prefix"
391+ case "${withval}" in
392+yes) { { echo "$as_me:$LINENO: error: bad value "${withval}". Use --with-dynamic-linker-prefix=/path/to/lib/" >&5
393+echo "$as_me: error: bad value "${withval}". Use --with-dynamic-linker-prefix=/path/to/lib/" >&2;}
394+ { (exit 1); exit 1; }; } ;;
395+no) ;;
396+*) DYNAMICLINKERPREFIX=$withval ;;
397+esac
398+
399+fi;
400+
401+# Check whether --with-nostdinc was given.
402+
403+if test "${with_nostdinc+set}" = set; then
404+ withval="$with_nostdinc"
405+ case "${withval}" in
406+yes) NOSTDINC="-DNOSTDINC" ;;
407+no) ;;
408+*) NOSTDINC="-DNOSTDINC" ;;
409+esac
410+fi;
411+
412+
413
414 echo "$as_me:$LINENO: checking for long" >&5
415 echo $ECHO_N "checking for long... $ECHO_C" >&6
416@@ -25488,6 +25537,9 @@
417 s,@TARGET_SYSTEM_ROOT_DEFINE@,$TARGET_SYSTEM_ROOT_DEFINE,;t t
418 s,@CROSS_SYSTEM_HEADER_DIR@,$CROSS_SYSTEM_HEADER_DIR,;t t
419 s,@onestep@,$onestep,;t t
420+s,@DYNAMICLINKER@,$DYNAMICLINKER,;t t
421+s,@DYNAMICLINKERPREFIX@,$DYNAMICLINKERPREFIX,;t t
422+s,@NOSTDINC@,$NOSTDINC,;t t
423 s,@PKGVERSION@,$PKGVERSION,;t t
424 s,@REPORT_BUGS_TO@,$REPORT_BUGS_TO,;t t
425 s,@REPORT_BUGS_TEXI@,$REPORT_BUGS_TEXI,;t t \ No newline at end of file
diff --git a/main/gd/APKBUILD b/main/gd/APKBUILD
index bee6064547..5ec2876685 100644
--- a/main/gd/APKBUILD
+++ b/main/gd/APKBUILD
@@ -3,7 +3,7 @@
3pkgname=gd 3pkgname=gd
4pkgver=2.0.36_rc1 4pkgver=2.0.36_rc1
5_myver=2.0.36RC1 5_myver=2.0.36RC1
6pkgrel=1 6pkgrel=2
7pkgdesc="Library for the dynamic creation of images by programmers" 7pkgdesc="Library for the dynamic creation of images by programmers"
8url="http://www.libgd.org/" 8url="http://www.libgd.org/"
9license="custom" 9license="custom"
diff --git a/main/gdb/APKBUILD b/main/gdb/APKBUILD
index a851da3141..67bb5d19de 100644
--- a/main/gdb/APKBUILD
+++ b/main/gdb/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=gdb 2pkgname=gdb
3pkgver=6.8 3pkgver=6.8
4pkgrel=3 4pkgrel=4
5pkgdesc="The GNU Debugger" 5pkgdesc="The GNU Debugger"
6url="http://sources.redhat.com/gdb/" 6url="http://sources.redhat.com/gdb/"
7license="GPL3" 7license="GPL3"
diff --git a/main/gdbm/APKBUILD b/main/gdbm/APKBUILD
index e20966b323..a24bfb1f47 100644
--- a/main/gdbm/APKBUILD
+++ b/main/gdbm/APKBUILD
@@ -2,11 +2,11 @@
2# Maintainer: Carlo Landmeter <clandmeter@gmail.com> 2# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
3pkgname=gdbm 3pkgname=gdbm
4pkgver=1.8.3 4pkgver=1.8.3
5pkgrel=0 5pkgrel=1
6pkgdesc="GNU dbm is a set of database routines that use extensible hashing" 6pkgdesc="GNU dbm is a set of database routines that use extensible hashing"
7url="http://www.gnu.org/software/gdbm/" 7url="http://www.gnu.org/software/gdbm/"
8license="GPL" 8license="GPL"
9depends="uclibc" 9depends=""
10makedepends="" 10makedepends=""
11install= 11install=
12subpackages="$pkgname-dev $pkgname-dev" 12subpackages="$pkgname-dev $pkgname-dev"
diff --git a/main/geany/APKBUILD b/main/geany/APKBUILD
index da959e6b5d..36e77f4226 100644
--- a/main/geany/APKBUILD
+++ b/main/geany/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=geany 2pkgname=geany
3pkgver=0.18.1 3pkgver=0.18.1
4pkgrel=0 4pkgrel=1
5pkgdesc="A fast and lightweight IDE" 5pkgdesc="A fast and lightweight IDE"
6url="http://www.geany.org" 6url="http://www.geany.org"
7license="GPL" 7license="GPL"
diff --git a/main/gettext/APKBUILD b/main/gettext/APKBUILD
index 5bb26daaba..bd9eec61e8 100644
--- a/main/gettext/APKBUILD
+++ b/main/gettext/APKBUILD
@@ -1,12 +1,12 @@
1# Maintainer: Carlo Landmeter <clandmeter at gmail.com> 1# Maintainer: Carlo Landmeter <clandmeter at gmail.com>
2pkgname=gettext 2pkgname=gettext
3pkgver=0.17 3pkgver=0.17
4pkgrel=3 4pkgrel=4
5pkgdesc="GNU locale utilities" 5pkgdesc="GNU locale utilities"
6url="http://www.gnu.org/software/gettext/gettext.html" 6url="http://www.gnu.org/software/gettext/gettext.html"
7license='GPL' 7license='GPL'
8depends= 8depends=
9makedepends="libiconv-dev expat-dev ncurses-dev bash uclibc++-dev libxml2-dev" 9makedepends="libiconv-dev expat-dev ncurses-dev bash libxml2-dev libgomp"
10source="ftp://ftp.mirror.nl/pub/mirror/gnu/gettext/gettext-0.17.tar.gz 10source="ftp://ftp.mirror.nl/pub/mirror/gnu/gettext/gettext-0.17.tar.gz
11 gettext-0.15-expat-no-dlopen.patch 11 gettext-0.15-expat-no-dlopen.patch
12 gettext-0.17-gnuinfo.patch 12 gettext-0.17-gnuinfo.patch
diff --git a/main/ghostscript/APKBUILD b/main/ghostscript/APKBUILD
index adc8756ad6..6373c076dd 100644
--- a/main/ghostscript/APKBUILD
+++ b/main/ghostscript/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Cameron Banta <cbanta@gmail.com> 2# Maintainer: Cameron Banta <cbanta@gmail.com>
3pkgname=ghostscript 3pkgname=ghostscript
4pkgver=8.71 4pkgver=8.71
5pkgrel=1 5pkgrel=2
6pkgdesc="An interpreter for the PostScript language and for PDF" 6pkgdesc="An interpreter for the PostScript language and for PDF"
7url="http://ghostscript.com/" 7url="http://ghostscript.com/"
8license="GPL" 8license="GPL"
diff --git a/main/giblib/APKBUILD b/main/giblib/APKBUILD
index e7242d8695..90a61b4d81 100644
--- a/main/giblib/APKBUILD
+++ b/main/giblib/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=giblib 2pkgname=giblib
3pkgver=1.2.4 3pkgver=1.2.4
4pkgrel=1 4pkgrel=2
5pkgdesc="Giblib is a library that feh uses as a wrapper to imlib2" 5pkgdesc="Giblib is a library that feh uses as a wrapper to imlib2"
6url="http://linuxbrit.co.uk/giblib/" 6url="http://linuxbrit.co.uk/giblib/"
7license="MIT" 7license="MIT"
diff --git a/main/giflib/APKBUILD b/main/giflib/APKBUILD
index 4ea64b882b..01fd9047bb 100644
--- a/main/giflib/APKBUILD
+++ b/main/giflib/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=giflib 2pkgname=giflib
3pkgver=4.1.6 3pkgver=4.1.6
4pkgrel=1 4pkgrel=2
5pkgdesc="A library for reading and writing gif images" 5pkgdesc="A library for reading and writing gif images"
6url="http://sourceforge.net/projects/giflib/" 6url="http://sourceforge.net/projects/giflib/"
7license="MIT" 7license="MIT"
diff --git a/main/git/APKBUILD b/main/git/APKBUILD
index ca396675d7..f8d9e8bb0d 100644
--- a/main/git/APKBUILD
+++ b/main/git/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=git 2pkgname=git
3pkgver=1.7.0.5 3pkgver=1.7.1
4pkgrel=0 4pkgrel=2
5pkgdesc="GIT - the stupid content tracker" 5pkgdesc="GIT - the stupid content tracker"
6url="http://git.or.cz/" 6url="http://git.or.cz/"
7license="GPL2" 7license="GPL2"
@@ -10,6 +10,7 @@ subpackages="$pkgname-doc $pkgname-perl"
10makedepends="zlib-dev openssl-dev curl-dev expat-dev perl-dev python-dev" 10makedepends="zlib-dev openssl-dev curl-dev expat-dev perl-dev python-dev"
11source="http://kernel.org/pub/software/scm/git/git-$pkgver.tar.bz2 11source="http://kernel.org/pub/software/scm/git/git-$pkgver.tar.bz2
12 bb-tar.patch 12 bb-tar.patch
13 git-do-not-dump-core-when-iconv-fails.patch
13 " 14 "
14 15
15_makeopts="NO_ICONV=YesPlease 16_makeopts="NO_ICONV=YesPlease
@@ -17,14 +18,16 @@ _makeopts="NO_ICONV=YesPlease
17 NO_TCLTK=YesPlease 18 NO_TCLTK=YesPlease
18 NO_SVN_TESTS=YesPlease" 19 NO_SVN_TESTS=YesPlease"
19 20
20build () { 21build() {
21 cd $srcdir/$pkgname-$pkgver 22 cd "$srcdir"/$pkgname-$pkgver
22 patch -p1 -i ../bb-tar.patch || return 1 23 patch -p1 -i "$srcdir"/bb-tar.patch || return 1
24 patch -p1 -i "$srcdir"/git-do-not-dump-core-when-iconv-fails.patch \
25 || return 1
23 make prefix=/usr DESTDIR="$pkgdir" $_makeopts || return 1 26 make prefix=/usr DESTDIR="$pkgdir" $_makeopts || return 1
24} 27}
25 28
26package() { 29package() {
27 cd $srcdir/$pkgname-$pkgver 30 cd "$srcdir"/$pkgname-$pkgver
28 make prefix=/usr DESTDIR="$pkgdir" $_makeopts install 31 make prefix=/usr DESTDIR="$pkgdir" $_makeopts install
29} 32}
30 33
@@ -42,5 +45,6 @@ perl() {
42} 45}
43 46
44 47
45md5sums="77d50f41ef282752dc69d9a47765f5c7 git-1.7.0.5.tar.bz2 48md5sums="3da231dbe82ad103373cb530ae7475d5 git-1.7.1.tar.bz2
46e63a201556c4f089de790805c09a2e5b bb-tar.patch" 49e63a201556c4f089de790805c09a2e5b bb-tar.patch
507c660517316261b383a094ef03aad0aa git-do-not-dump-core-when-iconv-fails.patch"
diff --git a/main/git/git-do-not-dump-core-when-iconv-fails.patch b/main/git/git-do-not-dump-core-when-iconv-fails.patch
new file mode 100644
index 0000000000..b338ee4809
--- /dev/null
+++ b/main/git/git-do-not-dump-core-when-iconv-fails.patch
@@ -0,0 +1,43 @@
1commit 43acff34b902c38808ac0f326090f2516250e1f0
2Author: Jonathan Nieder <jrnieder@gmail.com>
3Date: Sat May 8 18:17:29 2010 -0500
4
5 cherry-pick: do not dump core when iconv fails
6
7 When cherry-picking, usually the new and old commit encodings are both
8 UTF-8. Most old iconv implementations do not support this trivial
9 conversion, so on old platforms, out->message remains NULL, and later
10 attempts to read it segfault.
11
12 Fix this by noticing the input and output encodings match and skipping
13 the iconv step, like the other reencode_string() call sites already do.
14 Also stop segfaulting on other iconv failures: if iconv fails for some
15 other reason, the best we can do is to pass the old message through.
16
17 This fixes a regression introduced in v1.7.1-rc0~15^2~2 (revert:
18 clarify label on conflict hunks, 2010-03-20).
19
20 Reported-by: Andreas Krey <a.krey@gmx.de>
21 Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
22 Signed-off-by: Junio C Hamano <gitster@pobox.com>
23
24diff --git a/builtin/revert.c b/builtin/revert.c
25index 778a56e..7d68ef7 100644
26--- a/builtin/revert.c
27+++ b/builtin/revert.c
28@@ -109,8 +109,13 @@ static int get_message(const char *raw_message, struct commit_message *out)
29 encoding = "UTF-8";
30 if (!git_commit_encoding)
31 git_commit_encoding = "UTF-8";
32- if ((out->reencoded_message = reencode_string(raw_message,
33- git_commit_encoding, encoding)))
34+
35+ out->reencoded_message = NULL;
36+ out->message = raw_message;
37+ if (strcmp(encoding, git_commit_encoding))
38+ out->reencoded_message = reencode_string(raw_message,
39+ git_commit_encoding, encoding);
40+ if (out->reencoded_message)
41 out->message = out->reencoded_message;
42
43 abbrev = find_unique_abbrev(commit->object.sha1, DEFAULT_ABBREV);
diff --git a/main/glib/APKBUILD b/main/glib/APKBUILD
index 4c2405eb9f..1e88f6c7c1 100644
--- a/main/glib/APKBUILD
+++ b/main/glib/APKBUILD
@@ -1,16 +1,16 @@
1# Maintainer: Carlo Landmeter <clandmeter at gmail.com> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=glib 2pkgname=glib
3pkgver=2.24.0 3pkgver=2.24.0
4pkgrel=0 4pkgrel=2
5pkgdesc="Common C routines used by Gtk+ and other libs" 5pkgdesc="Common C routines used by Gtk+ and other libs"
6url="http://www.gtk.org" 6url="http://www.gtk.org"
7license='GPL' 7license='GPL'
8depends= 8depends=
9makedepends="gettext-dev libiconv-dev zlib-dev pkgconfig" 9makedepends="gettext-dev libiconv-dev zlib-dev bzip2-dev pkgconfig"
10source="http://ftp.gnome.org/pub/gnome/sources/glib/${pkgver%.*}/glib-$pkgver.tar.bz2" 10source="http://ftp.gnome.org/pub/gnome/sources/glib/${pkgver%.*}/glib-$pkgver.tar.bz2"
11subpackages="$pkgname-doc $pkgname-dev" 11subpackages="$pkgname-doc $pkgname-dev"
12 12
13depends_dev="perl gettext-dev libiconv-dev zlib-dev pkgconfig" 13depends_dev="perl gettext-dev libiconv-dev zlib-dev bzip2-dev pkgconfig"
14 14
15_builddir="$srcdir/$pkgname-$pkgver" 15_builddir="$srcdir/$pkgname-$pkgver"
16 16
diff --git a/main/gmp/APKBUILD b/main/gmp/APKBUILD
index 5407514d70..36ad708d4b 100644
--- a/main/gmp/APKBUILD
+++ b/main/gmp/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=gmp 2pkgname=gmp
3pkgver=4.3.2 3pkgver=4.3.2
4pkgrel=0 4pkgrel=1
5pkgdesc="A free library for arbitrary precision arithmetic" 5pkgdesc="A free library for arbitrary precision arithmetic"
6url="http://gmplib.org/" 6url="http://gmplib.org/"
7license="LGPL3" 7license="LGPL3"
diff --git a/main/gmp5/APKBUILD b/main/gmp5/APKBUILD
new file mode 100644
index 0000000000..c2a4ad6f45
--- /dev/null
+++ b/main/gmp5/APKBUILD
@@ -0,0 +1,47 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2_name=gmp
3pkgname=${_name}5
4
5pkgver=5.0.1
6pkgrel=0
7pkgdesc="A free library for arbitrary precision arithmetic"
8url="http://gmplib.org/"
9license="LGPL3"
10makedepends="m4 texinfo"
11depends=
12subpackages="$pkgname-doc $pkgname-dev"
13source="ftp://ftp.gnu.org/gnu/gmp/gmp-$pkgver.tar.bz2
14 gmp-4.1.4-noexecstack.patch
15 "
16
17_builddir="$srcdir"/$_name-$pkgver
18build() {
19 cd "$_builddir"
20 patch -p1 < "$srcdir"/gmp-4.1.4-noexecstack.patch || return 1
21
22 ABI="32" ./configure --prefix=/usr \
23 --build=${CHOST} \
24 --infodir=/usr/share/info \
25 --mandir=/usr/share/man \
26 --localstatedir=/var/state/gmp \
27 --disable-mpfr \
28 --disable-mpbsd \
29 --disable-cxx \
30 --with-pic \
31 || return 1
32
33 make || return 1
34}
35
36package() {
37 cd "$_builddir"
38 make -j1 DESTDIR="${pkgdir}" install || return 1
39}
40
41dev() {
42 replaces="gmp"
43 default_dev
44}
45
46md5sums="6bac6df75c192a13419dfd71d19240a7 gmp-5.0.1.tar.bz2
4713c34f00e77ded6673270cfea06c35c3 gmp-4.1.4-noexecstack.patch"
diff --git a/main/gmp5/gmp-4.1.4-noexecstack.patch b/main/gmp5/gmp-4.1.4-noexecstack.patch
new file mode 100644
index 0000000000..093bec1a5d
--- /dev/null
+++ b/main/gmp5/gmp-4.1.4-noexecstack.patch
@@ -0,0 +1,20 @@
1fixed executable stack
2
3http://bugs.gentoo.org/115038
4
5--- gmp-4.1.4/configure
6+++ gmp-4.1.4/configure
7@@ -21689,6 +21689,13 @@
8 fi
9 echo "')" >> $gmp_configm4
10 echo "define(\`__CONFIG_M4_INCLUDED__')" >> $gmp_configm4
11+# Gentoo hack
12+case $host_os in
13+ *linux*)
14+ echo '.section .note.GNU-stack,"",%progbits' >> $gmp_configm4
15+ echo '.previous' >> $gmp_configm4
16+ ;;
17+esac
18
19 # Create Makefiles
20 # FIXME: Upcoming version of autoconf/automake may not like broken lines.
diff --git a/main/gnats/APKBUILD b/main/gnats/APKBUILD
index 535f46ee42..bcf94e1b5f 100644
--- a/main/gnats/APKBUILD
+++ b/main/gnats/APKBUILD
@@ -1,11 +1,11 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=gnats 2pkgname=gnats
3pkgver=4.1.0 3pkgver=4.1.0
4pkgrel=2 4pkgrel=3
5pkgdesc="The GNU Bug Tracking System" 5pkgdesc="The GNU Bug Tracking System"
6url="http://www.gnu.org/software/gnats/" 6url="http://www.gnu.org/software/gnats/"
7license="GPL-2" 7license="GPL-2"
8depends="uclibc postfix" 8depends="postfix"
9makedepends="texinfo" 9makedepends="texinfo"
10install="gnats.pre-install" 10install="gnats.pre-install"
11source="http://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.gz 11source="http://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.gz
diff --git a/main/gnupg/APKBUILD b/main/gnupg/APKBUILD
index fa1387b7db..b35f8566aa 100644
--- a/main/gnupg/APKBUILD
+++ b/main/gnupg/APKBUILD
@@ -1,13 +1,13 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=gnupg 2pkgname=gnupg
3pkgver=2.0.10 3pkgver=2.0.15
4pkgrel=0 4pkgrel=0
5pkgdesc="GNU Privacy Guard 2 - a PGP replacement tool" 5pkgdesc="GNU Privacy Guard 2 - a PGP replacement tool"
6url="http://www.gnupg.org/" 6url="http://www.gnupg.org/"
7license="GPL" 7license="GPL"
8depends="curl zlib libksba libgcrypt libgpg-error pth pinentry libiconv" 8depends=
9makedepends="curl-dev libassuan libksba-dev libgcrypt-dev libgpg-error-dev 9makedepends="curl-dev libassuan libksba-dev libgcrypt-dev libgpg-error-dev
10 pth-dev zlib-dev libiconv-dev" 10 pth-dev zlib-dev libiconv-dev libassuan-dev"
11subpackages="$pkgname-doc" 11subpackages="$pkgname-doc"
12source="ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-$pkgver.tar.bz2" 12source="ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-$pkgver.tar.bz2"
13 13
@@ -16,6 +16,10 @@ build () {
16 ./configure --prefix=/usr \ 16 ./configure --prefix=/usr \
17 --disable-nls 17 --disable-nls
18 make || return 1 18 make || return 1
19}
20
21package() {
22 cd "$srcdir/$pkgname-$pkgver"
19 make DESTDIR="$pkgdir" install 23 make DESTDIR="$pkgdir" install
20} 24}
21md5sums="1cb778dd555f87685a8fde2f7113725e gnupg-2.0.10.tar.bz2" 25md5sums="c1286e85b66349879dc4b760dd83e2f1 gnupg-2.0.15.tar.bz2"
diff --git a/main/gnutls/APKBUILD b/main/gnutls/APKBUILD
index 160f0155b0..ebd171cb98 100644
--- a/main/gnutls/APKBUILD
+++ b/main/gnutls/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 2# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
3pkgname=gnutls 3pkgname=gnutls
4pkgver=2.8.6 4pkgver=2.8.6
5pkgrel=0 5pkgrel=1
6pkgdesc="A library which provides a secure connection" 6pkgdesc="A library which provides a secure connection"
7url="http://www.gnu.org/software/gnutls/" 7url="http://www.gnu.org/software/gnutls/"
8license="GPL" 8license="GPL"
diff --git a/main/gobject-introspection/APKBUILD b/main/gobject-introspection/APKBUILD
index 6e936cb0ef..ebbefb1c41 100644
--- a/main/gobject-introspection/APKBUILD
+++ b/main/gobject-introspection/APKBUILD
@@ -1,12 +1,12 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=gobject-introspection 2pkgname=gobject-introspection
3pkgver=0.6.9 3pkgver=0.6.10
4pkgrel=0 4pkgrel=0
5pkgdesc="Introspection system for GObject-based libraries" 5pkgdesc="Introspection system for GObject-based libraries"
6url="http://live.gnome.org/GObjectInstrospection" 6url="http://live.gnome.org/GObjectInstrospection"
7license="LGPL GPL" 7license="LGPL GPL"
8makedepends="flex bison glib-dev libffi-dev python-dev" 8makedepends="flex bison glib-dev libffi-dev python-dev"
9depends="python glib-dev libffi-dev" 9depends="python glib-dev libffi-dev cairo-dev"
10source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/0.6/$pkgname-$pkgver.tar.bz2" 10source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/0.6/$pkgname-$pkgver.tar.bz2"
11 11
12# since this is a dev package by definition we dont bother separate -dev 12# since this is a dev package by definition we dont bother separate -dev
@@ -17,7 +17,8 @@ build() {
17 cd "$_builddir" 17 cd "$_builddir"
18 export CPPFLAGS= 18 export CPPFLAGS=
19 ./configure --prefix=/usr --disable-static || return 1 19 ./configure --prefix=/usr --disable-static || return 1
20 make || return 1 20 # FIXME: parallel builds is broken
21 make -j1 || return 1
21} 22}
22 23
23package() { 24package() {
@@ -32,4 +33,4 @@ libgirepository() {
32 mv "$pkgdir"/usr/lib/libgirepository*.so* "$subpkgdir"/usr/lib/ 33 mv "$pkgdir"/usr/lib/libgirepository*.so* "$subpkgdir"/usr/lib/
33} 34}
34 35
35md5sums="37cb473c6bafd03c4a48e1f37e19cc04 gobject-introspection-0.6.9.tar.bz2" 36md5sums="cdf7af644a0407c3fd2d57ba2bb3549f gobject-introspection-0.6.10.tar.bz2"
diff --git a/main/goffice/APKBUILD b/main/goffice/APKBUILD
new file mode 100644
index 0000000000..51c0be8d7f
--- /dev/null
+++ b/main/goffice/APKBUILD
@@ -0,0 +1,29 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=goffice
3pkgver=0.8.3
4pkgrel=0
5pkgdesc="A library of document-centric objects and utilities built on top of GLib and Gtk+"
6url="http://www.gnome.org"
7license="GPL"
8makedepends="libgsf-dev intltool cairo-dev gtk+-dev"
9subpackages="$pkgname-dev $pkgname-doc"
10source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/0.8/$pkgname-$pkgver.tar.bz2"
11
12depends_dev="glib-dev libgsf-dev cairo-dev libxml2-dev"
13
14build() {
15 cd "$srcdir"/$pkgname-$pkgver
16 ./configure --prefix=/usr \
17 --sysconfdir=/etc \
18 --localstatedir=/var \
19 --without-gconf \
20 --disable-static \
21 || return 1
22 make || return 1
23}
24
25package() {
26 cd "$srcdir"/$pkgname-$pkgver
27 make DESTDIR="$pkgdir" install || return 1
28}
29md5sums="f8c4fd47e1ef9d2512126d1074952201 goffice-0.8.3.tar.bz2"
diff --git a/main/gperf/APKBUILD b/main/gperf/APKBUILD
index cc97c06d5c..84d5ab2c06 100644
--- a/main/gperf/APKBUILD
+++ b/main/gperf/APKBUILD
@@ -1,21 +1,24 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=gperf 2pkgname=gperf
3pkgver=3.0.4 3pkgver=3.0.4
4pkgrel=0 4pkgrel=1
5pkgdesc="Perfect hash function generator." 5pkgdesc="Perfect hash function generator."
6url="http://www.gnu.org/software/gperf/" 6url="http://www.gnu.org/software/gperf/"
7license="GPL" 7license="GPL"
8subpackages="$pkgname-doc" 8subpackages="$pkgname-doc"
9depends="uclibc libgcc uclibc++" 9depends=
10makedepends="uclibc++-dev" 10makedepends=
11source="ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz" 11source="ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz"
12 12
13build () 13build ()
14{ 14{
15 cd "$srcdir"/$pkgname-$pkgver 15 cd "$srcdir"/$pkgname-$pkgver
16 export CXX=g++-uc
17 ./configure --prefix=/usr 16 ./configure --prefix=/usr
18 make || return 1 17 make || return 1
18}
19
20package() {
21 cd "$srcdir"/$pkgname-$pkgver
19 make DESTDIR="$pkgdir" install 22 make DESTDIR="$pkgdir" install
20} 23}
21md5sums="c1f1db32fb6598d6a93e6e88796a8632 gperf-3.0.4.tar.gz" 24md5sums="c1f1db32fb6598d6a93e6e88796a8632 gperf-3.0.4.tar.gz"
diff --git a/main/gpicview/APKBUILD b/main/gpicview/APKBUILD
index 9db0713c8b..6c2062c309 100644
--- a/main/gpicview/APKBUILD
+++ b/main/gpicview/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=gpicview 2pkgname=gpicview
3pkgver=0.2.1 3pkgver=0.2.1
4pkgrel=0 4pkgrel=1
5pkgdesc="Picture viewer of the LXDE Desktop" 5pkgdesc="Picture viewer of the LXDE Desktop"
6url="http://wiki.lxde.org/en/GPicView" 6url="http://wiki.lxde.org/en/GPicView"
7license="GPL-2" 7license="GPL-2"
diff --git a/main/grep/APKBUILD b/main/grep/APKBUILD
index 7d1106be69..df9cd26355 100644
--- a/main/grep/APKBUILD
+++ b/main/grep/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: 2# Maintainer:
3pkgname=grep 3pkgname=grep
4pkgver=2.6.3 4pkgver=2.6.3
5pkgrel=0 5pkgrel=1
6pkgdesc="Searches input files for lines containing a match to a specified pattern" 6pkgdesc="Searches input files for lines containing a match to a specified pattern"
7url="http://www.gnu.org/software/grep/grep.html" 7url="http://www.gnu.org/software/grep/grep.html"
8license="GPL" 8license="GPL"
diff --git a/main/groff/APKBUILD b/main/groff/APKBUILD
index 6866c2db08..ffd6960131 100644
--- a/main/groff/APKBUILD
+++ b/main/groff/APKBUILD
@@ -1,22 +1,23 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=groff 2pkgname=groff
3pkgver=1.20.1 3pkgver=1.20.1
4pkgrel=1 4pkgrel=2
5pkgdesc="GNU troff text-formatting system" 5pkgdesc="GNU troff text-formatting system"
6url="http://www.gnu.org/software/groff/groff.html" 6url="http://www.gnu.org/software/groff/groff.html"
7license="GPL" 7license="GPL"
8depends="uclibc uclibc++ libgcc" 8depends=
9makedepends="perl texinfo uclibc++-dev" 9makedepends="perl texinfo"
10subpackages="$pkgname-doc" 10subpackages="$pkgname-doc"
11source="ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz" 11source="ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz"
12 12
13build () { 13build () {
14 cd "$srcdir/$pkgname-$pkgver" 14 cd "$srcdir/$pkgname-$pkgver"
15
16 export CXX=g++-uc
17 ./configure --prefix=/usr --without-x 15 ./configure --prefix=/usr --without-x
18
19 make || return 1 16 make || return 1
17}
18
19package() {
20 cd "$srcdir/$pkgname-$pkgver"
20 make DESTDIR="$pkgdir" install 21 make DESTDIR="$pkgdir" install
21} 22}
22md5sums="48fa768dd6fdeb7968041dd5ae8e2b02 groff-1.20.1.tar.gz" 23md5sums="48fa768dd6fdeb7968041dd5ae8e2b02 groff-1.20.1.tar.gz"
diff --git a/main/gross/APKBUILD b/main/gross/APKBUILD
index 7e6953d951..efb7ba6153 100644
--- a/main/gross/APKBUILD
+++ b/main/gross/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 2# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
3pkgname=gross 3pkgname=gross
4pkgver=1.0.2 4pkgver=1.0.2
5pkgrel=0 5pkgrel=1
6pkgdesc="Greylisting of suspicious sources" 6pkgdesc="Greylisting of suspicious sources"
7url="http://code.google.com/p/gross/" 7url="http://code.google.com/p/gross/"
8license="BSD" 8license="BSD"
diff --git a/main/gst-plugins-bad/APKBUILD b/main/gst-plugins-bad/APKBUILD
index 97eb64f268..4821c459ca 100644
--- a/main/gst-plugins-bad/APKBUILD
+++ b/main/gst-plugins-bad/APKBUILD
@@ -1,6 +1,6 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=gst-plugins-bad 2pkgname=gst-plugins-bad
3pkgver=0.10.14 3pkgver=0.10.18
4pkgrel=0 4pkgrel=0
5pkgdesc="GStreamer bad plugins" 5pkgdesc="GStreamer bad plugins"
6url="http://gstreamer.freedesktop.org/" 6url="http://gstreamer.freedesktop.org/"
@@ -13,9 +13,8 @@ makedepends="pkgconfig gst-plugins-base-dev gstreamer-dev xvidcore-dev
13#'libdca>=0.0.5' 'bzip2' 'libdc1394>=2.1.0' 'exempi>=2.1.0' 'jack-audio-connection-kit>=0.116.2' 'neon>=0.28.4' 'faac>=1.28' 'libexif>=0.6.17' 'musicbrainz>=2.1.5' 'faad2>=2.7' 'libmms>=0.4' 'libcdaudio>=0.99.12' 'libmpcdec>=1.2.6' 'mjpegtools>=1.9.0' 'libdvdnav>=4.1.3' 'libmodplug>=0.8.7' 'jasper>=1.900.1' 'liblrdf>=0.4.0' 'libofa>=0.9.3') 13#'libdca>=0.0.5' 'bzip2' 'libdc1394>=2.1.0' 'exempi>=2.1.0' 'jack-audio-connection-kit>=0.116.2' 'neon>=0.28.4' 'faac>=1.28' 'libexif>=0.6.17' 'musicbrainz>=2.1.5' 'faad2>=2.7' 'libmms>=0.4' 'libcdaudio>=0.99.12' 'libmpcdec>=1.2.6' 'mjpegtools>=1.9.0' 'libdvdnav>=4.1.3' 'libmodplug>=0.8.7' 'jasper>=1.900.1' 'liblrdf>=0.4.0' 'libofa>=0.9.3')
14source="http://gstreamer.freedesktop.org//src/gst-plugins-bad/gst-plugins-bad-$pkgver.tar.bz2" 14source="http://gstreamer.freedesktop.org//src/gst-plugins-bad/gst-plugins-bad-$pkgver.tar.bz2"
15 15
16build () 16build() {
17{ 17 cd "$srcdir"/gst-plugins-bad-$pkgver
18 cd ""$srcdir"/gst-plugins-bad-$pkgver"
19 ./configure --prefix=/usr \ 18 ./configure --prefix=/usr \
20 --sysconfdir=/etc \ 19 --sysconfdir=/etc \
21 --localstatedir=/var \ 20 --localstatedir=/var \
@@ -25,7 +24,11 @@ build ()
25 --with-package-origin="http://www.alpinelinux.org/" \ 24 --with-package-origin="http://www.alpinelinux.org/" \
26 || return 1 25 || return 1
27 make || return 1 26 make || return 1
27}
28
29package() {
30 cd "$srcdir"/gst-plugins-bad-$pkgver
28 make DESTDIR="$pkgdir" install 31 make DESTDIR="$pkgdir" install
29} 32}
30 33
31md5sums="6be38b04fc76cdfef3a3b02b8434efa2 gst-plugins-bad-0.10.14.tar.bz2" 34md5sums="84838893b447e774d401a698ff812b32 gst-plugins-bad-0.10.18.tar.bz2"
diff --git a/main/gst-plugins-base/APKBUILD b/main/gst-plugins-base/APKBUILD
index 253cc5fe4b..423f5873fa 100644
--- a/main/gst-plugins-base/APKBUILD
+++ b/main/gst-plugins-base/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=gst-plugins-base 2pkgname=gst-plugins-base
3pkgver=0.10.25 3pkgver=0.10.29
4pkgrel=2 4pkgrel=0
5pkgdesc="GStreamer Multimedia Framework Base Plugins" 5pkgdesc="GStreamer Multimedia Framework Base Plugins"
6url="http://gstreamer.freedesktop.org/" 6url="http://gstreamer.freedesktop.org/"
7license="GPL LGPL" 7license="GPL LGPL"
@@ -34,4 +34,4 @@ package() {
34 make -j1 DESTDIR="$pkgdir" install || return 1 34 make -j1 DESTDIR="$pkgdir" install || return 1
35} 35}
36 36
37md5sums="d29669dd79276c5cd94e1613c03cd9ab gst-plugins-base-0.10.25.tar.bz2" 37md5sums="d07e251152cccbaa81807c14cf0fd8c0 gst-plugins-base-0.10.29.tar.bz2"
diff --git a/main/gst-plugins-ffmpeg/APKBUILD b/main/gst-plugins-ffmpeg/APKBUILD
index 1949f16cbc..c6fc5e04d7 100644
--- a/main/gst-plugins-ffmpeg/APKBUILD
+++ b/main/gst-plugins-ffmpeg/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=gst-ffmpeg 2pkgname=gst-ffmpeg
3pkgver=0.10.7 3pkgver=0.10.7
4pkgrel=0 4pkgrel=1
5pkgdesc="Gstreamer FFMpeg Plugin" 5pkgdesc="Gstreamer FFMpeg Plugin"
6url="http://www.gstreamer.net" 6url="http://www.gstreamer.net"
7license="GPL" 7license="GPL"
diff --git a/main/gst-plugins-good/APKBUILD b/main/gst-plugins-good/APKBUILD
index ed2088ea8d..d493cc2ad6 100644
--- a/main/gst-plugins-good/APKBUILD
+++ b/main/gst-plugins-good/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=gst-plugins-good 2pkgname=gst-plugins-good
3pkgver=0.10.17 3pkgver=0.10.22
4pkgrel=2 4pkgrel=1
5pkgdesc="GStreamer Multimedia Framework Good Plugins" 5pkgdesc="GStreamer Multimedia Framework Good Plugins"
6url="http://gstreamer.freedesktop.org/" 6url="http://gstreamer.freedesktop.org/"
7license="LGPL" 7license="LGPL"
@@ -9,6 +9,7 @@ subpackages="$pkgname-dev"
9depends= 9depends=
10makedepends="gstreamer-dev glib-dev liboil-dev gst-plugins-base-dev 10makedepends="gstreamer-dev glib-dev liboil-dev gst-plugins-base-dev
11 libsoup-dev flac-dev libogg-dev taglib-dev jpeg-dev zlib-dev" 11 libsoup-dev flac-dev libogg-dev taglib-dev jpeg-dev zlib-dev"
12replaces="gst-plugins-bad"
12 13
13# might consider those: 14# might consider those:
14#libavc1394 15#libavc1394
@@ -41,4 +42,4 @@ package() {
41 cd "$srcdir"/$pkgname-$pkgver 42 cd "$srcdir"/$pkgname-$pkgver
42 make DESTDIR="$pkgdir" install || return 1 43 make DESTDIR="$pkgdir" install || return 1
43} 44}
44md5sums="833546cd2b8bbf86b8ed083b00897918 gst-plugins-good-0.10.17.tar.bz2" 45md5sums="4804aaa32044af9846914304991cc9d6 gst-plugins-good-0.10.22.tar.bz2"
diff --git a/main/gst-plugins-ugly/APKBUILD b/main/gst-plugins-ugly/APKBUILD
index cb49433c05..818b3ec94b 100644
--- a/main/gst-plugins-ugly/APKBUILD
+++ b/main/gst-plugins-ugly/APKBUILD
@@ -1,13 +1,14 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=gst-plugins-ugly 2pkgname=gst-plugins-ugly
3pkgver=0.10.13 3pkgver=0.10.14
4pkgrel=0 4pkgrel=1
5pkgdesc="GStreamer Multimedia Framework Ugly Plugins (gst-plugins-ugly)" 5pkgdesc="GStreamer Multimedia Framework Ugly Plugins (gst-plugins-ugly)"
6url="http://gstreamer.freedesktop.org/" 6url="http://gstreamer.freedesktop.org/"
7license="LGPL" 7license="LGPL"
8depends= #"gstreamer0.10-ugly>=0.10.11 libdvdread>=4.1.3 lame>=3.98.2 libmpeg2>=0.5.1 a52dec>=0.7.4 libid3tag>=0.15.1b libmad>=0.15.1b libsidplay>=1.36.59 libcdio>=0.81" 8depends= #"gstreamer0.10-ugly>=0.10.11 libdvdread>=4.1.3 lame>=3.98.2 libmpeg2>=0.5.1 a52dec>=0.7.4 libid3tag>=0.15.1b libmad>=0.15.1b libsidplay>=1.36.59 libcdio>=0.81"
9makedepends="pkgconfig lame-dev libmpeg2-dev a52dec-dev libid3tag-dev 9makedepends="pkgconfig lame-dev libmpeg2-dev a52dec-dev libid3tag-dev
10 libmad-dev glib-dev liboil-dev gstreamer-dev gst-plugins-base-dev" 10 libmad-dev glib-dev liboil-dev gstreamer-dev gst-plugins-base-dev
11 x264-dev"
11source="http://gstreamer.freedesktop.org//src/gst-plugins-ugly/gst-plugins-ugly-$pkgver.tar.bz2" 12source="http://gstreamer.freedesktop.org//src/gst-plugins-ugly/gst-plugins-ugly-$pkgver.tar.bz2"
12 13
13build() { 14build() {
@@ -26,4 +27,4 @@ package() {
26 cd "$srcdir"/$pkgname-$pkgver 27 cd "$srcdir"/$pkgname-$pkgver
27 make DESTDIR="$pkgdir" install || return 1 28 make DESTDIR="$pkgdir" install || return 1
28} 29}
29md5sums="1619365247ef9cd7da1cd890285bf87a gst-plugins-ugly-0.10.13.tar.bz2" 30md5sums="0bc0d27bcce88c73ef6c81e88624e686 gst-plugins-ugly-0.10.14.tar.bz2"
diff --git a/main/gstreamer/APKBUILD b/main/gstreamer/APKBUILD
index df825c01d8..ffcd46b78a 100644
--- a/main/gstreamer/APKBUILD
+++ b/main/gstreamer/APKBUILD
@@ -1,6 +1,6 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=gstreamer 2pkgname=gstreamer
3pkgver=0.10.25 3pkgver=0.10.29
4pkgrel=0 4pkgrel=0
5pkgdesc="GStreamer Multimedia Framework" 5pkgdesc="GStreamer Multimedia Framework"
6url="http://gstreamer.freedesktop.org/" 6url="http://gstreamer.freedesktop.org/"
@@ -26,4 +26,4 @@ package() {
26 make DESTDIR="$pkgdir" install || return 1 26 make DESTDIR="$pkgdir" install || return 1
27 cd "$pkgdir"/usr/bin 27 cd "$pkgdir"/usr/bin
28} 28}
29md5sums="88544e034a051baf472983791d233076 gstreamer-0.10.25.tar.bz2" 29md5sums="c92d6bce4fc65fa9d5a3ad35cdd1a466 gstreamer-0.10.29.tar.bz2"
diff --git a/main/gtk+/APKBUILD b/main/gtk+/APKBUILD
index 9ce2d3cce4..1f5e44377d 100644
--- a/main/gtk+/APKBUILD
+++ b/main/gtk+/APKBUILD
@@ -1,6 +1,6 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=gtk+ 2pkgname=gtk+
3pkgver=2.20.0 3pkgver=2.20.1
4pkgrel=0 4pkgrel=0
5pkgdesc="The GTK+ Toolkit (v2)" 5pkgdesc="The GTK+ Toolkit (v2)"
6url="http://www.gtk.org/" 6url="http://www.gtk.org/"
@@ -57,4 +57,4 @@ dev() {
57 mv "$pkgdir"/usr/share/gir* "$subpkgdir"/usr/share/ 57 mv "$pkgdir"/usr/share/gir* "$subpkgdir"/usr/share/
58} 58}
59 59
60md5sums="5517f78b1eb9b1eb60bd48a0152d09e6 gtk+-2.20.0.tar.bz2" 60md5sums="53e6f3a93bd22934878fc4a4a34c68aa gtk+-2.20.1.tar.bz2"
diff --git a/main/gtk-doc/APKBUILD b/main/gtk-doc/APKBUILD
index 9c86f49ccf..7b80401752 100644
--- a/main/gtk-doc/APKBUILD
+++ b/main/gtk-doc/APKBUILD
@@ -1,12 +1,12 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=gtk-doc 2pkgname=gtk-doc
3pkgver=1.13 3pkgver=1.14
4pkgrel=0 4pkgrel=0
5pkgdesc="Documentation tool for public library API" 5pkgdesc="Documentation tool for public library API"
6url="http://www.gtk.org/gtk-doc/" 6url="http://www.gtk.org/gtk-doc/"
7license="GPL FDL" 7license="GPL FDL"
8depends="docbook-xsl gnome-doc-utils perl pkgconfig" 8depends="docbook-xsl gnome-doc-utils perl pkgconfig"
9makedepends="rarian-dev" 9makedepends="rarian-dev py-libxml2 gettext"
10source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2" 10source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2"
11 11
12build() { 12build() {
@@ -20,4 +20,4 @@ package() {
20 make DESTDIR="$pkgdir" install || return 1 20 make DESTDIR="$pkgdir" install || return 1
21} 21}
22 22
23md5sums="27940d6cd5c9dcda8fc003043d8c299a gtk-doc-1.13.tar.bz2" 23md5sums="7aa8a1262c70692ebbdf33395fddd5c4 gtk-doc-1.14.tar.bz2"
diff --git a/main/gtk-vnc/APKBUILD b/main/gtk-vnc/APKBUILD
index 5e03a8c9f0..a321b86788 100644
--- a/main/gtk-vnc/APKBUILD
+++ b/main/gtk-vnc/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=gtk-vnc 2pkgname=gtk-vnc
3pkgver=0.3.10 3pkgver=0.3.10
4pkgrel=1 4pkgrel=2
5pkgdesc="A VNC viewer widget for GTK" 5pkgdesc="A VNC viewer widget for GTK"
6url="http://live.gnome.org/gtk-vnc" 6url="http://live.gnome.org/gtk-vnc"
7license="LGPL" 7license="LGPL"
diff --git a/main/gtk-xfce-engine/APKBUILD b/main/gtk-xfce-engine/APKBUILD
index d83f314ecb..888c79f383 100644
--- a/main/gtk-xfce-engine/APKBUILD
+++ b/main/gtk-xfce-engine/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=gtk-xfce-engine 2pkgname=gtk-xfce-engine
3pkgver=2.6.0 3pkgver=2.6.0
4pkgrel=1 4pkgrel=2
5pkgdesc="A port of Xfce engine to GTK+-2.0" 5pkgdesc="A port of Xfce engine to GTK+-2.0"
6url="http://www.xfce.org/" 6url="http://www.xfce.org/"
7license="GPL-2" 7license="GPL-2"
diff --git a/main/guile/APKBUILD b/main/guile/APKBUILD
index 2a7609e0d6..8850b0f1fa 100644
--- a/main/guile/APKBUILD
+++ b/main/guile/APKBUILD
@@ -1,22 +1,25 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=guile 2pkgname=guile
3pkgver=1.8.7 3pkgver=1.8.7
4pkgrel=0 4pkgrel=2
5pkgdesc="Guile is a portable, embeddable Scheme implementation written in C" 5pkgdesc="Guile is a portable, embeddable Scheme implementation written in C"
6url="http://www.gnu.org/software/guile/" 6url="http://www.gnu.org/software/guile/"
7license="GPL" 7license="GPL"
8subpackages="$pkgname-dev $pkgname-doc" 8subpackages="$pkgname-dev $pkgname-doc"
9makedepends="gmp-dev libtool ncurses-dev texinfo" 9makedepends="gmp5-dev libtool ncurses-dev texinfo"
10depends= 10depends=
11install= 11install=
12source="ftp://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.gz" 12source="ftp://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.gz"
13 13
14build () 14build() {
15{
16 cd "$srcdir"/$pkgname-$pkgver 15 cd "$srcdir"/$pkgname-$pkgver
17 ./configure --prefix=/usr \ 16 ./configure --prefix=/usr \
18 --disable-error-on-warning || return 1 17 --disable-error-on-warning || return 1
19 make LDFLAGS+="-lpthread" || return 1 18 make LDFLAGS+="-lpthread" || return 1
19}
20
21package() {
22 cd "$srcdir"/$pkgname-$pkgver
20 make DESTDIR="$pkgdir" install || return 1 23 make DESTDIR="$pkgdir" install || return 1
21} 24}
22 25
diff --git a/main/gzip/APKBUILD b/main/gzip/APKBUILD
index e6c6c31613..1d3510ac93 100644
--- a/main/gzip/APKBUILD
+++ b/main/gzip/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 2# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
3pkgname=gzip 3pkgname=gzip
4pkgver=1.4 4pkgver=1.4
5pkgrel=0 5pkgrel=1
6pkgdesc="A popular data compression program" 6pkgdesc="A popular data compression program"
7subpackages="$pkgname-doc" 7subpackages="$pkgname-doc"
8url="http://www.gnu.org/software/gzip/" 8url="http://www.gnu.org/software/gzip/"
diff --git a/main/haserl/APKBUILD b/main/haserl/APKBUILD
index 2c4e08e493..9e86e354f4 100644
--- a/main/haserl/APKBUILD
+++ b/main/haserl/APKBUILD
@@ -1,20 +1,23 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=haserl 2pkgname=haserl
3pkgver=0.9.25 3pkgver=0.9.25
4pkgrel=1 4pkgrel=2
5pkgdesc="Html And Shell Embedded Report Language" 5pkgdesc="Html And Shell Embedded Report Language"
6url="http://haserl.sourceforge.net/" 6url="http://haserl.sourceforge.net/"
7license="GPL-2" 7license="GPL-2"
8depends="lua uclibc" 8depends=
9makedepends="lua-dev" 9makedepends="lua-dev"
10source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz" 10source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
11subpackages="$pkgname-doc" 11subpackages="$pkgname-doc"
12 12
13build() { 13build() {
14 cd "$srcdir/$pkgname-$pkgver" 14 cd "$srcdir/$pkgname-$pkgver"
15
16 ./configure --prefix=/usr --with-lua || return 1 15 ./configure --prefix=/usr --with-lua || return 1
17 make || return 1 16 make || return 1
17}
18
19package() {
20 cd "$srcdir/$pkgname-$pkgver"
18 make DESTDIR="$pkgdir/" install 21 make DESTDIR="$pkgdir/" install
19 chmod 4111 "$pkgdir"/usr/bin/haserl 22 chmod 4111 "$pkgdir"/usr/bin/haserl
20} 23}
diff --git a/main/heimdal/APKBUILD b/main/heimdal/APKBUILD
index 49c35ea891..deab8f8687 100644
--- a/main/heimdal/APKBUILD
+++ b/main/heimdal/APKBUILD
@@ -2,7 +2,7 @@
2# Contributor: Natanael Copa <ncopa@alpinelinux.org> 2# Contributor: Natanael Copa <ncopa@alpinelinux.org>
3pkgname=heimdal 3pkgname=heimdal
4pkgver=1.3.1 4pkgver=1.3.1
5pkgrel=4 5pkgrel=5
6pkgdesc="An implementation of Kerberos 5" 6pkgdesc="An implementation of Kerberos 5"
7url="http://www.h5l.org/" 7url="http://www.h5l.org/"
8license="BSD" 8license="BSD"
diff --git a/main/hostapd/APKBUILD b/main/hostapd/APKBUILD
index c08847fdcb..915792b2d4 100644
--- a/main/hostapd/APKBUILD
+++ b/main/hostapd/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=hostapd 2pkgname=hostapd
3pkgver=0.6.10 3pkgver=0.6.10
4pkgrel=0 4pkgrel=2
5pkgdesc="daemon for wireless software access points" 5pkgdesc="daemon for wireless software access points"
6url="http://hostap.epitest.fi/hostapd/" 6url="http://hostap.epitest.fi/hostapd/"
7license="custom" 7license="custom"
diff --git a/main/htop/APKBUILD b/main/htop/APKBUILD
index cb62c3a55c..7d27031cc9 100644
--- a/main/htop/APKBUILD
+++ b/main/htop/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer:Carlo Landmeter 1# Maintainer:Carlo Landmeter
2pkgname=htop 2pkgname=htop
3pkgver=0.8.3 3pkgver=0.8.3
4pkgrel=0 4pkgrel=1
5pkgdesc="An interactive process viewer for Linux" 5pkgdesc="An interactive process viewer for Linux"
6url="http://htop.sourceforge.net" 6url="http://htop.sourceforge.net"
7license='GPL' 7license='GPL'
diff --git a/main/hunspell/APKBUILD b/main/hunspell/APKBUILD
index 6883855aee..efd3476c39 100644
--- a/main/hunspell/APKBUILD
+++ b/main/hunspell/APKBUILD
@@ -1,23 +1,25 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=hunspell 2pkgname=hunspell
3pkgver=1.2.8 3pkgver=1.2.11
4pkgrel=0 4pkgrel=0
5pkgdesc="Spell checker and morphological analyzer library and program" 5pkgdesc="Spell checker and morphological analyzer library and program"
6url="http://hunspell.sourceforge.net/" 6url="http://hunspell.sourceforge.net/"
7license="GPL LGPL MPL" 7license="GPL LGPL MPL"
8subpackages="$pkgname-dev $pkgname-doc" 8subpackages="$pkgname-dev $pkgname-doc"
9depends="libgcc uclibc++" 9depends=
10makedepends="uclibc++-dev" 10makedepends=
11source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz" 11source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
12 12
13build () 13build ()
14{ 14{
15 cd "$srcdir/hunspell-$pkgver" 15 cd "$srcdir/hunspell-$pkgver"
16 export CXX="${CXX_UC:-g++-uc}"
17
18 ./configure --prefix=/usr --disable-static || return 1 16 ./configure --prefix=/usr --disable-static || return 1
19 make || return 1 17 make || return 1
20 make DESTDIR="$pkgdir" install || return 1 18}
19
20package() {
21 cd "$srcdir/hunspell-$pkgver"
22 make -j1 DESTDIR="$pkgdir" install || return 1
21 rm -rf "$pkgdir"/usr/share/locale/locale.alias 23 rm -rf "$pkgdir"/usr/share/locale/locale.alias
22} 24}
23md5sums="1177af54a09e320d2c24015f29c3a93e hunspell-1.2.8.tar.gz" 25md5sums="8f57cdc4db091d69e1f682ed4d8ab282 hunspell-1.2.11.tar.gz"
diff --git a/main/hylafax/APKBUILD b/main/hylafax/APKBUILD
index 42450d4678..06a868b933 100644
--- a/main/hylafax/APKBUILD
+++ b/main/hylafax/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Cameron Banta <cbanta@gmail.com> 2# Maintainer: Cameron Banta <cbanta@gmail.com>
3pkgname=hylafax 3pkgname=hylafax
4pkgver=4.4.4 4pkgver=4.4.4
5pkgrel=0 5pkgrel=1
6pkgdesc="Sends and receives faxes" 6pkgdesc="Sends and receives faxes"
7url="http://www.hylafax.org/" 7url="http://www.hylafax.org/"
8license="custom" 8license="custom"
diff --git a/main/hypermail/APKBUILD b/main/hypermail/APKBUILD
index baf9fa1025..d41cb8dbcd 100644
--- a/main/hypermail/APKBUILD
+++ b/main/hypermail/APKBUILD
@@ -1,7 +1,7 @@
1# Contributor: Michael Mason <ms13sp@gmail.com> 1# Contributor: Michael Mason <ms13sp@gmail.com>
2pkgname=hypermail 2pkgname=hypermail
3pkgver=2.2.0 3pkgver=2.2.0
4pkgrel=1 4pkgrel=2
5pkgdesc="Mail Archiver" 5pkgdesc="Mail Archiver"
6url="http://www.hypermail-project.org" 6url="http://www.hypermail-project.org"
7license="GPL" 7license="GPL"
diff --git a/main/iaxmodem/APKBUILD b/main/iaxmodem/APKBUILD
index 7393e75454..786c07991e 100644
--- a/main/iaxmodem/APKBUILD
+++ b/main/iaxmodem/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Cameron Banta <cbanta@gmail.com> 2# Maintainer: Cameron Banta <cbanta@gmail.com>
3pkgname=iaxmodem 3pkgname=iaxmodem
4pkgver=1.2.0 4pkgver=1.2.0
5pkgrel=2 5pkgrel=3
6pkgdesc="Softmodem for hylafax that connects to VOIP gateway with IAX" 6pkgdesc="Softmodem for hylafax that connects to VOIP gateway with IAX"
7url="http://iaxmodem.sourceforge.net/" 7url="http://iaxmodem.sourceforge.net/"
8license="GPL" 8license="GPL"
diff --git a/main/iceauth/APKBUILD b/main/iceauth/APKBUILD
index 30da7ad068..eed4225075 100644
--- a/main/iceauth/APKBUILD
+++ b/main/iceauth/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=iceauth 2pkgname=iceauth
3pkgver=1.0.3 3pkgver=1.0.3
4pkgrel=0 4pkgrel=1
5pkgdesc="X.Org ICE authority file utility" 5pkgdesc="X.Org ICE authority file utility"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/icu/APKBUILD b/main/icu/APKBUILD
index f37e766468..df9de54b1d 100644
--- a/main/icu/APKBUILD
+++ b/main/icu/APKBUILD
@@ -1,21 +1,20 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=icu 2pkgname=icu
3pkgver=4.4 3pkgver=4.4.1
4_ver=4_2_1 4_ver=4_2_1
5pkgrel=0 5pkgrel=0
6pkgdesc="International Components for Unicode library" 6pkgdesc="International Components for Unicode library"
7url="http://www.icu-project.org/" 7url="http://www.icu-project.org/"
8license="custom:icu" 8license="custom:icu"
9subpackages="$pkgname-dev $pkgname-doc" 9subpackages="$pkgname-dev $pkgname-doc"
10depends="" 10depends=
11makedepends="uclibc++-dev" 11makedepends=
12source="http://download.icu-project.org/files/icu4c/${pkgver}/${pkgname}4c-$_ver-src.tgz" 12source="http://download.icu-project.org/files/icu4c/${pkgver}/${pkgname}4c-$_ver-src.tgz"
13 13
14_builddir="$srcdir"/icu/source 14_builddir="$srcdir"/icu/source
15 15
16build() { 16build() {
17 cd "$_builddir" 17 cd "$_builddir"
18 export CXX=g++-uc
19 ./configure --prefix=/usr \ 18 ./configure --prefix=/usr \
20 --sysconfdir=/etc \ 19 --sysconfdir=/etc \
21 --mandir=/usr/share/man 20 --mandir=/usr/share/man
diff --git a/main/iftop/APKBUILD b/main/iftop/APKBUILD
index db210d4933..ea750d2cdc 100644
--- a/main/iftop/APKBUILD
+++ b/main/iftop/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=iftop 2pkgname=iftop
3pkgver=0.17 3pkgver=0.17
4pkgrel=0 4pkgrel=1
5pkgdesc="iftop does for network usage what top(1) does for CPU usage" 5pkgdesc="iftop does for network usage what top(1) does for CPU usage"
6url="http://www.ex-parrot.com/~pdw/iftop/" 6url="http://www.ex-parrot.com/~pdw/iftop/"
7license="GPL" 7license="GPL"
diff --git a/main/igmpproxy/APKBUILD b/main/igmpproxy/APKBUILD
index 2ec2c0189b..3bb9be97a5 100644
--- a/main/igmpproxy/APKBUILD
+++ b/main/igmpproxy/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 2# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
3pkgname=igmpproxy 3pkgname=igmpproxy
4pkgver=0.1 4pkgver=0.1
5pkgrel=0 5pkgrel=1
6pkgdesc="a simple dynamic Multicast Routing Daemon using only IGMP signalling" 6pkgdesc="a simple dynamic Multicast Routing Daemon using only IGMP signalling"
7url="http://sourceforge.net/projects/igmpproxy/" 7url="http://sourceforge.net/projects/igmpproxy/"
8license="GPL" 8license="GPL"
diff --git a/main/imagemagick/APKBUILD b/main/imagemagick/APKBUILD
index 982416a9d8..3778adc960 100644
--- a/main/imagemagick/APKBUILD
+++ b/main/imagemagick/APKBUILD
@@ -1,7 +1,7 @@
1# Contributor: Carlo Landmeter <clandmeter@gmail.com> 1# Contributor: Carlo Landmeter <clandmeter@gmail.com>
2# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 2# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
3pkgname=imagemagick 3pkgname=imagemagick
4pkgver=6.6.0.10 4pkgver=6.6.1.5
5_pkgver=${pkgver%.*}-${pkgver##*.} 5_pkgver=${pkgver%.*}-${pkgver##*.}
6pkgrel=0 6pkgrel=0
7pkgdesc="A collection of tools and libraries for many image formats" 7pkgdesc="A collection of tools and libraries for many image formats"
@@ -47,4 +47,4 @@ dev() {
47 "$pkgdir"/usr/lib/ImageMagick-$_v/modules-Q16/filters/ 47 "$pkgdir"/usr/lib/ImageMagick-$_v/modules-Q16/filters/
48} 48}
49 49
50md5sums="6aa19d1b08a0dfee5c78de864a8176e8 ImageMagick-6.6.0-10.tar.gz" 50md5sums="ab2468747f3960bdc8d779e89b052860 ImageMagick-6.6.1-5.tar.gz"
diff --git a/main/imap/APKBUILD b/main/imap/APKBUILD
index f7c788c2c0..547cf39667 100644
--- a/main/imap/APKBUILD
+++ b/main/imap/APKBUILD
@@ -5,7 +5,7 @@
5# build it shared 5# build it shared
6pkgname=imap 6pkgname=imap
7pkgver=2007e 7pkgver=2007e
8pkgrel=3 8pkgrel=5
9pkgdesc="An IMAP/POP server" 9pkgdesc="An IMAP/POP server"
10url="http://www.washington.edu/imap" 10url="http://www.washington.edu/imap"
11license="APACHE" 11license="APACHE"
diff --git a/main/imlib2/APKBUILD b/main/imlib2/APKBUILD
index ff9944a9f8..fcd4e38a0e 100644
--- a/main/imlib2/APKBUILD
+++ b/main/imlib2/APKBUILD
@@ -1,23 +1,20 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=imlib2 2pkgname=imlib2
3pkgver=1.4.2 3pkgver=1.4.4
4pkgrel=4 4pkgrel=0
5pkgdesc="Library that does image file loading and saving as well as rendering, manipulation, arbitrary polygon support" 5pkgdesc="Library that does image file loading and saving as well as rendering, manipulation, arbitrary polygon support"
6url="http://sourceforge.net/projects/enlightenment/" 6url="http://sourceforge.net/projects/enlightenment/"
7license="BSD" 7license="BSD"
8subpackages="$pkgname-dev $pkgname-doc" 8subpackages="$pkgname-dev $pkgname-doc"
9depends= 9depends=
10makedepends="tiff-dev giflib-dev bzip2-dev freetype-dev libxext-dev 10makedepends="tiff-dev giflib-dev bzip2-dev freetype-dev libxext-dev
11 libpng-dev libid3tag-dev jpeg-dev libsm-dev zlib-dev" 11 libpng-dev libid3tag-dev jpeg-dev libsm-dev zlib-dev util-linux-ng-dev"
12source="http://downloads.sourceforge.net/enlightenment/$pkgname-$pkgver.tar.bz2 12source="http://downloads.sourceforge.net/enlightenment/$pkgname-$pkgver.tar.bz2
13 bufferoverflow.patch 13 "
14 libpng14.patch"
15 14
16_builddir="$srcdir"/$pkgname-$pkgver 15_builddir="$srcdir"/$pkgname-$pkgver
17prepare() { 16prepare() {
18 cd "$_builddir" 17 cd "$_builddir"
19 patch -Np0 -i "$srcdir"/bufferoverflow.patch || return 1
20 patch -Np1 -i "$srcdir"/libpng14.patch || return 1
21} 18}
22 19
23build() { 20build() {
@@ -36,6 +33,4 @@ package() {
36 make DESTDIR=$pkgdir install || return 1 33 make DESTDIR=$pkgdir install || return 1
37 install -Dm644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING 34 install -Dm644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
38} 35}
39md5sums="9f15568e76ebda9092c571e0df261f54 imlib2-1.4.2.tar.bz2 36md5sums="b6de51879502e857d5b1f7622267a030 imlib2-1.4.4.tar.bz2"
4076def1fe0ac2ac1686ff24d29979606f bufferoverflow.patch
4168f671641e298ef7eead0aded4087c53 libpng14.patch"
diff --git a/main/imlib2/bufferoverflow.patch b/main/imlib2/bufferoverflow.patch
deleted file mode 100644
index 397b43fb8c..0000000000
--- a/main/imlib2/bufferoverflow.patch
+++ /dev/null
@@ -1,13 +0,0 @@
1--- src/modules/loaders/loader_xpm.c
2+++ src/modules/loaders/loader_xpm.c.new
3@@ -246,8 +246,8 @@
4 return 0;
5 }
6 ptr = im->data;
7- end = ptr + (sizeof(DATA32) * w * h);
8 pixels = w * h;
9+ end = ptr + pixels;
10 }
11 else
12 {
13
diff --git a/main/imlib2/libpng14.patch b/main/imlib2/libpng14.patch
deleted file mode 100644
index 0409228401..0000000000
--- a/main/imlib2/libpng14.patch
+++ /dev/null
@@ -1,12 +0,0 @@
1diff -Naur imlib2-1.4.2-orig/src/modules/loaders/loader_png.c imlib2-1.4.2/src/modules/loaders/loader_png.c
2--- imlib2-1.4.2-orig/src/modules/loaders/loader_png.c 2010-01-19 03:37:21.000000000 -0500
3+++ imlib2-1.4.2/src/modules/loaders/loader_png.c 2010-01-19 03:38:51.000000000 -0500
4@@ -38,7 +38,7 @@
5
6 /* if we haven't read the header before, set the header data */
7 fread(buf, 1, PNG_BYTES_TO_CHECK, f);
8- if (!png_check_sig(buf, PNG_BYTES_TO_CHECK))
9+ if (png_sig_cmp(buf, 0, PNG_BYTES_TO_CHECK))
10 {
11 fclose(f);
12 return 0;
diff --git a/main/iperf/APKBUILD b/main/iperf/APKBUILD
index c9951eb81f..d133c9053f 100644
--- a/main/iperf/APKBUILD
+++ b/main/iperf/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 2# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
3pkgname=iperf 3pkgname=iperf
4pkgver=2.0.4 4pkgver=2.0.4
5pkgrel=0 5pkgrel=1
6pkgdesc="tool to measure IP bandwidth using UDP or TCP" 6pkgdesc="tool to measure IP bandwidth using UDP or TCP"
7url="http://iperf.sourceforge.net/" 7url="http://iperf.sourceforge.net/"
8license="GPL" 8license="GPL"
diff --git a/main/iproute2/APKBUILD b/main/iproute2/APKBUILD
index c031ed9cab..01cdcee6e7 100644
--- a/main/iproute2/APKBUILD
+++ b/main/iproute2/APKBUILD
@@ -1,6 +1,6 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=iproute2 2pkgname=iproute2
3pkgver=2.6.31 3pkgver=2.6.33
4_realver=2.6.31 4_realver=2.6.31
5pkgrel=0 5pkgrel=0
6pkgdesc="IP Routing Utilities" 6pkgdesc="IP Routing Utilities"
diff --git a/main/ipsec-tools/APKBUILD b/main/ipsec-tools/APKBUILD
index a3da4fc175..4d8ef0d0c4 100644
--- a/main/ipsec-tools/APKBUILD
+++ b/main/ipsec-tools/APKBUILD
@@ -2,7 +2,7 @@
2pkgname=ipsec-tools 2pkgname=ipsec-tools
3pkgver=0.8_alpha20090903 3pkgver=0.8_alpha20090903
4_myver=0.8-alpha20090903 4_myver=0.8-alpha20090903
5pkgrel=6 5pkgrel=8
6pkgdesc="User-space IPsec tools for various IPsec implementations" 6pkgdesc="User-space IPsec tools for various IPsec implementations"
7url="http://ipsec-tools.sourceforge.net/" 7url="http://ipsec-tools.sourceforge.net/"
8license="BSD" 8license="BSD"
diff --git a/main/iptables/APKBUILD b/main/iptables/APKBUILD
index 09c5ffb324..836131ddb3 100644
--- a/main/iptables/APKBUILD
+++ b/main/iptables/APKBUILD
@@ -3,7 +3,7 @@
3 3
4pkgname=iptables 4pkgname=iptables
5pkgver=1.4.7 5pkgver=1.4.7
6pkgrel=0 6pkgrel=1
7pkgdesc="Linux kernel firewall, NAT and packet mangling tools" 7pkgdesc="Linux kernel firewall, NAT and packet mangling tools"
8url="http://www.iptables.org/" 8url="http://www.iptables.org/"
9license=GPL-2 9license=GPL-2
diff --git a/main/iptraf/APKBUILD b/main/iptraf/APKBUILD
index e8f0c496e0..152bbe4537 100644
--- a/main/iptraf/APKBUILD
+++ b/main/iptraf/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Leonardo Arena <rnalrd@gmail.com> 2# Maintainer: Leonardo Arena <rnalrd@gmail.com>
3pkgname=iptraf 3pkgname=iptraf
4pkgver=3.0.0 4pkgver=3.0.0
5pkgrel=2 5pkgrel=3
6pkgdesc="IP Network Monitoring Software" 6pkgdesc="IP Network Monitoring Software"
7url="http://iptraf.seoul.org" 7url="http://iptraf.seoul.org"
8license="GPL" 8license="GPL"
diff --git a/main/iputils/APKBUILD b/main/iputils/APKBUILD
index 75cf4c5b91..b5d7e25db6 100644
--- a/main/iputils/APKBUILD
+++ b/main/iputils/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=iputils 2pkgname=iputils
3pkgver=20100214 3pkgver=20100214
4pkgrel=0 4pkgrel=1
5pkgdesc="IP Configuration Utilities (and Ping)" 5pkgdesc="IP Configuration Utilities (and Ping)"
6url="http://www.linuxfoundation.org/en/Net:Iputils" 6url="http://www.linuxfoundation.org/en/Net:Iputils"
7license="GPL" 7license="GPL"
diff --git a/main/ircii/APKBUILD b/main/ircii/APKBUILD
index 2ff651e852..bcb44899ba 100644
--- a/main/ircii/APKBUILD
+++ b/main/ircii/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=ircii 2pkgname=ircii
3pkgver=20060725 3pkgver=20060725
4pkgrel=0 4pkgrel=1
5pkgdesc="ircII is an IRC and ICB client that runs under most UNIX platforms." 5pkgdesc="ircII is an IRC and ICB client that runs under most UNIX platforms."
6url="http://www.eterna.com.au/ircii/" 6url="http://www.eterna.com.au/ircii/"
7license="GPL-2" 7license="GPL-2"
diff --git a/main/irssi/APKBUILD b/main/irssi/APKBUILD
index e5e324c89a..59cbdb333a 100644
--- a/main/irssi/APKBUILD
+++ b/main/irssi/APKBUILD
@@ -1,7 +1,6 @@
1# Maintainer: Carlo Landmeter <clandmeter at gmail.com> 1# Maintainer: Carlo Landmeter <clandmeter at gmail.com>
2pkgname=irssi 2pkgname=irssi
3pkgver=0.8.14 3pkgver=0.8.15
4#_pkgver=0.8.14
5pkgrel=1 4pkgrel=1
6pkgdesc="A modular textUI IRC client with IPv6 support" 5pkgdesc="A modular textUI IRC client with IPv6 support"
7url="http://irssi.org/" 6url="http://irssi.org/"
@@ -11,8 +10,10 @@ makedepends="glib-dev openssl-dev ncurses-dev perl-dev pkgconfig"
11source="http://irssi.org/files/irssi-${pkgver}.tar.bz2" 10source="http://irssi.org/files/irssi-${pkgver}.tar.bz2"
12subpackages="$pkgname-doc $pkgname-dev $pkgname-perl" 11subpackages="$pkgname-doc $pkgname-dev $pkgname-perl"
13 12
13_builddir="$srcdir/$pkgname-$pkgver"
14
14build() { 15build() {
15 cd "$srcdir/$pkgname-${pkgver}" 16 cd "$_builddir"
16 17
17 ./configure --prefix=/usr \ 18 ./configure --prefix=/usr \
18 --sysconfdir=/etc \ 19 --sysconfdir=/etc \
@@ -22,13 +23,24 @@ build() {
22 make DESTDIR="$pkgdir" install 23 make DESTDIR="$pkgdir" install
23} 24}
24 25
26package() {
27 cd "$_builddir"
28 make DESTDIR="$pkgdir" install
29}
30
25perl() { 31perl() {
26 depends="$pkgname perl" 32 depends="$pkgname perl"
33 pkgdesc="Irssi perl support and scripts"
27 mkdir -p "$subpkgdir"/usr/share/irssi 34 mkdir -p "$subpkgdir"/usr/share/irssi
28 mv "$pkgdir"/usr/share/irssi/scripts "$subpkgdir"/usr/share/irssi/ 35 mv "$pkgdir"/usr/share/irssi/scripts "$subpkgdir"/usr/share/irssi/
29 mkdir -p "$subpkgdir"/usr/lib/irssi 36 mkdir -p "$subpkgdir"/usr/lib/irssi
30 mv "$pkgdir"/usr/lib/irssi/modules "$subpkgdir"/usr/lib/irssi/ 37 mv "$pkgdir"/usr/lib/irssi/modules "$subpkgdir"/usr/lib/irssi/
31 mv "$pkgdir"/usr/lib/perl5 "$subpkgdir"/usr/lib/ 38 mv "$pkgdir"/usr/lib/perl5 "$subpkgdir"/usr/lib/
39 #need write permission when stripping
40 chmod +w "$subpkgdir"/usr/lib/perl5/core_perl/auto/Irssi/TextUI/TextUI.so
41 chmod +w "$subpkgdir"/usr/lib/perl5/core_perl/auto/Irssi/Irssi.so
42 chmod +w "$subpkgdir"/usr/lib/perl5/core_perl/auto/Irssi/Irc/Irc.so
43 chmod +w "$subpkgdir"/usr/lib/perl5/core_perl/auto/Irssi/UI/UI.so
32} 44}
33 45
34md5sums="00efe7638dd596d5930dfa2aeae87b3a irssi-0.8.14.tar.bz2" 46md5sums="1dcb3f511b88df94b0c996f36668c7da irssi-0.8.15.tar.bz2"
diff --git a/main/iscsitarget/APKBUILD b/main/iscsitarget/APKBUILD
index 673944079d..a53e628634 100644
--- a/main/iscsitarget/APKBUILD
+++ b/main/iscsitarget/APKBUILD
@@ -2,7 +2,7 @@
2 2
3pkgname=iscsitarget 3pkgname=iscsitarget
4pkgver=1.4.19 4pkgver=1.4.19
5pkgrel=0 5pkgrel=2
6pkgdesc="Open Source iSCSI target with professional features - userspace utils" 6pkgdesc="Open Source iSCSI target with professional features - userspace utils"
7url="http://iscsitarget.sourceforge.net/" 7url="http://iscsitarget.sourceforge.net/"
8license="GPL-2" 8license="GPL-2"
diff --git a/main/jasper/APKBUILD b/main/jasper/APKBUILD
index 9317a18485..d74cbd4342 100644
--- a/main/jasper/APKBUILD
+++ b/main/jasper/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=jasper 2pkgname=jasper
3pkgver=1.900.1 3pkgver=1.900.1
4pkgrel=0 4pkgrel=1
5pkgdesc="A software-based implementation of the codec specified in the emerging JPEG-2000 Part-1 standard" 5pkgdesc="A software-based implementation of the codec specified in the emerging JPEG-2000 Part-1 standard"
6url="http://www.ece.uvic.ca/~mdadams/jasper/" 6url="http://www.ece.uvic.ca/~mdadams/jasper/"
7license="custom:JasPer2.0" 7license="custom:JasPer2.0"
diff --git a/main/jpeg/APKBUILD b/main/jpeg/APKBUILD
index 9292022a99..e3bd30d10e 100644
--- a/main/jpeg/APKBUILD
+++ b/main/jpeg/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 2# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
3pkgname=jpeg 3pkgname=jpeg
4pkgver=8 4pkgver=8
5pkgrel=0 5pkgrel=1
6pkgdesc="JPEG image tools" 6pkgdesc="JPEG image tools"
7url="http://www.ijg.org/" 7url="http://www.ijg.org/"
8license="AS-IS" 8license="AS-IS"
diff --git a/main/kamailio/APKBUILD b/main/kamailio/APKBUILD
index 2b64a76e81..84355bb18a 100644
--- a/main/kamailio/APKBUILD
+++ b/main/kamailio/APKBUILD
@@ -1,8 +1,8 @@
1# Contributor: Michael Mason <ms13sp@gmail.com> 1# Contributor: Michael Mason <ms13sp@gmail.com>
2# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 2# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
3pkgname=kamailio 3pkgname=kamailio
4pkgver=1.5.3 4pkgver=1.5.4
5pkgrel=8 5pkgrel=1
6pkgdesc="Open Source SIP Server" 6pkgdesc="Open Source SIP Server"
7url="http://www.kamailio.org/" 7url="http://www.kamailio.org/"
8pkgusers="kamailio" 8pkgusers="kamailio"
@@ -126,7 +126,7 @@ unixodbc() {
126 _mv_mod db_unixodbc 126 _mv_mod db_unixodbc
127} 127}
128 128
129md5sums="17eeea5cdc2fdd28b2f9a1bad6598de2 kamailio-1.5.3-notls_src.tar.gz 129md5sums="127233aff2f20566b54f84555602132d kamailio-1.5.4-notls_src.tar.gz
130eb665248ee39cf755a247286affc5cbb kamailio.cfg 130eb665248ee39cf755a247286affc5cbb kamailio.cfg
1318ac6c260f090aea0ca344f18f9a2a904 kamailio.initd 1318ac6c260f090aea0ca344f18f9a2a904 kamailio.initd
1323259980a45d9ad3fc6fca83414021d07 kamailio-backslash.patch" 1323259980a45d9ad3fc6fca83414021d07 kamailio-backslash.patch"
diff --git a/main/ksymoops/APKBUILD b/main/ksymoops/APKBUILD
index d8cc04fdf7..9653627d63 100644
--- a/main/ksymoops/APKBUILD
+++ b/main/ksymoops/APKBUILD
@@ -1,11 +1,11 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=ksymoops 2pkgname=ksymoops
3pkgver=2.4.11 3pkgver=2.4.11
4pkgrel=0 4pkgrel=1
5pkgdesc="A Linux kernel Oops file troubleshooting tool" 5pkgdesc="A Linux kernel Oops file troubleshooting tool"
6url="ftp://ftp.kernel.org/pub/linux/utils/kernel/ksymoops/v2.4" 6url="ftp://ftp.kernel.org/pub/linux/utils/kernel/ksymoops/v2.4"
7license="GPL-2" 7license="GPL-2"
8depends="uclibc" 8depends=""
9makedepends="!gettext !libiconv" 9makedepends="!gettext !libiconv"
10source="ftp://ftp.kernel.org/pub/linux/utils/kernel/$pkgname/v2.4/$pkgname-$pkgver.tar.bz2 10source="ftp://ftp.kernel.org/pub/linux/utils/kernel/$pkgname/v2.4/$pkgname-$pkgver.tar.bz2
11 $pkgname-2.4.11-build.patch 11 $pkgname-2.4.11-build.patch
diff --git a/main/lame/APKBUILD b/main/lame/APKBUILD
index 83fe97d158..85a151c62c 100644
--- a/main/lame/APKBUILD
+++ b/main/lame/APKBUILD
@@ -2,7 +2,7 @@
2pkgname=lame 2pkgname=lame
3pkgver=3.98.3 3pkgver=3.98.3
4_ver=398-2 4_ver=398-2
5pkgrel=0 5pkgrel=1
6pkgdesc="An MP3 encoder and graphical frame analyzer" 6pkgdesc="An MP3 encoder and graphical frame analyzer"
7url="http://lame.sourceforge.net/" 7url="http://lame.sourceforge.net/"
8license="LGPL" 8license="LGPL"
diff --git a/main/less/APKBUILD b/main/less/APKBUILD
index 188a7b91ca..7508a25fa7 100644
--- a/main/less/APKBUILD
+++ b/main/less/APKBUILD
@@ -2,11 +2,11 @@
2# Maintainer: Cameron Banta <cbanta@gmail.com> 2# Maintainer: Cameron Banta <cbanta@gmail.com>
3pkgname=less 3pkgname=less
4pkgver=436 4pkgver=436
5pkgrel=0 5pkgrel=1
6pkgdesc="File pager" 6pkgdesc="File pager"
7url="http://www.greenwoodsoftware.com/less/" 7url="http://www.greenwoodsoftware.com/less/"
8license="GPL" 8license="GPL"
9depends="uclibc ncurses" 9depends=
10makedepends="ncurses-dev" 10makedepends="ncurses-dev"
11install="$pkgname.post-deinstall" 11install="$pkgname.post-deinstall"
12subpackages="$pkgname-doc" 12subpackages="$pkgname-doc"
@@ -15,12 +15,15 @@ source="http://www.greenwoodsoftware.com/$pkgname/$pkgname-$pkgver.tar.gz
15 15
16build() { 16build() {
17 cd "$srcdir/$pkgname-$pkgver" 17 cd "$srcdir/$pkgname-$pkgver"
18
19 ./configure --prefix=/usr \ 18 ./configure --prefix=/usr \
20 --sysconfdir=/etc \ 19 --sysconfdir=/etc \
21 --mandir=/usr/share/man \ 20 --mandir=/usr/share/man \
22 --infodir=/usr/share/info 21 --infodir=/usr/share/info
23 make || return 1 22 make || return 1
23}
24
25package() {
26 cd "$srcdir/$pkgname-$pkgver"
24 make DESTDIR="$pkgdir" install 27 make DESTDIR="$pkgdir" install
25} 28}
26 29
diff --git a/main/lftp/APKBUILD b/main/lftp/APKBUILD
index ffd61ae0f8..714b7cf2dd 100644
--- a/main/lftp/APKBUILD
+++ b/main/lftp/APKBUILD
@@ -1,8 +1,8 @@
1# Contributor: Carlo Landmeter <clandmeter@gmail.com> 1# Contributor: Carlo Landmeter <clandmeter@gmail.com>
2# Maintainer: Carlo Landmeter <clandmeter@gmail.com> 2# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
3pkgname=lftp 3pkgname=lftp
4pkgver=4.0.5 4pkgver=4.0.7
5pkgrel=0 5pkgrel=1
6pkgdesc="LFTP is sophisticated ftp/http client" 6pkgdesc="LFTP is sophisticated ftp/http client"
7url="http://lftp.yar.ru/" 7url="http://lftp.yar.ru/"
8license="GPL" 8license="GPL"
@@ -11,8 +11,10 @@ makedepends="openssl-dev readline-dev ncurses-dev gettext-dev"
11subpackages="$pkgname-doc" 11subpackages="$pkgname-doc"
12source="http://ftp.yars.free.net/pub/source/lftp/lftp-${pkgver}.tar.bz2" 12source="http://ftp.yars.free.net/pub/source/lftp/lftp-${pkgver}.tar.bz2"
13 13
14_builddir="$srcdir/$pkgname-$pkgver"
15
14build() { 16build() {
15 cd "$srcdir/$pkgname-$pkgver" 17 cd "$_builddir"
16 18
17 ./configure --prefix=/usr \ 19 ./configure --prefix=/usr \
18 --sysconfdir=/etc/lftp \ 20 --sysconfdir=/etc/lftp \
@@ -25,8 +27,8 @@ build() {
25} 27}
26 28
27package() { 29package() {
28 cd "$srcdir/$pkgname-$pkgver" 30 cd "$_builddir"
29 make -j1 DESTDIR="$pkgdir" install 31 make -j1 DESTDIR="$pkgdir" install
30} 32}
31 33
32md5sums="5400cad5f91e131ac2ded7c24aea594c lftp-4.0.5.tar.bz2" 34md5sums="a40e4518fc477c82ffcc5b04d9ff64ff lftp-4.0.7.tar.bz2"
diff --git a/main/lha/APKBUILD b/main/lha/APKBUILD
index 705e51e077..5fc94b35bf 100644
--- a/main/lha/APKBUILD
+++ b/main/lha/APKBUILD
@@ -1,12 +1,12 @@
1# Maintainer: Leonardo Arena <rnalrd@gmail.com> 1# Maintainer: Leonardo Arena <rnalrd@gmail.com>
2pkgname=lha 2pkgname=lha
3pkgver=1.14i 3pkgver=1.14i
4pkgrel=0 4pkgrel=1
5pkgdesc="Compression and archive utility for LH-7 format archives" 5pkgdesc="Compression and archive utility for LH-7 format archives"
6url="http://www.infor.kanazawa-it.ac.jp/~ishii/lhaunix/" 6url="http://www.infor.kanazawa-it.ac.jp/~ishii/lhaunix/"
7license="custom" 7license="custom"
8subpackages="$pkgname-doc" 8subpackages="$pkgname-doc"
9depends="uclibc" 9depends=""
10makedepends="" 10makedepends=""
11install= 11install=
12source="http://osdn.dl.sourceforge.jp/lha/22231/$pkgname-$pkgver-ac20050924p1.tar.gz" 12source="http://osdn.dl.sourceforge.jp/lha/22231/$pkgname-$pkgver-ac20050924p1.tar.gz"
diff --git a/main/libao/APKBUILD b/main/libao/APKBUILD
index a82ba46587..9c179172ff 100644
--- a/main/libao/APKBUILD
+++ b/main/libao/APKBUILD
@@ -1,12 +1,12 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libao 2pkgname=libao
3pkgver=0.8.8 3pkgver=1.0.0
4pkgrel=1 4pkgrel=0
5pkgdesc="Cross-platform audio output library and plugins" 5pkgdesc="Cross-platform audio output library and plugins"
6url="http://www.xiph.org/ao" 6url="http://www.xiph.org/ao"
7license="GPL" 7license="GPL"
8subpackages="$pkgname-dev $pkgname-doc" 8subpackages="$pkgname-dev $pkgname-doc"
9depends="uclibc alsa-lib" 9depends=
10makedepends="alsa-lib-dev" 10makedepends="alsa-lib-dev"
11source="http://downloads.xiph.org/releases/ao/$pkgname-$pkgver.tar.gz" 11source="http://downloads.xiph.org/releases/ao/$pkgname-$pkgver.tar.gz"
12 12
@@ -17,6 +17,10 @@ build () {
17 --disable-esd \ 17 --disable-esd \
18 --disable-arts 18 --disable-arts
19 make || return 1 19 make || return 1
20}
21
22package() {
23 cd "$srcdir"/$pkgname-$pkgver
20 make DESTDIR="$pkgdir" install 24 make DESTDIR="$pkgdir" install
21} 25}
22md5sums="b92cba3cbcf1ee9bc221118a85d23dcd libao-0.8.8.tar.gz" 26md5sums="08283fbe1f587619053a156254afecec libao-1.0.0.tar.gz"
diff --git a/main/libart-lgpl/APKBUILD b/main/libart-lgpl/APKBUILD
index a9cf7776ad..0203cd5148 100644
--- a/main/libart-lgpl/APKBUILD
+++ b/main/libart-lgpl/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libart-lgpl 2pkgname=libart-lgpl
3pkgver=2.3.21 3pkgver=2.3.21
4pkgrel=0 4pkgrel=1
5pkgdesc="A library for high-performance 2D graphics" 5pkgdesc="A library for high-performance 2D graphics"
6url="http://www.levien.com/libart/" 6url="http://www.levien.com/libart/"
7license="LGPL" 7license="LGPL"
diff --git a/main/libassuan/APKBUILD b/main/libassuan/APKBUILD
index 2b2498c49e..ee8a0d9792 100644
--- a/main/libassuan/APKBUILD
+++ b/main/libassuan/APKBUILD
@@ -1,18 +1,23 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libassuan 2pkgname=libassuan
3pkgver=1.0.5 3pkgver=2.0.0
4pkgrel=0 4pkgrel=0
5pkgdesc="Libassuan is the IPC library used by some GnuPG related software" 5pkgdesc="Libassuan is the IPC library used by some GnuPG related software"
6url="ftp://ftp.gnupg.org/gcrypt/libgcrypt" 6url="ftp://ftp.gnupg.org/gcrypt/libgcrypt"
7license="GPL" 7license="GPL"
8makedepends="pth-dev" 8depends=
9subpackages="$pkgname-doc" 9makedepends="pth-dev libgpg-error-dev"
10subpackages="$pkgname-dev $pkgname-doc"
10source="ftp://ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$pkgver.tar.bz2" 11source="ftp://ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$pkgver.tar.bz2"
11 12
12build () { 13build () {
13 cd "$srcdir"/$pkgname-$pkgver 14 cd "$srcdir"/$pkgname-$pkgver
14 ./configure --prefix=/usr 15 ./configure --prefix=/usr
15 make || return 1 16 make || return 1
17}
18
19package() {
20 cd "$srcdir"/$pkgname-$pkgver
16 make DESTDIR="$pkgdir" install 21 make DESTDIR="$pkgdir" install
17} 22}
18md5sums="c2db0974fcce4401f48f3fa41c4edc5a libassuan-1.0.5.tar.bz2" 23md5sums="59bc0ae7194c412d7a522029005684b2 libassuan-2.0.0.tar.bz2"
diff --git a/main/libc0.9.32/0001-static-build-fix-internal-locking-weaks-to-get-pulle.patch b/main/libc0.9.32/0001-static-build-fix-internal-locking-weaks-to-get-pulle.patch
new file mode 100644
index 0000000000..2898a0d02d
--- /dev/null
+++ b/main/libc0.9.32/0001-static-build-fix-internal-locking-weaks-to-get-pulle.patch
@@ -0,0 +1,125 @@
1From 67403d1d692c3b8022b0adca127a2c14ef8e3237 Mon Sep 17 00:00:00 2001
2From: Timo Teras <timo.teras@iki.fi>
3Date: Fri, 7 May 2010 11:28:27 +0300
4Subject: [PATCH 1/2] static build: fix internal locking weaks to get pulled in always
5
6Linker is smart and does not pull in weaks.os, ever. This happens
7because that compilation unit does not get strong references and
8ld eliminates dead code. We really need the weaks for static build
9in a compilation unit that is always there, otherwise it won't work.
10
11Signed-off-by: Timo Teras <timo.teras@iki.fi>
12---
13 libc/misc/internals/__uClibc_main.c | 35 ++++++++++++++++++++++++++++++
14 libc/misc/pthread/Makefile.in | 1 -
15 libc/misc/pthread/weaks.c | 40 -----------------------------------
16 3 files changed, 35 insertions(+), 41 deletions(-)
17 delete mode 100644 libc/misc/pthread/weaks.c
18
19diff --git a/libc/misc/internals/__uClibc_main.c b/libc/misc/internals/__uClibc_main.c
20index f7e45c6..f9e1244 100644
21--- a/libc/misc/internals/__uClibc_main.c
22+++ b/libc/misc/internals/__uClibc_main.c
23@@ -68,6 +68,41 @@ uintptr_t __guard attribute_relro;
24 */
25
26 void internal_function _dl_aux_init (ElfW(auxv_t) *av);
27+
28+/*
29+ * uClibc internal locking requires that we have weak aliases
30+ * for dummy functions in case libpthread.a is not linked in.
31+ * This needs to be in compilation unit that is pulled always
32+ * in or linker will disregard these weaks.
33+ */
34+
35+static int __pthread_return_0 (pthread_mutex_t *unused) { return 0; }
36+weak_alias (__pthread_return_0, __pthread_mutex_lock)
37+weak_alias (__pthread_return_0, __pthread_mutex_trylock)
38+weak_alias (__pthread_return_0, __pthread_mutex_unlock)
39+
40+int weak_function
41+__pthread_mutex_init(pthread_mutex_t *mutex, const pthread_mutexattr_t *attr)
42+{
43+ return 0;
44+}
45+
46+void weak_function
47+_pthread_cleanup_push_defer(struct _pthread_cleanup_buffer *__buffer,
48+ void (*__routine) (void *), void *__arg)
49+{
50+ __buffer->__routine = __routine;
51+ __buffer->__arg = __arg;
52+}
53+
54+void weak_function
55+_pthread_cleanup_pop_restore(struct _pthread_cleanup_buffer *__buffer,
56+ int __execute)
57+{
58+ if (__execute)
59+ __buffer->__routine(__buffer->__arg);
60+}
61+
62 #endif /* !SHARED */
63
64 /*
65diff --git a/libc/misc/pthread/Makefile.in b/libc/misc/pthread/Makefile.in
66index 69cdf10..2f436ac 100644
67--- a/libc/misc/pthread/Makefile.in
68+++ b/libc/misc/pthread/Makefile.in
69@@ -11,7 +11,6 @@ MISC_PTHREAD_DIR := $(top_srcdir)libc/misc/pthread
70 MISC_PTHREAD_OUT := $(top_builddir)libc/misc/pthread
71
72 libc-shared-$(UCLIBC_HAS_TLS) += $(MISC_PTHREAD_OUT)/tsd.os
73-libc-static-$(UCLIBC_HAS_THREADS) += $(MISC_PTHREAD_OUT)/weaks.o
74
75 objclean-y += CLEAN_libc/misc/pthread
76
77diff --git a/libc/misc/pthread/weaks.c b/libc/misc/pthread/weaks.c
78deleted file mode 100644
79index fb1d85f..0000000
80--- a/libc/misc/pthread/weaks.c
81+++ /dev/null
82@@ -1,40 +0,0 @@
83-/* The weak pthread functions for Linux.
84- Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
85- This file is part of the GNU C Library.
86-
87- The GNU C Library is free software; you can redistribute it and/or
88- modify it under the terms of the GNU Library General Public License as
89- published by the Free Software Foundation; either version 2 of the
90- License, or (at your option) any later version.
91-
92- The GNU C Library is distributed in the hope that it will be useful,
93- but WITHOUT ANY WARRANTY; without even the implied warranty of
94- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
95- Library General Public License for more details.
96-
97- You should have received a copy of the GNU Library General Public
98- License along with the GNU C Library; see the file COPYING.LIB. If not,
99- write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
100- Boston, MA 02111-1307, USA. */
101-
102-#include <libc-internal.h>
103-
104-/* Weaks for internal library use only.
105- *
106- * We need to define weaks here to cover all the pthread functions that
107- * libc itself will use so that we aren't forced to link libc against
108- * libpthread. This file is only used in libc.a and since we have
109- * weaks here, they will be automatically overridden by libpthread.a
110- * if it gets linked in.
111- */
112-
113-static int __pthread_return_0 (void) { return 0; }
114-static void __pthread_return_void (void) { return; }
115-
116-weak_alias (__pthread_return_0, __pthread_mutex_init)
117-weak_alias (__pthread_return_0, __pthread_mutex_lock)
118-weak_alias (__pthread_return_0, __pthread_mutex_trylock)
119-weak_alias (__pthread_return_0, __pthread_mutex_unlock)
120-weak_alias (__pthread_return_void, _pthread_cleanup_push_defer)
121-weak_alias (__pthread_return_void, _pthread_cleanup_pop_restore)
122-
123--
1241.6.3.3
125
diff --git a/main/libc0.9.32/0002-resolv-various-memory-corruption-and-off-by-one-fixe.patch b/main/libc0.9.32/0002-resolv-various-memory-corruption-and-off-by-one-fixe.patch
new file mode 100644
index 0000000000..562d648a6a
--- /dev/null
+++ b/main/libc0.9.32/0002-resolv-various-memory-corruption-and-off-by-one-fixe.patch
@@ -0,0 +1,69 @@
1From bfe9a589a402d4b6265e32b1b5ca0942efdcff3b Mon Sep 17 00:00:00 2001
2From: Timo Teras <timo.teras@iki.fi>
3Date: Fri, 7 May 2010 11:30:04 +0300
4Subject: [PATCH 2/2] resolv: various memory corruption and off by one fixes
5
6Fixes resolution of names with AAAA entries and gethostbyaddr issues.
7
8Signed-off-by: Timo Teras <timo.teras@iki.fi>
9---
10 libc/inet/resolv.c | 12 ++++++++----
11 1 files changed, 8 insertions(+), 4 deletions(-)
12
13diff --git a/libc/inet/resolv.c b/libc/inet/resolv.c
14index 84289a6..320aec4 100644
15--- a/libc/inet/resolv.c
16+++ b/libc/inet/resolv.c
17@@ -689,7 +689,7 @@ int attribute_hidden __decode_dotted(const unsigned char *packet,
18
19 if (used + b + 1 >= dest_len)
20 return -1;
21- if (offset + b + 1 >= packet_len)
22+ if (offset + b >= packet_len)
23 return -1;
24 memcpy(dest + used, packet + offset, b);
25 offset += b;
26@@ -2417,7 +2417,7 @@ int gethostbyaddr_r(const void *addr, socklen_t addrlen,
27 /* Layout in buf:
28 * char *alias[ALIAS_DIM];
29 * struct in[6]_addr* addr_list[2];
30- * struct in[6]_addr* in;
31+ * struct in[6]_addr in;
32 * char scratch_buffer[256+];
33 */
34 #define in6 ((struct in6_addr *)in)
35@@ -2431,9 +2431,13 @@ int gethostbyaddr_r(const void *addr, socklen_t addrlen,
36 #ifndef __UCLIBC_HAS_IPV6__
37 buf += sizeof(*in);
38 buflen -= sizeof(*in);
39+ if (addrlen > sizeof(*in))
40+ return ERANGE;
41 #else
42 buf += sizeof(*in6);
43 buflen -= sizeof(*in6);
44+ if (addrlen > sizeof(*in6))
45+ return ERANGE;
46 #endif
47 if ((ssize_t)buflen < 256)
48 return ERANGE;
49@@ -2441,7 +2445,7 @@ int gethostbyaddr_r(const void *addr, socklen_t addrlen,
50 alias[1] = NULL;
51 addr_list[0] = in;
52 addr_list[1] = NULL;
53- memcpy(&in, addr, addrlen);
54+ memcpy(in, addr, addrlen);
55
56 if (0) /* nothing */;
57 #ifdef __UCLIBC_HAS_IPV4__
58@@ -2456,7 +2460,7 @@ int gethostbyaddr_r(const void *addr, socklen_t addrlen,
59 char *dst = buf;
60 unsigned char *tp = (unsigned char *)addr + addrlen - 1;
61 do {
62- dst += sprintf(dst, "%x.%x.", tp[i] & 0xf, tp[i] >> 4);
63+ dst += sprintf(dst, "%x.%x.", tp[0] & 0xf, tp[0] >> 4);
64 tp--;
65 } while (tp >= (unsigned char *)addr);
66 strcpy(dst, "ip6.arpa");
67--
681.6.3.3
69
diff --git a/main/libc0.9.32/APKBUILD b/main/libc0.9.32/APKBUILD
new file mode 100644
index 0000000000..47bc5862ea
--- /dev/null
+++ b/main/libc0.9.32/APKBUILD
@@ -0,0 +1,104 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2_abiver=0.9.32
3pkgname=libc$_abiver
4_gitver=100507
5pkgver=${_abiver}_alpha0_git$_gitver
6pkgrel=2
7pkgdesc="C library for developing embedded Linux systems"
8url=http://uclibc.org
9license="LGPL-2"
10
11subpackages="uclibc-dev:dev uclibc-utils:utils"
12depends_dev="linux-headers=>2.6.32"
13#options="!strip"
14replaces=uclibc
15
16_snapurl="http://git.uclibc.org/uClibc/snapshot/master.tar.bz2"
17_snapfile="$pkgname-$pkgver.tar.bz2"
18source="http://build.alpinelinux.org:8010/distfiles/$_snapfile
19 compat-stack-guard.patch
20 0001-static-build-fix-internal-locking-weaks-to-get-pulle.patch
21 0002-resolv-various-memory-corruption-and-off-by-one-fixe.patch
22 uclibc-libm-pic.patch
23 uclibc-resolv-tls.patch
24 uclibcconfig.x86
25 uclibcconfig.i486
26 "
27
28_config="$srcdir"/uclibcconfig.${ARCH:-x86}
29_builddir="$srcdir"/master
30
31snapshot() {
32 local _date=$(date +%y%m%d%H%M)
33 pkgver=${_abiver}_alpha0_git$_gitver
34
35 rm -f "$SRCDEST"/$_snapfile
36 wget -O "$SRCDEST"/$_snapfile $_snapurl
37 pkgrel=0
38 sed -i -e "s/^_gitver=.*/_gitver=$(date +%y%m%d)/" \
39 -e "s/^pkgrel=.*/pkgrel=$pkgrel/" \
40 APKBUILD
41 checksum
42}
43
44prepare() {
45 local i
46 cd "$_builddir"
47 # patches goes here
48 for i in ../*.patch ../*.diff; do
49 [ -r "$i" ] || continue
50 msg "Applying $i..."
51 patch -p1 < $i || return 1
52 done
53 # set abi version and remove unsupported warnings c flag
54 sed -i -e "s/^ABI_VERSION.*/ABI_VERSION := $_abiver/" \
55 -e "s/-Wold-style-declaration//g" \
56 Rules.mak
57}
58
59build() {
60 local _kh=
61 cd "$_builddir"
62 if [ -n "$SYSROOT" ]; then
63 _kh=KERNEL_HEADERS="$SYSROOT/include"
64 fi
65 cp "$_config" .config
66 make silentoldconfig
67 make -j1 pregen KERNEL_HEADERS="$SYSROOT"/usr/include \
68 CROSS="$CROSS" || return 1
69 make all KERNEL_HEADERS="$SYSROOT/usr/include" CROSS="$CROSS" || return 1
70 make utils CROSS="$CROSS" || return 1
71}
72
73package() {
74 cd "$_builddir"
75 make DESTDIR="$pkgdir" KERNEL_HEADERS="$SYSROOT/usr/include" \
76 CROSS="$CROSS" install install_utils
77 install -Dm755 extra/scripts/getent "$pkgdir"/usr/bin/getent
78 # provided by linux-headers
79 rm -f "$pkgdir"/usr/include/scsi/scsi.h
80}
81
82dev() {
83 default_dev
84 replaces=uclibc
85 mkdir "$subpkgdir"/usr/lib
86 mv "$pkgdir"/usr/lib/*.so "$subpkgdir"/usr/lib/
87}
88
89utils() {
90 pkgdesc="uClibc utility programs"
91 replaces=uclibc
92 mkdir -p "$subpkgdir"/usr/bin "$subpkgdir"/sbin
93 mv "$pkgdir"/sbin/* "$subpkgdir"/sbin/
94 mv "$pkgdir"/usr/bin/* "$subpkgdir"/usr/bin/
95}
96
97md5sums="46e98672dc2a4309d9a7c65b4e626845 libc0.9.32-0.9.32_alpha0_git100507.tar.bz2
984d408f72142ce55a0754948cc9cfe447 compat-stack-guard.patch
99826666b365f2d63a71d67eb76c94f7bc 0001-static-build-fix-internal-locking-weaks-to-get-pulle.patch
1000800a489a738c7b1d8c3643cb9806926 0002-resolv-various-memory-corruption-and-off-by-one-fixe.patch
1012f9739a980be24a842c57516155c7885 uclibc-libm-pic.patch
102d08831b452acdeaa3037525ee617edab uclibc-resolv-tls.patch
103e2eb3bb00a0fe4d6f3d5b5c56b027bab uclibcconfig.x86
104e2eb3bb00a0fe4d6f3d5b5c56b027bab uclibcconfig.i486"
diff --git a/main/libc0.9.32/compat-stack-guard.patch b/main/libc0.9.32/compat-stack-guard.patch
new file mode 100644
index 0000000000..71d78bac5a
--- /dev/null
+++ b/main/libc0.9.32/compat-stack-guard.patch
@@ -0,0 +1,51 @@
1diff --git a/ldso/ldso/ldso.c b/ldso/ldso/ldso.c
2index 125cf96..bb47952 100644
3--- a/ldso/ldso/ldso.c
4+++ b/ldso/ldso/ldso.c
5@@ -101,10 +101,10 @@ extern void _start(void);
6 #ifdef __UCLIBC_HAS_SSP__
7 # include <dl-osinfo.h>
8 uintptr_t stack_chk_guard;
9+uintptr_t __stack_chk_guard attribute_relro;
10 # ifndef THREAD_SET_STACK_GUARD
11 /* Only exported for architectures that don't store the stack guard canary
12 * in local thread area. */
13-uintptr_t __stack_chk_guard attribute_relro;
14 # ifdef __UCLIBC_HAS_SSP_COMPAT__
15 strong_alias(__stack_chk_guard,__guard)
16 # endif
17@@ -935,13 +935,12 @@ void _dl_get_ready_to_run(struct elf_resolve *tpnt, DL_LOADADDR_TYPE load_addr,
18 #ifdef __UCLIBC_HAS_SSP__
19 /* Set up the stack checker's canary. */
20 stack_chk_guard = _dl_setup_stack_chk_guard ();
21+ __stack_chk_guard = stack_chk_guard;
22 # ifdef THREAD_SET_STACK_GUARD
23 THREAD_SET_STACK_GUARD (stack_chk_guard);
24 # ifdef __UCLIBC_HAS_SSP_COMPAT__
25 __guard = stack_chk_guard;
26 # endif
27-# else
28- __stack_chk_guard = stack_chk_guard;
29 # endif
30 #endif
31
32diff --git a/libc/misc/internals/__uClibc_main.c b/libc/misc/internals/__uClibc_main.c
33index f7e45c6..b527068 100644
34--- a/libc/misc/internals/__uClibc_main.c
35+++ b/libc/misc/internals/__uClibc_main.c
36@@ -43,13 +43,13 @@ void *__libc_stack_end = NULL;
37
38 # ifdef __UCLIBC_HAS_SSP__
39 # include <dl-osinfo.h>
40+/* for gcc-4.1 non-TLS */
41+uintptr_t __stack_chk_guard attribute_relro;
42 # ifndef THREAD_SET_STACK_GUARD
43 /* Only exported for architectures that don't store the stack guard canary
44 * in thread local area. */
45 # include <stdint.h>
46 uintptr_t stack_chk_guard;
47-/* for gcc-4.1 non-TLS */
48-uintptr_t __stack_chk_guard attribute_relro;
49 /* for gcc-3.x + Etoh ssp */
50 # ifdef __UCLIBC_HAS_SSP_COMPAT__
51 # ifdef __HAVE_SHARED__
diff --git a/main/libc0.9.32/uclibc-libm-pic.patch b/main/libc0.9.32/uclibc-libm-pic.patch
new file mode 100644
index 0000000000..ad87b78b24
--- /dev/null
+++ b/main/libc0.9.32/uclibc-libm-pic.patch
@@ -0,0 +1,67 @@
1GCC can emit prologue/epilogue code for the functions in various
2different cases:
3 - frame pointers
4 - PIC build (to load ebx for indirect calls/jumps)
5 - forced stack smashing protection
6
7If we used jump in such cases, we'd corrupt the call stack and
8crash.
9
10Signed-off-by: Timo Teräs <timo.teras at iki.fi>
11---
12 libm/ldouble_wrappers.c | 12 +++++++-----
13 1 files changed, 7 insertions(+), 5 deletions(-)
14
15diff --git a/libm/ldouble_wrappers.c b/libm/ldouble_wrappers.c
16index 7d5af90..5b424dc 100644
17--- a/libm/ldouble_wrappers.c
18+++ b/libm/ldouble_wrappers.c
19@@ -60,7 +60,9 @@ long long func##l(long double x) \
20 * The return value is returned in st(0) per ABI in both cases (returning
21 * a long double or returning a double). So we can simply jump to func.
22 * Using __GI_func in jump to make optimized intra-library jump.
23- * gcc will still generate a useless "ret" after asm. Oh well...
24+ *
25+ * We do need to use call (instead of tail jump) as gcc can create
26+ * stack frame, and push/modify/pop ebx during PIC build.
27 */
28 # define WRAPPER1(func) \
29 long double func##l(long double x) \
30@@ -69,7 +71,7 @@ long double func##l(long double x) \
31 __asm ( \
32 " fldt %1\n" \
33 " fstpl %1\n" \
34- " jmp " __stringify(__GI_##func) "\n" \
35+ " call " __stringify(__GI_##func) "\n" \
36 : "=t" (st_top) \
37 : "m" (x) \
38 ); \
39@@ -82,7 +84,7 @@ int func##l(long double x) \
40 __asm ( \
41 " fldt %1\n" \
42 " fstpl %1\n" \
43- " jmp " __stringify(__GI_##func) "\n" \
44+ " call " __stringify(__GI_##func) "\n" \
45 : "=a" (ret) \
46 : "m" (x) \
47 ); \
48@@ -95,7 +97,7 @@ long func##l(long double x) \
49 __asm ( \
50 " fldt %1\n" \
51 " fstpl %1\n" \
52- " jmp " __stringify(__GI_##func) "\n" \
53+ " call " __stringify(__GI_##func) "\n" \
54 : "=a" (ret) \
55 : "m" (x) \
56 ); \
57@@ -108,7 +110,7 @@ long long func##l(long double x) \
58 __asm ( \
59 " fldt %1\n" \
60 " fstpl %1\n" \
61- " jmp " __stringify(__GI_##func) "\n" \
62+ " call " __stringify(__GI_##func) "\n" \
63 : "=A" (ret) \
64 : "m" (x) \
65 ); \
66--
671.7.0.4
diff --git a/main/libc0.9.32/uclibc-resolv-tls.patch b/main/libc0.9.32/uclibc-resolv-tls.patch
new file mode 100644
index 0000000000..45a228517b
--- /dev/null
+++ b/main/libc0.9.32/uclibc-resolv-tls.patch
@@ -0,0 +1,15 @@
1diff --git a/libc/inet/resolv.c b/libc/inet/resolv.c
2index 320aec4..f8066d2 100644
3--- a/libc/inet/resolv.c
4+++ b/libc/inet/resolv.c
5@@ -2916,8 +2916,8 @@ static void res_sync_func(void)
6 __nameserver[n].sa4 = rp->nsaddr_list[n]; /* struct copy */
7 #endif
8 }
9- __resolv_timeout = rp->retrans;
10- __resolv_attempts = rp->retry;
11+ __resolv_timeout = rp->retrans ?: RES_TIMEOUT;
12+ __resolv_attempts = rp->retry ?: RES_DFLRETRY;
13 /* Extend and comment what program is known
14 * to use which _res.XXX member(s).
15
diff --git a/main/libc0.9.32/uclibcconfig.i486 b/main/libc0.9.32/uclibcconfig.i486
new file mode 120000
index 0000000000..6ab0f7e5d3
--- /dev/null
+++ b/main/libc0.9.32/uclibcconfig.i486
@@ -0,0 +1 @@
uclibcconfig.x86 \ No newline at end of file
diff --git a/main/uclibc/uclibcconfig.x86 b/main/libc0.9.32/uclibcconfig.x86
index 78835525f8..1368b58ec0 100644
--- a/main/uclibc/uclibcconfig.x86
+++ b/main/libc0.9.32/uclibcconfig.x86
@@ -1,7 +1,7 @@
1# 1#
2# Automatically generated make config: don't edit 2# Automatically generated make config: don't edit
3# Version: 0.9.30.1 3# Version: 0.9.32-git
4# Mon Jun 15 09:42:10 2009 4# Fri May 7 11:46:52 2010
5# 5#
6# TARGET_alpha is not set 6# TARGET_alpha is not set
7# TARGET_arm is not set 7# TARGET_arm is not set
@@ -66,6 +66,7 @@ ARCH_USE_MMU=y
66UCLIBC_HAS_FLOATS=y 66UCLIBC_HAS_FLOATS=y
67UCLIBC_HAS_FPU=y 67UCLIBC_HAS_FPU=y
68DO_C99_MATH=y 68DO_C99_MATH=y
69DO_XSI_MATH=y
69UCLIBC_HAS_FENV=y 70UCLIBC_HAS_FENV=y
70UCLIBC_HAS_LONG_DOUBLE_MATH=y 71UCLIBC_HAS_LONG_DOUBLE_MATH=y
71KERNEL_HEADERS="/usr/include" 72KERNEL_HEADERS="/usr/include"
@@ -82,17 +83,21 @@ HAVE_SHARED=y
82FORCE_SHAREABLE_TEXT_SEGMENTS=y 83FORCE_SHAREABLE_TEXT_SEGMENTS=y
83LDSO_LDD_SUPPORT=y 84LDSO_LDD_SUPPORT=y
84LDSO_CACHE_SUPPORT=y 85LDSO_CACHE_SUPPORT=y
86LDSO_PRELOAD_ENV_SUPPORT=y
85# LDSO_PRELOAD_FILE_SUPPORT is not set 87# LDSO_PRELOAD_FILE_SUPPORT is not set
86LDSO_BASE_FILENAME="ld.so" 88LDSO_BASE_FILENAME="ld.so"
87UCLIBC_STATIC_LDCONFIG=y 89UCLIBC_STATIC_LDCONFIG=y
88LDSO_RUNPATH=y 90LDSO_RUNPATH=y
91LDSO_SEARCH_INTERP_PATH=y
89UCLIBC_CTOR_DTOR=y 92UCLIBC_CTOR_DTOR=y
90# LDSO_GNU_HASH_SUPPORT is not set 93# LDSO_GNU_HASH_SUPPORT is not set
91# HAS_NO_THREADS is not set 94# HAS_NO_THREADS is not set
95# LINUXTHREADS_OLD is not set
96# LINUXTHREADS_NEW is not set
97UCLIBC_HAS_THREADS_NATIVE=y
92UCLIBC_HAS_THREADS=y 98UCLIBC_HAS_THREADS=y
99UCLIBC_HAS_TLS=y
93# PTHREADS_DEBUG_SUPPORT is not set 100# PTHREADS_DEBUG_SUPPORT is not set
94# LINUXTHREADS_OLD is not set
95LINUXTHREADS_NEW=y
96UCLIBC_HAS_SYSLOG=y 101UCLIBC_HAS_SYSLOG=y
97UCLIBC_HAS_LFS=y 102UCLIBC_HAS_LFS=y
98# MALLOC is not set 103# MALLOC is not set
@@ -103,6 +108,7 @@ UCLIBC_DYNAMIC_ATEXIT=y
103COMPAT_ATEXIT=y 108COMPAT_ATEXIT=y
104UCLIBC_SUSV3_LEGACY=y 109UCLIBC_SUSV3_LEGACY=y
105UCLIBC_SUSV3_LEGACY_MACROS=y 110UCLIBC_SUSV3_LEGACY_MACROS=y
111UCLIBC_SUSV4_LEGACY=y
106# UCLIBC_HAS_STUBS is not set 112# UCLIBC_HAS_STUBS is not set
107UCLIBC_HAS_SHADOW=y 113UCLIBC_HAS_SHADOW=y
108UCLIBC_HAS_PROGRAM_INVOCATION_NAME=y 114UCLIBC_HAS_PROGRAM_INVOCATION_NAME=y
@@ -111,11 +117,13 @@ UCLIBC_HAS_PTY=y
111ASSUME_DEVPTS=y 117ASSUME_DEVPTS=y
112UNIX98PTY_ONLY=y 118UNIX98PTY_ONLY=y
113# UCLIBC_HAS_GETPT is not set 119# UCLIBC_HAS_GETPT is not set
120UCLIBC_HAS_LIBUTIL=y
114UCLIBC_HAS_TM_EXTENSIONS=y 121UCLIBC_HAS_TM_EXTENSIONS=y
115UCLIBC_HAS_TZ_CACHING=y 122UCLIBC_HAS_TZ_CACHING=y
116UCLIBC_HAS_TZ_FILE=y 123UCLIBC_HAS_TZ_FILE=y
117UCLIBC_HAS_TZ_FILE_READ_MANY=y 124UCLIBC_HAS_TZ_FILE_READ_MANY=y
118UCLIBC_TZ_FILE_PATH="/etc/TZ" 125UCLIBC_TZ_FILE_PATH="/etc/TZ"
126UCLIBC_FALLBACK_TO_ETC_LOCALTIME=y
119 127
120# 128#
121# Advanced Library Settings 129# Advanced Library Settings
@@ -152,6 +160,10 @@ UCLIBC_HAS_REENTRANT_RPC=y
152UCLIBC_USE_NETLINK=y 160UCLIBC_USE_NETLINK=y
153UCLIBC_SUPPORT_AI_ADDRCONFIG=y 161UCLIBC_SUPPORT_AI_ADDRCONFIG=y
154UCLIBC_HAS_BSD_RES_CLOSE=y 162UCLIBC_HAS_BSD_RES_CLOSE=y
163UCLIBC_HAS_COMPAT_RES_STATE=y
164# UCLIBC_HAS_EXTRA_COMPAT_RES_STATE is not set
165UCLIBC_HAS_LIBRESOLV_STUB=y
166# UCLIBC_HAS_LIBNSL_STUB is not set
155 167
156# 168#
157# String and Stdio Support 169# String and Stdio Support
@@ -192,6 +204,7 @@ UCLIBC_HAS_ERRNO_MESSAGES=y
192UCLIBC_HAS_SIGNUM_MESSAGES=y 204UCLIBC_HAS_SIGNUM_MESSAGES=y
193# UCLIBC_HAS_SYS_SIGLIST is not set 205# UCLIBC_HAS_SYS_SIGLIST is not set
194UCLIBC_HAS_GNU_GETOPT=y 206UCLIBC_HAS_GNU_GETOPT=y
207UCLIBC_HAS_STDIO_FUTEXES=y
195UCLIBC_HAS_GNU_GETSUBOPT=y 208UCLIBC_HAS_GNU_GETSUBOPT=y
196 209
197# 210#
@@ -202,6 +215,7 @@ UCLIBC_HAS_REGEX_OLD=y
202UCLIBC_HAS_FNMATCH=y 215UCLIBC_HAS_FNMATCH=y
203# UCLIBC_HAS_FNMATCH_OLD is not set 216# UCLIBC_HAS_FNMATCH_OLD is not set
204UCLIBC_HAS_WORDEXP=y 217UCLIBC_HAS_WORDEXP=y
218UCLIBC_HAS_NFTW=y
205UCLIBC_HAS_FTW=y 219UCLIBC_HAS_FTW=y
206UCLIBC_HAS_GLOB=y 220UCLIBC_HAS_GLOB=y
207UCLIBC_HAS_GNU_GLOB=y 221UCLIBC_HAS_GNU_GLOB=y
@@ -209,9 +223,10 @@ UCLIBC_HAS_GNU_GLOB=y
209# 223#
210# Library Installation Options 224# Library Installation Options
211# 225#
212SHARED_LIB_LOADER_PREFIX="/lib"
213RUNTIME_PREFIX="/" 226RUNTIME_PREFIX="/"
214DEVEL_PREFIX="/usr" 227DEVEL_PREFIX="/usr"
228MULTILIB_DIR="lib"
229# HARDWIRED_ABSPATH is not set
215 230
216# 231#
217# Security options 232# Security options
@@ -224,7 +239,7 @@ UCLIBC_HAS_SSP_COMPAT=y
224# SSP_QUICK_CANARY is not set 239# SSP_QUICK_CANARY is not set
225# PROPOLICE_BLOCK_ABRT is not set 240# PROPOLICE_BLOCK_ABRT is not set
226PROPOLICE_BLOCK_SEGV=y 241PROPOLICE_BLOCK_SEGV=y
227UCLIBC_BUILD_SSP=y 242# UCLIBC_BUILD_SSP is not set
228UCLIBC_BUILD_RELRO=y 243UCLIBC_BUILD_RELRO=y
229UCLIBC_BUILD_NOW=y 244UCLIBC_BUILD_NOW=y
230UCLIBC_BUILD_NOEXECSTACK=y 245UCLIBC_BUILD_NOEXECSTACK=y
@@ -235,12 +250,12 @@ UCLIBC_BUILD_NOEXECSTACK=y
235CROSS_COMPILER_PREFIX="" 250CROSS_COMPILER_PREFIX=""
236UCLIBC_EXTRA_CFLAGS="" 251UCLIBC_EXTRA_CFLAGS=""
237# DODEBUG is not set 252# DODEBUG is not set
238# DOSTRIP is not set 253DOSTRIP=y
239# DOASSERTS is not set 254# DOASSERTS is not set
240# SUPPORT_LD_DEBUG is not set 255# SUPPORT_LD_DEBUG is not set
241# SUPPORT_LD_DEBUG_EARLY is not set 256# SUPPORT_LD_DEBUG_EARLY is not set
242# UCLIBC_MALLOC_DEBUGGING is not set 257# UCLIBC_MALLOC_DEBUGGING is not set
243WARNINGS="-Wall" 258WARNINGS="-Wall"
244# EXTRA_WARNINGS is not set 259EXTRA_WARNINGS=y
245# DOMULTI is not set 260# DOMULTI is not set
246# UCLIBC_MJN3_ONLY is not set 261# UCLIBC_MJN3_ONLY is not set
diff --git a/main/libcap/APKBUILD b/main/libcap/APKBUILD
index 61b526ccc9..e379bee196 100644
--- a/main/libcap/APKBUILD
+++ b/main/libcap/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libcap 2pkgname=libcap
3pkgver=2.19 3pkgver=2.19
4pkgrel=0 4pkgrel=1
5pkgdesc="POSIX 1003.1e capabilities" 5pkgdesc="POSIX 1003.1e capabilities"
6license="GPL" 6license="GPL"
7url="http://www.friedhoff.org/posixfilecaps.html" 7url="http://www.friedhoff.org/posixfilecaps.html"
diff --git a/main/libcroco/APKBUILD b/main/libcroco/APKBUILD
index 47a289667f..4c0e8ef4f3 100644
--- a/main/libcroco/APKBUILD
+++ b/main/libcroco/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libcroco 2pkgname=libcroco
3pkgver=0.6.2 3pkgver=0.6.2
4pkgrel=0 4pkgrel=1
5pkgdesc="GNOME CSS2 parsing and manipulation toolkit" 5pkgdesc="GNOME CSS2 parsing and manipulation toolkit"
6url="http://www.gnome.org" 6url="http://www.gnome.org"
7license="LGPL" 7license="LGPL"
diff --git a/main/libdnet/APKBUILD b/main/libdnet/APKBUILD
index 8544bb90b8..881accbd53 100644
--- a/main/libdnet/APKBUILD
+++ b/main/libdnet/APKBUILD
@@ -1,6 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libdnet 2pkgname=libdnet
3pkgver=1.12 3pkgver=1.12
4pkgrel=1
4pkgdesc="A simplified, portable interface to several low-level networking routines" 5pkgdesc="A simplified, portable interface to several low-level networking routines"
5url="http://code.google.com/p/libdnet/" 6url="http://code.google.com/p/libdnet/"
6license="BSD" 7license="BSD"
@@ -22,6 +23,10 @@ build ()
22 --without-python 23 --without-python
23 24
24 make || return 1 25 make || return 1
26}
27
28package() {
29 cd "$srcdir"/$pkgname-$pkgver
25 make DESTDIR="$pkgdir" install || return 1 30 make DESTDIR="$pkgdir" install || return 1
26} 31}
27md5sums="9253ef6de1b5e28e9c9a62b882e44cc9 libdnet-1.12.tgz" 32md5sums="9253ef6de1b5e28e9c9a62b882e44cc9 libdnet-1.12.tgz"
diff --git a/main/libdrm/APKBUILD b/main/libdrm/APKBUILD
index 3e265a0095..9138bbf45c 100644
--- a/main/libdrm/APKBUILD
+++ b/main/libdrm/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libdrm 2pkgname=libdrm
3pkgver=2.4.20 3pkgver=2.4.20
4pkgrel=0 4pkgrel=1
5pkgdesc="Userspace interface to kernel DRM services" 5pkgdesc="Userspace interface to kernel DRM services"
6url="http://dri.freedesktop.org/" 6url="http://dri.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/libetpan/APKBUILD b/main/libetpan/APKBUILD
index bf490ed236..8356039e89 100644
--- a/main/libetpan/APKBUILD
+++ b/main/libetpan/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libetpan 2pkgname=libetpan
3pkgver=0.58 3pkgver=1.0
4pkgrel=2 4pkgrel=0
5_dbver=4.8 5_dbver=4.8
6pkgdesc="a portable middleware for email access" 6pkgdesc="a portable middleware for email access"
7url="http://www.etpan.org/" 7url="http://www.etpan.org/"
@@ -15,7 +15,7 @@ source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.t
15build () 15build ()
16{ 16{
17 cd "$srcdir"/$pkgname-$pkgver 17 cd "$srcdir"/$pkgname-$pkgver
18 sed -e "s/db-4.4/db-${_dbver}/g" -i configure || return 1 18# sed -e "s/db-4.4/db-${_dbver}/g" -i configure || return 1
19 ./configure --prefix=/usr \ 19 ./configure --prefix=/usr \
20 --disable-static 20 --disable-static
21 21
@@ -27,4 +27,4 @@ package() {
27 make DESTDIR="$pkgdir" install 27 make DESTDIR="$pkgdir" install
28 install -Dm644 COPYRIGHT "$pkgdir"/usr/share/licenses/$pkgname/license.txt 28 install -Dm644 COPYRIGHT "$pkgdir"/usr/share/licenses/$pkgname/license.txt
29} 29}
30md5sums="bf20b5c0548f06b94bc588afdf5b3436 libetpan-0.58.tar.gz" 30md5sums="5addc766141a0b1d29ee1ca4ba1b6808 libetpan-1.0.tar.gz"
diff --git a/main/libevent/APKBUILD b/main/libevent/APKBUILD
index a90b96781e..f744779856 100644
--- a/main/libevent/APKBUILD
+++ b/main/libevent/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libevent 2pkgname=libevent
3pkgver=1.4.13 3pkgver=1.4.13
4pkgrel=0 4pkgrel=1
5pkgdesc="An event notification library" 5pkgdesc="An event notification library"
6url="http://www.monkey.org/~provos/libevent/" 6url="http://www.monkey.org/~provos/libevent/"
7license="GPL-2" 7license="GPL-2"
diff --git a/main/libexif/APKBUILD b/main/libexif/APKBUILD
index ba829f8b89..83546b1c8e 100644
--- a/main/libexif/APKBUILD
+++ b/main/libexif/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libexif 2pkgname=libexif
3pkgver=0.6.19 3pkgver=0.6.19
4pkgrel=0 4pkgrel=1
5pkgdesc="A library to parse an EXIF file and read the data from those tags" 5pkgdesc="A library to parse an EXIF file and read the data from those tags"
6url="http://sourceforge.net/projects/libexif" 6url="http://sourceforge.net/projects/libexif"
7license="LGPL" 7license="LGPL"
diff --git a/main/libffi/APKBUILD b/main/libffi/APKBUILD
index 3ef7415023..39b3ba3a39 100644
--- a/main/libffi/APKBUILD
+++ b/main/libffi/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libffi 2pkgname=libffi
3pkgver=3.0.9 3pkgver=3.0.9
4pkgrel=0 4pkgrel=1
5pkgdesc="A portable, high level programming interface to various calling conventions." 5pkgdesc="A portable, high level programming interface to various calling conventions."
6url="http://sourceware.org/libffi" 6url="http://sourceware.org/libffi"
7license="MIT" 7license="MIT"
diff --git a/main/libfontenc/APKBUILD b/main/libfontenc/APKBUILD
index 7dac13ea89..e7b1e30b91 100644
--- a/main/libfontenc/APKBUILD
+++ b/main/libfontenc/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libfontenc 2pkgname=libfontenc
3pkgver=1.0.5 3pkgver=1.0.5
4pkgrel=1 4pkgrel=2
5pkgdesc="X11 font encoding library" 5pkgdesc="X11 font encoding library"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/libgcrypt/APKBUILD b/main/libgcrypt/APKBUILD
index 644c2696bb..9f8c2044d9 100644
--- a/main/libgcrypt/APKBUILD
+++ b/main/libgcrypt/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libgcrypt 2pkgname=libgcrypt
3pkgver=1.4.5 3pkgver=1.4.5
4pkgrel=0 4pkgrel=1
5pkgdesc="general purpose crypto library based on the code used in GnuPG" 5pkgdesc="general purpose crypto library based on the code used in GnuPG"
6url="http://www.gnupg.org" 6url="http://www.gnupg.org"
7license="LGPL" 7license="LGPL"
diff --git a/main/libglade/APKBUILD b/main/libglade/APKBUILD
index 3a4b079e39..3b8f67e699 100644
--- a/main/libglade/APKBUILD
+++ b/main/libglade/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libglade 2pkgname=libglade
3pkgver=2.6.4 3pkgver=2.6.4
4pkgrel=1 4pkgrel=2
5pkgdesc="Allows you to load glade interface files in a program at runtime" 5pkgdesc="Allows you to load glade interface files in a program at runtime"
6url="http://www.gnome.org" 6url="http://www.gnome.org"
7license="LGPL" 7license="LGPL"
diff --git a/main/libgpg-error/APKBUILD b/main/libgpg-error/APKBUILD
index 24cac43606..2ae2c026ef 100644
--- a/main/libgpg-error/APKBUILD
+++ b/main/libgpg-error/APKBUILD
@@ -1,11 +1,11 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libgpg-error 2pkgname=libgpg-error
3pkgver=1.7 3pkgver=1.7
4pkgrel=0 4pkgrel=1
5pkgdesc="Support library for libgcrypt" 5pkgdesc="Support library for libgcrypt"
6url="http://www.gnupg.org" 6url="http://www.gnupg.org"
7license="LGPL" 7license="LGPL"
8depends="uclibc" 8depends=""
9subpackages="$pkgname-dev $pkgname-lisp" 9subpackages="$pkgname-dev $pkgname-lisp"
10source="ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$pkgver.tar.bz2 10source="ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$pkgver.tar.bz2
11 nocxx.patch 11 nocxx.patch
diff --git a/main/libgsf/APKBUILD b/main/libgsf/APKBUILD
index ae307f6704..3f34d31504 100644
--- a/main/libgsf/APKBUILD
+++ b/main/libgsf/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libgsf 2pkgname=libgsf
3pkgver=1.14.16 3pkgver=1.14.18
4pkgrel=0 4pkgrel=1
5pkgdesc="The GNOME Structured File Library is a utility library for reading and writing structured file formats." 5pkgdesc="The GNOME Structured File Library is a utility library for reading and writing structured file formats."
6url="http://www.gnome.org/" 6url="http://www.gnome.org/"
7license="GPL LGPL" 7license="GPL LGPL"
@@ -10,7 +10,7 @@ depends=
10makedepends="libxml2-dev glib-dev bzip2-dev intltool python zlib-dev" 10makedepends="libxml2-dev glib-dev bzip2-dev intltool python zlib-dev"
11source="http://ftp.gnome.org/pub/GNOME/sources/$pkgname/1.14/$pkgname-$pkgver.tar.bz2" 11source="http://ftp.gnome.org/pub/GNOME/sources/$pkgname/1.14/$pkgname-$pkgver.tar.bz2"
12 12
13depends_dev="glib-dev libxml2-dev pkgconfig" 13depends_dev="glib-dev bzip2-dev libxml2-dev pkgconfig"
14 14
15build() { 15build() {
16 cd "$srcdir"/$pkgname-$pkgver 16 cd "$srcdir"/$pkgname-$pkgver
@@ -31,4 +31,4 @@ package() {
31 rm -f "$pkgdir"/usr/share/man/man1/gsf-office-thumbnailer.1 31 rm -f "$pkgdir"/usr/share/man/man1/gsf-office-thumbnailer.1
32} 32}
33 33
34md5sums="8478d83fda0b6e57f36550c11a693ee1 libgsf-1.14.16.tar.bz2" 34md5sums="2c15d875b1931c40c7e7a2368f3ed948 libgsf-1.14.18.tar.bz2"
diff --git a/main/libice/APKBUILD b/main/libice/APKBUILD
index 4cf8058d97..5da1d87727 100644
--- a/main/libice/APKBUILD
+++ b/main/libice/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libice 2pkgname=libice
3pkgver=1.0.6 3pkgver=1.0.6
4pkgrel=1 4pkgrel=2
5pkgdesc="X11 Inter-Client Exchange library" 5pkgdesc="X11 Inter-Client Exchange library"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/libiconv/APKBUILD b/main/libiconv/APKBUILD
index 6cd441ca6e..0ad6f62721 100644
--- a/main/libiconv/APKBUILD
+++ b/main/libiconv/APKBUILD
@@ -1,11 +1,11 @@
1# Maintainer: Carlo Landmeter <clandmeter at gmail.com> 1# Maintainer: Carlo Landmeter <clandmeter at gmail.com>
2pkgname=libiconv 2pkgname=libiconv
3pkgver=1.12 3pkgver=1.12
4pkgrel=0 4pkgrel=1
5pkgdesc="GNU charset conversion library for libc which doesn't implement it" 5pkgdesc="GNU charset conversion library for libc which doesn't implement it"
6url="http://www.gnu.org/software/libiconv" 6url="http://www.gnu.org/software/libiconv"
7license='LGPL' 7license='LGPL'
8depends="uclibc" 8depends=""
9source="http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.12.tar.gz" 9source="http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.12.tar.gz"
10subpackages="$pkgname-doc $pkgname-dev" 10subpackages="$pkgname-doc $pkgname-dev"
11 11
diff --git a/main/libid3tag/APKBUILD b/main/libid3tag/APKBUILD
index 9410e353c6..1bd9c9562b 100644
--- a/main/libid3tag/APKBUILD
+++ b/main/libid3tag/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Carlo Landmeter <clandmeter@gmail.com> 2# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
3pkgname=libid3tag 3pkgname=libid3tag
4pkgver=0.15.1b 4pkgver=0.15.1b
5pkgrel=0 5pkgrel=1
6pkgdesc="id3 tagger for mp3" 6pkgdesc="id3 tagger for mp3"
7url="http://www.underbit.com/products/mad/" 7url="http://www.underbit.com/products/mad/"
8license="GPL" 8license="GPL"
diff --git a/main/libidn/APKBUILD b/main/libidn/APKBUILD
index cc4d7af2d6..b684e642bc 100644
--- a/main/libidn/APKBUILD
+++ b/main/libidn/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 2# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
3pkgname=libidn 3pkgname=libidn
4pkgver=1.16 4pkgver=1.16
5pkgrel=0 5pkgrel=1
6pkgdesc="An encode and decode library for internationalized domain names" 6pkgdesc="An encode and decode library for internationalized domain names"
7url="http://www.gnu.org/software/libidn/" 7url="http://www.gnu.org/software/libidn/"
8license="GPL" 8license="GPL"
diff --git a/main/libksba/APKBUILD b/main/libksba/APKBUILD
index ae100b6210..ed719a0e20 100644
--- a/main/libksba/APKBUILD
+++ b/main/libksba/APKBUILD
@@ -1,6 +1,6 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libksba 2pkgname=libksba
3pkgver=1.0.3 3pkgver=1.0.7
4pkgrel=0 4pkgrel=0
5pkgdesc="Libksba is a CMS and X.509 access library" 5pkgdesc="Libksba is a CMS and X.509 access library"
6url="ftp://ftp.gnupg.org/gcrypt/alpha/libksba" 6url="ftp://ftp.gnupg.org/gcrypt/alpha/libksba"
@@ -12,9 +12,12 @@ source="ftp://ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$pkgver.tar.bz2"
12 12
13build () { 13build () {
14 cd "$srcdir"/$pkgname-$pkgver 14 cd "$srcdir"/$pkgname-$pkgver
15
16 ./configure --prefix=/usr 15 ./configure --prefix=/usr
17 make || return 1 16 make || return 1
17}
18
19package() {
20 cd "$srcdir"/$pkgname-$pkgver
18 make DESTDIR="$pkgdir" install 21 make DESTDIR="$pkgdir" install
19} 22}
20md5sums="91682491186d4ed43fff351aab2f5aad libksba-1.0.3.tar.bz2" 23md5sums="eebce521a90600369c33c5fa6b9bbbd8 libksba-1.0.7.tar.bz2"
diff --git a/main/libmad/APKBUILD b/main/libmad/APKBUILD
index 72968faad7..f48894aed1 100644
--- a/main/libmad/APKBUILD
+++ b/main/libmad/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 2# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
3pkgname=libmad 3pkgname=libmad
4pkgver=0.15.1b 4pkgver=0.15.1b
5pkgrel=0 5pkgrel=1
6pkgdesc="A high-quality MPEG audio decoder" 6pkgdesc="A high-quality MPEG audio decoder"
7url="http://www.underbit.com/products/mad/" 7url="http://www.underbit.com/products/mad/"
8license="GPL" 8license="GPL"
diff --git a/main/libmcrypt/APKBUILD b/main/libmcrypt/APKBUILD
index 905d880f6f..76b6948cbc 100644
--- a/main/libmcrypt/APKBUILD
+++ b/main/libmcrypt/APKBUILD
@@ -2,11 +2,11 @@
2# Maintainer: Carlo Landmeter <clandmeter at gmail> 2# Maintainer: Carlo Landmeter <clandmeter at gmail>
3pkgname=libmcrypt 3pkgname=libmcrypt
4pkgver=2.5.8 4pkgver=2.5.8
5pkgrel=0 5pkgrel=1
6pkgdesc="A library which provides a uniform interface to several symmetric encryption algorithms" 6pkgdesc="A library which provides a uniform interface to several symmetric encryption algorithms"
7url="http://mcrypt.sourceforge.net/" 7url="http://mcrypt.sourceforge.net/"
8license="GPL" 8license="GPL"
9depends="uclibc" 9depends=""
10makedepends="libtool uclibc++-dev" 10makedepends="libtool uclibc++-dev"
11install= 11install=
12subpackages="$pkgname-doc $pkgname-dev" 12subpackages="$pkgname-doc $pkgname-dev"
diff --git a/main/libmpdclient/APKBUILD b/main/libmpdclient/APKBUILD
index 4b43958619..81f413e2d4 100644
--- a/main/libmpdclient/APKBUILD
+++ b/main/libmpdclient/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libmpdclient 2pkgname=libmpdclient
3pkgver=2.1 3pkgver=2.1
4pkgrel=0 4pkgrel=1
5pkgdesc="An asynchronous API library for interfacing MPD in the C, C++ & Objective C languages" 5pkgdesc="An asynchronous API library for interfacing MPD in the C, C++ & Objective C languages"
6url="http://mpd.wikia.com/wiki/Client:libmpdclient" 6url="http://mpd.wikia.com/wiki/Client:libmpdclient"
7license="GPL2" 7license="GPL2"
diff --git a/main/libmpeg2/APKBUILD b/main/libmpeg2/APKBUILD
index 15704d0def..e933c8358e 100644
--- a/main/libmpeg2/APKBUILD
+++ b/main/libmpeg2/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libmpeg2 2pkgname=libmpeg2
3pkgver=0.5.1 3pkgver=0.5.1
4pkgrel=1 4pkgrel=2
5pkgdesc="libmpeg2 is a library for decoding MPEG-1 and MPEG-2 video streams." 5pkgdesc="libmpeg2 is a library for decoding MPEG-1 and MPEG-2 video streams."
6url="http://libmpeg2.sourceforge.net/" 6url="http://libmpeg2.sourceforge.net/"
7license="GPL2" 7license="GPL2"
diff --git a/main/libnet/APKBUILD b/main/libnet/APKBUILD
index 8d341b2ed7..558f827b74 100644
--- a/main/libnet/APKBUILD
+++ b/main/libnet/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Your Name <youremail@domain.com> 2# Maintainer: Your Name <youremail@domain.com>
3pkgname=libnet 3pkgname=libnet
4pkgver=1.1.4 4pkgver=1.1.4
5pkgrel=0 5pkgrel=1
6pkgdesc="A generic networking API that provides access to several protocols." 6pkgdesc="A generic networking API that provides access to several protocols."
7url="http://sourceforge.net/projects/libnet-dev/" 7url="http://sourceforge.net/projects/libnet-dev/"
8license="BSD" 8license="BSD"
diff --git a/main/libnetfilter_conntrack/APKBUILD b/main/libnetfilter_conntrack/APKBUILD
index 1262fe4b2d..af9dc280f3 100644
--- a/main/libnetfilter_conntrack/APKBUILD
+++ b/main/libnetfilter_conntrack/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 2# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
3pkgname=libnetfilter_conntrack 3pkgname=libnetfilter_conntrack
4pkgver=0.0.101 4pkgver=0.0.101
5pkgrel=0 5pkgrel=1
6pkgdesc="programming interface (API) to the in-kernel connection tracking state table" 6pkgdesc="programming interface (API) to the in-kernel connection tracking state table"
7url="http://www.netfilter.org/projects/libnetfilter_conntrack/" 7url="http://www.netfilter.org/projects/libnetfilter_conntrack/"
8license="GPL-2" 8license="GPL-2"
diff --git a/main/libnfnetlink/APKBUILD b/main/libnfnetlink/APKBUILD
index 69f887b384..cebfe70a56 100644
--- a/main/libnfnetlink/APKBUILD
+++ b/main/libnfnetlink/APKBUILD
@@ -2,11 +2,11 @@
2# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 2# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
3pkgname=libnfnetlink 3pkgname=libnfnetlink
4pkgver=1.0.0 4pkgver=1.0.0
5pkgrel=0 5pkgrel=1
6pkgdesc="low-level library for netfilter related kernel/userspace communication" 6pkgdesc="low-level library for netfilter related kernel/userspace communication"
7url="http://www.netfilter.org/projects/libnfnetlink/" 7url="http://www.netfilter.org/projects/libnfnetlink/"
8license="GPL-2" 8license="GPL-2"
9depends="uclibc" 9depends=""
10makedepends="" 10makedepends=""
11subpackages="$pkgname-dev" 11subpackages="$pkgname-dev"
12source="http://www.netfilter.org/projects/libnfnetlink/files/libnfnetlink-$pkgver.tar.bz2" 12source="http://www.netfilter.org/projects/libnfnetlink/files/libnfnetlink-$pkgver.tar.bz2"
diff --git a/main/libnl/APKBUILD b/main/libnl/APKBUILD
index 9db755aef1..b63fb044ac 100644
--- a/main/libnl/APKBUILD
+++ b/main/libnl/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libnl 2pkgname=libnl
3pkgver=1.1 3pkgver=1.1
4pkgrel=0 4pkgrel=1
5pkgdesc="Library for applications dealing with netlink sockets" 5pkgdesc="Library for applications dealing with netlink sockets"
6url="http://people.suug.ch/~tgr/libnl" 6url="http://people.suug.ch/~tgr/libnl"
7license="GPL" 7license="GPL"
diff --git a/main/libnotify/APKBUILD b/main/libnotify/APKBUILD
index 788d3b97f1..4d366af473 100644
--- a/main/libnotify/APKBUILD
+++ b/main/libnotify/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libnotify 2pkgname=libnotify
3pkgver=0.4.5 3pkgver=0.4.5
4pkgrel=1 4pkgrel=2
5pkgdesc="Desktop notification library" 5pkgdesc="Desktop notification library"
6url="http://www.galago-project.org/" 6url="http://www.galago-project.org/"
7license="LGPL" 7license="LGPL"
diff --git a/main/libogg/APKBUILD b/main/libogg/APKBUILD
index 13fc7688e1..072f0216e3 100644
--- a/main/libogg/APKBUILD
+++ b/main/libogg/APKBUILD
@@ -3,7 +3,7 @@
3 3
4pkgname=libogg 4pkgname=libogg
5pkgver=1.1.4 5pkgver=1.1.4
6pkgrel=0 6pkgrel=1
7pkgdesc="Ogg bitstream and framing library" 7pkgdesc="Ogg bitstream and framing library"
8url="http://xiph.org/ogg/" 8url="http://xiph.org/ogg/"
9license="as-is" 9license="as-is"
diff --git a/main/liboil/APKBUILD b/main/liboil/APKBUILD
index 57cdaa0e22..11a577a408 100644
--- a/main/liboil/APKBUILD
+++ b/main/liboil/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=liboil 2pkgname=liboil
3pkgver=0.3.17 3pkgver=0.3.17
4pkgrel=0 4pkgrel=1
5pkgdesc="Library of simple functions that are optimized for various CPUs." 5pkgdesc="Library of simple functions that are optimized for various CPUs."
6url="http://liboil.freedesktop.org/" 6url="http://liboil.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/libpaper/APKBUILD b/main/libpaper/APKBUILD
index 9650361f41..5cf53829d7 100644
--- a/main/libpaper/APKBUILD
+++ b/main/libpaper/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libpaper 2pkgname=libpaper
3pkgver=1.1.23 3pkgver=1.1.23
4pkgrel=0 4pkgrel=1
5pkgdesc="Library for handling paper characteristics" 5pkgdesc="Library for handling paper characteristics"
6url="http://packages.debian.org/unstable/source/libpaper" 6url="http://packages.debian.org/unstable/source/libpaper"
7license="GPL" 7license="GPL"
diff --git a/main/libpcap/APKBUILD b/main/libpcap/APKBUILD
index a4a9f7de79..4fc54bbcbd 100644
--- a/main/libpcap/APKBUILD
+++ b/main/libpcap/APKBUILD
@@ -1,34 +1,36 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libpcap 2pkgname=libpcap
3pkgver=1.0.0 3pkgver=1.1.1
4_sover=1.0.0 4_sover=1.0.0
5pkgrel=2 5pkgrel=0
6pkgdesc="A system-independent interface for user-level packet capture" 6pkgdesc="A system-independent interface for user-level packet capture"
7url="http://www.tcpdump.org/" 7url="http://www.tcpdump.org/"
8license="BSD" 8license="BSD"
9depends= 9depends=
10makedepends="bison flex" 10makedepends="bison flex"
11source="http://www.tcpdump.org/release/$pkgname-$pkgver.tar.gz 11source="http://www.tcpdump.org/release/$pkgname-$pkgver.tar.gz
12 $pkgname-1.0.0-LDFLAGS.patch 12 "
13 $pkgname-any.patch"
14subpackages="$pkgname-doc $pkgname-dev" 13subpackages="$pkgname-doc $pkgname-dev"
15 14
16build () 15_builddir="$srcdir"/$pkgname-$pkgver
17{ 16prepare() {
18 cd ${startdir}/src/${pkgname}-${pkgver} 17 cd "$_builddir"
19 for i in ../*.patch; do 18 for i in "$srcdir"/*.patch; do
19 [ -r "$i" ] || continue
20 msg "Applying $i..." 20 msg "Applying $i..."
21 patch -p1 -i $i || return 1 21 patch -p1 -i $i || return 1
22 done 22 done
23}
23 24
25build() {
26 cd "$_builddir"
24 ./configure --prefix=/usr --enable-ipv6 27 ./configure --prefix=/usr --enable-ipv6
25
26 make all shared || return 1 28 make all shared || return 1
29}
30
31package() {
32 cd "$_builddir"
27 mkdir -p "$pkgdir/usr/bin" 33 mkdir -p "$pkgdir/usr/bin"
28 make -j1 DESTDIR="$pkgdir" install install-shared 34 make -j1 DESTDIR="$pkgdir" install install-shared
29 ln -s libpcap.so.$_sover "$pkgdir"/usr/lib/libpcap.so.1
30 ln -s libpcap.so.$_sover "$pkgdir"/usr/lib/libpcap.so
31} 35}
32md5sums="9ad1358c5dec48456405eac197a46d3d libpcap-1.0.0.tar.gz 36md5sums="1bca27d206970badae248cfa471bbb47 libpcap-1.1.1.tar.gz"
332bf7e986980c6e5d99758ba55b48d706 libpcap-1.0.0-LDFLAGS.patch
341e6b01c4f283b497e81e137c3f35e744 libpcap-any.patch"
diff --git a/main/libpcap/libpcap-1.0.0-LDFLAGS.patch b/main/libpcap/libpcap-1.0.0-LDFLAGS.patch
deleted file mode 100644
index b2fe8d6fc1..0000000000
--- a/main/libpcap/libpcap-1.0.0-LDFLAGS.patch
+++ /dev/null
@@ -1,13 +0,0 @@
1=== modified file 'Makefile.in'
2--- a/Makefile.in 2008-11-04 18:53:20 +0000
3+++ b/Makefile.in 2008-11-04 18:53:49 +0000
4@@ -328,7 +328,7 @@
5 #
6 libpcap.so: $(OBJ)
7 @rm -f $@
8- $(CC) -shared -Wl,-soname,$@.1 -o $@.`cat $(srcdir)/VERSION` $(OBJ) $(DAGLIBS)
9+ $(CC) -shared $(LDFLAGS) -Wl,-soname,$@.1 -o $@.`cat $(srcdir)/VERSION` $(OBJ) $(DAGLIBS)
10
11 #
12 # The following rule succeeds, but the result is untested.
13
diff --git a/main/libpcap/libpcap-any.patch b/main/libpcap/libpcap-any.patch
deleted file mode 100644
index 7754513b88..0000000000
--- a/main/libpcap/libpcap-any.patch
+++ /dev/null
@@ -1,157 +0,0 @@
1commit 8fa17a5a554aaeb85d3ec4118b45a31f1efd6808
2Author: guy <guy>
3Date: Wed Nov 19 08:20:39 2008 +0000
4
5 Fix the handling of the "any" device, including making it reject
6 attempts to open it in monitor mode.
7
8diff --git a/pcap-linux.c b/pcap-linux.c
9index 2a92d30..b18c4d2 100644
10--- a/pcap-linux.c
11+++ b/pcap-linux.c
12@@ -297,6 +297,12 @@ pcap_create(const char *device, char *ebuf)
13 {
14 pcap_t *handle;
15
16+ /*
17+ * A null device name is equivalent to the "any" device.
18+ */
19+ if (device == NULL)
20+ device = "any";
21+
22 #ifdef HAVE_DAG_API
23 if (strstr(device, "dag")) {
24 return dag_create(device, ebuf);
25@@ -338,10 +344,9 @@ pcap_can_set_rfmon_linux(pcap_t *p)
26 struct iwreq ireq;
27 #endif
28
29- if (p->opt.source == NULL) {
30+ if (strcmp(p->opt.source, "any") == 0) {
31 /*
32- * This is equivalent to the "any" device, and we don't
33- * support monitor mode on it.
34+ * Monitor mode makes no sense on the "any" device.
35 */
36 return 0;
37 }
38@@ -518,12 +523,11 @@ pcap_activate_linux(pcap_t *handle)
39 handle->stats_op = pcap_stats_linux;
40
41 /*
42- * NULL and "any" are special devices which give us the hint to
43- * monitor all devices.
44+ * The "any" device is a special device which causes us not
45+ * to bind to a particular device and thus to look at all
46+ * devices.
47 */
48- if (!device || strcmp(device, "any") == 0) {
49- device = NULL;
50- handle->md.device = strdup("any");
51+ if (strcmp(device, "any") == 0) {
52 if (handle->opt.promisc) {
53 handle->opt.promisc = 0;
54 /* Just a warning. */
55@@ -531,10 +535,9 @@ pcap_activate_linux(pcap_t *handle)
56 "Promiscuous mode not supported on the \"any\" device");
57 status = PCAP_WARNING_PROMISC_NOTSUP;
58 }
59+ }
60
61- } else
62- handle->md.device = strdup(device);
63-
64+ handle->md.device = strdup(device);
65 if (handle->md.device == NULL) {
66 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "strdup: %s",
67 pcap_strerror(errno) );
68@@ -1657,19 +1660,21 @@ static int
69 activate_new(pcap_t *handle)
70 {
71 #ifdef HAVE_PF_PACKET_SOCKETS
72+ const char *device = handle->opt.source;
73+ int is_any_device = (strcmp(device, "any") == 0);
74 int sock_fd = -1, arptype, val;
75 int err = 0;
76 struct packet_mreq mr;
77- const char* device = handle->opt.source;
78
79 /*
80- * Open a socket with protocol family packet. If a device is
81- * given we try to open it in raw mode otherwise we use
82- * the cooked interface.
83+ * Open a socket with protocol family packet. If the
84+ * "any" device was specified, we open a SOCK_DGRAM
85+ * socket for the cooked interface, otherwise we first
86+ * try a SOCK_RAW socket for the raw interface.
87 */
88- sock_fd = device ?
89- socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL))
90- : socket(PF_PACKET, SOCK_DGRAM, htons(ETH_P_ALL));
91+ sock_fd = is_any_device ?
92+ socket(PF_PACKET, SOCK_DGRAM, htons(ETH_P_ALL)) :
93+ socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL));
94
95 if (sock_fd == -1) {
96 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "socket: %s",
97@@ -1704,7 +1709,7 @@ activate_new(pcap_t *handle)
98 * to cooked mode if we have an unknown interface type
99 * or a type we know doesn't work well in raw mode.
100 */
101- if (device) {
102+ if (!is_any_device) {
103 /* Assume for now we don't need cooked mode. */
104 handle->md.cooked = 0;
105
106@@ -1819,15 +1824,23 @@ activate_new(pcap_t *handle)
107 }
108 } else {
109 /*
110- * This is cooked mode.
111+ * The "any" device.
112+ */
113+ if (handle->opt.rfmon) {
114+ /*
115+ * It doesn't support monitor mode.
116+ */
117+ return PCAP_ERROR_RFMON_NOTSUP;
118+ }
119+
120+ /*
121+ * It uses cooked mode.
122 */
123 handle->md.cooked = 1;
124 handle->linktype = DLT_LINUX_SLL;
125
126 /*
127 * We're not bound to a device.
128- * XXX - true? Or true only if we're using
129- * the "any" device?
130 * For now, we're using this as an indication
131 * that we can't transmit; stop doing that only
132 * if we figure out how to transmit in cooked
133@@ -1852,10 +1865,13 @@ activate_new(pcap_t *handle)
134
135 /*
136 * Hmm, how can we set promiscuous mode on all interfaces?
137- * I am not sure if that is possible at all.
138+ * I am not sure if that is possible at all. For now, we
139+ * silently ignore attempts to turn promiscuous mode on
140+ * for the "any" device (so you don't have to explicitly
141+ * disable it in programs such as tcpdump).
142 */
143
144- if (device && handle->opt.promisc) {
145+ if (!is_any_device && handle->opt.promisc) {
146 memset(&mr, 0, sizeof(mr));
147 mr.mr_ifindex = handle->md.ifindex;
148 mr.mr_type = PACKET_MR_PROMISC;
149@@ -3118,7 +3134,7 @@ activate_old(pcap_t *handle)
150
151 /* Bind to the given device */
152
153- if (!device) {
154+ if (strcmp(device, "any") == 0) {
155 strncpy(handle->errbuf, "pcap_activate: The \"any\" device isn't supported on 2.0[.x]-kernel systems",
156 PCAP_ERRBUF_SIZE);
157 return PCAP_ERROR;
diff --git a/main/libpciaccess/APKBUILD b/main/libpciaccess/APKBUILD
index 1f5e636521..3ca31cda66 100644
--- a/main/libpciaccess/APKBUILD
+++ b/main/libpciaccess/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libpciaccess 2pkgname=libpciaccess
3pkgver=0.11.0 3pkgver=0.11.0
4pkgrel=0 4pkgrel=1
5pkgdesc="X11 PCI access library" 5pkgdesc="X11 PCI access library"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/libpng/APKBUILD b/main/libpng/APKBUILD
index 0f9716798a..70f15d01bc 100644
--- a/main/libpng/APKBUILD
+++ b/main/libpng/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Carlo Landmeter <clandmeter at gmail> 2# Maintainer: Carlo Landmeter <clandmeter at gmail>
3pkgname=libpng 3pkgname=libpng
4pkgver=1.4.1 4pkgver=1.4.1
5pkgrel=0 5pkgrel=1
6pkgdesc="Portable Network Graphics library" 6pkgdesc="Portable Network Graphics library"
7url="http://www.libpng.org/" 7url="http://www.libpng.org/"
8license="GPL" 8license="GPL"
diff --git a/main/libpri/APKBUILD b/main/libpri/APKBUILD
index 05467c5352..4094083a58 100644
--- a/main/libpri/APKBUILD
+++ b/main/libpri/APKBUILD
@@ -3,7 +3,7 @@
3pkgname=libpri 3pkgname=libpri
4pkgver=1.4.11_alpha1 4pkgver=1.4.11_alpha1
5_pkgver=1.4.10.2 5_pkgver=1.4.10.2
6pkgrel=0 6pkgrel=1
7pkgdesc="Primary Rate ISDN (PRI) library" 7pkgdesc="Primary Rate ISDN (PRI) library"
8url="http://www.asterisk.orig" 8url="http://www.asterisk.orig"
9license="GPL" 9license="GPL"
diff --git a/main/libpthread-stubs/APKBUILD b/main/libpthread-stubs/APKBUILD
index 7ca630b435..843e47958e 100644
--- a/main/libpthread-stubs/APKBUILD
+++ b/main/libpthread-stubs/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libpthread-stubs 2pkgname=libpthread-stubs
3pkgver=0.3 3pkgver=0.3
4pkgrel=0 4pkgrel=1
5pkgdesc="Pthread functions stubs for platforms missing them" 5pkgdesc="Pthread functions stubs for platforms missing them"
6url="http://cgit.freedesktop.org/xcb/pthread-stubs" 6url="http://cgit.freedesktop.org/xcb/pthread-stubs"
7license="X11" 7license="X11"
diff --git a/main/librsvg/APKBUILD b/main/librsvg/APKBUILD
index 49b474f294..db58871110 100644
--- a/main/librsvg/APKBUILD
+++ b/main/librsvg/APKBUILD
@@ -1,6 +1,6 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=librsvg 2pkgname=librsvg
3pkgver=2.26.2 3pkgver=2.26.3
4pkgrel=0 4pkgrel=0
5pkgdesc="SAX-based renderer for SVG files into a GdkPixbuf" 5pkgdesc="SAX-based renderer for SVG files into a GdkPixbuf"
6url="http://librsvg.sourceforge.net/" 6url="http://librsvg.sourceforge.net/"
@@ -31,4 +31,4 @@ package() {
31 rm -rf "$pkgdir"/usr/lib/mozilla 31 rm -rf "$pkgdir"/usr/lib/mozilla
32} 32}
33 33
34md5sums="6bb1993f9180176e45d6084089f47aa8 librsvg-2.26.2.tar.bz2" 34md5sums="8df68c2c02cdf2a96a92b43bf737bf9c librsvg-2.26.3.tar.bz2"
diff --git a/main/libsamplerate/APKBUILD b/main/libsamplerate/APKBUILD
index 786d6c1e9a..71b38fb354 100644
--- a/main/libsamplerate/APKBUILD
+++ b/main/libsamplerate/APKBUILD
@@ -1,12 +1,12 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libsamplerate 2pkgname=libsamplerate
3pkgver=0.1.7 3pkgver=0.1.7
4pkgrel=0 4pkgrel=1
5pkgdesc="Secret Rabbit Code - aka Sample Rate Converter for audio" 5pkgdesc="Secret Rabbit Code - aka Sample Rate Converter for audio"
6url="http://www.mega-nerd.com/SRC/index.html" 6url="http://www.mega-nerd.com/SRC/index.html"
7subpackages="$pkgname-dev" 7subpackages="$pkgname-dev"
8license="GPL" 8license="GPL"
9depends="uclibc" 9depends=""
10source="http://www.mega-nerd.com/SRC/$pkgname-$pkgver.tar.gz" 10source="http://www.mega-nerd.com/SRC/$pkgname-$pkgver.tar.gz"
11 11
12build () { 12build () {
diff --git a/main/libsexy/APKBUILD b/main/libsexy/APKBUILD
index 64488a0ad9..ad2f441bd5 100644
--- a/main/libsexy/APKBUILD
+++ b/main/libsexy/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libsexy 2pkgname=libsexy
3pkgver=0.1.11 3pkgver=0.1.11
4pkgrel=0 4pkgrel=1
5pkgdesc="Doing naughty things to good widgets." 5pkgdesc="Doing naughty things to good widgets."
6url="http://chipx86.com/wiki/Libsexy" 6url="http://chipx86.com/wiki/Libsexy"
7license="GPL" 7license="GPL"
diff --git a/main/libsm/APKBUILD b/main/libsm/APKBUILD
index 9f17e18a8d..63a7303c57 100644
--- a/main/libsm/APKBUILD
+++ b/main/libsm/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libsm 2pkgname=libsm
3pkgver=1.1.1 3pkgver=1.1.1
4pkgrel=0 4pkgrel=1
5pkgdesc="X11 Session Management library" 5pkgdesc="X11 Session Management library"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/libsndfile/APKBUILD b/main/libsndfile/APKBUILD
index edfb932853..b315291db5 100644
--- a/main/libsndfile/APKBUILD
+++ b/main/libsndfile/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libsndfile 2pkgname=libsndfile
3pkgver=1.0.21 3pkgver=1.0.21
4pkgrel=0 4pkgrel=1
5pkgdesc="A C library for reading and writing files containing sampled sound" 5pkgdesc="A C library for reading and writing files containing sampled sound"
6url="http://www.mega-nerd.com/libsndfile" 6url="http://www.mega-nerd.com/libsndfile"
7license="LGPL" 7license="LGPL"
diff --git a/main/libsoup/APKBUILD b/main/libsoup/APKBUILD
index ee3f8fd817..66a25b5af6 100644
--- a/main/libsoup/APKBUILD
+++ b/main/libsoup/APKBUILD
@@ -1,6 +1,6 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libsoup 2pkgname=libsoup
3pkgver=2.30.0 3pkgver=2.30.1
4pkgrel=0 4pkgrel=0
5pkgdesc="Gnome HTTP Library" 5pkgdesc="Gnome HTTP Library"
6url="http://www.gnome.org" 6url="http://www.gnome.org"
@@ -27,4 +27,4 @@ package() {
27 cd "$srcdir"/$pkgname-$pkgver 27 cd "$srcdir"/$pkgname-$pkgver
28 make DESTDIR="$pkgdir" install || return 1 28 make DESTDIR="$pkgdir" install || return 1
29} 29}
30md5sums="2d18154b869da541c2c0909b443f053a libsoup-2.30.0.tar.bz2" 30md5sums="d80fb560a72370fba347785b00a750fb libsoup-2.30.1.tar.bz2"
diff --git a/main/libspf2/APKBUILD b/main/libspf2/APKBUILD
index da5ba38415..b09ea23d6d 100644
--- a/main/libspf2/APKBUILD
+++ b/main/libspf2/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libspf2 2pkgname=libspf2
3pkgver=1.2.9 3pkgver=1.2.9
4pkgrel=1 4pkgrel=2
5pkgdesc="Sender Policy Framework library, a part of the SPF/SRS protocol pair." 5pkgdesc="Sender Policy Framework library, a part of the SPF/SRS protocol pair."
6url="http://www.libspf2.org" 6url="http://www.libspf2.org"
7license="LGPL-2.1 BSD-2" 7license="LGPL-2.1 BSD-2"
diff --git a/main/libtasn1/APKBUILD b/main/libtasn1/APKBUILD
index 88a2964e1e..84b9653276 100644
--- a/main/libtasn1/APKBUILD
+++ b/main/libtasn1/APKBUILD
@@ -1,6 +1,6 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libtasn1 2pkgname=libtasn1
3pkgver=2.5 3pkgver=2.6
4pkgrel=0 4pkgrel=0
5pkgdesc="The ASN.1 library used in GNUTLS" 5pkgdesc="The ASN.1 library used in GNUTLS"
6url="http://www.gnu.org/software/gnutls/" 6url="http://www.gnu.org/software/gnutls/"
@@ -22,4 +22,4 @@ package() {
22 cd "$_builddir" 22 cd "$_builddir"
23 make DESTDIR="$pkgdir" install || return 1 23 make DESTDIR="$pkgdir" install || return 1
24} 24}
25md5sums="e60b863697713c3d6a59b1e8c6f9b0d1 libtasn1-2.5.tar.gz" 25md5sums="d410671e13038324336917ceed7470a5 libtasn1-2.6.tar.gz"
diff --git a/main/libtheora/APKBUILD b/main/libtheora/APKBUILD
index f17b0e8ac6..d608d36150 100644
--- a/main/libtheora/APKBUILD
+++ b/main/libtheora/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libtheora 2pkgname=libtheora
3pkgver=1.1.1 3pkgver=1.1.1
4pkgrel=1 4pkgrel=2
5pkgdesc="An open video codec developed by the Xiph.org" 5pkgdesc="An open video codec developed by the Xiph.org"
6url="http://www.xiph.org" 6url="http://www.xiph.org"
7license="custom" 7license="custom"
diff --git a/main/libtool/APKBUILD b/main/libtool/APKBUILD
index f82cdc7ea2..6741c58dfd 100644
--- a/main/libtool/APKBUILD
+++ b/main/libtool/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: judd <jvinet@zeroflux.org> 1# Maintainer: judd <jvinet@zeroflux.org>
2pkgname=libtool 2pkgname=libtool
3pkgver=2.2.6b 3pkgver=2.2.6b
4pkgrel=0 4pkgrel=1
5pkgdesc="A generic library support script" 5pkgdesc="A generic library support script"
6license='GPL' 6license='GPL'
7url="http://www.gnu.org/software/libtool" 7url="http://www.gnu.org/software/libtool"
diff --git a/main/libusb-compat/APKBUILD b/main/libusb-compat/APKBUILD
index 23e16cfa57..d9ac9a0b04 100644
--- a/main/libusb-compat/APKBUILD
+++ b/main/libusb-compat/APKBUILD
@@ -1,20 +1,23 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libusb-compat 2pkgname=libusb-compat
3pkgver=0.1.0 3pkgver=0.1.0
4pkgrel=0 4pkgrel=1
5pkgdesc="Compatility for older libusb" 5pkgdesc="Compatility for older libusb"
6url="http://libusb.sourceforge.net/" 6url="http://libusb.sourceforge.net/"
7license="LGPL" 7license="LGPL"
8subpackages="$pkgname-dev" 8subpackages="$pkgname-dev"
9depends="uclibc libusb" 9depends=
10makedepends="libusb-dev" 10makedepends="libusb-dev"
11source="http://downloads.sourceforge.net/libusb/$pkgname-$pkgver.tar.bz2" 11source="http://downloads.sourceforge.net/libusb/$pkgname-$pkgver.tar.bz2"
12 12
13build () 13build() {
14{
15 cd "$srcdir"/$pkgname-$pkgver 14 cd "$srcdir"/$pkgname-$pkgver
16 ./configure --prefix=/usr --disable-build-docs 15 ./configure --prefix=/usr --disable-build-docs
17 make || return 1 16 make || return 1
17}
18
19package() {
20 cd "$srcdir"/$pkgname-$pkgver
18 make DESTDIR="$pkgdir" install 21 make DESTDIR="$pkgdir" install
19} 22}
20md5sums="652e1d9e6c6912fd924a5ad204f6d48b libusb-compat-0.1.0.tar.bz2" 23md5sums="652e1d9e6c6912fd924a5ad204f6d48b libusb-compat-0.1.0.tar.bz2"
diff --git a/main/libusb/APKBUILD b/main/libusb/APKBUILD
index 7234ad31df..a9146298d1 100644
--- a/main/libusb/APKBUILD
+++ b/main/libusb/APKBUILD
@@ -1,12 +1,12 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libusb 2pkgname=libusb
3pkgver=1.0.1 3pkgver=1.0.1
4pkgrel=0 4pkgrel=1
5pkgdesc="Library to enable user space application programs to communicate with USB devices" 5pkgdesc="Library to enable user space application programs to communicate with USB devices"
6url="http://libusb.sourceforge.net/" 6url="http://libusb.sourceforge.net/"
7license="LGPL" 7license="LGPL"
8subpackages="$pkgname-dev" 8subpackages="$pkgname-dev"
9depends="uclibc" 9depends=""
10makedepends="" 10makedepends=""
11source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2" 11source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2"
12 12
diff --git a/main/libvorbis/APKBUILD b/main/libvorbis/APKBUILD
index 07c2fc4d00..8296416768 100644
--- a/main/libvorbis/APKBUILD
+++ b/main/libvorbis/APKBUILD
@@ -1,6 +1,6 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libvorbis 2pkgname=libvorbis
3pkgver=1.2.3 3pkgver=1.3.1
4pkgrel=0 4pkgrel=0
5pkgdesc="Vorbis codec library" 5pkgdesc="Vorbis codec library"
6url="http://www.xiph.org/ogg/vorbis/" 6url="http://www.xiph.org/ogg/vorbis/"
@@ -17,7 +17,11 @@ build ()
17 ./configure --prefix=/usr \ 17 ./configure --prefix=/usr \
18 --disable-static || return 1 18 --disable-static || return 1
19 make || return 1 19 make || return 1
20}
21
22package() {
23 cd "$srcdir"/$pkgname-$pkgver
20 make DESTDIR="$pkgdir" install || return 1 24 make DESTDIR="$pkgdir" install || return 1
21 install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING 25 install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
22} 26}
23md5sums="5aa77f55c0e0aab8eb8ed982335daac8 libvorbis-1.2.3.tar.gz" 27md5sums="016e523fac70bdd786258a9d15fd36e9 libvorbis-1.3.1.tar.gz"
diff --git a/main/libwnck/APKBUILD b/main/libwnck/APKBUILD
index 172e1d0e18..b6977f82eb 100644
--- a/main/libwnck/APKBUILD
+++ b/main/libwnck/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libwnck 2pkgname=libwnck
3pkgver=2.30.0 3pkgver=2.30.0
4pkgrel=0 4pkgrel=1
5pkgdesc="Window Navigator Construction Kit" 5pkgdesc="Window Navigator Construction Kit"
6url="http://www.gnome.org/" 6url="http://www.gnome.org/"
7license="LGPL" 7license="LGPL"
diff --git a/main/libx11/APKBUILD b/main/libx11/APKBUILD
index 78db7ccf2e..93dd4442b4 100644
--- a/main/libx11/APKBUILD
+++ b/main/libx11/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libx11 2pkgname=libx11
3pkgver=1.3.3 3pkgver=1.3.3
4pkgrel=0 4pkgrel=1
5pkgdesc="X11 client-side library" 5pkgdesc="X11 client-side library"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom:XFREE86" 7license="custom:XFREE86"
diff --git a/main/libxau/APKBUILD b/main/libxau/APKBUILD
index c6b7990630..888eb7ddd6 100644
--- a/main/libxau/APKBUILD
+++ b/main/libxau/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libxau 2pkgname=libxau
3pkgver=1.0.5 3pkgver=1.0.5
4pkgrel=0 4pkgrel=1
5pkgdesc="X11 authorisation library" 5pkgdesc="X11 authorisation library"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/libxcb/APKBUILD b/main/libxcb/APKBUILD
index a1b30a3519..6086b38d9e 100644
--- a/main/libxcb/APKBUILD
+++ b/main/libxcb/APKBUILD
@@ -1,11 +1,11 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libxcb 2pkgname=libxcb
3pkgver=1.5 3pkgver=1.6
4pkgrel=0 4pkgrel=0
5pkgdesc="X11 client-side library" 5pkgdesc="X11 client-side library"
6url="http://xcb.freedesktop.org/" 6url="http://xcb.freedesktop.org/"
7license="custom" 7license="custom"
8depends="xcb-proto>=1.6" 8depends="xcb-proto"
9subpackages="$pkgname-dev $pkgname-doc" 9subpackages="$pkgname-dev $pkgname-doc"
10makedepends="libxdmcp-dev libxau-dev libxslt libpthread-stubs pkgconfig python" 10makedepends="libxdmcp-dev libxau-dev libxslt libpthread-stubs pkgconfig python"
11source="http://xcb.freedesktop.org/dist/$pkgname-$pkgver.tar.bz2 11source="http://xcb.freedesktop.org/dist/$pkgname-$pkgver.tar.bz2
@@ -24,4 +24,4 @@ package() {
24 make DESTDIR="$pkgdir" install || return 1 24 make DESTDIR="$pkgdir" install || return 1
25 install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING 25 install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
26} 26}
27md5sums="d19c0ba6ba42ebccd3d62d8bb147b551 libxcb-1.5.tar.bz2" 27md5sums="cba9f6d1137ef00d9b326726d0bab6fd libxcb-1.6.tar.bz2"
diff --git a/main/libxcomposite/APKBUILD b/main/libxcomposite/APKBUILD
index f2e48a9116..cad8427388 100644
--- a/main/libxcomposite/APKBUILD
+++ b/main/libxcomposite/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libxcomposite 2pkgname=libxcomposite
3pkgver=0.4.1 3pkgver=0.4.1
4pkgrel=0 4pkgrel=1
5pkgdesc="X11 Composite extension library" 5pkgdesc="X11 Composite extension library"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/libxcursor/APKBUILD b/main/libxcursor/APKBUILD
index bc9e33d4c3..2a83e866bf 100644
--- a/main/libxcursor/APKBUILD
+++ b/main/libxcursor/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libxcursor 2pkgname=libxcursor
3pkgver=1.1.10 3pkgver=1.1.10
4pkgrel=1 4pkgrel=2
5pkgdesc="X cursor management library" 5pkgdesc="X cursor management library"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/libxdamage/APKBUILD b/main/libxdamage/APKBUILD
index bf58651c00..338e425c73 100644
--- a/main/libxdamage/APKBUILD
+++ b/main/libxdamage/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libxdamage 2pkgname=libxdamage
3pkgver=1.1.2 3pkgver=1.1.2
4pkgrel=1 4pkgrel=2
5pkgdesc="X11 damaged region extension library" 5pkgdesc="X11 damaged region extension library"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/libxdmcp/APKBUILD b/main/libxdmcp/APKBUILD
index f61c9e486b..2c6e7e823d 100644
--- a/main/libxdmcp/APKBUILD
+++ b/main/libxdmcp/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libxdmcp 2pkgname=libxdmcp
3pkgver=1.0.3 3pkgver=1.0.3
4pkgrel=0 4pkgrel=1
5pkgdesc="X11 Display Manager Control Protocol library" 5pkgdesc="X11 Display Manager Control Protocol library"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/libxext/APKBUILD b/main/libxext/APKBUILD
index dbfb1b26da..87d7d248e3 100644
--- a/main/libxext/APKBUILD
+++ b/main/libxext/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libxext 2pkgname=libxext
3pkgver=1.1.1 3pkgver=1.1.1
4pkgrel=0 4pkgrel=1
5pkgdesc="X11 miscellaneous extensions library" 5pkgdesc="X11 miscellaneous extensions library"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/libxfce4menu/APKBUILD b/main/libxfce4menu/APKBUILD
index 4620483f79..ad6a5fd142 100644
--- a/main/libxfce4menu/APKBUILD
+++ b/main/libxfce4menu/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libxfce4menu 2pkgname=libxfce4menu
3pkgver=4.6.1 3pkgver=4.6.1
4pkgrel=0 4pkgrel=1
5pkgdesc="a freedesktop.org compliant menu implementation for Xfce" 5pkgdesc="a freedesktop.org compliant menu implementation for Xfce"
6url="http://www.xfce.org/" 6url="http://www.xfce.org/"
7license="GPL-2" 7license="GPL-2"
diff --git a/main/libxfce4util/APKBUILD b/main/libxfce4util/APKBUILD
index 7cfbd769d2..401698b6b7 100644
--- a/main/libxfce4util/APKBUILD
+++ b/main/libxfce4util/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libxfce4util 2pkgname=libxfce4util
3pkgver=4.6.1 3pkgver=4.6.1
4pkgrel=1 4pkgrel=2
5pkgdesc="Basic utility non-GUI functions for Xfce" 5pkgdesc="Basic utility non-GUI functions for Xfce"
6url="http://www.xfce.org/" 6url="http://www.xfce.org/"
7license="GPL-2" 7license="GPL-2"
diff --git a/main/libxfcegui4/APKBUILD b/main/libxfcegui4/APKBUILD
index efb4c4d0f2..620ee6cd20 100644
--- a/main/libxfcegui4/APKBUILD
+++ b/main/libxfcegui4/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libxfcegui4 2pkgname=libxfcegui4
3pkgver=4.6.3 3pkgver=4.6.3
4pkgrel=0 4pkgrel=1
5pkgdesc="Basic GUI functions for Xfce" 5pkgdesc="Basic GUI functions for Xfce"
6url="http://www.xfce.org/" 6url="http://www.xfce.org/"
7license="GPL2" 7license="GPL2"
diff --git a/main/libxfixes/APKBUILD b/main/libxfixes/APKBUILD
index 87e81e1b07..6e15f2c154 100644
--- a/main/libxfixes/APKBUILD
+++ b/main/libxfixes/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libxfixes 2pkgname=libxfixes
3pkgver=4.0.4 3pkgver=4.0.4
4pkgrel=0 4pkgrel=1
5pkgdesc="X11 miscellaneous 'fixes' extension library" 5pkgdesc="X11 miscellaneous 'fixes' extension library"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/libxfont/APKBUILD b/main/libxfont/APKBUILD
index f8a2bb2509..3ce3622ef8 100644
--- a/main/libxfont/APKBUILD
+++ b/main/libxfont/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libxfont 2pkgname=libxfont
3pkgver=1.4.1 3pkgver=1.4.1
4pkgrel=0 4pkgrel=1
5pkgdesc="X11 font rasterisation library" 5pkgdesc="X11 font rasterisation library"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/libxft/APKBUILD b/main/libxft/APKBUILD
index 43b5a3c077..c9bcb99b86 100644
--- a/main/libxft/APKBUILD
+++ b/main/libxft/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libxft 2pkgname=libxft
3pkgver=2.1.14 3pkgver=2.1.14
4pkgrel=1 4pkgrel=2
5pkgdesc="FreeType-based font drawing library for X" 5pkgdesc="FreeType-based font drawing library for X"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/libxi/APKBUILD b/main/libxi/APKBUILD
index 21fd77cec0..4f02be89c5 100644
--- a/main/libxi/APKBUILD
+++ b/main/libxi/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libxi 2pkgname=libxi
3pkgver=1.3 3pkgver=1.3
4pkgrel=1 4pkgrel=2
5pkgdesc="X11 Input extension library" 5pkgdesc="X11 Input extension library"
6url="http://xorg.freedesktop.org" 6url="http://xorg.freedesktop.org"
7license="custom" 7license="custom"
diff --git a/main/libxinerama/APKBUILD b/main/libxinerama/APKBUILD
index 589994d1bf..f0ea405cc8 100644
--- a/main/libxinerama/APKBUILD
+++ b/main/libxinerama/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libxinerama 2pkgname=libxinerama
3pkgver=1.1 3pkgver=1.1
4pkgrel=1 4pkgrel=2
5pkgdesc="X11 Xinerama extension library" 5pkgdesc="X11 Xinerama extension library"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/libxkbfile/APKBUILD b/main/libxkbfile/APKBUILD
index 1298aed047..10aed96159 100644
--- a/main/libxkbfile/APKBUILD
+++ b/main/libxkbfile/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libxkbfile 2pkgname=libxkbfile
3pkgver=1.0.6 3pkgver=1.0.6
4pkgrel=1 4pkgrel=2
5pkgdesc="X11 keyboard file manipulation library" 5pkgdesc="X11 keyboard file manipulation library"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/libxkbui/APKBUILD b/main/libxkbui/APKBUILD
index e585174abb..eb53261bfb 100644
--- a/main/libxkbui/APKBUILD
+++ b/main/libxkbui/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libxkbui 2pkgname=libxkbui
3pkgver=1.0.2 3pkgver=1.0.2
4pkgrel=1 4pkgrel=2
5pkgdesc="X11 keyboard UI presentation library" 5pkgdesc="X11 keyboard UI presentation library"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/libxklavier/APKBUILD b/main/libxklavier/APKBUILD
index adbce6f677..65f66aead1 100644
--- a/main/libxklavier/APKBUILD
+++ b/main/libxklavier/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libxklavier 2pkgname=libxklavier
3pkgver=5.0 3pkgver=5.0
4pkgrel=0 4pkgrel=1
5pkgdesc="High-level API for X Keyboard Extension" 5pkgdesc="High-level API for X Keyboard Extension"
6url="http://gswitchit.sourceforge.net" 6url="http://gswitchit.sourceforge.net"
7license="LGPL" 7license="LGPL"
diff --git a/main/libxml2/APKBUILD b/main/libxml2/APKBUILD
index 58514b1eac..6c314eb567 100644
--- a/main/libxml2/APKBUILD
+++ b/main/libxml2/APKBUILD
@@ -1,8 +1,8 @@
1# Contributor: Carlo Landmeter <clandmeter at gmail> 1# Contributor: Carlo Landmeter <clandmeter at gmail>
2# Maintainer: Carlo Landmeter <clandmeter at gmail> 2# Maintainer: Carlo Landmeter <clandmeter at gmail>
3pkgname=libxml2 3pkgname=libxml2
4pkgver=2.7.6 4pkgver=2.7.7
5pkgrel=2 5pkgrel=0
6pkgdesc="XML parsing library, version 2" 6pkgdesc="XML parsing library, version 2"
7url="http://www.xmlsoft.org/" 7url="http://www.xmlsoft.org/"
8license="MIT" 8license="MIT"
@@ -10,8 +10,7 @@ depends=
10makedepends="zlib-dev python-dev" 10makedepends="zlib-dev python-dev"
11subpackages="$pkgname-doc $pkgname-dev py-$pkgname:py" 11subpackages="$pkgname-doc $pkgname-dev py-$pkgname:py"
12source="ftp://ftp.xmlsoft.org/${pkgname}/${pkgname}-${pkgver}.tar.gz 12source="ftp://ftp.xmlsoft.org/${pkgname}/${pkgname}-${pkgver}.tar.gz
13 largefile64.patch 13 largefile64.patch"
14 zlib.patch"
15 14
16options="!strip" 15options="!strip"
17 16
@@ -46,6 +45,5 @@ py() {
46} 45}
47 46
48 47
49md5sums="7740a8ec23878a2f50120e1faa2730f2 libxml2-2.7.6.tar.gz 48md5sums="9abc9959823ca9ff904f1fbcf21df066 libxml2-2.7.7.tar.gz
505ad4915665608ebfa5b89f7908467a72 largefile64.patch 495ad4915665608ebfa5b89f7908467a72 largefile64.patch"
510365d5397164b8739219e56e5ca069d1 zlib.patch"
diff --git a/main/libxml2/zlib.patch b/main/libxml2/zlib.patch
deleted file mode 100644
index 4bf486d127..0000000000
--- a/main/libxml2/zlib.patch
+++ /dev/null
@@ -1,32 +0,0 @@
1From a7e79f28689c574e0bbef17f4cb3da00249181ff Mon Sep 17 00:00:00 2001
2From: Mark Adler <madler@alumni.caltech.edu>
3Date: Tue, 19 Jan 2010 15:28:48 +0000
4Subject: libxml violates the zlib interface and crashes
5
6* xmlIO.c: remove an abuse of zlib API and use a clean interface
7 available in zlib >= 1.2.3
8---
9diff --git a/xmlIO.c b/xmlIO.c
10index c03ac43..8fc00e3 100644
11--- a/xmlIO.c
12+++ b/xmlIO.c
13@@ -2518,6 +2518,9 @@ __xmlParserInputBufferCreateFilename(const char *URI, xmlCharEncoding enc) {
14 #ifdef HAVE_ZLIB_H
15 if ((xmlInputCallbackTable[i].opencallback == xmlGzfileOpen) &&
16 (strcmp(URI, "-") != 0)) {
17+#if defined(ZLIB_VERNUM) && ZLIB_VERNUM >= 0x1230
18+ ret->compressed = !gzdirect(context);
19+#else
20 if (((z_stream *)context)->avail_in > 4) {
21 char *cptr, buff4[4];
22 cptr = (char *) ((z_stream *)context)->next_in;
23@@ -2529,6 +2532,7 @@ __xmlParserInputBufferCreateFilename(const char *URI, xmlCharEncoding enc) {
24 gzrewind(context);
25 }
26 }
27+#endif
28 }
29 #endif
30 }
31--
32cgit v0.8.3.1
diff --git a/main/libxmu/APKBUILD b/main/libxmu/APKBUILD
index 13343d781f..fb55cfa9ce 100644
--- a/main/libxmu/APKBUILD
+++ b/main/libxmu/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libxmu 2pkgname=libxmu
3pkgver=1.0.5 3pkgver=1.0.5
4pkgrel=0 4pkgrel=1
5pkgdesc="X11 miscellaneous micro-utility library" 5pkgdesc="X11 miscellaneous micro-utility library"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/libxpm/APKBUILD b/main/libxpm/APKBUILD
index d1be1b7372..cb970fef79 100644
--- a/main/libxpm/APKBUILD
+++ b/main/libxpm/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libxpm 2pkgname=libxpm
3pkgver=3.5.8 3pkgver=3.5.8
4pkgrel=1 4pkgrel=2
5pkgdesc="X11 pixmap library" 5pkgdesc="X11 pixmap library"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom:BELL" 7license="custom:BELL"
diff --git a/main/libxrandr/APKBUILD b/main/libxrandr/APKBUILD
index e261af4f49..e433acc2b1 100644
--- a/main/libxrandr/APKBUILD
+++ b/main/libxrandr/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libxrandr 2pkgname=libxrandr
3pkgver=1.3.0 3pkgver=1.3.0
4pkgrel=1 4pkgrel=2
5pkgdesc="X11 RandR extension library" 5pkgdesc="X11 RandR extension library"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/libxrender/APKBUILD b/main/libxrender/APKBUILD
index dc11755330..293610e2a4 100644
--- a/main/libxrender/APKBUILD
+++ b/main/libxrender/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libxrender 2pkgname=libxrender
3pkgver=0.9.5 3pkgver=0.9.5
4pkgrel=1 4pkgrel=2
5pkgdesc="X Rendering Extension client library" 5pkgdesc="X Rendering Extension client library"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/libxres/APKBUILD b/main/libxres/APKBUILD
index f446812fd0..cc654c8b42 100644
--- a/main/libxres/APKBUILD
+++ b/main/libxres/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libxres 2pkgname=libxres
3pkgver=1.0.4 3pkgver=1.0.4
4pkgrel=0 4pkgrel=1
5pkgdesc="X11 Resource extension library" 5pkgdesc="X11 Resource extension library"
6url="http://xorg.freedesktop.org" 6url="http://xorg.freedesktop.org"
7license="custom" 7license="custom"
diff --git a/main/libxslt/APKBUILD b/main/libxslt/APKBUILD
index 32353ba5ed..c4c9add3dc 100644
--- a/main/libxslt/APKBUILD
+++ b/main/libxslt/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libxslt 2pkgname=libxslt
3pkgver=1.1.26 3pkgver=1.1.26
4pkgrel=1 4pkgrel=2
5pkgdesc="XML stylesheet transformation library" 5pkgdesc="XML stylesheet transformation library"
6url="http://xmlsoft.org/XSLT/" 6url="http://xmlsoft.org/XSLT/"
7license="custom" 7license="custom"
diff --git a/main/libxt/APKBUILD b/main/libxt/APKBUILD
index db0401e5d5..3bf47fe64f 100644
--- a/main/libxt/APKBUILD
+++ b/main/libxt/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libxt 2pkgname=libxt
3pkgver=1.0.8 3pkgver=1.0.8
4pkgrel=0 4pkgrel=1
5pkgdesc="X11 toolkit intrinsics library" 5pkgdesc="X11 toolkit intrinsics library"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/libxtst/APKBUILD b/main/libxtst/APKBUILD
index c1e9c4b60a..37eac75472 100644
--- a/main/libxtst/APKBUILD
+++ b/main/libxtst/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libxtst 2pkgname=libxtst
3pkgver=1.1.0 3pkgver=1.1.0
4pkgrel=0 4pkgrel=1
5pkgdesc="X11 Testing -- Resource extension library" 5pkgdesc="X11 Testing -- Resource extension library"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/libxv/APKBUILD b/main/libxv/APKBUILD
index ca40f7fd16..c007003195 100644
--- a/main/libxv/APKBUILD
+++ b/main/libxv/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libxv 2pkgname=libxv
3pkgver=1.0.5 3pkgver=1.0.5
4pkgrel=1 4pkgrel=2
5pkgdesc="X11 Video extension library" 5pkgdesc="X11 Video extension library"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/libxvmc/APKBUILD b/main/libxvmc/APKBUILD
index 3233ba405e..871d1892bd 100644
--- a/main/libxvmc/APKBUILD
+++ b/main/libxvmc/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libxvmc 2pkgname=libxvmc
3pkgver=1.0.5 3pkgver=1.0.5
4pkgrel=1 4pkgrel=2
5pkgdesc="X11 Video Motion Compensation extension library" 5pkgdesc="X11 Video Motion Compensation extension library"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/libxxf86dga/APKBUILD b/main/libxxf86dga/APKBUILD
index 5ac4686604..238e7612e4 100644
--- a/main/libxxf86dga/APKBUILD
+++ b/main/libxxf86dga/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libxxf86dga 2pkgname=libxxf86dga
3pkgver=1.1.1 3pkgver=1.1.1
4pkgrel=1 4pkgrel=2
5pkgdesc="X11 Direct Graphics Access extension library" 5pkgdesc="X11 Direct Graphics Access extension library"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/libxxf86misc/APKBUILD b/main/libxxf86misc/APKBUILD
index aa644d1805..c6dd2cb024 100644
--- a/main/libxxf86misc/APKBUILD
+++ b/main/libxxf86misc/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libxxf86misc 2pkgname=libxxf86misc
3pkgver=1.0.2 3pkgver=1.0.2
4pkgrel=1 4pkgrel=2
5pkgdesc="X11 XFree86 miscellaneous extension library" 5pkgdesc="X11 XFree86 miscellaneous extension library"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/libxxf86vm/APKBUILD b/main/libxxf86vm/APKBUILD
index 1a7ebc4fda..87fe594de1 100644
--- a/main/libxxf86vm/APKBUILD
+++ b/main/libxxf86vm/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libxxf86vm 2pkgname=libxxf86vm
3pkgver=1.1.0 3pkgver=1.1.0
4pkgrel=1 4pkgrel=2
5pkgdesc="X11 XFree86 video mode extension library" 5pkgdesc="X11 XFree86 video mode extension library"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/lighttpd/APKBUILD b/main/lighttpd/APKBUILD
index 44125b0e94..5c03ed55a0 100644
--- a/main/lighttpd/APKBUILD
+++ b/main/lighttpd/APKBUILD
@@ -2,7 +2,7 @@
2pkgname=lighttpd 2pkgname=lighttpd
3pkgver=1.4.26 3pkgver=1.4.26
4_streamver=2.2.0 4_streamver=2.2.0
5pkgrel=2 5pkgrel=4
6pkgdesc="a secure, fast, compliant and very flexible web-server" 6pkgdesc="a secure, fast, compliant and very flexible web-server"
7url="http://www.lighttpd.net/" 7url="http://www.lighttpd.net/"
8license="custom" 8license="custom"
diff --git a/main/links/APKBUILD b/main/links/APKBUILD
index 2d11cf9dba..bc2e3f32cf 100644
--- a/main/links/APKBUILD
+++ b/main/links/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=links 2pkgname=links
3pkgver=2.2 3pkgver=2.2
4pkgrel=0 4pkgrel=2
5pkgdesc="A text WWW browser, similar to Lynx" 5pkgdesc="A text WWW browser, similar to Lynx"
6url="http://atrey.karlin.mff.cuni.cz/~clock/twibright/links/" 6url="http://atrey.karlin.mff.cuni.cz/~clock/twibright/links/"
7license="GPL" 7license="GPL"
diff --git a/main/linux-grsec/0006-r8169-offical-fix-for-CVE-2009-4537-overlength-frame.patch b/main/linux-grsec/0006-r8169-offical-fix-for-CVE-2009-4537-overlength-frame.patch
deleted file mode 100644
index 03ea13fa1e..0000000000
--- a/main/linux-grsec/0006-r8169-offical-fix-for-CVE-2009-4537-overlength-frame.patch
+++ /dev/null
@@ -1,120 +0,0 @@
1From a60cfaf3df9cd0cddbc24695434ed5bfa917d505 Mon Sep 17 00:00:00 2001
2From: Neil Horman <nhorman@redhat.com>
3Date: Mon, 29 Mar 2010 13:16:02 -0700
4Subject: [PATCH 06/18] r8169: offical fix for CVE-2009-4537 (overlength frame DMAs)
5
6Official patch to fix the r8169 frame length check error.
7
8Based on this initial thread:
9http://marc.info/?l=linux-netdev&m=126202972828626&w=1
10This is the official patch to fix the frame length problems in the r8169
11driver. As noted in the previous thread, while this patch incurs a performance
12hit on the driver, its possible to improve performance dynamically by updating
13the mtu and rx_copybreak values at runtime to return performance to what it was
14for those NICS which are unaffected by the ideosyncracy (if there are any).
15
16Summary:
17
18 A while back Eric submitted a patch for r8169 in which the proper
19allocated frame size was written to RXMaxSize to prevent the NIC from dmaing too
20much data. This was done in commit fdd7b4c3302c93f6833e338903ea77245eb510b4. A
21long time prior to that however, Francois posted
22126fa4b9ca5d9d7cb7d46f779ad3bd3631ca387c, which expiclitly disabled the MaxSize
23setting due to the fact that the hardware behaved in odd ways when overlong
24frames were received on NIC's supported by this driver. This was mentioned in a
25security conference recently:
26http://events.ccc.de/congress/2009/Fahrplan//events/3596.en.html
27
28It seems that if we can't enable frame size filtering, then, as Eric correctly
29noticed, we can find ourselves DMA-ing too much data to a buffer, causing
30corruption. As a result is seems that we are forced to allocate a frame which
31is ready to handle a maximally sized receive.
32
33This obviously has performance issues with it, so to mitigate that issue, this
34patch does two things:
35
361) Raises the copybreak value to the frame allocation size, which should force
37appropriately sized packets to get allocated on rx, rather than a full new 16k
38buffer.
39
402) This patch only disables frame filtering initially (i.e., during the NIC
41open), changing the MTU results in ring buffer allocation of a size in relation
42to the new mtu (along with a warning indicating that this is dangerous).
43
44Because of item (2), individuals who can't cope with the performance hit (or can
45otherwise filter frames to prevent the bug), or who have hardware they are sure
46is unaffected by this issue, can manually lower the copybreak and reset the mtu
47such that performance is restored easily.
48
49Signed-off-by: Neil Horman <nhorman@redhat.com>
50Signed-off-by: David S. Miller <davem@davemloft.net>
51(cherry picked from commit c0cd884af045338476b8e69a61fceb3f34ff22f1)
52---
53 drivers/net/r8169.c | 29 ++++++++++++++++++++++++-----
54 1 files changed, 24 insertions(+), 5 deletions(-)
55
56diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c
57index 24599b5..1484528 100644
58--- a/drivers/net/r8169.c
59+++ b/drivers/net/r8169.c
60@@ -186,7 +186,12 @@ static struct pci_device_id rtl8169_pci_tbl[] = {
61
62 MODULE_DEVICE_TABLE(pci, rtl8169_pci_tbl);
63
64-static int rx_copybreak = 200;
65+/*
66+ * we set our copybreak very high so that we don't have
67+ * to allocate 16k frames all the time (see note in
68+ * rtl8169_open()
69+ */
70+static int rx_copybreak = 16383;
71 static int use_dac;
72 static struct {
73 u32 msg_enable;
74@@ -3245,9 +3250,13 @@ static void __devexit rtl8169_remove_one(struct pci_dev *pdev)
75 }
76
77 static void rtl8169_set_rxbufsize(struct rtl8169_private *tp,
78- struct net_device *dev)
79+ unsigned int mtu)
80 {
81- unsigned int max_frame = dev->mtu + VLAN_ETH_HLEN + ETH_FCS_LEN;
82+ unsigned int max_frame = mtu + VLAN_ETH_HLEN + ETH_FCS_LEN;
83+
84+ if (max_frame != 16383)
85+ printk(KERN_WARNING "WARNING! Changing of MTU on this NIC"
86+ "May lead to frame reception errors!\n");
87
88 tp->rx_buf_sz = (max_frame > RX_BUF_SIZE) ? max_frame : RX_BUF_SIZE;
89 }
90@@ -3259,7 +3268,17 @@ static int rtl8169_open(struct net_device *dev)
91 int retval = -ENOMEM;
92
93
94- rtl8169_set_rxbufsize(tp, dev);
95+ /*
96+ * Note that we use a magic value here, its wierd I know
97+ * its done because, some subset of rtl8169 hardware suffers from
98+ * a problem in which frames received that are longer than
99+ * the size set in RxMaxSize register return garbage sizes
100+ * when received. To avoid this we need to turn off filtering,
101+ * which is done by setting a value of 16383 in the RxMaxSize register
102+ * and allocating 16k frames to handle the largest possible rx value
103+ * thats what the magic math below does.
104+ */
105+ rtl8169_set_rxbufsize(tp, 16383 - VLAN_ETH_HLEN - ETH_FCS_LEN);
106
107 /*
108 * Rx and Tx desscriptors needs 256 bytes alignment.
109@@ -3912,7 +3931,7 @@ static int rtl8169_change_mtu(struct net_device *dev, int new_mtu)
110
111 rtl8169_down(dev);
112
113- rtl8169_set_rxbufsize(tp, dev);
114+ rtl8169_set_rxbufsize(tp, dev->mtu);
115
116 ret = rtl8169_init_ring(dev);
117 if (ret < 0)
118--
1191.7.0.2
120
diff --git a/main/linux-grsec/0008-r8169-clean-up-my-printk-uglyness.patch b/main/linux-grsec/0008-r8169-clean-up-my-printk-uglyness.patch
deleted file mode 100644
index dff3fd2112..0000000000
--- a/main/linux-grsec/0008-r8169-clean-up-my-printk-uglyness.patch
+++ /dev/null
@@ -1,36 +0,0 @@
1From d1c9ac562923fa0b1738fceb4c7bafac3ab936ba Mon Sep 17 00:00:00 2001
2From: Neil Horman <nhorman@tuxdriver.com>
3Date: Thu, 1 Apr 2010 07:30:07 +0000
4Subject: [PATCH 08/18] r8169: clean up my printk uglyness
5
6Fix formatting on r8169 printk
7
8Brandon Philips noted that I had a spacing issue in my printk for the
9last r8169 patch that made it quite ugly. Fix that up and add the PFX
10macro to it as well so it looks like the other r8169 printks
11
12Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
13Signed-off-by: David S. Miller <davem@davemloft.net>
14(cherry picked from commit 93f4d91d879acfcb0ba9c2725e3133fcff2dfd1e)
15---
16 drivers/net/r8169.c | 4 ++--
17 1 files changed, 2 insertions(+), 2 deletions(-)
18
19diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c
20index bed1d47..790555e 100644
21--- a/drivers/net/r8169.c
22+++ b/drivers/net/r8169.c
23@@ -3255,8 +3255,8 @@ static void rtl8169_set_rxbufsize(struct rtl8169_private *tp,
24 unsigned int max_frame = mtu + VLAN_ETH_HLEN + ETH_FCS_LEN;
25
26 if (max_frame != 16383)
27- printk(KERN_WARNING "WARNING! Changing of MTU on this NIC"
28- "May lead to frame reception errors!\n");
29+ printk(KERN_WARNING PFX "WARNING! Changing of MTU on this "
30+ "NIC may lead to frame reception errors!\n");
31
32 tp->rx_buf_sz = (max_frame > RX_BUF_SIZE) ? max_frame : RX_BUF_SIZE;
33 }
34--
351.7.0.2
36
diff --git a/main/linux-grsec/APKBUILD b/main/linux-grsec/APKBUILD
index 759d6716e3..5228ecc02e 100644
--- a/main/linux-grsec/APKBUILD
+++ b/main/linux-grsec/APKBUILD
@@ -2,9 +2,9 @@
2 2
3_flavor=grsec 3_flavor=grsec
4pkgname=linux-${_flavor} 4pkgname=linux-${_flavor}
5pkgver=2.6.32.11 5pkgver=2.6.32.12
6_kernver=2.6.32 6_kernver=2.6.32
7pkgrel=2 7pkgrel=5
8pkgdesc="Linux kernel with grsecurity" 8pkgdesc="Linux kernel with grsecurity"
9url=http://grsecurity.net 9url=http://grsecurity.net
10depends="mkinitfs linux-firmware" 10depends="mkinitfs linux-firmware"
@@ -14,15 +14,13 @@ _config=${config:-kernelconfig.${CARCH:-x86}}
14install= 14install=
15source="ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-$_kernver.tar.bz2 15source="ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-$_kernver.tar.bz2
16 ftp://ftp.kernel.org/pub/linux/kernel/v2.6/patch-$pkgver.bz2 16 ftp://ftp.kernel.org/pub/linux/kernel/v2.6/patch-$pkgver.bz2
17 grsecurity-2.1.14-2.6.32.11-201004071936.patch 17 grsecurity-2.1.14-2.6.32.12-201004292005.patch
18 0001-grsec-revert-conflicting-flow-cache-changes.patch 18 0001-grsec-revert-conflicting-flow-cache-changes.patch
19 0002-gre-fix-hard-header-destination-address-checking.patch 19 0002-gre-fix-hard-header-destination-address-checking.patch
20 0003-ip_gre-include-route-header_len-in-max_headroom-calc.patch 20 0003-ip_gre-include-route-header_len-in-max_headroom-calc.patch
21 0004-arp-flush-arp-cache-on-device-change.patch 21 0004-arp-flush-arp-cache-on-device-change.patch
22 0005-r8169-fix-broken-register-writes.patch 22 0005-r8169-fix-broken-register-writes.patch
23 0006-r8169-offical-fix-for-CVE-2009-4537-overlength-frame.patch
24 0007-r8169-Fix-rtl8169_rx_interrupt.patch 23 0007-r8169-Fix-rtl8169_rx_interrupt.patch
25 0008-r8169-clean-up-my-printk-uglyness.patch
26 0009-ipsec-Fix-bogus-bundle-flowi.patch 24 0009-ipsec-Fix-bogus-bundle-flowi.patch
27 0010-xfrm-Remove-xfrm_state_genid.patch 25 0010-xfrm-Remove-xfrm_state_genid.patch
28 0011-xfrm_user-verify-policy-direction-at-XFRM_MSG_POLEXP.patch 26 0011-xfrm_user-verify-policy-direction-at-XFRM_MSG_POLEXP.patch
@@ -33,6 +31,7 @@ source="ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-$_kernver.tar.bz2
33 0016-xfrm-remove-policy-garbage-collection.patch 31 0016-xfrm-remove-policy-garbage-collection.patch
34 0017-flow-delayed-deletion-of-flow-cache-entries.patch 32 0017-flow-delayed-deletion-of-flow-cache-entries.patch
35 0018-xfrm-Fix-crashes-in-xfrm_lookup.patch 33 0018-xfrm-Fix-crashes-in-xfrm_lookup.patch
34 xfrm-fix-policy-unreferencing-on-larval-drop.patch
36 kernelconfig.x86 35 kernelconfig.x86
37 " 36 "
38subpackages="$pkgname-dev linux-firmware:firmware" 37subpackages="$pkgname-dev linux-firmware:firmware"
@@ -47,7 +46,8 @@ prepare() {
47 fi 46 fi
48 47
49 # first apply the grsecurity patch and then the rest 48 # first apply the grsecurity patch and then the rest
50 for i in "$srcdir"/grsecurity*.patch "$srcdir"/0[0-9]*.patch; do 49 for i in "$srcdir"/grsecurity*.patch "$srcdir"/0[0-9]*.patch \
50 "$srcdir"/xfrm*; do
51 [ -f $i ] || continue 51 [ -f $i ] || continue
52 msg "Applying $i..." 52 msg "Applying $i..."
53 patch -s -p1 -N < $i || return 1 53 patch -s -p1 -N < $i || return 1
@@ -138,16 +138,14 @@ firmware() {
138} 138}
139 139
140md5sums="260551284ac224c3a43c4adac7df4879 linux-2.6.32.tar.bz2 140md5sums="260551284ac224c3a43c4adac7df4879 linux-2.6.32.tar.bz2
141855c248334a71ef5ca3d8cb89d51334f patch-2.6.32.11.bz2 1419d097d34648a1734b1a7f97c5d000f03 patch-2.6.32.12.bz2
1426eabb0c08a988a97a823b5462d1c5018 grsecurity-2.1.14-2.6.32.11-201004071936.patch 1426c360e4ba40b91137f6ab8b5996e9b1f grsecurity-2.1.14-2.6.32.12-201004292005.patch
1431d247140abec49b96250aec9aa59b324 0001-grsec-revert-conflicting-flow-cache-changes.patch 1431d247140abec49b96250aec9aa59b324 0001-grsec-revert-conflicting-flow-cache-changes.patch
144437317f88ec13ace8d39c31983a41696 0002-gre-fix-hard-header-destination-address-checking.patch 144437317f88ec13ace8d39c31983a41696 0002-gre-fix-hard-header-destination-address-checking.patch
145151b29a161178ed39d62a08f21f3484d 0003-ip_gre-include-route-header_len-in-max_headroom-calc.patch 145151b29a161178ed39d62a08f21f3484d 0003-ip_gre-include-route-header_len-in-max_headroom-calc.patch
146776adeeb5272093574f8836c5037dd7d 0004-arp-flush-arp-cache-on-device-change.patch 146776adeeb5272093574f8836c5037dd7d 0004-arp-flush-arp-cache-on-device-change.patch
147afa06334c81f21c20571286a83d3d928 0005-r8169-fix-broken-register-writes.patch 147afa06334c81f21c20571286a83d3d928 0005-r8169-fix-broken-register-writes.patch
148c538c0f735d79fd71b47dde02bf1f790 0006-r8169-offical-fix-for-CVE-2009-4537-overlength-frame.patch
1495f8b9a76d95319c5b1aa26b54a42e6b5 0007-r8169-Fix-rtl8169_rx_interrupt.patch 1485f8b9a76d95319c5b1aa26b54a42e6b5 0007-r8169-Fix-rtl8169_rx_interrupt.patch
150f878c802700e3babd03be3505119c5c2 0008-r8169-clean-up-my-printk-uglyness.patch
151cf168620efa63479a6e03da78906e32f 0009-ipsec-Fix-bogus-bundle-flowi.patch 149cf168620efa63479a6e03da78906e32f 0009-ipsec-Fix-bogus-bundle-flowi.patch
1523af4b5ae1afae3278b0070f585b874e3 0010-xfrm-Remove-xfrm_state_genid.patch 1503af4b5ae1afae3278b0070f585b874e3 0010-xfrm-Remove-xfrm_state_genid.patch
1539f284c3fd5ab38cef4544efc1f50c6ba 0011-xfrm_user-verify-policy-direction-at-XFRM_MSG_POLEXP.patch 1519f284c3fd5ab38cef4544efc1f50c6ba 0011-xfrm_user-verify-policy-direction-at-XFRM_MSG_POLEXP.patch
@@ -158,4 +156,5 @@ c09b82b89a49ba2a3836a0bc3a3312f4 0015-xfrm-cache-bundles-instead-of-policies-fo
15841618efb65ab9ddacfb59a1cde9b4edd 0016-xfrm-remove-policy-garbage-collection.patch 15641618efb65ab9ddacfb59a1cde9b4edd 0016-xfrm-remove-policy-garbage-collection.patch
1593b83f0972ab715819d1119b120a987e7 0017-flow-delayed-deletion-of-flow-cache-entries.patch 1573b83f0972ab715819d1119b120a987e7 0017-flow-delayed-deletion-of-flow-cache-entries.patch
16045a676c7a1759fec60b724d557b4e295 0018-xfrm-Fix-crashes-in-xfrm_lookup.patch 15845a676c7a1759fec60b724d557b4e295 0018-xfrm-Fix-crashes-in-xfrm_lookup.patch
159c7e606c11c05ff03012b21c3fe0ece47 xfrm-fix-policy-unreferencing-on-larval-drop.patch
1617f442049b29ab749180e54ff8f20f1d0 kernelconfig.x86" 1607f442049b29ab749180e54ff8f20f1d0 kernelconfig.x86"
diff --git a/main/linux-grsec/grsecurity-2.1.14-2.6.32.11-201004071936.patch b/main/linux-grsec/grsecurity-2.1.14-2.6.32.12-201004292005.patch
index 62c446bc3e..e491c2581d 100644
--- a/main/linux-grsec/grsecurity-2.1.14-2.6.32.11-201004071936.patch
+++ b/main/linux-grsec/grsecurity-2.1.14-2.6.32.12-201004292005.patch
@@ -1,6 +1,6 @@
1diff -urNp linux-2.6.32.11/arch/alpha/include/asm/elf.h linux-2.6.32.11/arch/alpha/include/asm/elf.h 1diff -urNp linux-2.6.32.12/arch/alpha/include/asm/elf.h linux-2.6.32.12/arch/alpha/include/asm/elf.h
2--- linux-2.6.32.11/arch/alpha/include/asm/elf.h 2010-03-15 11:52:04.000000000 -0400 2--- linux-2.6.32.12/arch/alpha/include/asm/elf.h 2010-03-15 11:52:04.000000000 -0400
3+++ linux-2.6.32.11/arch/alpha/include/asm/elf.h 2010-04-04 20:46:41.472784147 -0400 3+++ linux-2.6.32.12/arch/alpha/include/asm/elf.h 2010-04-04 20:46:41.472784147 -0400
4@@ -91,6 +91,13 @@ typedef elf_fpreg_t elf_fpregset_t[ELF_N 4@@ -91,6 +91,13 @@ typedef elf_fpreg_t elf_fpregset_t[ELF_N
5 5
6 #define ELF_ET_DYN_BASE (TASK_UNMAPPED_BASE + 0x1000000) 6 #define ELF_ET_DYN_BASE (TASK_UNMAPPED_BASE + 0x1000000)
@@ -15,9 +15,9 @@ diff -urNp linux-2.6.32.11/arch/alpha/include/asm/elf.h linux-2.6.32.11/arch/alp
15 /* $0 is set by ld.so to a pointer to a function which might be 15 /* $0 is set by ld.so to a pointer to a function which might be
16 registered using atexit. This provides a mean for the dynamic 16 registered using atexit. This provides a mean for the dynamic
17 linker to call DT_FINI functions for shared libraries that have 17 linker to call DT_FINI functions for shared libraries that have
18diff -urNp linux-2.6.32.11/arch/alpha/include/asm/pgtable.h linux-2.6.32.11/arch/alpha/include/asm/pgtable.h 18diff -urNp linux-2.6.32.12/arch/alpha/include/asm/pgtable.h linux-2.6.32.12/arch/alpha/include/asm/pgtable.h
19--- linux-2.6.32.11/arch/alpha/include/asm/pgtable.h 2010-03-15 11:52:04.000000000 -0400 19--- linux-2.6.32.12/arch/alpha/include/asm/pgtable.h 2010-03-15 11:52:04.000000000 -0400
20+++ linux-2.6.32.11/arch/alpha/include/asm/pgtable.h 2010-04-04 20:46:41.472784147 -0400 20+++ linux-2.6.32.12/arch/alpha/include/asm/pgtable.h 2010-04-04 20:46:41.472784147 -0400
21@@ -101,6 +101,17 @@ struct vm_area_struct; 21@@ -101,6 +101,17 @@ struct vm_area_struct;
22 #define PAGE_SHARED __pgprot(_PAGE_VALID | __ACCESS_BITS) 22 #define PAGE_SHARED __pgprot(_PAGE_VALID | __ACCESS_BITS)
23 #define PAGE_COPY __pgprot(_PAGE_VALID | __ACCESS_BITS | _PAGE_FOW) 23 #define PAGE_COPY __pgprot(_PAGE_VALID | __ACCESS_BITS | _PAGE_FOW)
@@ -36,9 +36,9 @@ diff -urNp linux-2.6.32.11/arch/alpha/include/asm/pgtable.h linux-2.6.32.11/arch
36 #define PAGE_KERNEL __pgprot(_PAGE_VALID | _PAGE_ASM | _PAGE_KRE | _PAGE_KWE) 36 #define PAGE_KERNEL __pgprot(_PAGE_VALID | _PAGE_ASM | _PAGE_KRE | _PAGE_KWE)
37 37
38 #define _PAGE_NORMAL(x) __pgprot(_PAGE_VALID | __ACCESS_BITS | (x)) 38 #define _PAGE_NORMAL(x) __pgprot(_PAGE_VALID | __ACCESS_BITS | (x))
39diff -urNp linux-2.6.32.11/arch/alpha/kernel/module.c linux-2.6.32.11/arch/alpha/kernel/module.c 39diff -urNp linux-2.6.32.12/arch/alpha/kernel/module.c linux-2.6.32.12/arch/alpha/kernel/module.c
40--- linux-2.6.32.11/arch/alpha/kernel/module.c 2010-03-15 11:52:04.000000000 -0400 40--- linux-2.6.32.12/arch/alpha/kernel/module.c 2010-03-15 11:52:04.000000000 -0400
41+++ linux-2.6.32.11/arch/alpha/kernel/module.c 2010-04-04 20:46:41.472784147 -0400 41+++ linux-2.6.32.12/arch/alpha/kernel/module.c 2010-04-04 20:46:41.472784147 -0400
42@@ -182,7 +182,7 @@ apply_relocate_add(Elf64_Shdr *sechdrs, 42@@ -182,7 +182,7 @@ apply_relocate_add(Elf64_Shdr *sechdrs,
43 43
44 /* The small sections were sorted to the end of the segment. 44 /* The small sections were sorted to the end of the segment.
@@ -48,9 +48,9 @@ diff -urNp linux-2.6.32.11/arch/alpha/kernel/module.c linux-2.6.32.11/arch/alpha
48 got = sechdrs[me->arch.gotsecindex].sh_addr; 48 got = sechdrs[me->arch.gotsecindex].sh_addr;
49 49
50 for (i = 0; i < n; i++) { 50 for (i = 0; i < n; i++) {
51diff -urNp linux-2.6.32.11/arch/alpha/kernel/osf_sys.c linux-2.6.32.11/arch/alpha/kernel/osf_sys.c 51diff -urNp linux-2.6.32.12/arch/alpha/kernel/osf_sys.c linux-2.6.32.12/arch/alpha/kernel/osf_sys.c
52--- linux-2.6.32.11/arch/alpha/kernel/osf_sys.c 2010-03-15 11:52:04.000000000 -0400 52--- linux-2.6.32.12/arch/alpha/kernel/osf_sys.c 2010-03-15 11:52:04.000000000 -0400
53+++ linux-2.6.32.11/arch/alpha/kernel/osf_sys.c 2010-04-04 20:46:41.472784147 -0400 53+++ linux-2.6.32.12/arch/alpha/kernel/osf_sys.c 2010-04-04 20:46:41.472784147 -0400
54@@ -1205,6 +1205,10 @@ arch_get_unmapped_area(struct file *filp 54@@ -1205,6 +1205,10 @@ arch_get_unmapped_area(struct file *filp
55 merely specific addresses, but regions of memory -- perhaps 55 merely specific addresses, but regions of memory -- perhaps
56 this feature should be incorporated into all ports? */ 56 this feature should be incorporated into all ports? */
@@ -73,9 +73,9 @@ diff -urNp linux-2.6.32.11/arch/alpha/kernel/osf_sys.c linux-2.6.32.11/arch/alph
73 if (addr != (unsigned long) -ENOMEM) 73 if (addr != (unsigned long) -ENOMEM)
74 return addr; 74 return addr;
75 75
76diff -urNp linux-2.6.32.11/arch/alpha/mm/fault.c linux-2.6.32.11/arch/alpha/mm/fault.c 76diff -urNp linux-2.6.32.12/arch/alpha/mm/fault.c linux-2.6.32.12/arch/alpha/mm/fault.c
77--- linux-2.6.32.11/arch/alpha/mm/fault.c 2010-03-15 11:52:04.000000000 -0400 77--- linux-2.6.32.12/arch/alpha/mm/fault.c 2010-03-15 11:52:04.000000000 -0400
78+++ linux-2.6.32.11/arch/alpha/mm/fault.c 2010-04-04 20:46:41.472784147 -0400 78+++ linux-2.6.32.12/arch/alpha/mm/fault.c 2010-04-04 20:46:41.472784147 -0400
79@@ -54,6 +54,124 @@ __load_new_mm_context(struct mm_struct * 79@@ -54,6 +54,124 @@ __load_new_mm_context(struct mm_struct *
80 __reload_thread(pcb); 80 __reload_thread(pcb);
81 } 81 }
@@ -232,9 +232,9 @@ diff -urNp linux-2.6.32.11/arch/alpha/mm/fault.c linux-2.6.32.11/arch/alpha/mm/f
232 } else if (!cause) { 232 } else if (!cause) {
233 /* Allow reads even for write-only mappings */ 233 /* Allow reads even for write-only mappings */
234 if (!(vma->vm_flags & (VM_READ | VM_WRITE))) 234 if (!(vma->vm_flags & (VM_READ | VM_WRITE)))
235diff -urNp linux-2.6.32.11/arch/arm/include/asm/elf.h linux-2.6.32.11/arch/arm/include/asm/elf.h 235diff -urNp linux-2.6.32.12/arch/arm/include/asm/elf.h linux-2.6.32.12/arch/arm/include/asm/elf.h
236--- linux-2.6.32.11/arch/arm/include/asm/elf.h 2010-03-15 11:52:04.000000000 -0400 236--- linux-2.6.32.12/arch/arm/include/asm/elf.h 2010-03-15 11:52:04.000000000 -0400
237+++ linux-2.6.32.11/arch/arm/include/asm/elf.h 2010-04-04 20:46:41.472784147 -0400 237+++ linux-2.6.32.12/arch/arm/include/asm/elf.h 2010-04-04 20:46:41.472784147 -0400
238@@ -109,7 +109,14 @@ int dump_task_regs(struct task_struct *t 238@@ -109,7 +109,14 @@ int dump_task_regs(struct task_struct *t
239 the loader. We need to make sure that it is out of the way of the program 239 the loader. We need to make sure that it is out of the way of the program
240 that it will "exec", and that there is sufficient room for the brk. */ 240 that it will "exec", and that there is sufficient room for the brk. */
@@ -251,9 +251,9 @@ diff -urNp linux-2.6.32.11/arch/arm/include/asm/elf.h linux-2.6.32.11/arch/arm/i
251 251
252 /* When the program starts, a1 contains a pointer to a function to be 252 /* When the program starts, a1 contains a pointer to a function to be
253 registered with atexit, as per the SVR4 ABI. A value of 0 means we 253 registered with atexit, as per the SVR4 ABI. A value of 0 means we
254diff -urNp linux-2.6.32.11/arch/arm/include/asm/kmap_types.h linux-2.6.32.11/arch/arm/include/asm/kmap_types.h 254diff -urNp linux-2.6.32.12/arch/arm/include/asm/kmap_types.h linux-2.6.32.12/arch/arm/include/asm/kmap_types.h
255--- linux-2.6.32.11/arch/arm/include/asm/kmap_types.h 2010-03-15 11:52:04.000000000 -0400 255--- linux-2.6.32.12/arch/arm/include/asm/kmap_types.h 2010-03-15 11:52:04.000000000 -0400
256+++ linux-2.6.32.11/arch/arm/include/asm/kmap_types.h 2010-04-04 20:46:41.472784147 -0400 256+++ linux-2.6.32.12/arch/arm/include/asm/kmap_types.h 2010-04-04 20:46:41.472784147 -0400
257@@ -19,6 +19,7 @@ enum km_type { 257@@ -19,6 +19,7 @@ enum km_type {
258 KM_SOFTIRQ0, 258 KM_SOFTIRQ0,
259 KM_SOFTIRQ1, 259 KM_SOFTIRQ1,
@@ -262,9 +262,9 @@ diff -urNp linux-2.6.32.11/arch/arm/include/asm/kmap_types.h linux-2.6.32.11/arc
262 KM_TYPE_NR 262 KM_TYPE_NR
263 }; 263 };
264 264
265diff -urNp linux-2.6.32.11/arch/arm/include/asm/uaccess.h linux-2.6.32.11/arch/arm/include/asm/uaccess.h 265diff -urNp linux-2.6.32.12/arch/arm/include/asm/uaccess.h linux-2.6.32.12/arch/arm/include/asm/uaccess.h
266--- linux-2.6.32.11/arch/arm/include/asm/uaccess.h 2010-03-15 11:52:04.000000000 -0400 266--- linux-2.6.32.12/arch/arm/include/asm/uaccess.h 2010-03-15 11:52:04.000000000 -0400
267+++ linux-2.6.32.11/arch/arm/include/asm/uaccess.h 2010-04-04 20:46:41.472784147 -0400 267+++ linux-2.6.32.12/arch/arm/include/asm/uaccess.h 2010-04-04 20:46:41.472784147 -0400
268@@ -403,6 +403,9 @@ extern unsigned long __must_check __strn 268@@ -403,6 +403,9 @@ extern unsigned long __must_check __strn
269 269
270 static inline unsigned long __must_check copy_from_user(void *to, const void __user *from, unsigned long n) 270 static inline unsigned long __must_check copy_from_user(void *to, const void __user *from, unsigned long n)
@@ -285,9 +285,9 @@ diff -urNp linux-2.6.32.11/arch/arm/include/asm/uaccess.h linux-2.6.32.11/arch/a
285 if (access_ok(VERIFY_WRITE, to, n)) 285 if (access_ok(VERIFY_WRITE, to, n))
286 n = __copy_to_user(to, from, n); 286 n = __copy_to_user(to, from, n);
287 return n; 287 return n;
288diff -urNp linux-2.6.32.11/arch/arm/kernel/kgdb.c linux-2.6.32.11/arch/arm/kernel/kgdb.c 288diff -urNp linux-2.6.32.12/arch/arm/kernel/kgdb.c linux-2.6.32.12/arch/arm/kernel/kgdb.c
289--- linux-2.6.32.11/arch/arm/kernel/kgdb.c 2010-03-15 11:52:04.000000000 -0400 289--- linux-2.6.32.12/arch/arm/kernel/kgdb.c 2010-03-15 11:52:04.000000000 -0400
290+++ linux-2.6.32.11/arch/arm/kernel/kgdb.c 2010-04-04 20:46:41.472784147 -0400 290+++ linux-2.6.32.12/arch/arm/kernel/kgdb.c 2010-04-04 20:46:41.472784147 -0400
291@@ -190,7 +190,7 @@ void kgdb_arch_exit(void) 291@@ -190,7 +190,7 @@ void kgdb_arch_exit(void)
292 * and we handle the normal undef case within the do_undefinstr 292 * and we handle the normal undef case within the do_undefinstr
293 * handler. 293 * handler.
@@ -297,9 +297,9 @@ diff -urNp linux-2.6.32.11/arch/arm/kernel/kgdb.c linux-2.6.32.11/arch/arm/kerne
297 #ifndef __ARMEB__ 297 #ifndef __ARMEB__
298 .gdb_bpt_instr = {0xfe, 0xde, 0xff, 0xe7} 298 .gdb_bpt_instr = {0xfe, 0xde, 0xff, 0xe7}
299 #else /* ! __ARMEB__ */ 299 #else /* ! __ARMEB__ */
300diff -urNp linux-2.6.32.11/arch/arm/mach-at91/pm.c linux-2.6.32.11/arch/arm/mach-at91/pm.c 300diff -urNp linux-2.6.32.12/arch/arm/mach-at91/pm.c linux-2.6.32.12/arch/arm/mach-at91/pm.c
301--- linux-2.6.32.11/arch/arm/mach-at91/pm.c 2010-03-15 11:52:04.000000000 -0400 301--- linux-2.6.32.12/arch/arm/mach-at91/pm.c 2010-03-15 11:52:04.000000000 -0400
302+++ linux-2.6.32.11/arch/arm/mach-at91/pm.c 2010-04-04 20:46:41.472784147 -0400 302+++ linux-2.6.32.12/arch/arm/mach-at91/pm.c 2010-04-04 20:46:41.472784147 -0400
303@@ -348,7 +348,7 @@ static void at91_pm_end(void) 303@@ -348,7 +348,7 @@ static void at91_pm_end(void)
304 } 304 }
305 305
@@ -309,9 +309,9 @@ diff -urNp linux-2.6.32.11/arch/arm/mach-at91/pm.c linux-2.6.32.11/arch/arm/mach
309 .valid = at91_pm_valid_state, 309 .valid = at91_pm_valid_state,
310 .begin = at91_pm_begin, 310 .begin = at91_pm_begin,
311 .enter = at91_pm_enter, 311 .enter = at91_pm_enter,
312diff -urNp linux-2.6.32.11/arch/arm/mach-omap1/pm.c linux-2.6.32.11/arch/arm/mach-omap1/pm.c 312diff -urNp linux-2.6.32.12/arch/arm/mach-omap1/pm.c linux-2.6.32.12/arch/arm/mach-omap1/pm.c
313--- linux-2.6.32.11/arch/arm/mach-omap1/pm.c 2010-03-15 11:52:04.000000000 -0400 313--- linux-2.6.32.12/arch/arm/mach-omap1/pm.c 2010-03-15 11:52:04.000000000 -0400
314+++ linux-2.6.32.11/arch/arm/mach-omap1/pm.c 2010-04-04 20:46:41.472784147 -0400 314+++ linux-2.6.32.12/arch/arm/mach-omap1/pm.c 2010-04-04 20:46:41.472784147 -0400
315@@ -647,7 +647,7 @@ static struct irqaction omap_wakeup_irq 315@@ -647,7 +647,7 @@ static struct irqaction omap_wakeup_irq
316 316
317 317
@@ -321,9 +321,9 @@ diff -urNp linux-2.6.32.11/arch/arm/mach-omap1/pm.c linux-2.6.32.11/arch/arm/mac
321 .prepare = omap_pm_prepare, 321 .prepare = omap_pm_prepare,
322 .enter = omap_pm_enter, 322 .enter = omap_pm_enter,
323 .finish = omap_pm_finish, 323 .finish = omap_pm_finish,
324diff -urNp linux-2.6.32.11/arch/arm/mach-omap2/pm24xx.c linux-2.6.32.11/arch/arm/mach-omap2/pm24xx.c 324diff -urNp linux-2.6.32.12/arch/arm/mach-omap2/pm24xx.c linux-2.6.32.12/arch/arm/mach-omap2/pm24xx.c
325--- linux-2.6.32.11/arch/arm/mach-omap2/pm24xx.c 2010-03-15 11:52:04.000000000 -0400 325--- linux-2.6.32.12/arch/arm/mach-omap2/pm24xx.c 2010-03-15 11:52:04.000000000 -0400
326+++ linux-2.6.32.11/arch/arm/mach-omap2/pm24xx.c 2010-04-04 20:46:41.472784147 -0400 326+++ linux-2.6.32.12/arch/arm/mach-omap2/pm24xx.c 2010-04-04 20:46:41.472784147 -0400
327@@ -326,7 +326,7 @@ static void omap2_pm_finish(void) 327@@ -326,7 +326,7 @@ static void omap2_pm_finish(void)
328 enable_hlt(); 328 enable_hlt();
329 } 329 }
@@ -333,9 +333,9 @@ diff -urNp linux-2.6.32.11/arch/arm/mach-omap2/pm24xx.c linux-2.6.32.11/arch/arm
333 .prepare = omap2_pm_prepare, 333 .prepare = omap2_pm_prepare,
334 .enter = omap2_pm_enter, 334 .enter = omap2_pm_enter,
335 .finish = omap2_pm_finish, 335 .finish = omap2_pm_finish,
336diff -urNp linux-2.6.32.11/arch/arm/mach-omap2/pm34xx.c linux-2.6.32.11/arch/arm/mach-omap2/pm34xx.c 336diff -urNp linux-2.6.32.12/arch/arm/mach-omap2/pm34xx.c linux-2.6.32.12/arch/arm/mach-omap2/pm34xx.c
337--- linux-2.6.32.11/arch/arm/mach-omap2/pm34xx.c 2010-03-15 11:52:04.000000000 -0400 337--- linux-2.6.32.12/arch/arm/mach-omap2/pm34xx.c 2010-03-15 11:52:04.000000000 -0400
338+++ linux-2.6.32.11/arch/arm/mach-omap2/pm34xx.c 2010-04-04 20:46:41.472784147 -0400 338+++ linux-2.6.32.12/arch/arm/mach-omap2/pm34xx.c 2010-04-04 20:46:41.472784147 -0400
339@@ -401,7 +401,7 @@ static void omap3_pm_end(void) 339@@ -401,7 +401,7 @@ static void omap3_pm_end(void)
340 return; 340 return;
341 } 341 }
@@ -345,9 +345,9 @@ diff -urNp linux-2.6.32.11/arch/arm/mach-omap2/pm34xx.c linux-2.6.32.11/arch/arm
345 .begin = omap3_pm_begin, 345 .begin = omap3_pm_begin,
346 .end = omap3_pm_end, 346 .end = omap3_pm_end,
347 .prepare = omap3_pm_prepare, 347 .prepare = omap3_pm_prepare,
348diff -urNp linux-2.6.32.11/arch/arm/mach-pnx4008/pm.c linux-2.6.32.11/arch/arm/mach-pnx4008/pm.c 348diff -urNp linux-2.6.32.12/arch/arm/mach-pnx4008/pm.c linux-2.6.32.12/arch/arm/mach-pnx4008/pm.c
349--- linux-2.6.32.11/arch/arm/mach-pnx4008/pm.c 2010-03-15 11:52:04.000000000 -0400 349--- linux-2.6.32.12/arch/arm/mach-pnx4008/pm.c 2010-03-15 11:52:04.000000000 -0400
350+++ linux-2.6.32.11/arch/arm/mach-pnx4008/pm.c 2010-04-04 20:46:41.476773136 -0400 350+++ linux-2.6.32.12/arch/arm/mach-pnx4008/pm.c 2010-04-04 20:46:41.476773136 -0400
351@@ -116,7 +116,7 @@ static int pnx4008_pm_valid(suspend_stat 351@@ -116,7 +116,7 @@ static int pnx4008_pm_valid(suspend_stat
352 (state == PM_SUSPEND_MEM); 352 (state == PM_SUSPEND_MEM);
353 } 353 }
@@ -357,9 +357,9 @@ diff -urNp linux-2.6.32.11/arch/arm/mach-pnx4008/pm.c linux-2.6.32.11/arch/arm/m
357 .enter = pnx4008_pm_enter, 357 .enter = pnx4008_pm_enter,
358 .valid = pnx4008_pm_valid, 358 .valid = pnx4008_pm_valid,
359 }; 359 };
360diff -urNp linux-2.6.32.11/arch/arm/mach-pxa/pm.c linux-2.6.32.11/arch/arm/mach-pxa/pm.c 360diff -urNp linux-2.6.32.12/arch/arm/mach-pxa/pm.c linux-2.6.32.12/arch/arm/mach-pxa/pm.c
361--- linux-2.6.32.11/arch/arm/mach-pxa/pm.c 2010-03-15 11:52:04.000000000 -0400 361--- linux-2.6.32.12/arch/arm/mach-pxa/pm.c 2010-03-15 11:52:04.000000000 -0400
362+++ linux-2.6.32.11/arch/arm/mach-pxa/pm.c 2010-04-04 20:46:41.476773136 -0400 362+++ linux-2.6.32.12/arch/arm/mach-pxa/pm.c 2010-04-04 20:46:41.476773136 -0400
363@@ -95,7 +95,7 @@ void pxa_pm_finish(void) 363@@ -95,7 +95,7 @@ void pxa_pm_finish(void)
364 pxa_cpu_pm_fns->finish(); 364 pxa_cpu_pm_fns->finish();
365 } 365 }
@@ -369,9 +369,9 @@ diff -urNp linux-2.6.32.11/arch/arm/mach-pxa/pm.c linux-2.6.32.11/arch/arm/mach-
369 .valid = pxa_pm_valid, 369 .valid = pxa_pm_valid,
370 .enter = pxa_pm_enter, 370 .enter = pxa_pm_enter,
371 .prepare = pxa_pm_prepare, 371 .prepare = pxa_pm_prepare,
372diff -urNp linux-2.6.32.11/arch/arm/mach-pxa/sharpsl_pm.c linux-2.6.32.11/arch/arm/mach-pxa/sharpsl_pm.c 372diff -urNp linux-2.6.32.12/arch/arm/mach-pxa/sharpsl_pm.c linux-2.6.32.12/arch/arm/mach-pxa/sharpsl_pm.c
373--- linux-2.6.32.11/arch/arm/mach-pxa/sharpsl_pm.c 2010-03-15 11:52:04.000000000 -0400 373--- linux-2.6.32.12/arch/arm/mach-pxa/sharpsl_pm.c 2010-03-15 11:52:04.000000000 -0400
374+++ linux-2.6.32.11/arch/arm/mach-pxa/sharpsl_pm.c 2010-04-04 20:46:41.476773136 -0400 374+++ linux-2.6.32.12/arch/arm/mach-pxa/sharpsl_pm.c 2010-04-04 20:46:41.476773136 -0400
375@@ -891,7 +891,7 @@ static void sharpsl_apm_get_power_status 375@@ -891,7 +891,7 @@ static void sharpsl_apm_get_power_status
376 } 376 }
377 377
@@ -381,9 +381,9 @@ diff -urNp linux-2.6.32.11/arch/arm/mach-pxa/sharpsl_pm.c linux-2.6.32.11/arch/a
381 .prepare = pxa_pm_prepare, 381 .prepare = pxa_pm_prepare,
382 .finish = pxa_pm_finish, 382 .finish = pxa_pm_finish,
383 .enter = corgi_pxa_pm_enter, 383 .enter = corgi_pxa_pm_enter,
384diff -urNp linux-2.6.32.11/arch/arm/mach-sa1100/pm.c linux-2.6.32.11/arch/arm/mach-sa1100/pm.c 384diff -urNp linux-2.6.32.12/arch/arm/mach-sa1100/pm.c linux-2.6.32.12/arch/arm/mach-sa1100/pm.c
385--- linux-2.6.32.11/arch/arm/mach-sa1100/pm.c 2010-03-15 11:52:04.000000000 -0400 385--- linux-2.6.32.12/arch/arm/mach-sa1100/pm.c 2010-03-15 11:52:04.000000000 -0400
386+++ linux-2.6.32.11/arch/arm/mach-sa1100/pm.c 2010-04-04 20:46:41.476773136 -0400 386+++ linux-2.6.32.12/arch/arm/mach-sa1100/pm.c 2010-04-04 20:46:41.476773136 -0400
387@@ -120,7 +120,7 @@ unsigned long sleep_phys_sp(void *sp) 387@@ -120,7 +120,7 @@ unsigned long sleep_phys_sp(void *sp)
388 return virt_to_phys(sp); 388 return virt_to_phys(sp);
389 } 389 }
@@ -393,9 +393,9 @@ diff -urNp linux-2.6.32.11/arch/arm/mach-sa1100/pm.c linux-2.6.32.11/arch/arm/ma
393 .enter = sa11x0_pm_enter, 393 .enter = sa11x0_pm_enter,
394 .valid = suspend_valid_only_mem, 394 .valid = suspend_valid_only_mem,
395 }; 395 };
396diff -urNp linux-2.6.32.11/arch/arm/mm/fault.c linux-2.6.32.11/arch/arm/mm/fault.c 396diff -urNp linux-2.6.32.12/arch/arm/mm/fault.c linux-2.6.32.12/arch/arm/mm/fault.c
397--- linux-2.6.32.11/arch/arm/mm/fault.c 2010-03-15 11:52:04.000000000 -0400 397--- linux-2.6.32.12/arch/arm/mm/fault.c 2010-03-15 11:52:04.000000000 -0400
398+++ linux-2.6.32.11/arch/arm/mm/fault.c 2010-04-04 20:46:41.476773136 -0400 398+++ linux-2.6.32.12/arch/arm/mm/fault.c 2010-04-04 20:46:41.476773136 -0400
399@@ -166,6 +166,13 @@ __do_user_fault(struct task_struct *tsk, 399@@ -166,6 +166,13 @@ __do_user_fault(struct task_struct *tsk,
400 } 400 }
401 #endif 401 #endif
@@ -444,9 +444,9 @@ diff -urNp linux-2.6.32.11/arch/arm/mm/fault.c linux-2.6.32.11/arch/arm/mm/fault
444 /* 444 /*
445 * First Level Translation Fault Handler 445 * First Level Translation Fault Handler
446 * 446 *
447diff -urNp linux-2.6.32.11/arch/arm/mm/mmap.c linux-2.6.32.11/arch/arm/mm/mmap.c 447diff -urNp linux-2.6.32.12/arch/arm/mm/mmap.c linux-2.6.32.12/arch/arm/mm/mmap.c
448--- linux-2.6.32.11/arch/arm/mm/mmap.c 2010-03-15 11:52:04.000000000 -0400 448--- linux-2.6.32.12/arch/arm/mm/mmap.c 2010-03-15 11:52:04.000000000 -0400
449+++ linux-2.6.32.11/arch/arm/mm/mmap.c 2010-04-04 20:46:41.476773136 -0400 449+++ linux-2.6.32.12/arch/arm/mm/mmap.c 2010-04-04 20:46:41.476773136 -0400
450@@ -63,6 +63,10 @@ arch_get_unmapped_area(struct file *filp 450@@ -63,6 +63,10 @@ arch_get_unmapped_area(struct file *filp
451 if (len > TASK_SIZE) 451 if (len > TASK_SIZE)
452 return -ENOMEM; 452 return -ENOMEM;
@@ -483,9 +483,9 @@ diff -urNp linux-2.6.32.11/arch/arm/mm/mmap.c linux-2.6.32.11/arch/arm/mm/mmap.c
483 mm->cached_hole_size = 0; 483 mm->cached_hole_size = 0;
484 goto full_search; 484 goto full_search;
485 } 485 }
486diff -urNp linux-2.6.32.11/arch/arm/plat-s3c/pm.c linux-2.6.32.11/arch/arm/plat-s3c/pm.c 486diff -urNp linux-2.6.32.12/arch/arm/plat-s3c/pm.c linux-2.6.32.12/arch/arm/plat-s3c/pm.c
487--- linux-2.6.32.11/arch/arm/plat-s3c/pm.c 2010-03-15 11:52:04.000000000 -0400 487--- linux-2.6.32.12/arch/arm/plat-s3c/pm.c 2010-03-15 11:52:04.000000000 -0400
488+++ linux-2.6.32.11/arch/arm/plat-s3c/pm.c 2010-04-04 20:46:41.476773136 -0400 488+++ linux-2.6.32.12/arch/arm/plat-s3c/pm.c 2010-04-04 20:46:41.476773136 -0400
489@@ -355,7 +355,7 @@ static void s3c_pm_finish(void) 489@@ -355,7 +355,7 @@ static void s3c_pm_finish(void)
490 s3c_pm_check_cleanup(); 490 s3c_pm_check_cleanup();
491 } 491 }
@@ -495,9 +495,9 @@ diff -urNp linux-2.6.32.11/arch/arm/plat-s3c/pm.c linux-2.6.32.11/arch/arm/plat-
495 .enter = s3c_pm_enter, 495 .enter = s3c_pm_enter,
496 .prepare = s3c_pm_prepare, 496 .prepare = s3c_pm_prepare,
497 .finish = s3c_pm_finish, 497 .finish = s3c_pm_finish,
498diff -urNp linux-2.6.32.11/arch/avr32/include/asm/elf.h linux-2.6.32.11/arch/avr32/include/asm/elf.h 498diff -urNp linux-2.6.32.12/arch/avr32/include/asm/elf.h linux-2.6.32.12/arch/avr32/include/asm/elf.h
499--- linux-2.6.32.11/arch/avr32/include/asm/elf.h 2010-03-15 11:52:04.000000000 -0400 499--- linux-2.6.32.12/arch/avr32/include/asm/elf.h 2010-03-15 11:52:04.000000000 -0400
500+++ linux-2.6.32.11/arch/avr32/include/asm/elf.h 2010-04-04 20:46:41.476773136 -0400 500+++ linux-2.6.32.12/arch/avr32/include/asm/elf.h 2010-04-04 20:46:41.476773136 -0400
501@@ -85,8 +85,14 @@ typedef struct user_fpu_struct elf_fpreg 501@@ -85,8 +85,14 @@ typedef struct user_fpu_struct elf_fpreg
502 the loader. We need to make sure that it is out of the way of the program 502 the loader. We need to make sure that it is out of the way of the program
503 that it will "exec", and that there is sufficient room for the brk. */ 503 that it will "exec", and that there is sufficient room for the brk. */
@@ -514,9 +514,9 @@ diff -urNp linux-2.6.32.11/arch/avr32/include/asm/elf.h linux-2.6.32.11/arch/avr
514 514
515 /* This yields a mask that user programs can use to figure out what 515 /* This yields a mask that user programs can use to figure out what
516 instruction set this CPU supports. This could be done in user space, 516 instruction set this CPU supports. This could be done in user space,
517diff -urNp linux-2.6.32.11/arch/avr32/include/asm/kmap_types.h linux-2.6.32.11/arch/avr32/include/asm/kmap_types.h 517diff -urNp linux-2.6.32.12/arch/avr32/include/asm/kmap_types.h linux-2.6.32.12/arch/avr32/include/asm/kmap_types.h
518--- linux-2.6.32.11/arch/avr32/include/asm/kmap_types.h 2010-03-15 11:52:04.000000000 -0400 518--- linux-2.6.32.12/arch/avr32/include/asm/kmap_types.h 2010-03-15 11:52:04.000000000 -0400
519+++ linux-2.6.32.11/arch/avr32/include/asm/kmap_types.h 2010-04-04 20:46:41.476773136 -0400 519+++ linux-2.6.32.12/arch/avr32/include/asm/kmap_types.h 2010-04-04 20:46:41.476773136 -0400
520@@ -22,7 +22,8 @@ D(10) KM_IRQ0, 520@@ -22,7 +22,8 @@ D(10) KM_IRQ0,
521 D(11) KM_IRQ1, 521 D(11) KM_IRQ1,
522 D(12) KM_SOFTIRQ0, 522 D(12) KM_SOFTIRQ0,
@@ -527,9 +527,9 @@ diff -urNp linux-2.6.32.11/arch/avr32/include/asm/kmap_types.h linux-2.6.32.11/a
527 }; 527 };
528 528
529 #undef D 529 #undef D
530diff -urNp linux-2.6.32.11/arch/avr32/mach-at32ap/pm.c linux-2.6.32.11/arch/avr32/mach-at32ap/pm.c 530diff -urNp linux-2.6.32.12/arch/avr32/mach-at32ap/pm.c linux-2.6.32.12/arch/avr32/mach-at32ap/pm.c
531--- linux-2.6.32.11/arch/avr32/mach-at32ap/pm.c 2010-03-15 11:52:04.000000000 -0400 531--- linux-2.6.32.12/arch/avr32/mach-at32ap/pm.c 2010-03-15 11:52:04.000000000 -0400
532+++ linux-2.6.32.11/arch/avr32/mach-at32ap/pm.c 2010-04-04 20:46:41.476773136 -0400 532+++ linux-2.6.32.12/arch/avr32/mach-at32ap/pm.c 2010-04-04 20:46:41.476773136 -0400
533@@ -176,7 +176,7 @@ out: 533@@ -176,7 +176,7 @@ out:
534 return 0; 534 return 0;
535 } 535 }
@@ -539,9 +539,9 @@ diff -urNp linux-2.6.32.11/arch/avr32/mach-at32ap/pm.c linux-2.6.32.11/arch/avr3
539 .valid = avr32_pm_valid_state, 539 .valid = avr32_pm_valid_state,
540 .enter = avr32_pm_enter, 540 .enter = avr32_pm_enter,
541 }; 541 };
542diff -urNp linux-2.6.32.11/arch/avr32/mm/fault.c linux-2.6.32.11/arch/avr32/mm/fault.c 542diff -urNp linux-2.6.32.12/arch/avr32/mm/fault.c linux-2.6.32.12/arch/avr32/mm/fault.c
543--- linux-2.6.32.11/arch/avr32/mm/fault.c 2010-03-15 11:52:04.000000000 -0400 543--- linux-2.6.32.12/arch/avr32/mm/fault.c 2010-03-15 11:52:04.000000000 -0400
544+++ linux-2.6.32.11/arch/avr32/mm/fault.c 2010-04-04 20:46:41.476773136 -0400 544+++ linux-2.6.32.12/arch/avr32/mm/fault.c 2010-04-04 20:46:41.476773136 -0400
545@@ -41,6 +41,23 @@ static inline int notify_page_fault(stru 545@@ -41,6 +41,23 @@ static inline int notify_page_fault(stru
546 546
547 int exception_trace = 1; 547 int exception_trace = 1;
@@ -583,9 +583,9 @@ diff -urNp linux-2.6.32.11/arch/avr32/mm/fault.c linux-2.6.32.11/arch/avr32/mm/f
583 if (exception_trace && printk_ratelimit()) 583 if (exception_trace && printk_ratelimit())
584 printk("%s%s[%d]: segfault at %08lx pc %08lx " 584 printk("%s%s[%d]: segfault at %08lx pc %08lx "
585 "sp %08lx ecr %lu\n", 585 "sp %08lx ecr %lu\n",
586diff -urNp linux-2.6.32.11/arch/blackfin/kernel/kgdb.c linux-2.6.32.11/arch/blackfin/kernel/kgdb.c 586diff -urNp linux-2.6.32.12/arch/blackfin/kernel/kgdb.c linux-2.6.32.12/arch/blackfin/kernel/kgdb.c
587--- linux-2.6.32.11/arch/blackfin/kernel/kgdb.c 2010-03-15 11:52:04.000000000 -0400 587--- linux-2.6.32.12/arch/blackfin/kernel/kgdb.c 2010-03-15 11:52:04.000000000 -0400
588+++ linux-2.6.32.11/arch/blackfin/kernel/kgdb.c 2010-04-04 20:46:41.476773136 -0400 588+++ linux-2.6.32.12/arch/blackfin/kernel/kgdb.c 2010-04-04 20:46:41.476773136 -0400
589@@ -428,7 +428,7 @@ int kgdb_arch_handle_exception(int vecto 589@@ -428,7 +428,7 @@ int kgdb_arch_handle_exception(int vecto
590 return -1; /* this means that we do not want to exit from the handler */ 590 return -1; /* this means that we do not want to exit from the handler */
591 } 591 }
@@ -595,9 +595,9 @@ diff -urNp linux-2.6.32.11/arch/blackfin/kernel/kgdb.c linux-2.6.32.11/arch/blac
595 .gdb_bpt_instr = {0xa1}, 595 .gdb_bpt_instr = {0xa1},
596 #ifdef CONFIG_SMP 596 #ifdef CONFIG_SMP
597 .flags = KGDB_HW_BREAKPOINT|KGDB_THR_PROC_SWAP, 597 .flags = KGDB_HW_BREAKPOINT|KGDB_THR_PROC_SWAP,
598diff -urNp linux-2.6.32.11/arch/blackfin/mach-common/pm.c linux-2.6.32.11/arch/blackfin/mach-common/pm.c 598diff -urNp linux-2.6.32.12/arch/blackfin/mach-common/pm.c linux-2.6.32.12/arch/blackfin/mach-common/pm.c
599--- linux-2.6.32.11/arch/blackfin/mach-common/pm.c 2010-03-15 11:52:04.000000000 -0400 599--- linux-2.6.32.12/arch/blackfin/mach-common/pm.c 2010-03-15 11:52:04.000000000 -0400
600+++ linux-2.6.32.11/arch/blackfin/mach-common/pm.c 2010-04-04 20:46:41.476773136 -0400 600+++ linux-2.6.32.12/arch/blackfin/mach-common/pm.c 2010-04-04 20:46:41.476773136 -0400
601@@ -255,7 +255,7 @@ static int bfin_pm_enter(suspend_state_t 601@@ -255,7 +255,7 @@ static int bfin_pm_enter(suspend_state_t
602 return 0; 602 return 0;
603 } 603 }
@@ -607,9 +607,9 @@ diff -urNp linux-2.6.32.11/arch/blackfin/mach-common/pm.c linux-2.6.32.11/arch/b
607 .enter = bfin_pm_enter, 607 .enter = bfin_pm_enter,
608 .valid = bfin_pm_valid, 608 .valid = bfin_pm_valid,
609 }; 609 };
610diff -urNp linux-2.6.32.11/arch/frv/include/asm/kmap_types.h linux-2.6.32.11/arch/frv/include/asm/kmap_types.h 610diff -urNp linux-2.6.32.12/arch/frv/include/asm/kmap_types.h linux-2.6.32.12/arch/frv/include/asm/kmap_types.h
611--- linux-2.6.32.11/arch/frv/include/asm/kmap_types.h 2010-03-15 11:52:04.000000000 -0400 611--- linux-2.6.32.12/arch/frv/include/asm/kmap_types.h 2010-03-15 11:52:04.000000000 -0400
612+++ linux-2.6.32.11/arch/frv/include/asm/kmap_types.h 2010-04-04 20:46:41.476773136 -0400 612+++ linux-2.6.32.12/arch/frv/include/asm/kmap_types.h 2010-04-04 20:46:41.476773136 -0400
613@@ -23,6 +23,7 @@ enum km_type { 613@@ -23,6 +23,7 @@ enum km_type {
614 KM_IRQ1, 614 KM_IRQ1,
615 KM_SOFTIRQ0, 615 KM_SOFTIRQ0,
@@ -618,9 +618,9 @@ diff -urNp linux-2.6.32.11/arch/frv/include/asm/kmap_types.h linux-2.6.32.11/arc
618 KM_TYPE_NR 618 KM_TYPE_NR
619 }; 619 };
620 620
621diff -urNp linux-2.6.32.11/arch/ia64/hp/common/hwsw_iommu.c linux-2.6.32.11/arch/ia64/hp/common/hwsw_iommu.c 621diff -urNp linux-2.6.32.12/arch/ia64/hp/common/hwsw_iommu.c linux-2.6.32.12/arch/ia64/hp/common/hwsw_iommu.c
622--- linux-2.6.32.11/arch/ia64/hp/common/hwsw_iommu.c 2010-03-15 11:52:04.000000000 -0400 622--- linux-2.6.32.12/arch/ia64/hp/common/hwsw_iommu.c 2010-03-15 11:52:04.000000000 -0400
623+++ linux-2.6.32.11/arch/ia64/hp/common/hwsw_iommu.c 2010-04-04 20:46:41.476773136 -0400 623+++ linux-2.6.32.12/arch/ia64/hp/common/hwsw_iommu.c 2010-04-04 20:46:41.476773136 -0400
624@@ -17,7 +17,7 @@ 624@@ -17,7 +17,7 @@
625 #include <linux/swiotlb.h> 625 #include <linux/swiotlb.h>
626 #include <asm/machvec.h> 626 #include <asm/machvec.h>
@@ -639,9 +639,9 @@ diff -urNp linux-2.6.32.11/arch/ia64/hp/common/hwsw_iommu.c linux-2.6.32.11/arch
639 { 639 {
640 if (use_swiotlb(dev)) 640 if (use_swiotlb(dev))
641 return &swiotlb_dma_ops; 641 return &swiotlb_dma_ops;
642diff -urNp linux-2.6.32.11/arch/ia64/hp/common/sba_iommu.c linux-2.6.32.11/arch/ia64/hp/common/sba_iommu.c 642diff -urNp linux-2.6.32.12/arch/ia64/hp/common/sba_iommu.c linux-2.6.32.12/arch/ia64/hp/common/sba_iommu.c
643--- linux-2.6.32.11/arch/ia64/hp/common/sba_iommu.c 2010-03-15 11:52:04.000000000 -0400 643--- linux-2.6.32.12/arch/ia64/hp/common/sba_iommu.c 2010-03-15 11:52:04.000000000 -0400
644+++ linux-2.6.32.11/arch/ia64/hp/common/sba_iommu.c 2010-04-04 20:46:41.476773136 -0400 644+++ linux-2.6.32.12/arch/ia64/hp/common/sba_iommu.c 2010-04-04 20:46:41.476773136 -0400
645@@ -2077,7 +2077,7 @@ static struct acpi_driver acpi_sba_ioc_d 645@@ -2077,7 +2077,7 @@ static struct acpi_driver acpi_sba_ioc_d
646 }, 646 },
647 }; 647 };
@@ -660,9 +660,9 @@ diff -urNp linux-2.6.32.11/arch/ia64/hp/common/sba_iommu.c linux-2.6.32.11/arch/
660 .alloc_coherent = sba_alloc_coherent, 660 .alloc_coherent = sba_alloc_coherent,
661 .free_coherent = sba_free_coherent, 661 .free_coherent = sba_free_coherent,
662 .map_page = sba_map_page, 662 .map_page = sba_map_page,
663diff -urNp linux-2.6.32.11/arch/ia64/ia32/binfmt_elf32.c linux-2.6.32.11/arch/ia64/ia32/binfmt_elf32.c 663diff -urNp linux-2.6.32.12/arch/ia64/ia32/binfmt_elf32.c linux-2.6.32.12/arch/ia64/ia32/binfmt_elf32.c
664--- linux-2.6.32.11/arch/ia64/ia32/binfmt_elf32.c 2010-03-15 11:52:04.000000000 -0400 664--- linux-2.6.32.12/arch/ia64/ia32/binfmt_elf32.c 2010-03-15 11:52:04.000000000 -0400
665+++ linux-2.6.32.11/arch/ia64/ia32/binfmt_elf32.c 2010-04-04 20:46:41.476773136 -0400 665+++ linux-2.6.32.12/arch/ia64/ia32/binfmt_elf32.c 2010-04-04 20:46:41.476773136 -0400
666@@ -45,6 +45,13 @@ randomize_stack_top(unsigned long stack_ 666@@ -45,6 +45,13 @@ randomize_stack_top(unsigned long stack_
667 667
668 #define elf_read_implies_exec(ex, have_pt_gnu_stack) (!(have_pt_gnu_stack)) 668 #define elf_read_implies_exec(ex, have_pt_gnu_stack) (!(have_pt_gnu_stack))
@@ -677,9 +677,9 @@ diff -urNp linux-2.6.32.11/arch/ia64/ia32/binfmt_elf32.c linux-2.6.32.11/arch/ia
677 /* Ugly but avoids duplication */ 677 /* Ugly but avoids duplication */
678 #include "../../../fs/binfmt_elf.c" 678 #include "../../../fs/binfmt_elf.c"
679 679
680diff -urNp linux-2.6.32.11/arch/ia64/ia32/ia32priv.h linux-2.6.32.11/arch/ia64/ia32/ia32priv.h 680diff -urNp linux-2.6.32.12/arch/ia64/ia32/ia32priv.h linux-2.6.32.12/arch/ia64/ia32/ia32priv.h
681--- linux-2.6.32.11/arch/ia64/ia32/ia32priv.h 2010-03-15 11:52:04.000000000 -0400 681--- linux-2.6.32.12/arch/ia64/ia32/ia32priv.h 2010-03-15 11:52:04.000000000 -0400
682+++ linux-2.6.32.11/arch/ia64/ia32/ia32priv.h 2010-04-04 20:46:41.476773136 -0400 682+++ linux-2.6.32.12/arch/ia64/ia32/ia32priv.h 2010-04-04 20:46:41.476773136 -0400
683@@ -296,7 +296,14 @@ typedef struct compat_siginfo { 683@@ -296,7 +296,14 @@ typedef struct compat_siginfo {
684 #define ELF_DATA ELFDATA2LSB 684 #define ELF_DATA ELFDATA2LSB
685 #define ELF_ARCH EM_386 685 #define ELF_ARCH EM_386
@@ -696,9 +696,9 @@ diff -urNp linux-2.6.32.11/arch/ia64/ia32/ia32priv.h linux-2.6.32.11/arch/ia64/i
696 #define IA32_GATE_OFFSET IA32_PAGE_OFFSET 696 #define IA32_GATE_OFFSET IA32_PAGE_OFFSET
697 #define IA32_GATE_END IA32_PAGE_OFFSET + PAGE_SIZE 697 #define IA32_GATE_END IA32_PAGE_OFFSET + PAGE_SIZE
698 698
699diff -urNp linux-2.6.32.11/arch/ia64/include/asm/dma-mapping.h linux-2.6.32.11/arch/ia64/include/asm/dma-mapping.h 699diff -urNp linux-2.6.32.12/arch/ia64/include/asm/dma-mapping.h linux-2.6.32.12/arch/ia64/include/asm/dma-mapping.h
700--- linux-2.6.32.11/arch/ia64/include/asm/dma-mapping.h 2010-03-15 11:52:04.000000000 -0400 700--- linux-2.6.32.12/arch/ia64/include/asm/dma-mapping.h 2010-03-15 11:52:04.000000000 -0400
701+++ linux-2.6.32.11/arch/ia64/include/asm/dma-mapping.h 2010-04-04 20:46:41.476773136 -0400 701+++ linux-2.6.32.12/arch/ia64/include/asm/dma-mapping.h 2010-04-04 20:46:41.476773136 -0400
702@@ -12,7 +12,7 @@ 702@@ -12,7 +12,7 @@
703 703
704 #define ARCH_HAS_DMA_GET_REQUIRED_MASK 704 #define ARCH_HAS_DMA_GET_REQUIRED_MASK
@@ -742,9 +742,9 @@ diff -urNp linux-2.6.32.11/arch/ia64/include/asm/dma-mapping.h linux-2.6.32.11/a
742 return ops->dma_supported(dev, mask); 742 return ops->dma_supported(dev, mask);
743 } 743 }
744 744
745diff -urNp linux-2.6.32.11/arch/ia64/include/asm/elf.h linux-2.6.32.11/arch/ia64/include/asm/elf.h 745diff -urNp linux-2.6.32.12/arch/ia64/include/asm/elf.h linux-2.6.32.12/arch/ia64/include/asm/elf.h
746--- linux-2.6.32.11/arch/ia64/include/asm/elf.h 2010-03-15 11:52:04.000000000 -0400 746--- linux-2.6.32.12/arch/ia64/include/asm/elf.h 2010-03-15 11:52:04.000000000 -0400
747+++ linux-2.6.32.11/arch/ia64/include/asm/elf.h 2010-04-04 20:46:41.476773136 -0400 747+++ linux-2.6.32.12/arch/ia64/include/asm/elf.h 2010-04-04 20:46:41.476773136 -0400
748@@ -43,6 +43,13 @@ 748@@ -43,6 +43,13 @@
749 */ 749 */
750 #define ELF_ET_DYN_BASE (TASK_UNMAPPED_BASE + 0x800000000UL) 750 #define ELF_ET_DYN_BASE (TASK_UNMAPPED_BASE + 0x800000000UL)
@@ -759,9 +759,9 @@ diff -urNp linux-2.6.32.11/arch/ia64/include/asm/elf.h linux-2.6.32.11/arch/ia64
759 #define PT_IA_64_UNWIND 0x70000001 759 #define PT_IA_64_UNWIND 0x70000001
760 760
761 /* IA-64 relocations: */ 761 /* IA-64 relocations: */
762diff -urNp linux-2.6.32.11/arch/ia64/include/asm/machvec.h linux-2.6.32.11/arch/ia64/include/asm/machvec.h 762diff -urNp linux-2.6.32.12/arch/ia64/include/asm/machvec.h linux-2.6.32.12/arch/ia64/include/asm/machvec.h
763--- linux-2.6.32.11/arch/ia64/include/asm/machvec.h 2010-03-15 11:52:04.000000000 -0400 763--- linux-2.6.32.12/arch/ia64/include/asm/machvec.h 2010-03-15 11:52:04.000000000 -0400
764+++ linux-2.6.32.11/arch/ia64/include/asm/machvec.h 2010-04-04 20:46:41.476773136 -0400 764+++ linux-2.6.32.12/arch/ia64/include/asm/machvec.h 2010-04-04 20:46:41.476773136 -0400
765@@ -45,7 +45,7 @@ typedef void ia64_mv_kernel_launch_event 765@@ -45,7 +45,7 @@ typedef void ia64_mv_kernel_launch_event
766 /* DMA-mapping interface: */ 766 /* DMA-mapping interface: */
767 typedef void ia64_mv_dma_init (void); 767 typedef void ia64_mv_dma_init (void);
@@ -780,9 +780,9 @@ diff -urNp linux-2.6.32.11/arch/ia64/include/asm/machvec.h linux-2.6.32.11/arch/
780 780
781 /* 781 /*
782 * Define default versions so we can extend machvec for new platforms without having 782 * Define default versions so we can extend machvec for new platforms without having
783diff -urNp linux-2.6.32.11/arch/ia64/include/asm/pgtable.h linux-2.6.32.11/arch/ia64/include/asm/pgtable.h 783diff -urNp linux-2.6.32.12/arch/ia64/include/asm/pgtable.h linux-2.6.32.12/arch/ia64/include/asm/pgtable.h
784--- linux-2.6.32.11/arch/ia64/include/asm/pgtable.h 2010-03-15 11:52:04.000000000 -0400 784--- linux-2.6.32.12/arch/ia64/include/asm/pgtable.h 2010-03-15 11:52:04.000000000 -0400
785+++ linux-2.6.32.11/arch/ia64/include/asm/pgtable.h 2010-04-04 20:46:41.480470677 -0400 785+++ linux-2.6.32.12/arch/ia64/include/asm/pgtable.h 2010-04-04 20:46:41.480470677 -0400
786@@ -143,6 +143,17 @@ 786@@ -143,6 +143,17 @@
787 #define PAGE_READONLY __pgprot(__ACCESS_BITS | _PAGE_PL_3 | _PAGE_AR_R) 787 #define PAGE_READONLY __pgprot(__ACCESS_BITS | _PAGE_PL_3 | _PAGE_AR_R)
788 #define PAGE_COPY __pgprot(__ACCESS_BITS | _PAGE_PL_3 | _PAGE_AR_R) 788 #define PAGE_COPY __pgprot(__ACCESS_BITS | _PAGE_PL_3 | _PAGE_AR_R)
@@ -801,9 +801,9 @@ diff -urNp linux-2.6.32.11/arch/ia64/include/asm/pgtable.h linux-2.6.32.11/arch/
801 #define PAGE_GATE __pgprot(__ACCESS_BITS | _PAGE_PL_0 | _PAGE_AR_X_RX) 801 #define PAGE_GATE __pgprot(__ACCESS_BITS | _PAGE_PL_0 | _PAGE_AR_X_RX)
802 #define PAGE_KERNEL __pgprot(__DIRTY_BITS | _PAGE_PL_0 | _PAGE_AR_RWX) 802 #define PAGE_KERNEL __pgprot(__DIRTY_BITS | _PAGE_PL_0 | _PAGE_AR_RWX)
803 #define PAGE_KERNELRX __pgprot(__ACCESS_BITS | _PAGE_PL_0 | _PAGE_AR_RX) 803 #define PAGE_KERNELRX __pgprot(__ACCESS_BITS | _PAGE_PL_0 | _PAGE_AR_RX)
804diff -urNp linux-2.6.32.11/arch/ia64/include/asm/uaccess.h linux-2.6.32.11/arch/ia64/include/asm/uaccess.h 804diff -urNp linux-2.6.32.12/arch/ia64/include/asm/uaccess.h linux-2.6.32.12/arch/ia64/include/asm/uaccess.h
805--- linux-2.6.32.11/arch/ia64/include/asm/uaccess.h 2010-03-15 11:52:04.000000000 -0400 805--- linux-2.6.32.12/arch/ia64/include/asm/uaccess.h 2010-03-15 11:52:04.000000000 -0400
806+++ linux-2.6.32.11/arch/ia64/include/asm/uaccess.h 2010-04-04 20:46:41.480470677 -0400 806+++ linux-2.6.32.12/arch/ia64/include/asm/uaccess.h 2010-04-04 20:46:41.480470677 -0400
807@@ -257,7 +257,7 @@ __copy_from_user (void *to, const void _ 807@@ -257,7 +257,7 @@ __copy_from_user (void *to, const void _
808 const void *__cu_from = (from); \ 808 const void *__cu_from = (from); \
809 long __cu_len = (n); \ 809 long __cu_len = (n); \
@@ -822,9 +822,9 @@ diff -urNp linux-2.6.32.11/arch/ia64/include/asm/uaccess.h linux-2.6.32.11/arch/
822 __cu_len = __copy_user((__force void __user *) __cu_to, __cu_from, __cu_len); \ 822 __cu_len = __copy_user((__force void __user *) __cu_to, __cu_from, __cu_len); \
823 __cu_len; \ 823 __cu_len; \
824 }) 824 })
825diff -urNp linux-2.6.32.11/arch/ia64/kernel/dma-mapping.c linux-2.6.32.11/arch/ia64/kernel/dma-mapping.c 825diff -urNp linux-2.6.32.12/arch/ia64/kernel/dma-mapping.c linux-2.6.32.12/arch/ia64/kernel/dma-mapping.c
826--- linux-2.6.32.11/arch/ia64/kernel/dma-mapping.c 2010-03-15 11:52:04.000000000 -0400 826--- linux-2.6.32.12/arch/ia64/kernel/dma-mapping.c 2010-03-15 11:52:04.000000000 -0400
827+++ linux-2.6.32.11/arch/ia64/kernel/dma-mapping.c 2010-04-04 20:46:41.480470677 -0400 827+++ linux-2.6.32.12/arch/ia64/kernel/dma-mapping.c 2010-04-04 20:46:41.480470677 -0400
828@@ -3,7 +3,7 @@ 828@@ -3,7 +3,7 @@
829 /* Set this to 1 if there is a HW IOMMU in the system */ 829 /* Set this to 1 if there is a HW IOMMU in the system */
830 int iommu_detected __read_mostly; 830 int iommu_detected __read_mostly;
@@ -843,9 +843,9 @@ diff -urNp linux-2.6.32.11/arch/ia64/kernel/dma-mapping.c linux-2.6.32.11/arch/i
843 { 843 {
844 return dma_ops; 844 return dma_ops;
845 } 845 }
846diff -urNp linux-2.6.32.11/arch/ia64/kernel/module.c linux-2.6.32.11/arch/ia64/kernel/module.c 846diff -urNp linux-2.6.32.12/arch/ia64/kernel/module.c linux-2.6.32.12/arch/ia64/kernel/module.c
847--- linux-2.6.32.11/arch/ia64/kernel/module.c 2010-03-15 11:52:04.000000000 -0400 847--- linux-2.6.32.12/arch/ia64/kernel/module.c 2010-03-15 11:52:04.000000000 -0400
848+++ linux-2.6.32.11/arch/ia64/kernel/module.c 2010-04-04 20:46:41.480470677 -0400 848+++ linux-2.6.32.12/arch/ia64/kernel/module.c 2010-04-04 20:46:41.480470677 -0400
849@@ -315,8 +315,7 @@ module_alloc (unsigned long size) 849@@ -315,8 +315,7 @@ module_alloc (unsigned long size)
850 void 850 void
851 module_free (struct module *mod, void *module_region) 851 module_free (struct module *mod, void *module_region)
@@ -934,9 +934,9 @@ diff -urNp linux-2.6.32.11/arch/ia64/kernel/module.c linux-2.6.32.11/arch/ia64/k
934 mod->arch.gp = gp; 934 mod->arch.gp = gp;
935 DEBUGP("%s: placing gp at 0x%lx\n", __func__, gp); 935 DEBUGP("%s: placing gp at 0x%lx\n", __func__, gp);
936 } 936 }
937diff -urNp linux-2.6.32.11/arch/ia64/kernel/pci-dma.c linux-2.6.32.11/arch/ia64/kernel/pci-dma.c 937diff -urNp linux-2.6.32.12/arch/ia64/kernel/pci-dma.c linux-2.6.32.12/arch/ia64/kernel/pci-dma.c
938--- linux-2.6.32.11/arch/ia64/kernel/pci-dma.c 2010-03-15 11:52:04.000000000 -0400 938--- linux-2.6.32.12/arch/ia64/kernel/pci-dma.c 2010-03-15 11:52:04.000000000 -0400
939+++ linux-2.6.32.11/arch/ia64/kernel/pci-dma.c 2010-04-04 20:46:41.480470677 -0400 939+++ linux-2.6.32.12/arch/ia64/kernel/pci-dma.c 2010-04-04 20:46:41.480470677 -0400
940@@ -43,7 +43,7 @@ struct device fallback_dev = { 940@@ -43,7 +43,7 @@ struct device fallback_dev = {
941 .dma_mask = &fallback_dev.coherent_dma_mask, 941 .dma_mask = &fallback_dev.coherent_dma_mask,
942 }; 942 };
@@ -946,9 +946,9 @@ diff -urNp linux-2.6.32.11/arch/ia64/kernel/pci-dma.c linux-2.6.32.11/arch/ia64/
946 946
947 static int __init pci_iommu_init(void) 947 static int __init pci_iommu_init(void)
948 { 948 {
949diff -urNp linux-2.6.32.11/arch/ia64/kernel/pci-swiotlb.c linux-2.6.32.11/arch/ia64/kernel/pci-swiotlb.c 949diff -urNp linux-2.6.32.12/arch/ia64/kernel/pci-swiotlb.c linux-2.6.32.12/arch/ia64/kernel/pci-swiotlb.c
950--- linux-2.6.32.11/arch/ia64/kernel/pci-swiotlb.c 2010-03-15 11:52:04.000000000 -0400 950--- linux-2.6.32.12/arch/ia64/kernel/pci-swiotlb.c 2010-03-15 11:52:04.000000000 -0400
951+++ linux-2.6.32.11/arch/ia64/kernel/pci-swiotlb.c 2010-04-04 20:46:41.480470677 -0400 951+++ linux-2.6.32.12/arch/ia64/kernel/pci-swiotlb.c 2010-04-04 20:46:41.480470677 -0400
952@@ -21,7 +21,7 @@ static void *ia64_swiotlb_alloc_coherent 952@@ -21,7 +21,7 @@ static void *ia64_swiotlb_alloc_coherent
953 return swiotlb_alloc_coherent(dev, size, dma_handle, gfp); 953 return swiotlb_alloc_coherent(dev, size, dma_handle, gfp);
954 } 954 }
@@ -958,9 +958,9 @@ diff -urNp linux-2.6.32.11/arch/ia64/kernel/pci-swiotlb.c linux-2.6.32.11/arch/i
958 .alloc_coherent = ia64_swiotlb_alloc_coherent, 958 .alloc_coherent = ia64_swiotlb_alloc_coherent,
959 .free_coherent = swiotlb_free_coherent, 959 .free_coherent = swiotlb_free_coherent,
960 .map_page = swiotlb_map_page, 960 .map_page = swiotlb_map_page,
961diff -urNp linux-2.6.32.11/arch/ia64/kernel/sys_ia64.c linux-2.6.32.11/arch/ia64/kernel/sys_ia64.c 961diff -urNp linux-2.6.32.12/arch/ia64/kernel/sys_ia64.c linux-2.6.32.12/arch/ia64/kernel/sys_ia64.c
962--- linux-2.6.32.11/arch/ia64/kernel/sys_ia64.c 2010-03-15 11:52:04.000000000 -0400 962--- linux-2.6.32.12/arch/ia64/kernel/sys_ia64.c 2010-03-15 11:52:04.000000000 -0400
963+++ linux-2.6.32.11/arch/ia64/kernel/sys_ia64.c 2010-04-04 20:46:41.480470677 -0400 963+++ linux-2.6.32.12/arch/ia64/kernel/sys_ia64.c 2010-04-04 20:46:41.480470677 -0400
964@@ -43,6 +43,13 @@ arch_get_unmapped_area (struct file *fil 964@@ -43,6 +43,13 @@ arch_get_unmapped_area (struct file *fil
965 if (REGION_NUMBER(addr) == RGN_HPAGE) 965 if (REGION_NUMBER(addr) == RGN_HPAGE)
966 addr = 0; 966 addr = 0;
@@ -987,9 +987,9 @@ diff -urNp linux-2.6.32.11/arch/ia64/kernel/sys_ia64.c linux-2.6.32.11/arch/ia64
987 goto full_search; 987 goto full_search;
988 } 988 }
989 return -ENOMEM; 989 return -ENOMEM;
990diff -urNp linux-2.6.32.11/arch/ia64/kernel/topology.c linux-2.6.32.11/arch/ia64/kernel/topology.c 990diff -urNp linux-2.6.32.12/arch/ia64/kernel/topology.c linux-2.6.32.12/arch/ia64/kernel/topology.c
991--- linux-2.6.32.11/arch/ia64/kernel/topology.c 2010-03-15 11:52:04.000000000 -0400 991--- linux-2.6.32.12/arch/ia64/kernel/topology.c 2010-03-15 11:52:04.000000000 -0400
992+++ linux-2.6.32.11/arch/ia64/kernel/topology.c 2010-04-04 20:46:41.480470677 -0400 992+++ linux-2.6.32.12/arch/ia64/kernel/topology.c 2010-04-04 20:46:41.480470677 -0400
993@@ -282,7 +282,7 @@ static ssize_t cache_show(struct kobject 993@@ -282,7 +282,7 @@ static ssize_t cache_show(struct kobject
994 return ret; 994 return ret;
995 } 995 }
@@ -999,9 +999,9 @@ diff -urNp linux-2.6.32.11/arch/ia64/kernel/topology.c linux-2.6.32.11/arch/ia64
999 .show = cache_show 999 .show = cache_show
1000 }; 1000 };
1001 1001
1002diff -urNp linux-2.6.32.11/arch/ia64/kernel/vmlinux.lds.S linux-2.6.32.11/arch/ia64/kernel/vmlinux.lds.S 1002diff -urNp linux-2.6.32.12/arch/ia64/kernel/vmlinux.lds.S linux-2.6.32.12/arch/ia64/kernel/vmlinux.lds.S
1003--- linux-2.6.32.11/arch/ia64/kernel/vmlinux.lds.S 2010-03-15 11:52:04.000000000 -0400 1003--- linux-2.6.32.12/arch/ia64/kernel/vmlinux.lds.S 2010-03-15 11:52:04.000000000 -0400
1004+++ linux-2.6.32.11/arch/ia64/kernel/vmlinux.lds.S 2010-04-04 20:46:41.480470677 -0400 1004+++ linux-2.6.32.12/arch/ia64/kernel/vmlinux.lds.S 2010-04-04 20:46:41.480470677 -0400
1005@@ -190,7 +190,7 @@ SECTIONS 1005@@ -190,7 +190,7 @@ SECTIONS
1006 /* Per-cpu data: */ 1006 /* Per-cpu data: */
1007 . = ALIGN(PERCPU_PAGE_SIZE); 1007 . = ALIGN(PERCPU_PAGE_SIZE);
@@ -1011,9 +1011,9 @@ diff -urNp linux-2.6.32.11/arch/ia64/kernel/vmlinux.lds.S linux-2.6.32.11/arch/i
1011 . = __phys_per_cpu_start + PERCPU_PAGE_SIZE; /* ensure percpu data fits 1011 . = __phys_per_cpu_start + PERCPU_PAGE_SIZE; /* ensure percpu data fits
1012 * into percpu page size 1012 * into percpu page size
1013 */ 1013 */
1014diff -urNp linux-2.6.32.11/arch/ia64/mm/fault.c linux-2.6.32.11/arch/ia64/mm/fault.c 1014diff -urNp linux-2.6.32.12/arch/ia64/mm/fault.c linux-2.6.32.12/arch/ia64/mm/fault.c
1015--- linux-2.6.32.11/arch/ia64/mm/fault.c 2010-03-15 11:52:04.000000000 -0400 1015--- linux-2.6.32.12/arch/ia64/mm/fault.c 2010-03-15 11:52:04.000000000 -0400
1016+++ linux-2.6.32.11/arch/ia64/mm/fault.c 2010-04-04 20:46:41.480470677 -0400 1016+++ linux-2.6.32.12/arch/ia64/mm/fault.c 2010-04-04 20:46:41.480470677 -0400
1017@@ -72,6 +72,23 @@ mapped_kernel_page_is_present (unsigned 1017@@ -72,6 +72,23 @@ mapped_kernel_page_is_present (unsigned
1018 return pte_present(pte); 1018 return pte_present(pte);
1019 } 1019 }
@@ -1063,9 +1063,9 @@ diff -urNp linux-2.6.32.11/arch/ia64/mm/fault.c linux-2.6.32.11/arch/ia64/mm/fau
1063 survive: 1063 survive:
1064 /* 1064 /*
1065 * If for any reason at all we couldn't handle the fault, make 1065 * If for any reason at all we couldn't handle the fault, make
1066diff -urNp linux-2.6.32.11/arch/ia64/mm/init.c linux-2.6.32.11/arch/ia64/mm/init.c 1066diff -urNp linux-2.6.32.12/arch/ia64/mm/init.c linux-2.6.32.12/arch/ia64/mm/init.c
1067--- linux-2.6.32.11/arch/ia64/mm/init.c 2010-03-15 11:52:04.000000000 -0400 1067--- linux-2.6.32.12/arch/ia64/mm/init.c 2010-03-15 11:52:04.000000000 -0400
1068+++ linux-2.6.32.11/arch/ia64/mm/init.c 2010-04-04 20:46:41.480470677 -0400 1068+++ linux-2.6.32.12/arch/ia64/mm/init.c 2010-04-04 20:46:41.480470677 -0400
1069@@ -122,6 +122,19 @@ ia64_init_addr_space (void) 1069@@ -122,6 +122,19 @@ ia64_init_addr_space (void)
1070 vma->vm_start = current->thread.rbs_bot & PAGE_MASK; 1070 vma->vm_start = current->thread.rbs_bot & PAGE_MASK;
1071 vma->vm_end = vma->vm_start + PAGE_SIZE; 1071 vma->vm_end = vma->vm_start + PAGE_SIZE;
@@ -1086,9 +1086,9 @@ diff -urNp linux-2.6.32.11/arch/ia64/mm/init.c linux-2.6.32.11/arch/ia64/mm/init
1086 vma->vm_page_prot = vm_get_page_prot(vma->vm_flags); 1086 vma->vm_page_prot = vm_get_page_prot(vma->vm_flags);
1087 down_write(&current->mm->mmap_sem); 1087 down_write(&current->mm->mmap_sem);
1088 if (insert_vm_struct(current->mm, vma)) { 1088 if (insert_vm_struct(current->mm, vma)) {
1089diff -urNp linux-2.6.32.11/arch/ia64/sn/pci/pci_dma.c linux-2.6.32.11/arch/ia64/sn/pci/pci_dma.c 1089diff -urNp linux-2.6.32.12/arch/ia64/sn/pci/pci_dma.c linux-2.6.32.12/arch/ia64/sn/pci/pci_dma.c
1090--- linux-2.6.32.11/arch/ia64/sn/pci/pci_dma.c 2010-03-15 11:52:04.000000000 -0400 1090--- linux-2.6.32.12/arch/ia64/sn/pci/pci_dma.c 2010-03-15 11:52:04.000000000 -0400
1091+++ linux-2.6.32.11/arch/ia64/sn/pci/pci_dma.c 2010-04-04 20:46:41.480470677 -0400 1091+++ linux-2.6.32.12/arch/ia64/sn/pci/pci_dma.c 2010-04-04 20:46:41.480470677 -0400
1092@@ -464,7 +464,7 @@ int sn_pci_legacy_write(struct pci_bus * 1092@@ -464,7 +464,7 @@ int sn_pci_legacy_write(struct pci_bus *
1093 return ret; 1093 return ret;
1094 } 1094 }
@@ -1098,9 +1098,9 @@ diff -urNp linux-2.6.32.11/arch/ia64/sn/pci/pci_dma.c linux-2.6.32.11/arch/ia64/
1098 .alloc_coherent = sn_dma_alloc_coherent, 1098 .alloc_coherent = sn_dma_alloc_coherent,
1099 .free_coherent = sn_dma_free_coherent, 1099 .free_coherent = sn_dma_free_coherent,
1100 .map_page = sn_dma_map_page, 1100 .map_page = sn_dma_map_page,
1101diff -urNp linux-2.6.32.11/arch/m32r/lib/usercopy.c linux-2.6.32.11/arch/m32r/lib/usercopy.c 1101diff -urNp linux-2.6.32.12/arch/m32r/lib/usercopy.c linux-2.6.32.12/arch/m32r/lib/usercopy.c
1102--- linux-2.6.32.11/arch/m32r/lib/usercopy.c 2010-03-15 11:52:04.000000000 -0400 1102--- linux-2.6.32.12/arch/m32r/lib/usercopy.c 2010-03-15 11:52:04.000000000 -0400
1103+++ linux-2.6.32.11/arch/m32r/lib/usercopy.c 2010-04-04 20:46:41.480470677 -0400 1103+++ linux-2.6.32.12/arch/m32r/lib/usercopy.c 2010-04-04 20:46:41.480470677 -0400
1104@@ -14,6 +14,9 @@ 1104@@ -14,6 +14,9 @@
1105 unsigned long 1105 unsigned long
1106 __generic_copy_to_user(void __user *to, const void *from, unsigned long n) 1106 __generic_copy_to_user(void __user *to, const void *from, unsigned long n)
@@ -1121,9 +1121,9 @@ diff -urNp linux-2.6.32.11/arch/m32r/lib/usercopy.c linux-2.6.32.11/arch/m32r/li
1121 prefetchw(to); 1121 prefetchw(to);
1122 if (access_ok(VERIFY_READ, from, n)) 1122 if (access_ok(VERIFY_READ, from, n))
1123 __copy_user_zeroing(to,from,n); 1123 __copy_user_zeroing(to,from,n);
1124diff -urNp linux-2.6.32.11/arch/mips/alchemy/devboards/pm.c linux-2.6.32.11/arch/mips/alchemy/devboards/pm.c 1124diff -urNp linux-2.6.32.12/arch/mips/alchemy/devboards/pm.c linux-2.6.32.12/arch/mips/alchemy/devboards/pm.c
1125--- linux-2.6.32.11/arch/mips/alchemy/devboards/pm.c 2010-03-15 11:52:04.000000000 -0400 1125--- linux-2.6.32.12/arch/mips/alchemy/devboards/pm.c 2010-03-15 11:52:04.000000000 -0400
1126+++ linux-2.6.32.11/arch/mips/alchemy/devboards/pm.c 2010-04-04 20:46:41.480470677 -0400 1126+++ linux-2.6.32.12/arch/mips/alchemy/devboards/pm.c 2010-04-04 20:46:41.480470677 -0400
1127@@ -78,7 +78,7 @@ static void db1x_pm_end(void) 1127@@ -78,7 +78,7 @@ static void db1x_pm_end(void)
1128 1128
1129 } 1129 }
@@ -1133,9 +1133,9 @@ diff -urNp linux-2.6.32.11/arch/mips/alchemy/devboards/pm.c linux-2.6.32.11/arch
1133 .valid = suspend_valid_only_mem, 1133 .valid = suspend_valid_only_mem,
1134 .begin = db1x_pm_begin, 1134 .begin = db1x_pm_begin,
1135 .enter = db1x_pm_enter, 1135 .enter = db1x_pm_enter,
1136diff -urNp linux-2.6.32.11/arch/mips/include/asm/elf.h linux-2.6.32.11/arch/mips/include/asm/elf.h 1136diff -urNp linux-2.6.32.12/arch/mips/include/asm/elf.h linux-2.6.32.12/arch/mips/include/asm/elf.h
1137--- linux-2.6.32.11/arch/mips/include/asm/elf.h 2010-03-15 11:52:04.000000000 -0400 1137--- linux-2.6.32.12/arch/mips/include/asm/elf.h 2010-03-15 11:52:04.000000000 -0400
1138+++ linux-2.6.32.11/arch/mips/include/asm/elf.h 2010-04-04 20:46:41.480470677 -0400 1138+++ linux-2.6.32.12/arch/mips/include/asm/elf.h 2010-04-04 20:46:41.480470677 -0400
1139@@ -368,4 +368,11 @@ extern int dump_task_fpu(struct task_str 1139@@ -368,4 +368,11 @@ extern int dump_task_fpu(struct task_str
1140 #define ELF_ET_DYN_BASE (TASK_SIZE / 3 * 2) 1140 #define ELF_ET_DYN_BASE (TASK_SIZE / 3 * 2)
1141 #endif 1141 #endif
@@ -1148,9 +1148,9 @@ diff -urNp linux-2.6.32.11/arch/mips/include/asm/elf.h linux-2.6.32.11/arch/mips
1148+#endif 1148+#endif
1149+ 1149+
1150 #endif /* _ASM_ELF_H */ 1150 #endif /* _ASM_ELF_H */
1151diff -urNp linux-2.6.32.11/arch/mips/include/asm/page.h linux-2.6.32.11/arch/mips/include/asm/page.h 1151diff -urNp linux-2.6.32.12/arch/mips/include/asm/page.h linux-2.6.32.12/arch/mips/include/asm/page.h
1152--- linux-2.6.32.11/arch/mips/include/asm/page.h 2010-03-15 11:52:04.000000000 -0400 1152--- linux-2.6.32.12/arch/mips/include/asm/page.h 2010-03-15 11:52:04.000000000 -0400
1153+++ linux-2.6.32.11/arch/mips/include/asm/page.h 2010-04-04 20:46:41.480470677 -0400 1153+++ linux-2.6.32.12/arch/mips/include/asm/page.h 2010-04-04 20:46:41.480470677 -0400
1154@@ -93,7 +93,7 @@ extern void copy_user_highpage(struct pa 1154@@ -93,7 +93,7 @@ extern void copy_user_highpage(struct pa
1155 #ifdef CONFIG_CPU_MIPS32 1155 #ifdef CONFIG_CPU_MIPS32
1156 typedef struct { unsigned long pte_low, pte_high; } pte_t; 1156 typedef struct { unsigned long pte_low, pte_high; } pte_t;
@@ -1160,9 +1160,9 @@ diff -urNp linux-2.6.32.11/arch/mips/include/asm/page.h linux-2.6.32.11/arch/mip
1160 #else 1160 #else
1161 typedef struct { unsigned long long pte; } pte_t; 1161 typedef struct { unsigned long long pte; } pte_t;
1162 #define pte_val(x) ((x).pte) 1162 #define pte_val(x) ((x).pte)
1163diff -urNp linux-2.6.32.11/arch/mips/include/asm/system.h linux-2.6.32.11/arch/mips/include/asm/system.h 1163diff -urNp linux-2.6.32.12/arch/mips/include/asm/system.h linux-2.6.32.12/arch/mips/include/asm/system.h
1164--- linux-2.6.32.11/arch/mips/include/asm/system.h 2010-03-15 11:52:04.000000000 -0400 1164--- linux-2.6.32.12/arch/mips/include/asm/system.h 2010-03-15 11:52:04.000000000 -0400
1165+++ linux-2.6.32.11/arch/mips/include/asm/system.h 2010-04-04 20:46:41.480470677 -0400 1165+++ linux-2.6.32.12/arch/mips/include/asm/system.h 2010-04-04 20:46:41.480470677 -0400
1166@@ -230,6 +230,6 @@ extern void per_cpu_trap_init(void); 1166@@ -230,6 +230,6 @@ extern void per_cpu_trap_init(void);
1167 */ 1167 */
1168 #define __ARCH_WANT_UNLOCKED_CTXSW 1168 #define __ARCH_WANT_UNLOCKED_CTXSW
@@ -1171,9 +1171,9 @@ diff -urNp linux-2.6.32.11/arch/mips/include/asm/system.h linux-2.6.32.11/arch/m
1171+#define arch_align_stack(x) ((x) & ALMASK) 1171+#define arch_align_stack(x) ((x) & ALMASK)
1172 1172
1173 #endif /* _ASM_SYSTEM_H */ 1173 #endif /* _ASM_SYSTEM_H */
1174diff -urNp linux-2.6.32.11/arch/mips/kernel/binfmt_elfn32.c linux-2.6.32.11/arch/mips/kernel/binfmt_elfn32.c 1174diff -urNp linux-2.6.32.12/arch/mips/kernel/binfmt_elfn32.c linux-2.6.32.12/arch/mips/kernel/binfmt_elfn32.c
1175--- linux-2.6.32.11/arch/mips/kernel/binfmt_elfn32.c 2010-03-15 11:52:04.000000000 -0400 1175--- linux-2.6.32.12/arch/mips/kernel/binfmt_elfn32.c 2010-03-15 11:52:04.000000000 -0400
1176+++ linux-2.6.32.11/arch/mips/kernel/binfmt_elfn32.c 2010-04-04 20:46:41.480470677 -0400 1176+++ linux-2.6.32.12/arch/mips/kernel/binfmt_elfn32.c 2010-04-04 20:46:41.480470677 -0400
1177@@ -50,6 +50,13 @@ typedef elf_fpreg_t elf_fpregset_t[ELF_N 1177@@ -50,6 +50,13 @@ typedef elf_fpreg_t elf_fpregset_t[ELF_N
1178 #undef ELF_ET_DYN_BASE 1178 #undef ELF_ET_DYN_BASE
1179 #define ELF_ET_DYN_BASE (TASK32_SIZE / 3 * 2) 1179 #define ELF_ET_DYN_BASE (TASK32_SIZE / 3 * 2)
@@ -1188,9 +1188,9 @@ diff -urNp linux-2.6.32.11/arch/mips/kernel/binfmt_elfn32.c linux-2.6.32.11/arch
1188 #include <asm/processor.h> 1188 #include <asm/processor.h>
1189 #include <linux/module.h> 1189 #include <linux/module.h>
1190 #include <linux/elfcore.h> 1190 #include <linux/elfcore.h>
1191diff -urNp linux-2.6.32.11/arch/mips/kernel/binfmt_elfo32.c linux-2.6.32.11/arch/mips/kernel/binfmt_elfo32.c 1191diff -urNp linux-2.6.32.12/arch/mips/kernel/binfmt_elfo32.c linux-2.6.32.12/arch/mips/kernel/binfmt_elfo32.c
1192--- linux-2.6.32.11/arch/mips/kernel/binfmt_elfo32.c 2010-03-15 11:52:04.000000000 -0400 1192--- linux-2.6.32.12/arch/mips/kernel/binfmt_elfo32.c 2010-03-15 11:52:04.000000000 -0400
1193+++ linux-2.6.32.11/arch/mips/kernel/binfmt_elfo32.c 2010-04-04 20:46:41.480470677 -0400 1193+++ linux-2.6.32.12/arch/mips/kernel/binfmt_elfo32.c 2010-04-04 20:46:41.480470677 -0400
1194@@ -52,6 +52,13 @@ typedef elf_fpreg_t elf_fpregset_t[ELF_N 1194@@ -52,6 +52,13 @@ typedef elf_fpreg_t elf_fpregset_t[ELF_N
1195 #undef ELF_ET_DYN_BASE 1195 #undef ELF_ET_DYN_BASE
1196 #define ELF_ET_DYN_BASE (TASK32_SIZE / 3 * 2) 1196 #define ELF_ET_DYN_BASE (TASK32_SIZE / 3 * 2)
@@ -1205,9 +1205,9 @@ diff -urNp linux-2.6.32.11/arch/mips/kernel/binfmt_elfo32.c linux-2.6.32.11/arch
1205 #include <asm/processor.h> 1205 #include <asm/processor.h>
1206 1206
1207 /* 1207 /*
1208diff -urNp linux-2.6.32.11/arch/mips/kernel/kgdb.c linux-2.6.32.11/arch/mips/kernel/kgdb.c 1208diff -urNp linux-2.6.32.12/arch/mips/kernel/kgdb.c linux-2.6.32.12/arch/mips/kernel/kgdb.c
1209--- linux-2.6.32.11/arch/mips/kernel/kgdb.c 2010-03-15 11:52:04.000000000 -0400 1209--- linux-2.6.32.12/arch/mips/kernel/kgdb.c 2010-03-15 11:52:04.000000000 -0400
1210+++ linux-2.6.32.11/arch/mips/kernel/kgdb.c 2010-04-04 20:46:41.480470677 -0400 1210+++ linux-2.6.32.12/arch/mips/kernel/kgdb.c 2010-04-04 20:46:41.480470677 -0400
1211@@ -245,6 +245,7 @@ int kgdb_arch_handle_exception(int vecto 1211@@ -245,6 +245,7 @@ int kgdb_arch_handle_exception(int vecto
1212 return -1; 1212 return -1;
1213 } 1213 }
@@ -1216,9 +1216,9 @@ diff -urNp linux-2.6.32.11/arch/mips/kernel/kgdb.c linux-2.6.32.11/arch/mips/ker
1216 struct kgdb_arch arch_kgdb_ops; 1216 struct kgdb_arch arch_kgdb_ops;
1217 1217
1218 /* 1218 /*
1219diff -urNp linux-2.6.32.11/arch/mips/kernel/process.c linux-2.6.32.11/arch/mips/kernel/process.c 1219diff -urNp linux-2.6.32.12/arch/mips/kernel/process.c linux-2.6.32.12/arch/mips/kernel/process.c
1220--- linux-2.6.32.11/arch/mips/kernel/process.c 2010-03-15 11:52:04.000000000 -0400 1220--- linux-2.6.32.12/arch/mips/kernel/process.c 2010-03-15 11:52:04.000000000 -0400
1221+++ linux-2.6.32.11/arch/mips/kernel/process.c 2010-04-04 20:46:41.480470677 -0400 1221+++ linux-2.6.32.12/arch/mips/kernel/process.c 2010-04-04 20:46:41.480470677 -0400
1222@@ -470,15 +470,3 @@ unsigned long get_wchan(struct task_stru 1222@@ -470,15 +470,3 @@ unsigned long get_wchan(struct task_stru
1223 out: 1223 out:
1224 return pc; 1224 return pc;
@@ -1235,9 +1235,9 @@ diff -urNp linux-2.6.32.11/arch/mips/kernel/process.c linux-2.6.32.11/arch/mips/
1235- 1235-
1236- return sp & ALMASK; 1236- return sp & ALMASK;
1237-} 1237-}
1238diff -urNp linux-2.6.32.11/arch/mips/kernel/syscall.c linux-2.6.32.11/arch/mips/kernel/syscall.c 1238diff -urNp linux-2.6.32.12/arch/mips/kernel/syscall.c linux-2.6.32.12/arch/mips/kernel/syscall.c
1239--- linux-2.6.32.11/arch/mips/kernel/syscall.c 2010-03-15 11:52:04.000000000 -0400 1239--- linux-2.6.32.12/arch/mips/kernel/syscall.c 2010-03-15 11:52:04.000000000 -0400
1240+++ linux-2.6.32.11/arch/mips/kernel/syscall.c 2010-04-04 20:46:41.480470677 -0400 1240+++ linux-2.6.32.12/arch/mips/kernel/syscall.c 2010-04-04 20:46:41.480470677 -0400
1241@@ -102,6 +102,11 @@ unsigned long arch_get_unmapped_area(str 1241@@ -102,6 +102,11 @@ unsigned long arch_get_unmapped_area(str
1242 do_color_align = 0; 1242 do_color_align = 0;
1243 if (filp || (flags & MAP_SHARED)) 1243 if (filp || (flags & MAP_SHARED))
@@ -1259,9 +1259,9 @@ diff -urNp linux-2.6.32.11/arch/mips/kernel/syscall.c linux-2.6.32.11/arch/mips/
1259 if (do_color_align) 1259 if (do_color_align)
1260 addr = COLOUR_ALIGN(addr, pgoff); 1260 addr = COLOUR_ALIGN(addr, pgoff);
1261 else 1261 else
1262diff -urNp linux-2.6.32.11/arch/mips/mm/fault.c linux-2.6.32.11/arch/mips/mm/fault.c 1262diff -urNp linux-2.6.32.12/arch/mips/mm/fault.c linux-2.6.32.12/arch/mips/mm/fault.c
1263--- linux-2.6.32.11/arch/mips/mm/fault.c 2010-03-15 11:52:04.000000000 -0400 1263--- linux-2.6.32.12/arch/mips/mm/fault.c 2010-03-15 11:52:04.000000000 -0400
1264+++ linux-2.6.32.11/arch/mips/mm/fault.c 2010-04-04 20:46:41.480470677 -0400 1264+++ linux-2.6.32.12/arch/mips/mm/fault.c 2010-04-04 20:46:41.480470677 -0400
1265@@ -26,6 +26,23 @@ 1265@@ -26,6 +26,23 @@
1266 #include <asm/ptrace.h> 1266 #include <asm/ptrace.h>
1267 #include <asm/highmem.h> /* For VMALLOC_END */ 1267 #include <asm/highmem.h> /* For VMALLOC_END */
@@ -1286,9 +1286,9 @@ diff -urNp linux-2.6.32.11/arch/mips/mm/fault.c linux-2.6.32.11/arch/mips/mm/fau
1286 /* 1286 /*
1287 * This routine handles page faults. It determines the address, 1287 * This routine handles page faults. It determines the address,
1288 * and the problem, and then passes it off to one of the appropriate 1288 * and the problem, and then passes it off to one of the appropriate
1289diff -urNp linux-2.6.32.11/arch/parisc/include/asm/elf.h linux-2.6.32.11/arch/parisc/include/asm/elf.h 1289diff -urNp linux-2.6.32.12/arch/parisc/include/asm/elf.h linux-2.6.32.12/arch/parisc/include/asm/elf.h
1290--- linux-2.6.32.11/arch/parisc/include/asm/elf.h 2010-03-15 11:52:04.000000000 -0400 1290--- linux-2.6.32.12/arch/parisc/include/asm/elf.h 2010-03-15 11:52:04.000000000 -0400
1291+++ linux-2.6.32.11/arch/parisc/include/asm/elf.h 2010-04-04 20:46:41.480470677 -0400 1291+++ linux-2.6.32.12/arch/parisc/include/asm/elf.h 2010-04-04 20:46:41.480470677 -0400
1292@@ -343,6 +343,13 @@ struct pt_regs; /* forward declaration.. 1292@@ -343,6 +343,13 @@ struct pt_regs; /* forward declaration..
1293 1293
1294 #define ELF_ET_DYN_BASE (TASK_UNMAPPED_BASE + 0x01000000) 1294 #define ELF_ET_DYN_BASE (TASK_UNMAPPED_BASE + 0x01000000)
@@ -1303,9 +1303,9 @@ diff -urNp linux-2.6.32.11/arch/parisc/include/asm/elf.h linux-2.6.32.11/arch/pa
1303 /* This yields a mask that user programs can use to figure out what 1303 /* This yields a mask that user programs can use to figure out what
1304 instruction set this CPU supports. This could be done in user space, 1304 instruction set this CPU supports. This could be done in user space,
1305 but it's not easy, and we've already done it here. */ 1305 but it's not easy, and we've already done it here. */
1306diff -urNp linux-2.6.32.11/arch/parisc/include/asm/pgtable.h linux-2.6.32.11/arch/parisc/include/asm/pgtable.h 1306diff -urNp linux-2.6.32.12/arch/parisc/include/asm/pgtable.h linux-2.6.32.12/arch/parisc/include/asm/pgtable.h
1307--- linux-2.6.32.11/arch/parisc/include/asm/pgtable.h 2010-03-15 11:52:04.000000000 -0400 1307--- linux-2.6.32.12/arch/parisc/include/asm/pgtable.h 2010-03-15 11:52:04.000000000 -0400
1308+++ linux-2.6.32.11/arch/parisc/include/asm/pgtable.h 2010-04-04 20:46:41.480470677 -0400 1308+++ linux-2.6.32.12/arch/parisc/include/asm/pgtable.h 2010-04-04 20:46:41.480470677 -0400
1309@@ -207,6 +207,17 @@ 1309@@ -207,6 +207,17 @@
1310 #define PAGE_EXECREAD __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_EXEC |_PAGE_ACCESSED) 1310 #define PAGE_EXECREAD __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_EXEC |_PAGE_ACCESSED)
1311 #define PAGE_COPY PAGE_EXECREAD 1311 #define PAGE_COPY PAGE_EXECREAD
@@ -1324,9 +1324,9 @@ diff -urNp linux-2.6.32.11/arch/parisc/include/asm/pgtable.h linux-2.6.32.11/arc
1324 #define PAGE_KERNEL __pgprot(_PAGE_KERNEL) 1324 #define PAGE_KERNEL __pgprot(_PAGE_KERNEL)
1325 #define PAGE_KERNEL_RO __pgprot(_PAGE_KERNEL & ~_PAGE_WRITE) 1325 #define PAGE_KERNEL_RO __pgprot(_PAGE_KERNEL & ~_PAGE_WRITE)
1326 #define PAGE_KERNEL_UNC __pgprot(_PAGE_KERNEL | _PAGE_NO_CACHE) 1326 #define PAGE_KERNEL_UNC __pgprot(_PAGE_KERNEL | _PAGE_NO_CACHE)
1327diff -urNp linux-2.6.32.11/arch/parisc/kernel/module.c linux-2.6.32.11/arch/parisc/kernel/module.c 1327diff -urNp linux-2.6.32.12/arch/parisc/kernel/module.c linux-2.6.32.12/arch/parisc/kernel/module.c
1328--- linux-2.6.32.11/arch/parisc/kernel/module.c 2010-03-15 11:52:04.000000000 -0400 1328--- linux-2.6.32.12/arch/parisc/kernel/module.c 2010-03-15 11:52:04.000000000 -0400
1329+++ linux-2.6.32.11/arch/parisc/kernel/module.c 2010-04-04 20:46:41.480470677 -0400 1329+++ linux-2.6.32.12/arch/parisc/kernel/module.c 2010-04-04 20:46:41.480470677 -0400
1330@@ -95,16 +95,38 @@ 1330@@ -95,16 +95,38 @@
1331 1331
1332 /* three functions to determine where in the module core 1332 /* three functions to determine where in the module core
@@ -1427,9 +1427,9 @@ diff -urNp linux-2.6.32.11/arch/parisc/kernel/module.c linux-2.6.32.11/arch/pari
1427 1427
1428 DEBUGP("register_unwind_table(), sect = %d at 0x%p - 0x%p (gp=0x%lx)\n", 1428 DEBUGP("register_unwind_table(), sect = %d at 0x%p - 0x%p (gp=0x%lx)\n",
1429 me->arch.unwind_section, table, end, gp); 1429 me->arch.unwind_section, table, end, gp);
1430diff -urNp linux-2.6.32.11/arch/parisc/kernel/sys_parisc.c linux-2.6.32.11/arch/parisc/kernel/sys_parisc.c 1430diff -urNp linux-2.6.32.12/arch/parisc/kernel/sys_parisc.c linux-2.6.32.12/arch/parisc/kernel/sys_parisc.c
1431--- linux-2.6.32.11/arch/parisc/kernel/sys_parisc.c 2010-03-15 11:52:04.000000000 -0400 1431--- linux-2.6.32.12/arch/parisc/kernel/sys_parisc.c 2010-03-15 11:52:04.000000000 -0400
1432+++ linux-2.6.32.11/arch/parisc/kernel/sys_parisc.c 2010-04-04 20:46:41.480470677 -0400 1432+++ linux-2.6.32.12/arch/parisc/kernel/sys_parisc.c 2010-04-04 20:46:41.480470677 -0400
1433@@ -98,7 +98,7 @@ unsigned long arch_get_unmapped_area(str 1433@@ -98,7 +98,7 @@ unsigned long arch_get_unmapped_area(str
1434 if (flags & MAP_FIXED) 1434 if (flags & MAP_FIXED)
1435 return addr; 1435 return addr;
@@ -1439,9 +1439,9 @@ diff -urNp linux-2.6.32.11/arch/parisc/kernel/sys_parisc.c linux-2.6.32.11/arch/
1439 1439
1440 if (filp) { 1440 if (filp) {
1441 addr = get_shared_area(filp->f_mapping, addr, len, pgoff); 1441 addr = get_shared_area(filp->f_mapping, addr, len, pgoff);
1442diff -urNp linux-2.6.32.11/arch/parisc/kernel/traps.c linux-2.6.32.11/arch/parisc/kernel/traps.c 1442diff -urNp linux-2.6.32.12/arch/parisc/kernel/traps.c linux-2.6.32.12/arch/parisc/kernel/traps.c
1443--- linux-2.6.32.11/arch/parisc/kernel/traps.c 2010-03-15 11:52:04.000000000 -0400 1443--- linux-2.6.32.12/arch/parisc/kernel/traps.c 2010-03-15 11:52:04.000000000 -0400
1444+++ linux-2.6.32.11/arch/parisc/kernel/traps.c 2010-04-04 20:46:41.480470677 -0400 1444+++ linux-2.6.32.12/arch/parisc/kernel/traps.c 2010-04-04 20:46:41.480470677 -0400
1445@@ -733,9 +733,7 @@ void notrace handle_interruption(int cod 1445@@ -733,9 +733,7 @@ void notrace handle_interruption(int cod
1446 1446
1447 down_read(&current->mm->mmap_sem); 1447 down_read(&current->mm->mmap_sem);
@@ -1453,9 +1453,9 @@ diff -urNp linux-2.6.32.11/arch/parisc/kernel/traps.c linux-2.6.32.11/arch/paris
1453 fault_address = regs->iaoq[0]; 1453 fault_address = regs->iaoq[0];
1454 fault_space = regs->iasq[0]; 1454 fault_space = regs->iasq[0];
1455 1455
1456diff -urNp linux-2.6.32.11/arch/parisc/mm/fault.c linux-2.6.32.11/arch/parisc/mm/fault.c 1456diff -urNp linux-2.6.32.12/arch/parisc/mm/fault.c linux-2.6.32.12/arch/parisc/mm/fault.c
1457--- linux-2.6.32.11/arch/parisc/mm/fault.c 2010-03-15 11:52:04.000000000 -0400 1457--- linux-2.6.32.12/arch/parisc/mm/fault.c 2010-03-15 11:52:04.000000000 -0400
1458+++ linux-2.6.32.11/arch/parisc/mm/fault.c 2010-04-04 20:46:41.480470677 -0400 1458+++ linux-2.6.32.12/arch/parisc/mm/fault.c 2010-04-04 20:46:41.480470677 -0400
1459@@ -15,6 +15,7 @@ 1459@@ -15,6 +15,7 @@
1460 #include <linux/sched.h> 1460 #include <linux/sched.h>
1461 #include <linux/interrupt.h> 1461 #include <linux/interrupt.h>
@@ -1625,9 +1625,9 @@ diff -urNp linux-2.6.32.11/arch/parisc/mm/fault.c linux-2.6.32.11/arch/parisc/mm
1625 1625
1626 /* 1626 /*
1627 * If for any reason at all we couldn't handle the fault, make 1627 * If for any reason at all we couldn't handle the fault, make
1628diff -urNp linux-2.6.32.11/arch/powerpc/include/asm/device.h linux-2.6.32.11/arch/powerpc/include/asm/device.h 1628diff -urNp linux-2.6.32.12/arch/powerpc/include/asm/device.h linux-2.6.32.12/arch/powerpc/include/asm/device.h
1629--- linux-2.6.32.11/arch/powerpc/include/asm/device.h 2010-03-15 11:52:04.000000000 -0400 1629--- linux-2.6.32.12/arch/powerpc/include/asm/device.h 2010-03-15 11:52:04.000000000 -0400
1630+++ linux-2.6.32.11/arch/powerpc/include/asm/device.h 2010-04-04 20:46:41.485273950 -0400 1630+++ linux-2.6.32.12/arch/powerpc/include/asm/device.h 2010-04-04 20:46:41.485273950 -0400
1631@@ -14,7 +14,7 @@ struct dev_archdata { 1631@@ -14,7 +14,7 @@ struct dev_archdata {
1632 struct device_node *of_node; 1632 struct device_node *of_node;
1633 1633
@@ -1637,9 +1637,9 @@ diff -urNp linux-2.6.32.11/arch/powerpc/include/asm/device.h linux-2.6.32.11/arc
1637 1637
1638 /* 1638 /*
1639 * When an iommu is in use, dma_data is used as a ptr to the base of the 1639 * When an iommu is in use, dma_data is used as a ptr to the base of the
1640diff -urNp linux-2.6.32.11/arch/powerpc/include/asm/dma-mapping.h linux-2.6.32.11/arch/powerpc/include/asm/dma-mapping.h 1640diff -urNp linux-2.6.32.12/arch/powerpc/include/asm/dma-mapping.h linux-2.6.32.12/arch/powerpc/include/asm/dma-mapping.h
1641--- linux-2.6.32.11/arch/powerpc/include/asm/dma-mapping.h 2010-03-15 11:52:04.000000000 -0400 1641--- linux-2.6.32.12/arch/powerpc/include/asm/dma-mapping.h 2010-03-15 11:52:04.000000000 -0400
1642+++ linux-2.6.32.11/arch/powerpc/include/asm/dma-mapping.h 2010-04-04 20:46:41.485273950 -0400 1642+++ linux-2.6.32.12/arch/powerpc/include/asm/dma-mapping.h 2010-04-04 20:46:41.485273950 -0400
1643@@ -69,9 +69,9 @@ static inline unsigned long device_to_ma 1643@@ -69,9 +69,9 @@ static inline unsigned long device_to_ma
1644 #ifdef CONFIG_PPC64 1644 #ifdef CONFIG_PPC64
1645 extern struct dma_map_ops dma_iommu_ops; 1645 extern struct dma_map_ops dma_iommu_ops;
@@ -1706,9 +1706,9 @@ diff -urNp linux-2.6.32.11/arch/powerpc/include/asm/dma-mapping.h linux-2.6.32.1
1706 1706
1707 if (dma_ops->mapping_error) 1707 if (dma_ops->mapping_error)
1708 return dma_ops->mapping_error(dev, dma_addr); 1708 return dma_ops->mapping_error(dev, dma_addr);
1709diff -urNp linux-2.6.32.11/arch/powerpc/include/asm/elf.h linux-2.6.32.11/arch/powerpc/include/asm/elf.h 1709diff -urNp linux-2.6.32.12/arch/powerpc/include/asm/elf.h linux-2.6.32.12/arch/powerpc/include/asm/elf.h
1710--- linux-2.6.32.11/arch/powerpc/include/asm/elf.h 2010-03-15 11:52:04.000000000 -0400 1710--- linux-2.6.32.12/arch/powerpc/include/asm/elf.h 2010-03-15 11:52:04.000000000 -0400
1711+++ linux-2.6.32.11/arch/powerpc/include/asm/elf.h 2010-04-04 20:46:41.485273950 -0400 1711+++ linux-2.6.32.12/arch/powerpc/include/asm/elf.h 2010-04-04 20:46:41.485273950 -0400
1712@@ -179,8 +179,19 @@ typedef elf_fpreg_t elf_vsrreghalf_t32[E 1712@@ -179,8 +179,19 @@ typedef elf_fpreg_t elf_vsrreghalf_t32[E
1713 the loader. We need to make sure that it is out of the way of the program 1713 the loader. We need to make sure that it is out of the way of the program
1714 that it will "exec", and that there is sufficient room for the brk. */ 1714 that it will "exec", and that there is sufficient room for the brk. */
@@ -1741,9 +1741,9 @@ diff -urNp linux-2.6.32.11/arch/powerpc/include/asm/elf.h linux-2.6.32.11/arch/p
1741 #endif /* __KERNEL__ */ 1741 #endif /* __KERNEL__ */
1742 1742
1743 /* 1743 /*
1744diff -urNp linux-2.6.32.11/arch/powerpc/include/asm/iommu.h linux-2.6.32.11/arch/powerpc/include/asm/iommu.h 1744diff -urNp linux-2.6.32.12/arch/powerpc/include/asm/iommu.h linux-2.6.32.12/arch/powerpc/include/asm/iommu.h
1745--- linux-2.6.32.11/arch/powerpc/include/asm/iommu.h 2010-03-15 11:52:04.000000000 -0400 1745--- linux-2.6.32.12/arch/powerpc/include/asm/iommu.h 2010-03-15 11:52:04.000000000 -0400
1746+++ linux-2.6.32.11/arch/powerpc/include/asm/iommu.h 2010-04-04 20:46:41.485273950 -0400 1746+++ linux-2.6.32.12/arch/powerpc/include/asm/iommu.h 2010-04-04 20:46:41.485273950 -0400
1747@@ -116,6 +116,9 @@ extern void iommu_init_early_iSeries(voi 1747@@ -116,6 +116,9 @@ extern void iommu_init_early_iSeries(voi
1748 extern void iommu_init_early_dart(void); 1748 extern void iommu_init_early_dart(void);
1749 extern void iommu_init_early_pasemi(void); 1749 extern void iommu_init_early_pasemi(void);
@@ -1754,9 +1754,9 @@ diff -urNp linux-2.6.32.11/arch/powerpc/include/asm/iommu.h linux-2.6.32.11/arch
1754 #ifdef CONFIG_PCI 1754 #ifdef CONFIG_PCI
1755 extern void pci_iommu_init(void); 1755 extern void pci_iommu_init(void);
1756 extern void pci_direct_iommu_init(void); 1756 extern void pci_direct_iommu_init(void);
1757diff -urNp linux-2.6.32.11/arch/powerpc/include/asm/kmap_types.h linux-2.6.32.11/arch/powerpc/include/asm/kmap_types.h 1757diff -urNp linux-2.6.32.12/arch/powerpc/include/asm/kmap_types.h linux-2.6.32.12/arch/powerpc/include/asm/kmap_types.h
1758--- linux-2.6.32.11/arch/powerpc/include/asm/kmap_types.h 2010-03-15 11:52:04.000000000 -0400 1758--- linux-2.6.32.12/arch/powerpc/include/asm/kmap_types.h 2010-03-15 11:52:04.000000000 -0400
1759+++ linux-2.6.32.11/arch/powerpc/include/asm/kmap_types.h 2010-04-04 20:46:41.485273950 -0400 1759+++ linux-2.6.32.12/arch/powerpc/include/asm/kmap_types.h 2010-04-04 20:46:41.485273950 -0400
1760@@ -26,6 +26,7 @@ enum km_type { 1760@@ -26,6 +26,7 @@ enum km_type {
1761 KM_SOFTIRQ1, 1761 KM_SOFTIRQ1,
1762 KM_PPC_SYNC_PAGE, 1762 KM_PPC_SYNC_PAGE,
@@ -1765,9 +1765,9 @@ diff -urNp linux-2.6.32.11/arch/powerpc/include/asm/kmap_types.h linux-2.6.32.11
1765 KM_TYPE_NR 1765 KM_TYPE_NR
1766 }; 1766 };
1767 1767
1768diff -urNp linux-2.6.32.11/arch/powerpc/include/asm/page_64.h linux-2.6.32.11/arch/powerpc/include/asm/page_64.h 1768diff -urNp linux-2.6.32.12/arch/powerpc/include/asm/page_64.h linux-2.6.32.12/arch/powerpc/include/asm/page_64.h
1769--- linux-2.6.32.11/arch/powerpc/include/asm/page_64.h 2010-03-15 11:52:04.000000000 -0400 1769--- linux-2.6.32.12/arch/powerpc/include/asm/page_64.h 2010-03-15 11:52:04.000000000 -0400
1770+++ linux-2.6.32.11/arch/powerpc/include/asm/page_64.h 2010-04-04 20:46:41.485273950 -0400 1770+++ linux-2.6.32.12/arch/powerpc/include/asm/page_64.h 2010-04-04 20:46:41.485273950 -0400
1771@@ -180,15 +180,18 @@ do { \ 1771@@ -180,15 +180,18 @@ do { \
1772 * stack by default, so in the absense of a PT_GNU_STACK program header 1772 * stack by default, so in the absense of a PT_GNU_STACK program header
1773 * we turn execute permission off. 1773 * we turn execute permission off.
@@ -1789,9 +1789,9 @@ diff -urNp linux-2.6.32.11/arch/powerpc/include/asm/page_64.h linux-2.6.32.11/ar
1789 1789
1790 #include <asm-generic/getorder.h> 1790 #include <asm-generic/getorder.h>
1791 1791
1792diff -urNp linux-2.6.32.11/arch/powerpc/include/asm/page.h linux-2.6.32.11/arch/powerpc/include/asm/page.h 1792diff -urNp linux-2.6.32.12/arch/powerpc/include/asm/page.h linux-2.6.32.12/arch/powerpc/include/asm/page.h
1793--- linux-2.6.32.11/arch/powerpc/include/asm/page.h 2010-03-15 11:52:04.000000000 -0400 1793--- linux-2.6.32.12/arch/powerpc/include/asm/page.h 2010-03-15 11:52:04.000000000 -0400
1794+++ linux-2.6.32.11/arch/powerpc/include/asm/page.h 2010-04-04 20:46:41.485273950 -0400 1794+++ linux-2.6.32.12/arch/powerpc/include/asm/page.h 2010-04-04 20:46:41.485273950 -0400
1795@@ -116,8 +116,9 @@ extern phys_addr_t kernstart_addr; 1795@@ -116,8 +116,9 @@ extern phys_addr_t kernstart_addr;
1796 * and needs to be executable. This means the whole heap ends 1796 * and needs to be executable. This means the whole heap ends
1797 * up being executable. 1797 * up being executable.
@@ -1814,9 +1814,9 @@ diff -urNp linux-2.6.32.11/arch/powerpc/include/asm/page.h linux-2.6.32.11/arch/
1814 #ifndef __ASSEMBLY__ 1814 #ifndef __ASSEMBLY__
1815 1815
1816 #undef STRICT_MM_TYPECHECKS 1816 #undef STRICT_MM_TYPECHECKS
1817diff -urNp linux-2.6.32.11/arch/powerpc/include/asm/pci.h linux-2.6.32.11/arch/powerpc/include/asm/pci.h 1817diff -urNp linux-2.6.32.12/arch/powerpc/include/asm/pci.h linux-2.6.32.12/arch/powerpc/include/asm/pci.h
1818--- linux-2.6.32.11/arch/powerpc/include/asm/pci.h 2010-03-15 11:52:04.000000000 -0400 1818--- linux-2.6.32.12/arch/powerpc/include/asm/pci.h 2010-03-15 11:52:04.000000000 -0400
1819+++ linux-2.6.32.11/arch/powerpc/include/asm/pci.h 2010-04-04 20:46:41.485273950 -0400 1819+++ linux-2.6.32.12/arch/powerpc/include/asm/pci.h 2010-04-04 20:46:41.485273950 -0400
1820@@ -65,8 +65,8 @@ static inline int pci_get_legacy_ide_irq 1820@@ -65,8 +65,8 @@ static inline int pci_get_legacy_ide_irq
1821 } 1821 }
1822 1822
@@ -1828,9 +1828,9 @@ diff -urNp linux-2.6.32.11/arch/powerpc/include/asm/pci.h linux-2.6.32.11/arch/p
1828 #else /* CONFIG_PCI */ 1828 #else /* CONFIG_PCI */
1829 #define set_pci_dma_ops(d) 1829 #define set_pci_dma_ops(d)
1830 #define get_pci_dma_ops() NULL 1830 #define get_pci_dma_ops() NULL
1831diff -urNp linux-2.6.32.11/arch/powerpc/include/asm/pte-hash32.h linux-2.6.32.11/arch/powerpc/include/asm/pte-hash32.h 1831diff -urNp linux-2.6.32.12/arch/powerpc/include/asm/pte-hash32.h linux-2.6.32.12/arch/powerpc/include/asm/pte-hash32.h
1832--- linux-2.6.32.11/arch/powerpc/include/asm/pte-hash32.h 2010-03-15 11:52:04.000000000 -0400 1832--- linux-2.6.32.12/arch/powerpc/include/asm/pte-hash32.h 2010-03-15 11:52:04.000000000 -0400
1833+++ linux-2.6.32.11/arch/powerpc/include/asm/pte-hash32.h 2010-04-04 20:46:41.485273950 -0400 1833+++ linux-2.6.32.12/arch/powerpc/include/asm/pte-hash32.h 2010-04-04 20:46:41.485273950 -0400
1834@@ -21,6 +21,7 @@ 1834@@ -21,6 +21,7 @@
1835 #define _PAGE_FILE 0x004 /* when !present: nonlinear file mapping */ 1835 #define _PAGE_FILE 0x004 /* when !present: nonlinear file mapping */
1836 #define _PAGE_USER 0x004 /* usermode access allowed */ 1836 #define _PAGE_USER 0x004 /* usermode access allowed */
@@ -1839,9 +1839,9 @@ diff -urNp linux-2.6.32.11/arch/powerpc/include/asm/pte-hash32.h linux-2.6.32.11
1839 #define _PAGE_COHERENT 0x010 /* M: enforce memory coherence (SMP systems) */ 1839 #define _PAGE_COHERENT 0x010 /* M: enforce memory coherence (SMP systems) */
1840 #define _PAGE_NO_CACHE 0x020 /* I: cache inhibit */ 1840 #define _PAGE_NO_CACHE 0x020 /* I: cache inhibit */
1841 #define _PAGE_WRITETHRU 0x040 /* W: cache write-through */ 1841 #define _PAGE_WRITETHRU 0x040 /* W: cache write-through */
1842diff -urNp linux-2.6.32.11/arch/powerpc/include/asm/reg.h linux-2.6.32.11/arch/powerpc/include/asm/reg.h 1842diff -urNp linux-2.6.32.12/arch/powerpc/include/asm/reg.h linux-2.6.32.12/arch/powerpc/include/asm/reg.h
1843--- linux-2.6.32.11/arch/powerpc/include/asm/reg.h 2010-03-15 11:52:04.000000000 -0400 1843--- linux-2.6.32.12/arch/powerpc/include/asm/reg.h 2010-03-15 11:52:04.000000000 -0400
1844+++ linux-2.6.32.11/arch/powerpc/include/asm/reg.h 2010-04-04 20:46:41.485273950 -0400 1844+++ linux-2.6.32.12/arch/powerpc/include/asm/reg.h 2010-04-04 20:46:41.485273950 -0400
1845@@ -191,6 +191,7 @@ 1845@@ -191,6 +191,7 @@
1846 #define SPRN_DBCR 0x136 /* e300 Data Breakpoint Control Reg */ 1846 #define SPRN_DBCR 0x136 /* e300 Data Breakpoint Control Reg */
1847 #define SPRN_DSISR 0x012 /* Data Storage Interrupt Status Register */ 1847 #define SPRN_DSISR 0x012 /* Data Storage Interrupt Status Register */
@@ -1850,9 +1850,9 @@ diff -urNp linux-2.6.32.11/arch/powerpc/include/asm/reg.h linux-2.6.32.11/arch/p
1850 #define DSISR_PROTFAULT 0x08000000 /* protection fault */ 1850 #define DSISR_PROTFAULT 0x08000000 /* protection fault */
1851 #define DSISR_ISSTORE 0x02000000 /* access was a store */ 1851 #define DSISR_ISSTORE 0x02000000 /* access was a store */
1852 #define DSISR_DABRMATCH 0x00400000 /* hit data breakpoint */ 1852 #define DSISR_DABRMATCH 0x00400000 /* hit data breakpoint */
1853diff -urNp linux-2.6.32.11/arch/powerpc/include/asm/swiotlb.h linux-2.6.32.11/arch/powerpc/include/asm/swiotlb.h 1853diff -urNp linux-2.6.32.12/arch/powerpc/include/asm/swiotlb.h linux-2.6.32.12/arch/powerpc/include/asm/swiotlb.h
1854--- linux-2.6.32.11/arch/powerpc/include/asm/swiotlb.h 2010-03-15 11:52:04.000000000 -0400 1854--- linux-2.6.32.12/arch/powerpc/include/asm/swiotlb.h 2010-03-15 11:52:04.000000000 -0400
1855+++ linux-2.6.32.11/arch/powerpc/include/asm/swiotlb.h 2010-04-04 20:46:41.485273950 -0400 1855+++ linux-2.6.32.12/arch/powerpc/include/asm/swiotlb.h 2010-04-04 20:46:41.485273950 -0400
1856@@ -13,7 +13,7 @@ 1856@@ -13,7 +13,7 @@
1857 1857
1858 #include <linux/swiotlb.h> 1858 #include <linux/swiotlb.h>
@@ -1862,9 +1862,9 @@ diff -urNp linux-2.6.32.11/arch/powerpc/include/asm/swiotlb.h linux-2.6.32.11/ar
1862 1862
1863 static inline void dma_mark_clean(void *addr, size_t size) {} 1863 static inline void dma_mark_clean(void *addr, size_t size) {}
1864 1864
1865diff -urNp linux-2.6.32.11/arch/powerpc/include/asm/uaccess.h linux-2.6.32.11/arch/powerpc/include/asm/uaccess.h 1865diff -urNp linux-2.6.32.12/arch/powerpc/include/asm/uaccess.h linux-2.6.32.12/arch/powerpc/include/asm/uaccess.h
1866--- linux-2.6.32.11/arch/powerpc/include/asm/uaccess.h 2010-03-15 11:52:04.000000000 -0400 1866--- linux-2.6.32.12/arch/powerpc/include/asm/uaccess.h 2010-03-15 11:52:04.000000000 -0400
1867+++ linux-2.6.32.11/arch/powerpc/include/asm/uaccess.h 2010-04-04 20:46:41.485273950 -0400 1867+++ linux-2.6.32.12/arch/powerpc/include/asm/uaccess.h 2010-04-04 20:46:41.485273950 -0400
1868@@ -327,52 +327,6 @@ do { \ 1868@@ -327,52 +327,6 @@ do { \
1869 extern unsigned long __copy_tofrom_user(void __user *to, 1869 extern unsigned long __copy_tofrom_user(void __user *to,
1870 const void __user *from, unsigned long size); 1870 const void __user *from, unsigned long size);
@@ -2033,9 +2033,9 @@ diff -urNp linux-2.6.32.11/arch/powerpc/include/asm/uaccess.h linux-2.6.32.11/ar
2033 extern unsigned long __clear_user(void __user *addr, unsigned long size); 2033 extern unsigned long __clear_user(void __user *addr, unsigned long size);
2034 2034
2035 static inline unsigned long clear_user(void __user *addr, unsigned long size) 2035 static inline unsigned long clear_user(void __user *addr, unsigned long size)
2036diff -urNp linux-2.6.32.11/arch/powerpc/kernel/cacheinfo.c linux-2.6.32.11/arch/powerpc/kernel/cacheinfo.c 2036diff -urNp linux-2.6.32.12/arch/powerpc/kernel/cacheinfo.c linux-2.6.32.12/arch/powerpc/kernel/cacheinfo.c
2037--- linux-2.6.32.11/arch/powerpc/kernel/cacheinfo.c 2010-03-15 11:52:04.000000000 -0400 2037--- linux-2.6.32.12/arch/powerpc/kernel/cacheinfo.c 2010-03-15 11:52:04.000000000 -0400
2038+++ linux-2.6.32.11/arch/powerpc/kernel/cacheinfo.c 2010-04-04 20:46:41.485273950 -0400 2038+++ linux-2.6.32.12/arch/powerpc/kernel/cacheinfo.c 2010-04-04 20:46:41.485273950 -0400
2039@@ -642,7 +642,7 @@ static struct kobj_attribute *cache_inde 2039@@ -642,7 +642,7 @@ static struct kobj_attribute *cache_inde
2040 &cache_assoc_attr, 2040 &cache_assoc_attr,
2041 }; 2041 };
@@ -2045,9 +2045,9 @@ diff -urNp linux-2.6.32.11/arch/powerpc/kernel/cacheinfo.c linux-2.6.32.11/arch/
2045 .show = cache_index_show, 2045 .show = cache_index_show,
2046 }; 2046 };
2047 2047
2048diff -urNp linux-2.6.32.11/arch/powerpc/kernel/dma.c linux-2.6.32.11/arch/powerpc/kernel/dma.c 2048diff -urNp linux-2.6.32.12/arch/powerpc/kernel/dma.c linux-2.6.32.12/arch/powerpc/kernel/dma.c
2049--- linux-2.6.32.11/arch/powerpc/kernel/dma.c 2010-03-15 11:52:04.000000000 -0400 2049--- linux-2.6.32.12/arch/powerpc/kernel/dma.c 2010-03-15 11:52:04.000000000 -0400
2050+++ linux-2.6.32.11/arch/powerpc/kernel/dma.c 2010-04-04 20:46:41.485273950 -0400 2050+++ linux-2.6.32.12/arch/powerpc/kernel/dma.c 2010-04-04 20:46:41.485273950 -0400
2051@@ -134,7 +134,7 @@ static inline void dma_direct_sync_singl 2051@@ -134,7 +134,7 @@ static inline void dma_direct_sync_singl
2052 } 2052 }
2053 #endif 2053 #endif
@@ -2057,9 +2057,9 @@ diff -urNp linux-2.6.32.11/arch/powerpc/kernel/dma.c linux-2.6.32.11/arch/powerp
2057 .alloc_coherent = dma_direct_alloc_coherent, 2057 .alloc_coherent = dma_direct_alloc_coherent,
2058 .free_coherent = dma_direct_free_coherent, 2058 .free_coherent = dma_direct_free_coherent,
2059 .map_sg = dma_direct_map_sg, 2059 .map_sg = dma_direct_map_sg,
2060diff -urNp linux-2.6.32.11/arch/powerpc/kernel/dma-iommu.c linux-2.6.32.11/arch/powerpc/kernel/dma-iommu.c 2060diff -urNp linux-2.6.32.12/arch/powerpc/kernel/dma-iommu.c linux-2.6.32.12/arch/powerpc/kernel/dma-iommu.c
2061--- linux-2.6.32.11/arch/powerpc/kernel/dma-iommu.c 2010-03-15 11:52:04.000000000 -0400 2061--- linux-2.6.32.12/arch/powerpc/kernel/dma-iommu.c 2010-03-15 11:52:04.000000000 -0400
2062+++ linux-2.6.32.11/arch/powerpc/kernel/dma-iommu.c 2010-04-04 20:46:41.485273950 -0400 2062+++ linux-2.6.32.12/arch/powerpc/kernel/dma-iommu.c 2010-04-04 20:46:41.485273950 -0400
2063@@ -70,7 +70,7 @@ static void dma_iommu_unmap_sg(struct de 2063@@ -70,7 +70,7 @@ static void dma_iommu_unmap_sg(struct de
2064 } 2064 }
2065 2065
@@ -2069,9 +2069,9 @@ diff -urNp linux-2.6.32.11/arch/powerpc/kernel/dma-iommu.c linux-2.6.32.11/arch/
2069 { 2069 {
2070 struct iommu_table *tbl = get_iommu_table_base(dev); 2070 struct iommu_table *tbl = get_iommu_table_base(dev);
2071 2071
2072diff -urNp linux-2.6.32.11/arch/powerpc/kernel/dma-swiotlb.c linux-2.6.32.11/arch/powerpc/kernel/dma-swiotlb.c 2072diff -urNp linux-2.6.32.12/arch/powerpc/kernel/dma-swiotlb.c linux-2.6.32.12/arch/powerpc/kernel/dma-swiotlb.c
2073--- linux-2.6.32.11/arch/powerpc/kernel/dma-swiotlb.c 2010-03-15 11:52:04.000000000 -0400 2073--- linux-2.6.32.12/arch/powerpc/kernel/dma-swiotlb.c 2010-03-15 11:52:04.000000000 -0400
2074+++ linux-2.6.32.11/arch/powerpc/kernel/dma-swiotlb.c 2010-04-04 20:46:41.485273950 -0400 2074+++ linux-2.6.32.12/arch/powerpc/kernel/dma-swiotlb.c 2010-04-04 20:46:41.485273950 -0400
2075@@ -31,7 +31,7 @@ unsigned int ppc_swiotlb_enable; 2075@@ -31,7 +31,7 @@ unsigned int ppc_swiotlb_enable;
2076 * map_page, and unmap_page on highmem, use normal dma_ops 2076 * map_page, and unmap_page on highmem, use normal dma_ops
2077 * for everything else. 2077 * for everything else.
@@ -2081,9 +2081,9 @@ diff -urNp linux-2.6.32.11/arch/powerpc/kernel/dma-swiotlb.c linux-2.6.32.11/arc
2081 .alloc_coherent = dma_direct_alloc_coherent, 2081 .alloc_coherent = dma_direct_alloc_coherent,
2082 .free_coherent = dma_direct_free_coherent, 2082 .free_coherent = dma_direct_free_coherent,
2083 .map_sg = swiotlb_map_sg_attrs, 2083 .map_sg = swiotlb_map_sg_attrs,
2084diff -urNp linux-2.6.32.11/arch/powerpc/kernel/exceptions-64e.S linux-2.6.32.11/arch/powerpc/kernel/exceptions-64e.S 2084diff -urNp linux-2.6.32.12/arch/powerpc/kernel/exceptions-64e.S linux-2.6.32.12/arch/powerpc/kernel/exceptions-64e.S
2085--- linux-2.6.32.11/arch/powerpc/kernel/exceptions-64e.S 2010-03-15 11:52:04.000000000 -0400 2085--- linux-2.6.32.12/arch/powerpc/kernel/exceptions-64e.S 2010-03-15 11:52:04.000000000 -0400
2086+++ linux-2.6.32.11/arch/powerpc/kernel/exceptions-64e.S 2010-04-04 20:46:41.485273950 -0400 2086+++ linux-2.6.32.12/arch/powerpc/kernel/exceptions-64e.S 2010-04-04 20:46:41.485273950 -0400
2087@@ -455,6 +455,7 @@ storage_fault_common: 2087@@ -455,6 +455,7 @@ storage_fault_common:
2088 std r14,_DAR(r1) 2088 std r14,_DAR(r1)
2089 std r15,_DSISR(r1) 2089 std r15,_DSISR(r1)
@@ -2102,9 +2102,9 @@ diff -urNp linux-2.6.32.11/arch/powerpc/kernel/exceptions-64e.S linux-2.6.32.11/
2102 addi r3,r1,STACK_FRAME_OVERHEAD 2102 addi r3,r1,STACK_FRAME_OVERHEAD
2103 ld r4,_DAR(r1) 2103 ld r4,_DAR(r1)
2104 bl .bad_page_fault 2104 bl .bad_page_fault
2105diff -urNp linux-2.6.32.11/arch/powerpc/kernel/exceptions-64s.S linux-2.6.32.11/arch/powerpc/kernel/exceptions-64s.S 2105diff -urNp linux-2.6.32.12/arch/powerpc/kernel/exceptions-64s.S linux-2.6.32.12/arch/powerpc/kernel/exceptions-64s.S
2106--- linux-2.6.32.11/arch/powerpc/kernel/exceptions-64s.S 2010-03-15 11:52:04.000000000 -0400 2106--- linux-2.6.32.12/arch/powerpc/kernel/exceptions-64s.S 2010-03-15 11:52:04.000000000 -0400
2107+++ linux-2.6.32.11/arch/powerpc/kernel/exceptions-64s.S 2010-04-04 20:46:41.485273950 -0400 2107+++ linux-2.6.32.12/arch/powerpc/kernel/exceptions-64s.S 2010-04-04 20:46:41.485273950 -0400
2108@@ -818,10 +818,10 @@ handle_page_fault: 2108@@ -818,10 +818,10 @@ handle_page_fault:
2109 11: ld r4,_DAR(r1) 2109 11: ld r4,_DAR(r1)
2110 ld r5,_DSISR(r1) 2110 ld r5,_DSISR(r1)
@@ -2117,9 +2117,9 @@ diff -urNp linux-2.6.32.11/arch/powerpc/kernel/exceptions-64s.S linux-2.6.32.11/
2117 mr r5,r3 2117 mr r5,r3
2118 addi r3,r1,STACK_FRAME_OVERHEAD 2118 addi r3,r1,STACK_FRAME_OVERHEAD
2119 lwz r4,_DAR(r1) 2119 lwz r4,_DAR(r1)
2120diff -urNp linux-2.6.32.11/arch/powerpc/kernel/ibmebus.c linux-2.6.32.11/arch/powerpc/kernel/ibmebus.c 2120diff -urNp linux-2.6.32.12/arch/powerpc/kernel/ibmebus.c linux-2.6.32.12/arch/powerpc/kernel/ibmebus.c
2121--- linux-2.6.32.11/arch/powerpc/kernel/ibmebus.c 2010-03-15 11:52:04.000000000 -0400 2121--- linux-2.6.32.12/arch/powerpc/kernel/ibmebus.c 2010-03-15 11:52:04.000000000 -0400
2122+++ linux-2.6.32.11/arch/powerpc/kernel/ibmebus.c 2010-04-04 20:46:41.485273950 -0400 2122+++ linux-2.6.32.12/arch/powerpc/kernel/ibmebus.c 2010-04-04 20:46:41.485273950 -0400
2123@@ -127,7 +127,7 @@ static int ibmebus_dma_supported(struct 2123@@ -127,7 +127,7 @@ static int ibmebus_dma_supported(struct
2124 return 1; 2124 return 1;
2125 } 2125 }
@@ -2129,9 +2129,9 @@ diff -urNp linux-2.6.32.11/arch/powerpc/kernel/ibmebus.c linux-2.6.32.11/arch/po
2129 .alloc_coherent = ibmebus_alloc_coherent, 2129 .alloc_coherent = ibmebus_alloc_coherent,
2130 .free_coherent = ibmebus_free_coherent, 2130 .free_coherent = ibmebus_free_coherent,
2131 .map_sg = ibmebus_map_sg, 2131 .map_sg = ibmebus_map_sg,
2132diff -urNp linux-2.6.32.11/arch/powerpc/kernel/kgdb.c linux-2.6.32.11/arch/powerpc/kernel/kgdb.c 2132diff -urNp linux-2.6.32.12/arch/powerpc/kernel/kgdb.c linux-2.6.32.12/arch/powerpc/kernel/kgdb.c
2133--- linux-2.6.32.11/arch/powerpc/kernel/kgdb.c 2010-03-15 11:52:04.000000000 -0400 2133--- linux-2.6.32.12/arch/powerpc/kernel/kgdb.c 2010-03-15 11:52:04.000000000 -0400
2134+++ linux-2.6.32.11/arch/powerpc/kernel/kgdb.c 2010-04-04 20:46:41.485273950 -0400 2134+++ linux-2.6.32.12/arch/powerpc/kernel/kgdb.c 2010-04-04 20:46:41.485273950 -0400
2135@@ -126,7 +126,7 @@ static int kgdb_handle_breakpoint(struct 2135@@ -126,7 +126,7 @@ static int kgdb_handle_breakpoint(struct
2136 if (kgdb_handle_exception(0, SIGTRAP, 0, regs) != 0) 2136 if (kgdb_handle_exception(0, SIGTRAP, 0, regs) != 0)
2137 return 0; 2137 return 0;
@@ -2150,9 +2150,9 @@ diff -urNp linux-2.6.32.11/arch/powerpc/kernel/kgdb.c linux-2.6.32.11/arch/power
2150 .gdb_bpt_instr = {0x7d, 0x82, 0x10, 0x08}, 2150 .gdb_bpt_instr = {0x7d, 0x82, 0x10, 0x08},
2151 }; 2151 };
2152 2152
2153diff -urNp linux-2.6.32.11/arch/powerpc/kernel/module_32.c linux-2.6.32.11/arch/powerpc/kernel/module_32.c 2153diff -urNp linux-2.6.32.12/arch/powerpc/kernel/module_32.c linux-2.6.32.12/arch/powerpc/kernel/module_32.c
2154--- linux-2.6.32.11/arch/powerpc/kernel/module_32.c 2010-03-15 11:52:04.000000000 -0400 2154--- linux-2.6.32.12/arch/powerpc/kernel/module_32.c 2010-03-15 11:52:04.000000000 -0400
2155+++ linux-2.6.32.11/arch/powerpc/kernel/module_32.c 2010-04-04 20:46:41.485273950 -0400 2155+++ linux-2.6.32.12/arch/powerpc/kernel/module_32.c 2010-04-04 20:46:41.485273950 -0400
2156@@ -162,7 +162,7 @@ int module_frob_arch_sections(Elf32_Ehdr 2156@@ -162,7 +162,7 @@ int module_frob_arch_sections(Elf32_Ehdr
2157 me->arch.core_plt_section = i; 2157 me->arch.core_plt_section = i;
2158 } 2158 }
@@ -2182,9 +2182,9 @@ diff -urNp linux-2.6.32.11/arch/powerpc/kernel/module_32.c linux-2.6.32.11/arch/
2182 2182
2183 /* Find this entry, or if that fails, the next avail. entry */ 2183 /* Find this entry, or if that fails, the next avail. entry */
2184 while (entry->jump[0]) { 2184 while (entry->jump[0]) {
2185diff -urNp linux-2.6.32.11/arch/powerpc/kernel/module.c linux-2.6.32.11/arch/powerpc/kernel/module.c 2185diff -urNp linux-2.6.32.12/arch/powerpc/kernel/module.c linux-2.6.32.12/arch/powerpc/kernel/module.c
2186--- linux-2.6.32.11/arch/powerpc/kernel/module.c 2010-03-15 11:52:04.000000000 -0400 2186--- linux-2.6.32.12/arch/powerpc/kernel/module.c 2010-03-15 11:52:04.000000000 -0400
2187+++ linux-2.6.32.11/arch/powerpc/kernel/module.c 2010-04-04 20:46:41.485273950 -0400 2187+++ linux-2.6.32.12/arch/powerpc/kernel/module.c 2010-04-04 20:46:41.485273950 -0400
2188@@ -31,11 +31,24 @@ 2188@@ -31,11 +31,24 @@
2189 2189
2190 LIST_HEAD(module_bug_list); 2190 LIST_HEAD(module_bug_list);
@@ -2224,9 +2224,9 @@ diff -urNp linux-2.6.32.11/arch/powerpc/kernel/module.c linux-2.6.32.11/arch/pow
2224 static const Elf_Shdr *find_section(const Elf_Ehdr *hdr, 2224 static const Elf_Shdr *find_section(const Elf_Ehdr *hdr,
2225 const Elf_Shdr *sechdrs, 2225 const Elf_Shdr *sechdrs,
2226 const char *name) 2226 const char *name)
2227diff -urNp linux-2.6.32.11/arch/powerpc/kernel/pci-common.c linux-2.6.32.11/arch/powerpc/kernel/pci-common.c 2227diff -urNp linux-2.6.32.12/arch/powerpc/kernel/pci-common.c linux-2.6.32.12/arch/powerpc/kernel/pci-common.c
2228--- linux-2.6.32.11/arch/powerpc/kernel/pci-common.c 2010-03-15 11:52:04.000000000 -0400 2228--- linux-2.6.32.12/arch/powerpc/kernel/pci-common.c 2010-03-15 11:52:04.000000000 -0400
2229+++ linux-2.6.32.11/arch/powerpc/kernel/pci-common.c 2010-04-04 20:46:41.485273950 -0400 2229+++ linux-2.6.32.12/arch/powerpc/kernel/pci-common.c 2010-04-04 20:46:41.485273950 -0400
2230@@ -50,14 +50,14 @@ resource_size_t isa_mem_base; 2230@@ -50,14 +50,14 @@ resource_size_t isa_mem_base;
2231 unsigned int ppc_pci_flags = 0; 2231 unsigned int ppc_pci_flags = 0;
2232 2232
@@ -2245,9 +2245,9 @@ diff -urNp linux-2.6.32.11/arch/powerpc/kernel/pci-common.c linux-2.6.32.11/arch
2245 { 2245 {
2246 return pci_dma_ops; 2246 return pci_dma_ops;
2247 } 2247 }
2248diff -urNp linux-2.6.32.11/arch/powerpc/kernel/process.c linux-2.6.32.11/arch/powerpc/kernel/process.c 2248diff -urNp linux-2.6.32.12/arch/powerpc/kernel/process.c linux-2.6.32.12/arch/powerpc/kernel/process.c
2249--- linux-2.6.32.11/arch/powerpc/kernel/process.c 2010-03-15 11:52:04.000000000 -0400 2249--- linux-2.6.32.12/arch/powerpc/kernel/process.c 2010-03-15 11:52:04.000000000 -0400
2250+++ linux-2.6.32.11/arch/powerpc/kernel/process.c 2010-04-04 20:46:41.485273950 -0400 2250+++ linux-2.6.32.12/arch/powerpc/kernel/process.c 2010-04-04 20:46:41.485273950 -0400
2251@@ -1141,51 +1141,3 @@ unsigned long arch_align_stack(unsigned 2251@@ -1141,51 +1141,3 @@ unsigned long arch_align_stack(unsigned
2252 sp -= get_random_int() & ~PAGE_MASK; 2252 sp -= get_random_int() & ~PAGE_MASK;
2253 return sp & ~0xf; 2253 return sp & ~0xf;
@@ -2300,9 +2300,9 @@ diff -urNp linux-2.6.32.11/arch/powerpc/kernel/process.c linux-2.6.32.11/arch/po
2300- 2300-
2301- return ret; 2301- return ret;
2302-} 2302-}
2303diff -urNp linux-2.6.32.11/arch/powerpc/kernel/signal_32.c linux-2.6.32.11/arch/powerpc/kernel/signal_32.c 2303diff -urNp linux-2.6.32.12/arch/powerpc/kernel/signal_32.c linux-2.6.32.12/arch/powerpc/kernel/signal_32.c
2304--- linux-2.6.32.11/arch/powerpc/kernel/signal_32.c 2010-03-15 11:52:04.000000000 -0400 2304--- linux-2.6.32.12/arch/powerpc/kernel/signal_32.c 2010-03-15 11:52:04.000000000 -0400
2305+++ linux-2.6.32.11/arch/powerpc/kernel/signal_32.c 2010-04-04 20:46:41.489273754 -0400 2305+++ linux-2.6.32.12/arch/powerpc/kernel/signal_32.c 2010-04-04 20:46:41.489273754 -0400
2306@@ -857,7 +857,7 @@ int handle_rt_signal32(unsigned long sig 2306@@ -857,7 +857,7 @@ int handle_rt_signal32(unsigned long sig
2307 /* Save user registers on the stack */ 2307 /* Save user registers on the stack */
2308 frame = &rt_sf->uc.uc_mcontext; 2308 frame = &rt_sf->uc.uc_mcontext;
@@ -2312,9 +2312,9 @@ diff -urNp linux-2.6.32.11/arch/powerpc/kernel/signal_32.c linux-2.6.32.11/arch/
2312 if (save_user_regs(regs, frame, 0, 1)) 2312 if (save_user_regs(regs, frame, 0, 1))
2313 goto badframe; 2313 goto badframe;
2314 regs->link = current->mm->context.vdso_base + vdso32_rt_sigtramp; 2314 regs->link = current->mm->context.vdso_base + vdso32_rt_sigtramp;
2315diff -urNp linux-2.6.32.11/arch/powerpc/kernel/signal_64.c linux-2.6.32.11/arch/powerpc/kernel/signal_64.c 2315diff -urNp linux-2.6.32.12/arch/powerpc/kernel/signal_64.c linux-2.6.32.12/arch/powerpc/kernel/signal_64.c
2316--- linux-2.6.32.11/arch/powerpc/kernel/signal_64.c 2010-03-15 11:52:04.000000000 -0400 2316--- linux-2.6.32.12/arch/powerpc/kernel/signal_64.c 2010-03-15 11:52:04.000000000 -0400
2317+++ linux-2.6.32.11/arch/powerpc/kernel/signal_64.c 2010-04-04 20:46:41.489273754 -0400 2317+++ linux-2.6.32.12/arch/powerpc/kernel/signal_64.c 2010-04-04 20:46:41.489273754 -0400
2318@@ -429,7 +429,7 @@ int handle_rt_signal64(int signr, struct 2318@@ -429,7 +429,7 @@ int handle_rt_signal64(int signr, struct
2319 current->thread.fpscr.val = 0; 2319 current->thread.fpscr.val = 0;
2320 2320
@@ -2324,9 +2324,9 @@ diff -urNp linux-2.6.32.11/arch/powerpc/kernel/signal_64.c linux-2.6.32.11/arch/
2324 regs->link = current->mm->context.vdso_base + vdso64_rt_sigtramp; 2324 regs->link = current->mm->context.vdso_base + vdso64_rt_sigtramp;
2325 } else { 2325 } else {
2326 err |= setup_trampoline(__NR_rt_sigreturn, &frame->tramp[0]); 2326 err |= setup_trampoline(__NR_rt_sigreturn, &frame->tramp[0]);
2327diff -urNp linux-2.6.32.11/arch/powerpc/kernel/sys_ppc32.c linux-2.6.32.11/arch/powerpc/kernel/sys_ppc32.c 2327diff -urNp linux-2.6.32.12/arch/powerpc/kernel/sys_ppc32.c linux-2.6.32.12/arch/powerpc/kernel/sys_ppc32.c
2328--- linux-2.6.32.11/arch/powerpc/kernel/sys_ppc32.c 2010-03-15 11:52:04.000000000 -0400 2328--- linux-2.6.32.12/arch/powerpc/kernel/sys_ppc32.c 2010-03-15 11:52:04.000000000 -0400
2329+++ linux-2.6.32.11/arch/powerpc/kernel/sys_ppc32.c 2010-04-04 20:46:41.489273754 -0400 2329+++ linux-2.6.32.12/arch/powerpc/kernel/sys_ppc32.c 2010-04-04 20:46:41.489273754 -0400
2330@@ -563,10 +563,10 @@ asmlinkage long compat_sys_sysctl(struct 2330@@ -563,10 +563,10 @@ asmlinkage long compat_sys_sysctl(struct
2331 if (oldlenp) { 2331 if (oldlenp) {
2332 if (!error) { 2332 if (!error) {
@@ -2340,9 +2340,9 @@ diff -urNp linux-2.6.32.11/arch/powerpc/kernel/sys_ppc32.c linux-2.6.32.11/arch/
2340 } 2340 }
2341 return error; 2341 return error;
2342 } 2342 }
2343diff -urNp linux-2.6.32.11/arch/powerpc/kernel/vdso.c linux-2.6.32.11/arch/powerpc/kernel/vdso.c 2343diff -urNp linux-2.6.32.12/arch/powerpc/kernel/vdso.c linux-2.6.32.12/arch/powerpc/kernel/vdso.c
2344--- linux-2.6.32.11/arch/powerpc/kernel/vdso.c 2010-03-15 11:52:04.000000000 -0400 2344--- linux-2.6.32.12/arch/powerpc/kernel/vdso.c 2010-03-15 11:52:04.000000000 -0400
2345+++ linux-2.6.32.11/arch/powerpc/kernel/vdso.c 2010-04-04 20:46:41.489273754 -0400 2345+++ linux-2.6.32.12/arch/powerpc/kernel/vdso.c 2010-04-04 20:46:41.489273754 -0400
2346@@ -36,6 +36,7 @@ 2346@@ -36,6 +36,7 @@
2347 #include <asm/firmware.h> 2347 #include <asm/firmware.h>
2348 #include <asm/vdso.h> 2348 #include <asm/vdso.h>
@@ -2369,9 +2369,9 @@ diff -urNp linux-2.6.32.11/arch/powerpc/kernel/vdso.c linux-2.6.32.11/arch/power
2369 if (IS_ERR_VALUE(vdso_base)) { 2369 if (IS_ERR_VALUE(vdso_base)) {
2370 rc = vdso_base; 2370 rc = vdso_base;
2371 goto fail_mmapsem; 2371 goto fail_mmapsem;
2372diff -urNp linux-2.6.32.11/arch/powerpc/kernel/vio.c linux-2.6.32.11/arch/powerpc/kernel/vio.c 2372diff -urNp linux-2.6.32.12/arch/powerpc/kernel/vio.c linux-2.6.32.12/arch/powerpc/kernel/vio.c
2373--- linux-2.6.32.11/arch/powerpc/kernel/vio.c 2010-03-15 11:52:04.000000000 -0400 2373--- linux-2.6.32.12/arch/powerpc/kernel/vio.c 2010-03-15 11:52:04.000000000 -0400
2374+++ linux-2.6.32.11/arch/powerpc/kernel/vio.c 2010-04-04 20:46:41.489273754 -0400 2374+++ linux-2.6.32.12/arch/powerpc/kernel/vio.c 2010-04-04 20:46:41.489273754 -0400
2375@@ -601,11 +601,12 @@ static void vio_dma_iommu_unmap_sg(struc 2375@@ -601,11 +601,12 @@ static void vio_dma_iommu_unmap_sg(struc
2376 vio_cmo_dealloc(viodev, alloc_size); 2376 vio_cmo_dealloc(viodev, alloc_size);
2377 } 2377 }
@@ -2394,9 +2394,9 @@ diff -urNp linux-2.6.32.11/arch/powerpc/kernel/vio.c linux-2.6.32.11/arch/powerp
2394 viodev->dev.archdata.dma_ops = &vio_dma_mapping_ops; 2394 viodev->dev.archdata.dma_ops = &vio_dma_mapping_ops;
2395 } 2395 }
2396 2396
2397diff -urNp linux-2.6.32.11/arch/powerpc/lib/usercopy_64.c linux-2.6.32.11/arch/powerpc/lib/usercopy_64.c 2397diff -urNp linux-2.6.32.12/arch/powerpc/lib/usercopy_64.c linux-2.6.32.12/arch/powerpc/lib/usercopy_64.c
2398--- linux-2.6.32.11/arch/powerpc/lib/usercopy_64.c 2010-03-15 11:52:04.000000000 -0400 2398--- linux-2.6.32.12/arch/powerpc/lib/usercopy_64.c 2010-03-15 11:52:04.000000000 -0400
2399+++ linux-2.6.32.11/arch/powerpc/lib/usercopy_64.c 2010-04-04 20:46:41.489273754 -0400 2399+++ linux-2.6.32.12/arch/powerpc/lib/usercopy_64.c 2010-04-04 20:46:41.489273754 -0400
2400@@ -9,22 +9,6 @@ 2400@@ -9,22 +9,6 @@
2401 #include <linux/module.h> 2401 #include <linux/module.h>
2402 #include <asm/uaccess.h> 2402 #include <asm/uaccess.h>
@@ -2428,9 +2428,9 @@ diff -urNp linux-2.6.32.11/arch/powerpc/lib/usercopy_64.c linux-2.6.32.11/arch/p
2428-EXPORT_SYMBOL(copy_to_user); 2428-EXPORT_SYMBOL(copy_to_user);
2429 EXPORT_SYMBOL(copy_in_user); 2429 EXPORT_SYMBOL(copy_in_user);
2430 2430
2431diff -urNp linux-2.6.32.11/arch/powerpc/mm/fault.c linux-2.6.32.11/arch/powerpc/mm/fault.c 2431diff -urNp linux-2.6.32.12/arch/powerpc/mm/fault.c linux-2.6.32.12/arch/powerpc/mm/fault.c
2432--- linux-2.6.32.11/arch/powerpc/mm/fault.c 2010-03-15 11:52:04.000000000 -0400 2432--- linux-2.6.32.12/arch/powerpc/mm/fault.c 2010-03-15 11:52:04.000000000 -0400
2433+++ linux-2.6.32.11/arch/powerpc/mm/fault.c 2010-04-04 20:46:41.489273754 -0400 2433+++ linux-2.6.32.12/arch/powerpc/mm/fault.c 2010-04-04 20:46:41.489273754 -0400
2434@@ -30,6 +30,10 @@ 2434@@ -30,6 +30,10 @@
2435 #include <linux/kprobes.h> 2435 #include <linux/kprobes.h>
2436 #include <linux/kdebug.h> 2436 #include <linux/kdebug.h>
@@ -2535,9 +2535,9 @@ diff -urNp linux-2.6.32.11/arch/powerpc/mm/fault.c linux-2.6.32.11/arch/powerpc/
2535 _exception(SIGSEGV, regs, code, address); 2535 _exception(SIGSEGV, regs, code, address);
2536 return 0; 2536 return 0;
2537 } 2537 }
2538diff -urNp linux-2.6.32.11/arch/powerpc/mm/mmap_64.c linux-2.6.32.11/arch/powerpc/mm/mmap_64.c 2538diff -urNp linux-2.6.32.12/arch/powerpc/mm/mmap_64.c linux-2.6.32.12/arch/powerpc/mm/mmap_64.c
2539--- linux-2.6.32.11/arch/powerpc/mm/mmap_64.c 2010-03-15 11:52:04.000000000 -0400 2539--- linux-2.6.32.12/arch/powerpc/mm/mmap_64.c 2010-03-15 11:52:04.000000000 -0400
2540+++ linux-2.6.32.11/arch/powerpc/mm/mmap_64.c 2010-04-04 20:46:41.489273754 -0400 2540+++ linux-2.6.32.12/arch/powerpc/mm/mmap_64.c 2010-04-04 20:46:41.489273754 -0400
2541@@ -99,10 +99,22 @@ void arch_pick_mmap_layout(struct mm_str 2541@@ -99,10 +99,22 @@ void arch_pick_mmap_layout(struct mm_str
2542 */ 2542 */
2543 if (mmap_is_legacy()) { 2543 if (mmap_is_legacy()) {
@@ -2561,9 +2561,9 @@ diff -urNp linux-2.6.32.11/arch/powerpc/mm/mmap_64.c linux-2.6.32.11/arch/powerp
2561 mm->get_unmapped_area = arch_get_unmapped_area_topdown; 2561 mm->get_unmapped_area = arch_get_unmapped_area_topdown;
2562 mm->unmap_area = arch_unmap_area_topdown; 2562 mm->unmap_area = arch_unmap_area_topdown;
2563 } 2563 }
2564diff -urNp linux-2.6.32.11/arch/powerpc/mm/slice.c linux-2.6.32.11/arch/powerpc/mm/slice.c 2564diff -urNp linux-2.6.32.12/arch/powerpc/mm/slice.c linux-2.6.32.12/arch/powerpc/mm/slice.c
2565--- linux-2.6.32.11/arch/powerpc/mm/slice.c 2010-03-15 11:52:04.000000000 -0400 2565--- linux-2.6.32.12/arch/powerpc/mm/slice.c 2010-03-15 11:52:04.000000000 -0400
2566+++ linux-2.6.32.11/arch/powerpc/mm/slice.c 2010-04-04 20:46:41.489273754 -0400 2566+++ linux-2.6.32.12/arch/powerpc/mm/slice.c 2010-04-04 20:46:41.489273754 -0400
2567@@ -426,6 +426,11 @@ unsigned long slice_get_unmapped_area(un 2567@@ -426,6 +426,11 @@ unsigned long slice_get_unmapped_area(un
2568 if (fixed && addr > (mm->task_size - len)) 2568 if (fixed && addr > (mm->task_size - len))
2569 return -EINVAL; 2569 return -EINVAL;
@@ -2576,9 +2576,9 @@ diff -urNp linux-2.6.32.11/arch/powerpc/mm/slice.c linux-2.6.32.11/arch/powerpc/
2576 /* If hint, make sure it matches our alignment restrictions */ 2576 /* If hint, make sure it matches our alignment restrictions */
2577 if (!fixed && addr) { 2577 if (!fixed && addr) {
2578 addr = _ALIGN_UP(addr, 1ul << pshift); 2578 addr = _ALIGN_UP(addr, 1ul << pshift);
2579diff -urNp linux-2.6.32.11/arch/powerpc/platforms/52xx/lite5200_pm.c linux-2.6.32.11/arch/powerpc/platforms/52xx/lite5200_pm.c 2579diff -urNp linux-2.6.32.12/arch/powerpc/platforms/52xx/lite5200_pm.c linux-2.6.32.12/arch/powerpc/platforms/52xx/lite5200_pm.c
2580--- linux-2.6.32.11/arch/powerpc/platforms/52xx/lite5200_pm.c 2010-03-15 11:52:04.000000000 -0400 2580--- linux-2.6.32.12/arch/powerpc/platforms/52xx/lite5200_pm.c 2010-03-15 11:52:04.000000000 -0400
2581+++ linux-2.6.32.11/arch/powerpc/platforms/52xx/lite5200_pm.c 2010-04-04 20:46:41.489273754 -0400 2581+++ linux-2.6.32.12/arch/powerpc/platforms/52xx/lite5200_pm.c 2010-04-04 20:46:41.489273754 -0400
2582@@ -235,7 +235,7 @@ static void lite5200_pm_end(void) 2582@@ -235,7 +235,7 @@ static void lite5200_pm_end(void)
2583 lite5200_pm_target_state = PM_SUSPEND_ON; 2583 lite5200_pm_target_state = PM_SUSPEND_ON;
2584 } 2584 }
@@ -2588,9 +2588,9 @@ diff -urNp linux-2.6.32.11/arch/powerpc/platforms/52xx/lite5200_pm.c linux-2.6.3
2588 .valid = lite5200_pm_valid, 2588 .valid = lite5200_pm_valid,
2589 .begin = lite5200_pm_begin, 2589 .begin = lite5200_pm_begin,
2590 .prepare = lite5200_pm_prepare, 2590 .prepare = lite5200_pm_prepare,
2591diff -urNp linux-2.6.32.11/arch/powerpc/platforms/52xx/mpc52xx_pm.c linux-2.6.32.11/arch/powerpc/platforms/52xx/mpc52xx_pm.c 2591diff -urNp linux-2.6.32.12/arch/powerpc/platforms/52xx/mpc52xx_pm.c linux-2.6.32.12/arch/powerpc/platforms/52xx/mpc52xx_pm.c
2592--- linux-2.6.32.11/arch/powerpc/platforms/52xx/mpc52xx_pm.c 2010-03-15 11:52:04.000000000 -0400 2592--- linux-2.6.32.12/arch/powerpc/platforms/52xx/mpc52xx_pm.c 2010-03-15 11:52:04.000000000 -0400
2593+++ linux-2.6.32.11/arch/powerpc/platforms/52xx/mpc52xx_pm.c 2010-04-04 20:46:41.489273754 -0400 2593+++ linux-2.6.32.12/arch/powerpc/platforms/52xx/mpc52xx_pm.c 2010-04-04 20:46:41.489273754 -0400
2594@@ -180,7 +180,7 @@ void mpc52xx_pm_finish(void) 2594@@ -180,7 +180,7 @@ void mpc52xx_pm_finish(void)
2595 iounmap(mbar); 2595 iounmap(mbar);
2596 } 2596 }
@@ -2600,9 +2600,9 @@ diff -urNp linux-2.6.32.11/arch/powerpc/platforms/52xx/mpc52xx_pm.c linux-2.6.32
2600 .valid = mpc52xx_pm_valid, 2600 .valid = mpc52xx_pm_valid,
2601 .prepare = mpc52xx_pm_prepare, 2601 .prepare = mpc52xx_pm_prepare,
2602 .enter = mpc52xx_pm_enter, 2602 .enter = mpc52xx_pm_enter,
2603diff -urNp linux-2.6.32.11/arch/powerpc/platforms/83xx/suspend.c linux-2.6.32.11/arch/powerpc/platforms/83xx/suspend.c 2603diff -urNp linux-2.6.32.12/arch/powerpc/platforms/83xx/suspend.c linux-2.6.32.12/arch/powerpc/platforms/83xx/suspend.c
2604--- linux-2.6.32.11/arch/powerpc/platforms/83xx/suspend.c 2010-03-15 11:52:04.000000000 -0400 2604--- linux-2.6.32.12/arch/powerpc/platforms/83xx/suspend.c 2010-03-15 11:52:04.000000000 -0400
2605+++ linux-2.6.32.11/arch/powerpc/platforms/83xx/suspend.c 2010-04-04 20:46:41.489273754 -0400 2605+++ linux-2.6.32.12/arch/powerpc/platforms/83xx/suspend.c 2010-04-04 20:46:41.489273754 -0400
2606@@ -273,7 +273,7 @@ static int mpc83xx_is_pci_agent(void) 2606@@ -273,7 +273,7 @@ static int mpc83xx_is_pci_agent(void)
2607 return ret; 2607 return ret;
2608 } 2608 }
@@ -2612,9 +2612,9 @@ diff -urNp linux-2.6.32.11/arch/powerpc/platforms/83xx/suspend.c linux-2.6.32.11
2612 .valid = mpc83xx_suspend_valid, 2612 .valid = mpc83xx_suspend_valid,
2613 .begin = mpc83xx_suspend_begin, 2613 .begin = mpc83xx_suspend_begin,
2614 .enter = mpc83xx_suspend_enter, 2614 .enter = mpc83xx_suspend_enter,
2615diff -urNp linux-2.6.32.11/arch/powerpc/platforms/cell/iommu.c linux-2.6.32.11/arch/powerpc/platforms/cell/iommu.c 2615diff -urNp linux-2.6.32.12/arch/powerpc/platforms/cell/iommu.c linux-2.6.32.12/arch/powerpc/platforms/cell/iommu.c
2616--- linux-2.6.32.11/arch/powerpc/platforms/cell/iommu.c 2010-03-15 11:52:04.000000000 -0400 2616--- linux-2.6.32.12/arch/powerpc/platforms/cell/iommu.c 2010-03-15 11:52:04.000000000 -0400
2617+++ linux-2.6.32.11/arch/powerpc/platforms/cell/iommu.c 2010-04-04 20:46:41.489273754 -0400 2617+++ linux-2.6.32.12/arch/powerpc/platforms/cell/iommu.c 2010-04-04 20:46:41.489273754 -0400
2618@@ -642,7 +642,7 @@ static int dma_fixed_dma_supported(struc 2618@@ -642,7 +642,7 @@ static int dma_fixed_dma_supported(struc
2619 2619
2620 static int dma_set_mask_and_switch(struct device *dev, u64 dma_mask); 2620 static int dma_set_mask_and_switch(struct device *dev, u64 dma_mask);
@@ -2624,9 +2624,9 @@ diff -urNp linux-2.6.32.11/arch/powerpc/platforms/cell/iommu.c linux-2.6.32.11/a
2624 .alloc_coherent = dma_fixed_alloc_coherent, 2624 .alloc_coherent = dma_fixed_alloc_coherent,
2625 .free_coherent = dma_fixed_free_coherent, 2625 .free_coherent = dma_fixed_free_coherent,
2626 .map_sg = dma_fixed_map_sg, 2626 .map_sg = dma_fixed_map_sg,
2627diff -urNp linux-2.6.32.11/arch/powerpc/platforms/ps3/system-bus.c linux-2.6.32.11/arch/powerpc/platforms/ps3/system-bus.c 2627diff -urNp linux-2.6.32.12/arch/powerpc/platforms/ps3/system-bus.c linux-2.6.32.12/arch/powerpc/platforms/ps3/system-bus.c
2628--- linux-2.6.32.11/arch/powerpc/platforms/ps3/system-bus.c 2010-03-15 11:52:04.000000000 -0400 2628--- linux-2.6.32.12/arch/powerpc/platforms/ps3/system-bus.c 2010-03-15 11:52:04.000000000 -0400
2629+++ linux-2.6.32.11/arch/powerpc/platforms/ps3/system-bus.c 2010-04-04 20:46:41.489273754 -0400 2629+++ linux-2.6.32.12/arch/powerpc/platforms/ps3/system-bus.c 2010-04-04 20:46:41.489273754 -0400
2630@@ -694,7 +694,7 @@ static int ps3_dma_supported(struct devi 2630@@ -694,7 +694,7 @@ static int ps3_dma_supported(struct devi
2631 return mask >= DMA_BIT_MASK(32); 2631 return mask >= DMA_BIT_MASK(32);
2632 } 2632 }
@@ -2645,9 +2645,9 @@ diff -urNp linux-2.6.32.11/arch/powerpc/platforms/ps3/system-bus.c linux-2.6.32.
2645 .alloc_coherent = ps3_alloc_coherent, 2645 .alloc_coherent = ps3_alloc_coherent,
2646 .free_coherent = ps3_free_coherent, 2646 .free_coherent = ps3_free_coherent,
2647 .map_sg = ps3_ioc0_map_sg, 2647 .map_sg = ps3_ioc0_map_sg,
2648diff -urNp linux-2.6.32.11/arch/powerpc/platforms/pseries/Kconfig linux-2.6.32.11/arch/powerpc/platforms/pseries/Kconfig 2648diff -urNp linux-2.6.32.12/arch/powerpc/platforms/pseries/Kconfig linux-2.6.32.12/arch/powerpc/platforms/pseries/Kconfig
2649--- linux-2.6.32.11/arch/powerpc/platforms/pseries/Kconfig 2010-03-15 11:52:04.000000000 -0400 2649--- linux-2.6.32.12/arch/powerpc/platforms/pseries/Kconfig 2010-03-15 11:52:04.000000000 -0400
2650+++ linux-2.6.32.11/arch/powerpc/platforms/pseries/Kconfig 2010-04-04 20:46:41.489273754 -0400 2650+++ linux-2.6.32.12/arch/powerpc/platforms/pseries/Kconfig 2010-04-04 20:46:41.489273754 -0400
2651@@ -2,6 +2,8 @@ config PPC_PSERIES 2651@@ -2,6 +2,8 @@ config PPC_PSERIES
2652 depends on PPC64 && PPC_BOOK3S 2652 depends on PPC64 && PPC_BOOK3S
2653 bool "IBM pSeries & new (POWER5-based) iSeries" 2653 bool "IBM pSeries & new (POWER5-based) iSeries"
@@ -2657,9 +2657,9 @@ diff -urNp linux-2.6.32.11/arch/powerpc/platforms/pseries/Kconfig linux-2.6.32.1
2657 select PPC_I8259 2657 select PPC_I8259
2658 select PPC_RTAS 2658 select PPC_RTAS
2659 select RTAS_ERROR_LOGGING 2659 select RTAS_ERROR_LOGGING
2660diff -urNp linux-2.6.32.11/arch/s390/include/asm/elf.h linux-2.6.32.11/arch/s390/include/asm/elf.h 2660diff -urNp linux-2.6.32.12/arch/s390/include/asm/elf.h linux-2.6.32.12/arch/s390/include/asm/elf.h
2661--- linux-2.6.32.11/arch/s390/include/asm/elf.h 2010-03-15 11:52:04.000000000 -0400 2661--- linux-2.6.32.12/arch/s390/include/asm/elf.h 2010-03-15 11:52:04.000000000 -0400
2662+++ linux-2.6.32.11/arch/s390/include/asm/elf.h 2010-04-04 20:46:41.489273754 -0400 2662+++ linux-2.6.32.12/arch/s390/include/asm/elf.h 2010-04-04 20:46:41.489273754 -0400
2663@@ -164,6 +164,13 @@ extern unsigned int vdso_enabled; 2663@@ -164,6 +164,13 @@ extern unsigned int vdso_enabled;
2664 that it will "exec", and that there is sufficient room for the brk. */ 2664 that it will "exec", and that there is sufficient room for the brk. */
2665 #define ELF_ET_DYN_BASE (STACK_TOP / 3 * 2) 2665 #define ELF_ET_DYN_BASE (STACK_TOP / 3 * 2)
@@ -2674,9 +2674,9 @@ diff -urNp linux-2.6.32.11/arch/s390/include/asm/elf.h linux-2.6.32.11/arch/s390
2674 /* This yields a mask that user programs can use to figure out what 2674 /* This yields a mask that user programs can use to figure out what
2675 instruction set this CPU supports. */ 2675 instruction set this CPU supports. */
2676 2676
2677diff -urNp linux-2.6.32.11/arch/s390/include/asm/setup.h linux-2.6.32.11/arch/s390/include/asm/setup.h 2677diff -urNp linux-2.6.32.12/arch/s390/include/asm/setup.h linux-2.6.32.12/arch/s390/include/asm/setup.h
2678--- linux-2.6.32.11/arch/s390/include/asm/setup.h 2010-03-15 11:52:04.000000000 -0400 2678--- linux-2.6.32.12/arch/s390/include/asm/setup.h 2010-03-15 11:52:04.000000000 -0400
2679+++ linux-2.6.32.11/arch/s390/include/asm/setup.h 2010-04-04 20:46:41.489273754 -0400 2679+++ linux-2.6.32.12/arch/s390/include/asm/setup.h 2010-04-04 20:46:41.489273754 -0400
2680@@ -50,13 +50,13 @@ extern unsigned long memory_end; 2680@@ -50,13 +50,13 @@ extern unsigned long memory_end;
2681 void detect_memory_layout(struct mem_chunk chunk[]); 2681 void detect_memory_layout(struct mem_chunk chunk[]);
2682 2682
@@ -2693,9 +2693,9 @@ diff -urNp linux-2.6.32.11/arch/s390/include/asm/setup.h linux-2.6.32.11/arch/s3
2693 #else 2693 #else
2694 #define s390_noexec (0) 2694 #define s390_noexec (0)
2695 #endif 2695 #endif
2696diff -urNp linux-2.6.32.11/arch/s390/include/asm/uaccess.h linux-2.6.32.11/arch/s390/include/asm/uaccess.h 2696diff -urNp linux-2.6.32.12/arch/s390/include/asm/uaccess.h linux-2.6.32.12/arch/s390/include/asm/uaccess.h
2697--- linux-2.6.32.11/arch/s390/include/asm/uaccess.h 2010-03-15 11:52:04.000000000 -0400 2697--- linux-2.6.32.12/arch/s390/include/asm/uaccess.h 2010-03-15 11:52:04.000000000 -0400
2698+++ linux-2.6.32.11/arch/s390/include/asm/uaccess.h 2010-04-04 20:46:41.489273754 -0400 2698+++ linux-2.6.32.12/arch/s390/include/asm/uaccess.h 2010-04-04 20:46:41.489273754 -0400
2699@@ -232,6 +232,10 @@ static inline unsigned long __must_check 2699@@ -232,6 +232,10 @@ static inline unsigned long __must_check
2700 copy_to_user(void __user *to, const void *from, unsigned long n) 2700 copy_to_user(void __user *to, const void *from, unsigned long n)
2701 { 2701 {
@@ -2728,9 +2728,9 @@ diff -urNp linux-2.6.32.11/arch/s390/include/asm/uaccess.h linux-2.6.32.11/arch/
2728 if (access_ok(VERIFY_READ, from, n)) 2728 if (access_ok(VERIFY_READ, from, n))
2729 n = __copy_from_user(to, from, n); 2729 n = __copy_from_user(to, from, n);
2730 else 2730 else
2731diff -urNp linux-2.6.32.11/arch/s390/Kconfig linux-2.6.32.11/arch/s390/Kconfig 2731diff -urNp linux-2.6.32.12/arch/s390/Kconfig linux-2.6.32.12/arch/s390/Kconfig
2732--- linux-2.6.32.11/arch/s390/Kconfig 2010-03-15 11:52:04.000000000 -0400 2732--- linux-2.6.32.12/arch/s390/Kconfig 2010-03-15 11:52:04.000000000 -0400
2733+++ linux-2.6.32.11/arch/s390/Kconfig 2010-04-04 20:46:41.489273754 -0400 2733+++ linux-2.6.32.12/arch/s390/Kconfig 2010-04-04 20:46:41.489273754 -0400
2734@@ -194,28 +194,26 @@ config AUDIT_ARCH 2734@@ -194,28 +194,26 @@ config AUDIT_ARCH
2735 2735
2736 config S390_SWITCH_AMODE 2736 config S390_SWITCH_AMODE
@@ -2768,9 +2768,9 @@ diff -urNp linux-2.6.32.11/arch/s390/Kconfig linux-2.6.32.11/arch/s390/Kconfig
2768 2768
2769 comment "Code generation options" 2769 comment "Code generation options"
2770 2770
2771diff -urNp linux-2.6.32.11/arch/s390/kernel/module.c linux-2.6.32.11/arch/s390/kernel/module.c 2771diff -urNp linux-2.6.32.12/arch/s390/kernel/module.c linux-2.6.32.12/arch/s390/kernel/module.c
2772--- linux-2.6.32.11/arch/s390/kernel/module.c 2010-03-15 11:52:04.000000000 -0400 2772--- linux-2.6.32.12/arch/s390/kernel/module.c 2010-03-15 11:52:04.000000000 -0400
2773+++ linux-2.6.32.11/arch/s390/kernel/module.c 2010-04-04 20:46:41.492578989 -0400 2773+++ linux-2.6.32.12/arch/s390/kernel/module.c 2010-04-04 20:46:41.492578989 -0400
2774@@ -166,11 +166,11 @@ module_frob_arch_sections(Elf_Ehdr *hdr, 2774@@ -166,11 +166,11 @@ module_frob_arch_sections(Elf_Ehdr *hdr,
2775 2775
2776 /* Increase core size by size of got & plt and set start 2776 /* Increase core size by size of got & plt and set start
@@ -2842,9 +2842,9 @@ diff -urNp linux-2.6.32.11/arch/s390/kernel/module.c linux-2.6.32.11/arch/s390/k
2842 rela->r_addend - loc; 2842 rela->r_addend - loc;
2843 if (r_type == R_390_GOTPC) 2843 if (r_type == R_390_GOTPC)
2844 *(unsigned int *) loc = val; 2844 *(unsigned int *) loc = val;
2845diff -urNp linux-2.6.32.11/arch/s390/kernel/setup.c linux-2.6.32.11/arch/s390/kernel/setup.c 2845diff -urNp linux-2.6.32.12/arch/s390/kernel/setup.c linux-2.6.32.12/arch/s390/kernel/setup.c
2846--- linux-2.6.32.11/arch/s390/kernel/setup.c 2010-03-15 11:52:04.000000000 -0400 2846--- linux-2.6.32.12/arch/s390/kernel/setup.c 2010-03-15 11:52:04.000000000 -0400
2847+++ linux-2.6.32.11/arch/s390/kernel/setup.c 2010-04-04 20:46:41.492578989 -0400 2847+++ linux-2.6.32.12/arch/s390/kernel/setup.c 2010-04-04 20:46:41.492578989 -0400
2848@@ -306,9 +306,6 @@ static int __init early_parse_mem(char * 2848@@ -306,9 +306,6 @@ static int __init early_parse_mem(char *
2849 early_param("mem", early_parse_mem); 2849 early_param("mem", early_parse_mem);
2850 2850
@@ -2898,9 +2898,9 @@ diff -urNp linux-2.6.32.11/arch/s390/kernel/setup.c linux-2.6.32.11/arch/s390/ke
2898 static void setup_addressing_mode(void) 2898 static void setup_addressing_mode(void)
2899 { 2899 {
2900 if (s390_noexec) { 2900 if (s390_noexec) {
2901diff -urNp linux-2.6.32.11/arch/s390/mm/mmap.c linux-2.6.32.11/arch/s390/mm/mmap.c 2901diff -urNp linux-2.6.32.12/arch/s390/mm/mmap.c linux-2.6.32.12/arch/s390/mm/mmap.c
2902--- linux-2.6.32.11/arch/s390/mm/mmap.c 2010-03-15 11:52:04.000000000 -0400 2902--- linux-2.6.32.12/arch/s390/mm/mmap.c 2010-03-15 11:52:04.000000000 -0400
2903+++ linux-2.6.32.11/arch/s390/mm/mmap.c 2010-04-04 20:46:41.492578989 -0400 2903+++ linux-2.6.32.12/arch/s390/mm/mmap.c 2010-04-04 20:46:41.492578989 -0400
2904@@ -78,10 +78,22 @@ void arch_pick_mmap_layout(struct mm_str 2904@@ -78,10 +78,22 @@ void arch_pick_mmap_layout(struct mm_str
2905 */ 2905 */
2906 if (mmap_is_legacy()) { 2906 if (mmap_is_legacy()) {
@@ -2947,9 +2947,9 @@ diff -urNp linux-2.6.32.11/arch/s390/mm/mmap.c linux-2.6.32.11/arch/s390/mm/mmap
2947 mm->get_unmapped_area = s390_get_unmapped_area_topdown; 2947 mm->get_unmapped_area = s390_get_unmapped_area_topdown;
2948 mm->unmap_area = arch_unmap_area_topdown; 2948 mm->unmap_area = arch_unmap_area_topdown;
2949 } 2949 }
2950diff -urNp linux-2.6.32.11/arch/sh/boards/mach-hp6xx/pm.c linux-2.6.32.11/arch/sh/boards/mach-hp6xx/pm.c 2950diff -urNp linux-2.6.32.12/arch/sh/boards/mach-hp6xx/pm.c linux-2.6.32.12/arch/sh/boards/mach-hp6xx/pm.c
2951--- linux-2.6.32.11/arch/sh/boards/mach-hp6xx/pm.c 2010-03-15 11:52:04.000000000 -0400 2951--- linux-2.6.32.12/arch/sh/boards/mach-hp6xx/pm.c 2010-03-15 11:52:04.000000000 -0400
2952+++ linux-2.6.32.11/arch/sh/boards/mach-hp6xx/pm.c 2010-04-04 20:46:41.492578989 -0400 2952+++ linux-2.6.32.12/arch/sh/boards/mach-hp6xx/pm.c 2010-04-04 20:46:41.492578989 -0400
2953@@ -143,7 +143,7 @@ static int hp6x0_pm_enter(suspend_state_ 2953@@ -143,7 +143,7 @@ static int hp6x0_pm_enter(suspend_state_
2954 return 0; 2954 return 0;
2955 } 2955 }
@@ -2959,9 +2959,9 @@ diff -urNp linux-2.6.32.11/arch/sh/boards/mach-hp6xx/pm.c linux-2.6.32.11/arch/s
2959 .enter = hp6x0_pm_enter, 2959 .enter = hp6x0_pm_enter,
2960 .valid = suspend_valid_only_mem, 2960 .valid = suspend_valid_only_mem,
2961 }; 2961 };
2962diff -urNp linux-2.6.32.11/arch/sh/kernel/cpu/sh4/sq.c linux-2.6.32.11/arch/sh/kernel/cpu/sh4/sq.c 2962diff -urNp linux-2.6.32.12/arch/sh/kernel/cpu/sh4/sq.c linux-2.6.32.12/arch/sh/kernel/cpu/sh4/sq.c
2963--- linux-2.6.32.11/arch/sh/kernel/cpu/sh4/sq.c 2010-03-15 11:52:04.000000000 -0400 2963--- linux-2.6.32.12/arch/sh/kernel/cpu/sh4/sq.c 2010-03-15 11:52:04.000000000 -0400
2964+++ linux-2.6.32.11/arch/sh/kernel/cpu/sh4/sq.c 2010-04-04 20:46:41.492578989 -0400 2964+++ linux-2.6.32.12/arch/sh/kernel/cpu/sh4/sq.c 2010-04-04 20:46:41.492578989 -0400
2965@@ -327,7 +327,7 @@ static struct attribute *sq_sysfs_attrs[ 2965@@ -327,7 +327,7 @@ static struct attribute *sq_sysfs_attrs[
2966 NULL, 2966 NULL,
2967 }; 2967 };
@@ -2971,9 +2971,9 @@ diff -urNp linux-2.6.32.11/arch/sh/kernel/cpu/sh4/sq.c linux-2.6.32.11/arch/sh/k
2971 .show = sq_sysfs_show, 2971 .show = sq_sysfs_show,
2972 .store = sq_sysfs_store, 2972 .store = sq_sysfs_store,
2973 }; 2973 };
2974diff -urNp linux-2.6.32.11/arch/sh/kernel/cpu/shmobile/pm.c linux-2.6.32.11/arch/sh/kernel/cpu/shmobile/pm.c 2974diff -urNp linux-2.6.32.12/arch/sh/kernel/cpu/shmobile/pm.c linux-2.6.32.12/arch/sh/kernel/cpu/shmobile/pm.c
2975--- linux-2.6.32.11/arch/sh/kernel/cpu/shmobile/pm.c 2010-03-15 11:52:04.000000000 -0400 2975--- linux-2.6.32.12/arch/sh/kernel/cpu/shmobile/pm.c 2010-03-15 11:52:04.000000000 -0400
2976+++ linux-2.6.32.11/arch/sh/kernel/cpu/shmobile/pm.c 2010-04-04 20:46:41.492578989 -0400 2976+++ linux-2.6.32.12/arch/sh/kernel/cpu/shmobile/pm.c 2010-04-04 20:46:41.492578989 -0400
2977@@ -58,7 +58,7 @@ static int sh_pm_enter(suspend_state_t s 2977@@ -58,7 +58,7 @@ static int sh_pm_enter(suspend_state_t s
2978 return 0; 2978 return 0;
2979 } 2979 }
@@ -2983,9 +2983,9 @@ diff -urNp linux-2.6.32.11/arch/sh/kernel/cpu/shmobile/pm.c linux-2.6.32.11/arch
2983 .enter = sh_pm_enter, 2983 .enter = sh_pm_enter,
2984 .valid = suspend_valid_only_mem, 2984 .valid = suspend_valid_only_mem,
2985 }; 2985 };
2986diff -urNp linux-2.6.32.11/arch/sh/kernel/kgdb.c linux-2.6.32.11/arch/sh/kernel/kgdb.c 2986diff -urNp linux-2.6.32.12/arch/sh/kernel/kgdb.c linux-2.6.32.12/arch/sh/kernel/kgdb.c
2987--- linux-2.6.32.11/arch/sh/kernel/kgdb.c 2010-03-15 11:52:04.000000000 -0400 2987--- linux-2.6.32.12/arch/sh/kernel/kgdb.c 2010-03-15 11:52:04.000000000 -0400
2988+++ linux-2.6.32.11/arch/sh/kernel/kgdb.c 2010-04-04 20:46:41.492578989 -0400 2988+++ linux-2.6.32.12/arch/sh/kernel/kgdb.c 2010-04-04 20:46:41.492578989 -0400
2989@@ -271,7 +271,7 @@ void kgdb_arch_exit(void) 2989@@ -271,7 +271,7 @@ void kgdb_arch_exit(void)
2990 { 2990 {
2991 } 2991 }
@@ -2995,9 +2995,9 @@ diff -urNp linux-2.6.32.11/arch/sh/kernel/kgdb.c linux-2.6.32.11/arch/sh/kernel/
2995 /* Breakpoint instruction: trapa #0x3c */ 2995 /* Breakpoint instruction: trapa #0x3c */
2996 #ifdef CONFIG_CPU_LITTLE_ENDIAN 2996 #ifdef CONFIG_CPU_LITTLE_ENDIAN
2997 .gdb_bpt_instr = { 0x3c, 0xc3 }, 2997 .gdb_bpt_instr = { 0x3c, 0xc3 },
2998diff -urNp linux-2.6.32.11/arch/sparc/include/asm/atomic_64.h linux-2.6.32.11/arch/sparc/include/asm/atomic_64.h 2998diff -urNp linux-2.6.32.12/arch/sparc/include/asm/atomic_64.h linux-2.6.32.12/arch/sparc/include/asm/atomic_64.h
2999--- linux-2.6.32.11/arch/sparc/include/asm/atomic_64.h 2010-03-15 11:52:04.000000000 -0400 2999--- linux-2.6.32.12/arch/sparc/include/asm/atomic_64.h 2010-03-15 11:52:04.000000000 -0400
3000+++ linux-2.6.32.11/arch/sparc/include/asm/atomic_64.h 2010-04-04 20:46:41.492578989 -0400 3000+++ linux-2.6.32.12/arch/sparc/include/asm/atomic_64.h 2010-04-04 20:46:41.492578989 -0400
3001@@ -14,18 +14,38 @@ 3001@@ -14,18 +14,38 @@
3002 #define ATOMIC64_INIT(i) { (i) } 3002 #define ATOMIC64_INIT(i) { (i) }
3003 3003
@@ -3127,9 +3127,9 @@ diff -urNp linux-2.6.32.11/arch/sparc/include/asm/atomic_64.h linux-2.6.32.11/ar
3127 } 3127 }
3128 3128
3129 #define atomic64_inc_not_zero(v) atomic64_add_unless((v), 1, 0) 3129 #define atomic64_inc_not_zero(v) atomic64_add_unless((v), 1, 0)
3130diff -urNp linux-2.6.32.11/arch/sparc/include/asm/dma-mapping.h linux-2.6.32.11/arch/sparc/include/asm/dma-mapping.h 3130diff -urNp linux-2.6.32.12/arch/sparc/include/asm/dma-mapping.h linux-2.6.32.12/arch/sparc/include/asm/dma-mapping.h
3131--- linux-2.6.32.11/arch/sparc/include/asm/dma-mapping.h 2010-03-15 11:52:04.000000000 -0400 3131--- linux-2.6.32.12/arch/sparc/include/asm/dma-mapping.h 2010-03-15 11:52:04.000000000 -0400
3132+++ linux-2.6.32.11/arch/sparc/include/asm/dma-mapping.h 2010-04-04 20:46:41.492578989 -0400 3132+++ linux-2.6.32.12/arch/sparc/include/asm/dma-mapping.h 2010-04-04 20:46:41.492578989 -0400
3133@@ -14,10 +14,10 @@ extern int dma_set_mask(struct device *d 3133@@ -14,10 +14,10 @@ extern int dma_set_mask(struct device *d
3134 #define dma_free_noncoherent(d, s, v, h) dma_free_coherent(d, s, v, h) 3134 #define dma_free_noncoherent(d, s, v, h) dma_free_coherent(d, s, v, h)
3135 #define dma_is_consistent(d, h) (1) 3135 #define dma_is_consistent(d, h) (1)
@@ -3161,9 +3161,9 @@ diff -urNp linux-2.6.32.11/arch/sparc/include/asm/dma-mapping.h linux-2.6.32.11/
3161 3161
3162 debug_dma_free_coherent(dev, size, cpu_addr, dma_handle); 3162 debug_dma_free_coherent(dev, size, cpu_addr, dma_handle);
3163 ops->free_coherent(dev, size, cpu_addr, dma_handle); 3163 ops->free_coherent(dev, size, cpu_addr, dma_handle);
3164diff -urNp linux-2.6.32.11/arch/sparc/include/asm/elf_32.h linux-2.6.32.11/arch/sparc/include/asm/elf_32.h 3164diff -urNp linux-2.6.32.12/arch/sparc/include/asm/elf_32.h linux-2.6.32.12/arch/sparc/include/asm/elf_32.h
3165--- linux-2.6.32.11/arch/sparc/include/asm/elf_32.h 2010-03-15 11:52:04.000000000 -0400 3165--- linux-2.6.32.12/arch/sparc/include/asm/elf_32.h 2010-03-15 11:52:04.000000000 -0400
3166+++ linux-2.6.32.11/arch/sparc/include/asm/elf_32.h 2010-04-04 20:46:41.492578989 -0400 3166+++ linux-2.6.32.12/arch/sparc/include/asm/elf_32.h 2010-04-04 20:46:41.492578989 -0400
3167@@ -116,6 +116,13 @@ typedef struct { 3167@@ -116,6 +116,13 @@ typedef struct {
3168 3168
3169 #define ELF_ET_DYN_BASE (TASK_UNMAPPED_BASE) 3169 #define ELF_ET_DYN_BASE (TASK_UNMAPPED_BASE)
@@ -3178,9 +3178,9 @@ diff -urNp linux-2.6.32.11/arch/sparc/include/asm/elf_32.h linux-2.6.32.11/arch/
3178 /* This yields a mask that user programs can use to figure out what 3178 /* This yields a mask that user programs can use to figure out what
3179 instruction set this cpu supports. This can NOT be done in userspace 3179 instruction set this cpu supports. This can NOT be done in userspace
3180 on Sparc. */ 3180 on Sparc. */
3181diff -urNp linux-2.6.32.11/arch/sparc/include/asm/elf_64.h linux-2.6.32.11/arch/sparc/include/asm/elf_64.h 3181diff -urNp linux-2.6.32.12/arch/sparc/include/asm/elf_64.h linux-2.6.32.12/arch/sparc/include/asm/elf_64.h
3182--- linux-2.6.32.11/arch/sparc/include/asm/elf_64.h 2010-03-15 11:52:04.000000000 -0400 3182--- linux-2.6.32.12/arch/sparc/include/asm/elf_64.h 2010-03-15 11:52:04.000000000 -0400
3183+++ linux-2.6.32.11/arch/sparc/include/asm/elf_64.h 2010-04-04 20:46:41.492578989 -0400 3183+++ linux-2.6.32.12/arch/sparc/include/asm/elf_64.h 2010-04-04 20:46:41.492578989 -0400
3184@@ -163,6 +163,12 @@ typedef struct { 3184@@ -163,6 +163,12 @@ typedef struct {
3185 #define ELF_ET_DYN_BASE 0x0000010000000000UL 3185 #define ELF_ET_DYN_BASE 0x0000010000000000UL
3186 #define COMPAT_ELF_ET_DYN_BASE 0x0000000070000000UL 3186 #define COMPAT_ELF_ET_DYN_BASE 0x0000000070000000UL
@@ -3194,9 +3194,9 @@ diff -urNp linux-2.6.32.11/arch/sparc/include/asm/elf_64.h linux-2.6.32.11/arch/
3194 3194
3195 /* This yields a mask that user programs can use to figure out what 3195 /* This yields a mask that user programs can use to figure out what
3196 instruction set this cpu supports. */ 3196 instruction set this cpu supports. */
3197diff -urNp linux-2.6.32.11/arch/sparc/include/asm/pgtable_32.h linux-2.6.32.11/arch/sparc/include/asm/pgtable_32.h 3197diff -urNp linux-2.6.32.12/arch/sparc/include/asm/pgtable_32.h linux-2.6.32.12/arch/sparc/include/asm/pgtable_32.h
3198--- linux-2.6.32.11/arch/sparc/include/asm/pgtable_32.h 2010-03-15 11:52:04.000000000 -0400 3198--- linux-2.6.32.12/arch/sparc/include/asm/pgtable_32.h 2010-03-15 11:52:04.000000000 -0400
3199+++ linux-2.6.32.11/arch/sparc/include/asm/pgtable_32.h 2010-04-04 20:46:41.492578989 -0400 3199+++ linux-2.6.32.12/arch/sparc/include/asm/pgtable_32.h 2010-04-04 20:46:41.492578989 -0400
3200@@ -43,6 +43,13 @@ BTFIXUPDEF_SIMM13(user_ptrs_per_pgd) 3200@@ -43,6 +43,13 @@ BTFIXUPDEF_SIMM13(user_ptrs_per_pgd)
3201 BTFIXUPDEF_INT(page_none) 3201 BTFIXUPDEF_INT(page_none)
3202 BTFIXUPDEF_INT(page_copy) 3202 BTFIXUPDEF_INT(page_copy)
@@ -3228,9 +3228,9 @@ diff -urNp linux-2.6.32.11/arch/sparc/include/asm/pgtable_32.h linux-2.6.32.11/a
3228 extern unsigned long page_kernel; 3228 extern unsigned long page_kernel;
3229 3229
3230 #ifdef MODULE 3230 #ifdef MODULE
3231diff -urNp linux-2.6.32.11/arch/sparc/include/asm/pgtsrmmu.h linux-2.6.32.11/arch/sparc/include/asm/pgtsrmmu.h 3231diff -urNp linux-2.6.32.12/arch/sparc/include/asm/pgtsrmmu.h linux-2.6.32.12/arch/sparc/include/asm/pgtsrmmu.h
3232--- linux-2.6.32.11/arch/sparc/include/asm/pgtsrmmu.h 2010-03-15 11:52:04.000000000 -0400 3232--- linux-2.6.32.12/arch/sparc/include/asm/pgtsrmmu.h 2010-03-15 11:52:04.000000000 -0400
3233+++ linux-2.6.32.11/arch/sparc/include/asm/pgtsrmmu.h 2010-04-04 20:46:41.492578989 -0400 3233+++ linux-2.6.32.12/arch/sparc/include/asm/pgtsrmmu.h 2010-04-04 20:46:41.492578989 -0400
3234@@ -115,6 +115,13 @@ 3234@@ -115,6 +115,13 @@
3235 SRMMU_EXEC | SRMMU_REF) 3235 SRMMU_EXEC | SRMMU_REF)
3236 #define SRMMU_PAGE_RDONLY __pgprot(SRMMU_VALID | SRMMU_CACHE | \ 3236 #define SRMMU_PAGE_RDONLY __pgprot(SRMMU_VALID | SRMMU_CACHE | \
@@ -3245,9 +3245,9 @@ diff -urNp linux-2.6.32.11/arch/sparc/include/asm/pgtsrmmu.h linux-2.6.32.11/arc
3245 #define SRMMU_PAGE_KERNEL __pgprot(SRMMU_VALID | SRMMU_CACHE | SRMMU_PRIV | \ 3245 #define SRMMU_PAGE_KERNEL __pgprot(SRMMU_VALID | SRMMU_CACHE | SRMMU_PRIV | \
3246 SRMMU_DIRTY | SRMMU_REF) 3246 SRMMU_DIRTY | SRMMU_REF)
3247 3247
3248diff -urNp linux-2.6.32.11/arch/sparc/include/asm/spinlock_64.h linux-2.6.32.11/arch/sparc/include/asm/spinlock_64.h 3248diff -urNp linux-2.6.32.12/arch/sparc/include/asm/spinlock_64.h linux-2.6.32.12/arch/sparc/include/asm/spinlock_64.h
3249--- linux-2.6.32.11/arch/sparc/include/asm/spinlock_64.h 2010-03-15 11:52:04.000000000 -0400 3249--- linux-2.6.32.12/arch/sparc/include/asm/spinlock_64.h 2010-03-15 11:52:04.000000000 -0400
3250+++ linux-2.6.32.11/arch/sparc/include/asm/spinlock_64.h 2010-04-04 20:46:41.492578989 -0400 3250+++ linux-2.6.32.12/arch/sparc/include/asm/spinlock_64.h 2010-04-04 20:46:41.492578989 -0400
3251@@ -99,7 +99,12 @@ static void inline arch_read_lock(raw_rw 3251@@ -99,7 +99,12 @@ static void inline arch_read_lock(raw_rw
3252 __asm__ __volatile__ ( 3252 __asm__ __volatile__ (
3253 "1: ldsw [%2], %0\n" 3253 "1: ldsw [%2], %0\n"
@@ -3299,9 +3299,9 @@ diff -urNp linux-2.6.32.11/arch/sparc/include/asm/spinlock_64.h linux-2.6.32.11/
3299 " cas [%2], %0, %1\n" 3299 " cas [%2], %0, %1\n"
3300 " cmp %0, %1\n" 3300 " cmp %0, %1\n"
3301 " bne,pn %%xcc, 1b\n" 3301 " bne,pn %%xcc, 1b\n"
3302diff -urNp linux-2.6.32.11/arch/sparc/include/asm/uaccess_32.h linux-2.6.32.11/arch/sparc/include/asm/uaccess_32.h 3302diff -urNp linux-2.6.32.12/arch/sparc/include/asm/uaccess_32.h linux-2.6.32.12/arch/sparc/include/asm/uaccess_32.h
3303--- linux-2.6.32.11/arch/sparc/include/asm/uaccess_32.h 2010-03-15 11:52:04.000000000 -0400 3303--- linux-2.6.32.12/arch/sparc/include/asm/uaccess_32.h 2010-03-15 11:52:04.000000000 -0400
3304+++ linux-2.6.32.11/arch/sparc/include/asm/uaccess_32.h 2010-04-04 20:46:41.492578989 -0400 3304+++ linux-2.6.32.12/arch/sparc/include/asm/uaccess_32.h 2010-04-04 20:46:41.492578989 -0400
3305@@ -249,27 +249,46 @@ extern unsigned long __copy_user(void __ 3305@@ -249,27 +249,46 @@ extern unsigned long __copy_user(void __
3306 3306
3307 static inline unsigned long copy_to_user(void __user *to, const void *from, unsigned long n) 3307 static inline unsigned long copy_to_user(void __user *to, const void *from, unsigned long n)
@@ -3353,9 +3353,9 @@ diff -urNp linux-2.6.32.11/arch/sparc/include/asm/uaccess_32.h linux-2.6.32.11/a
3353 return __copy_user((__force void __user *) to, from, n); 3353 return __copy_user((__force void __user *) to, from, n);
3354 } 3354 }
3355 3355
3356diff -urNp linux-2.6.32.11/arch/sparc/include/asm/uaccess_64.h linux-2.6.32.11/arch/sparc/include/asm/uaccess_64.h 3356diff -urNp linux-2.6.32.12/arch/sparc/include/asm/uaccess_64.h linux-2.6.32.12/arch/sparc/include/asm/uaccess_64.h
3357--- linux-2.6.32.11/arch/sparc/include/asm/uaccess_64.h 2010-03-15 11:52:04.000000000 -0400 3357--- linux-2.6.32.12/arch/sparc/include/asm/uaccess_64.h 2010-03-15 11:52:04.000000000 -0400
3358+++ linux-2.6.32.11/arch/sparc/include/asm/uaccess_64.h 2010-04-04 20:46:41.492578989 -0400 3358+++ linux-2.6.32.12/arch/sparc/include/asm/uaccess_64.h 2010-04-04 20:46:41.492578989 -0400
3359@@ -9,6 +9,7 @@ 3359@@ -9,6 +9,7 @@
3360 #include <linux/compiler.h> 3360 #include <linux/compiler.h>
3361 #include <linux/string.h> 3361 #include <linux/string.h>
@@ -3406,9 +3406,9 @@ diff -urNp linux-2.6.32.11/arch/sparc/include/asm/uaccess_64.h linux-2.6.32.11/a
3406 if (unlikely(ret)) 3406 if (unlikely(ret))
3407 ret = copy_to_user_fixup(to, from, size); 3407 ret = copy_to_user_fixup(to, from, size);
3408 return ret; 3408 return ret;
3409diff -urNp linux-2.6.32.11/arch/sparc/kernel/iommu.c linux-2.6.32.11/arch/sparc/kernel/iommu.c 3409diff -urNp linux-2.6.32.12/arch/sparc/kernel/iommu.c linux-2.6.32.12/arch/sparc/kernel/iommu.c
3410--- linux-2.6.32.11/arch/sparc/kernel/iommu.c 2010-03-15 11:52:04.000000000 -0400 3410--- linux-2.6.32.12/arch/sparc/kernel/iommu.c 2010-03-15 11:52:04.000000000 -0400
3411+++ linux-2.6.32.11/arch/sparc/kernel/iommu.c 2010-04-04 20:46:41.492578989 -0400 3411+++ linux-2.6.32.12/arch/sparc/kernel/iommu.c 2010-04-04 20:46:41.492578989 -0400
3412@@ -826,7 +826,7 @@ static void dma_4u_sync_sg_for_cpu(struc 3412@@ -826,7 +826,7 @@ static void dma_4u_sync_sg_for_cpu(struc
3413 spin_unlock_irqrestore(&iommu->lock, flags); 3413 spin_unlock_irqrestore(&iommu->lock, flags);
3414 } 3414 }
@@ -3427,9 +3427,9 @@ diff -urNp linux-2.6.32.11/arch/sparc/kernel/iommu.c linux-2.6.32.11/arch/sparc/
3427 EXPORT_SYMBOL(dma_ops); 3427 EXPORT_SYMBOL(dma_ops);
3428 3428
3429 extern int pci64_dma_supported(struct pci_dev *pdev, u64 device_mask); 3429 extern int pci64_dma_supported(struct pci_dev *pdev, u64 device_mask);
3430diff -urNp linux-2.6.32.11/arch/sparc/kernel/ioport.c linux-2.6.32.11/arch/sparc/kernel/ioport.c 3430diff -urNp linux-2.6.32.12/arch/sparc/kernel/ioport.c linux-2.6.32.12/arch/sparc/kernel/ioport.c
3431--- linux-2.6.32.11/arch/sparc/kernel/ioport.c 2010-03-15 11:52:04.000000000 -0400 3431--- linux-2.6.32.12/arch/sparc/kernel/ioport.c 2010-03-15 11:52:04.000000000 -0400
3432+++ linux-2.6.32.11/arch/sparc/kernel/ioport.c 2010-04-04 20:46:41.492578989 -0400 3432+++ linux-2.6.32.12/arch/sparc/kernel/ioport.c 2010-04-04 20:46:41.492578989 -0400
3433@@ -392,7 +392,7 @@ static void sbus_sync_sg_for_device(stru 3433@@ -392,7 +392,7 @@ static void sbus_sync_sg_for_device(stru
3434 BUG(); 3434 BUG();
3435 } 3435 }
@@ -3457,9 +3457,9 @@ diff -urNp linux-2.6.32.11/arch/sparc/kernel/ioport.c linux-2.6.32.11/arch/sparc
3457 .alloc_coherent = pci32_alloc_coherent, 3457 .alloc_coherent = pci32_alloc_coherent,
3458 .free_coherent = pci32_free_coherent, 3458 .free_coherent = pci32_free_coherent,
3459 .map_page = pci32_map_page, 3459 .map_page = pci32_map_page,
3460diff -urNp linux-2.6.32.11/arch/sparc/kernel/kgdb_32.c linux-2.6.32.11/arch/sparc/kernel/kgdb_32.c 3460diff -urNp linux-2.6.32.12/arch/sparc/kernel/kgdb_32.c linux-2.6.32.12/arch/sparc/kernel/kgdb_32.c
3461--- linux-2.6.32.11/arch/sparc/kernel/kgdb_32.c 2010-03-15 11:52:04.000000000 -0400 3461--- linux-2.6.32.12/arch/sparc/kernel/kgdb_32.c 2010-03-15 11:52:04.000000000 -0400
3462+++ linux-2.6.32.11/arch/sparc/kernel/kgdb_32.c 2010-04-04 20:46:41.492578989 -0400 3462+++ linux-2.6.32.12/arch/sparc/kernel/kgdb_32.c 2010-04-04 20:46:41.492578989 -0400
3463@@ -158,7 +158,7 @@ void kgdb_arch_exit(void) 3463@@ -158,7 +158,7 @@ void kgdb_arch_exit(void)
3464 { 3464 {
3465 } 3465 }
@@ -3469,9 +3469,9 @@ diff -urNp linux-2.6.32.11/arch/sparc/kernel/kgdb_32.c linux-2.6.32.11/arch/spar
3469 /* Breakpoint instruction: ta 0x7d */ 3469 /* Breakpoint instruction: ta 0x7d */
3470 .gdb_bpt_instr = { 0x91, 0xd0, 0x20, 0x7d }, 3470 .gdb_bpt_instr = { 0x91, 0xd0, 0x20, 0x7d },
3471 }; 3471 };
3472diff -urNp linux-2.6.32.11/arch/sparc/kernel/kgdb_64.c linux-2.6.32.11/arch/sparc/kernel/kgdb_64.c 3472diff -urNp linux-2.6.32.12/arch/sparc/kernel/kgdb_64.c linux-2.6.32.12/arch/sparc/kernel/kgdb_64.c
3473--- linux-2.6.32.11/arch/sparc/kernel/kgdb_64.c 2010-03-15 11:52:04.000000000 -0400 3473--- linux-2.6.32.12/arch/sparc/kernel/kgdb_64.c 2010-03-15 11:52:04.000000000 -0400
3474+++ linux-2.6.32.11/arch/sparc/kernel/kgdb_64.c 2010-04-04 20:46:41.492578989 -0400 3474+++ linux-2.6.32.12/arch/sparc/kernel/kgdb_64.c 2010-04-04 20:46:41.492578989 -0400
3475@@ -180,7 +180,7 @@ void kgdb_arch_exit(void) 3475@@ -180,7 +180,7 @@ void kgdb_arch_exit(void)
3476 { 3476 {
3477 } 3477 }
@@ -3481,9 +3481,9 @@ diff -urNp linux-2.6.32.11/arch/sparc/kernel/kgdb_64.c linux-2.6.32.11/arch/spar
3481 /* Breakpoint instruction: ta 0x72 */ 3481 /* Breakpoint instruction: ta 0x72 */
3482 .gdb_bpt_instr = { 0x91, 0xd0, 0x20, 0x72 }, 3482 .gdb_bpt_instr = { 0x91, 0xd0, 0x20, 0x72 },
3483 }; 3483 };
3484diff -urNp linux-2.6.32.11/arch/sparc/kernel/Makefile linux-2.6.32.11/arch/sparc/kernel/Makefile 3484diff -urNp linux-2.6.32.12/arch/sparc/kernel/Makefile linux-2.6.32.12/arch/sparc/kernel/Makefile
3485--- linux-2.6.32.11/arch/sparc/kernel/Makefile 2010-03-15 11:52:04.000000000 -0400 3485--- linux-2.6.32.12/arch/sparc/kernel/Makefile 2010-03-15 11:52:04.000000000 -0400
3486+++ linux-2.6.32.11/arch/sparc/kernel/Makefile 2010-04-04 20:46:41.492578989 -0400 3486+++ linux-2.6.32.12/arch/sparc/kernel/Makefile 2010-04-04 20:46:41.492578989 -0400
3487@@ -3,7 +3,7 @@ 3487@@ -3,7 +3,7 @@
3488 # 3488 #
3489 3489
@@ -3493,9 +3493,9 @@ diff -urNp linux-2.6.32.11/arch/sparc/kernel/Makefile linux-2.6.32.11/arch/sparc
3493 3493
3494 extra-y := head_$(BITS).o 3494 extra-y := head_$(BITS).o
3495 extra-y += init_task.o 3495 extra-y += init_task.o
3496diff -urNp linux-2.6.32.11/arch/sparc/kernel/pci_sun4v.c linux-2.6.32.11/arch/sparc/kernel/pci_sun4v.c 3496diff -urNp linux-2.6.32.12/arch/sparc/kernel/pci_sun4v.c linux-2.6.32.12/arch/sparc/kernel/pci_sun4v.c
3497--- linux-2.6.32.11/arch/sparc/kernel/pci_sun4v.c 2010-03-15 11:52:04.000000000 -0400 3497--- linux-2.6.32.12/arch/sparc/kernel/pci_sun4v.c 2010-03-15 11:52:04.000000000 -0400
3498+++ linux-2.6.32.11/arch/sparc/kernel/pci_sun4v.c 2010-04-04 20:46:41.492578989 -0400 3498+++ linux-2.6.32.12/arch/sparc/kernel/pci_sun4v.c 2010-04-04 20:46:41.492578989 -0400
3499@@ -525,7 +525,7 @@ static void dma_4v_unmap_sg(struct devic 3499@@ -525,7 +525,7 @@ static void dma_4v_unmap_sg(struct devic
3500 spin_unlock_irqrestore(&iommu->lock, flags); 3500 spin_unlock_irqrestore(&iommu->lock, flags);
3501 } 3501 }
@@ -3505,9 +3505,9 @@ diff -urNp linux-2.6.32.11/arch/sparc/kernel/pci_sun4v.c linux-2.6.32.11/arch/sp
3505 .alloc_coherent = dma_4v_alloc_coherent, 3505 .alloc_coherent = dma_4v_alloc_coherent,
3506 .free_coherent = dma_4v_free_coherent, 3506 .free_coherent = dma_4v_free_coherent,
3507 .map_page = dma_4v_map_page, 3507 .map_page = dma_4v_map_page,
3508diff -urNp linux-2.6.32.11/arch/sparc/kernel/sys_sparc_32.c linux-2.6.32.11/arch/sparc/kernel/sys_sparc_32.c 3508diff -urNp linux-2.6.32.12/arch/sparc/kernel/sys_sparc_32.c linux-2.6.32.12/arch/sparc/kernel/sys_sparc_32.c
3509--- linux-2.6.32.11/arch/sparc/kernel/sys_sparc_32.c 2010-03-15 11:52:04.000000000 -0400 3509--- linux-2.6.32.12/arch/sparc/kernel/sys_sparc_32.c 2010-03-15 11:52:04.000000000 -0400
3510+++ linux-2.6.32.11/arch/sparc/kernel/sys_sparc_32.c 2010-04-04 20:46:41.492578989 -0400 3510+++ linux-2.6.32.12/arch/sparc/kernel/sys_sparc_32.c 2010-04-04 20:46:41.492578989 -0400
3511@@ -57,7 +57,7 @@ unsigned long arch_get_unmapped_area(str 3511@@ -57,7 +57,7 @@ unsigned long arch_get_unmapped_area(str
3512 if (ARCH_SUN4C && len > 0x20000000) 3512 if (ARCH_SUN4C && len > 0x20000000)
3513 return -ENOMEM; 3513 return -ENOMEM;
@@ -3517,9 +3517,9 @@ diff -urNp linux-2.6.32.11/arch/sparc/kernel/sys_sparc_32.c linux-2.6.32.11/arch
3517 3517
3518 if (flags & MAP_SHARED) 3518 if (flags & MAP_SHARED)
3519 addr = COLOUR_ALIGN(addr); 3519 addr = COLOUR_ALIGN(addr);
3520diff -urNp linux-2.6.32.11/arch/sparc/kernel/sys_sparc_64.c linux-2.6.32.11/arch/sparc/kernel/sys_sparc_64.c 3520diff -urNp linux-2.6.32.12/arch/sparc/kernel/sys_sparc_64.c linux-2.6.32.12/arch/sparc/kernel/sys_sparc_64.c
3521--- linux-2.6.32.11/arch/sparc/kernel/sys_sparc_64.c 2010-03-15 11:52:04.000000000 -0400 3521--- linux-2.6.32.12/arch/sparc/kernel/sys_sparc_64.c 2010-03-15 11:52:04.000000000 -0400
3522+++ linux-2.6.32.11/arch/sparc/kernel/sys_sparc_64.c 2010-04-04 20:46:41.492578989 -0400 3522+++ linux-2.6.32.12/arch/sparc/kernel/sys_sparc_64.c 2010-04-04 20:46:41.492578989 -0400
3523@@ -125,7 +125,7 @@ unsigned long arch_get_unmapped_area(str 3523@@ -125,7 +125,7 @@ unsigned long arch_get_unmapped_area(str
3524 /* We do not accept a shared mapping if it would violate 3524 /* We do not accept a shared mapping if it would violate
3525 * cache aliasing constraints. 3525 * cache aliasing constraints.
@@ -3598,9 +3598,9 @@ diff -urNp linux-2.6.32.11/arch/sparc/kernel/sys_sparc_64.c linux-2.6.32.11/arch
3598 mm->get_unmapped_area = arch_get_unmapped_area_topdown; 3598 mm->get_unmapped_area = arch_get_unmapped_area_topdown;
3599 mm->unmap_area = arch_unmap_area_topdown; 3599 mm->unmap_area = arch_unmap_area_topdown;
3600 } 3600 }
3601diff -urNp linux-2.6.32.11/arch/sparc/kernel/traps_64.c linux-2.6.32.11/arch/sparc/kernel/traps_64.c 3601diff -urNp linux-2.6.32.12/arch/sparc/kernel/traps_64.c linux-2.6.32.12/arch/sparc/kernel/traps_64.c
3602--- linux-2.6.32.11/arch/sparc/kernel/traps_64.c 2010-03-15 11:52:04.000000000 -0400 3602--- linux-2.6.32.12/arch/sparc/kernel/traps_64.c 2010-03-15 11:52:04.000000000 -0400
3603+++ linux-2.6.32.11/arch/sparc/kernel/traps_64.c 2010-04-04 20:46:41.496772577 -0400 3603+++ linux-2.6.32.12/arch/sparc/kernel/traps_64.c 2010-04-04 20:46:41.496772577 -0400
3604@@ -93,6 +93,12 @@ void bad_trap(struct pt_regs *regs, long 3604@@ -93,6 +93,12 @@ void bad_trap(struct pt_regs *regs, long
3605 3605
3606 lvl -= 0x100; 3606 lvl -= 0x100;
@@ -3632,9 +3632,9 @@ diff -urNp linux-2.6.32.11/arch/sparc/kernel/traps_64.c linux-2.6.32.11/arch/spa
3632 dump_tl1_traplog((struct tl1_traplog *)(regs + 1)); 3632 dump_tl1_traplog((struct tl1_traplog *)(regs + 1));
3633 3633
3634 sprintf (buffer, "Bad trap %lx at tl>0", lvl); 3634 sprintf (buffer, "Bad trap %lx at tl>0", lvl);
3635diff -urNp linux-2.6.32.11/arch/sparc/lib/atomic_64.S linux-2.6.32.11/arch/sparc/lib/atomic_64.S 3635diff -urNp linux-2.6.32.12/arch/sparc/lib/atomic_64.S linux-2.6.32.12/arch/sparc/lib/atomic_64.S
3636--- linux-2.6.32.11/arch/sparc/lib/atomic_64.S 2010-03-15 11:52:04.000000000 -0400 3636--- linux-2.6.32.12/arch/sparc/lib/atomic_64.S 2010-03-15 11:52:04.000000000 -0400
3637+++ linux-2.6.32.11/arch/sparc/lib/atomic_64.S 2010-04-04 20:46:41.496772577 -0400 3637+++ linux-2.6.32.12/arch/sparc/lib/atomic_64.S 2010-04-04 20:46:41.496772577 -0400
3638@@ -18,7 +18,12 @@ 3638@@ -18,7 +18,12 @@
3639 atomic_add: /* %o0 = increment, %o1 = atomic_ptr */ 3639 atomic_add: /* %o0 = increment, %o1 = atomic_ptr */
3640 BACKOFF_SETUP(%o2) 3640 BACKOFF_SETUP(%o2)
@@ -3828,9 +3828,9 @@ diff -urNp linux-2.6.32.11/arch/sparc/lib/atomic_64.S linux-2.6.32.11/arch/sparc
3828 casx [%o1], %g1, %g7 3828 casx [%o1], %g1, %g7
3829 cmp %g1, %g7 3829 cmp %g1, %g7
3830 bne,pn %xcc, 2f 3830 bne,pn %xcc, 2f
3831diff -urNp linux-2.6.32.11/arch/sparc/lib/ksyms.c linux-2.6.32.11/arch/sparc/lib/ksyms.c 3831diff -urNp linux-2.6.32.12/arch/sparc/lib/ksyms.c linux-2.6.32.12/arch/sparc/lib/ksyms.c
3832--- linux-2.6.32.11/arch/sparc/lib/ksyms.c 2010-03-15 11:52:04.000000000 -0400 3832--- linux-2.6.32.12/arch/sparc/lib/ksyms.c 2010-03-15 11:52:04.000000000 -0400
3833+++ linux-2.6.32.11/arch/sparc/lib/ksyms.c 2010-04-04 20:46:41.496772577 -0400 3833+++ linux-2.6.32.12/arch/sparc/lib/ksyms.c 2010-04-04 20:46:41.496772577 -0400
3834@@ -144,8 +144,10 @@ EXPORT_SYMBOL(__downgrade_write); 3834@@ -144,8 +144,10 @@ EXPORT_SYMBOL(__downgrade_write);
3835 3835
3836 /* Atomic counter implementation. */ 3836 /* Atomic counter implementation. */
@@ -3842,9 +3842,9 @@ diff -urNp linux-2.6.32.11/arch/sparc/lib/ksyms.c linux-2.6.32.11/arch/sparc/lib
3842 EXPORT_SYMBOL(atomic_sub_ret); 3842 EXPORT_SYMBOL(atomic_sub_ret);
3843 EXPORT_SYMBOL(atomic64_add); 3843 EXPORT_SYMBOL(atomic64_add);
3844 EXPORT_SYMBOL(atomic64_add_ret); 3844 EXPORT_SYMBOL(atomic64_add_ret);
3845diff -urNp linux-2.6.32.11/arch/sparc/lib/rwsem_64.S linux-2.6.32.11/arch/sparc/lib/rwsem_64.S 3845diff -urNp linux-2.6.32.12/arch/sparc/lib/rwsem_64.S linux-2.6.32.12/arch/sparc/lib/rwsem_64.S
3846--- linux-2.6.32.11/arch/sparc/lib/rwsem_64.S 2010-03-15 11:52:04.000000000 -0400 3846--- linux-2.6.32.12/arch/sparc/lib/rwsem_64.S 2010-03-15 11:52:04.000000000 -0400
3847+++ linux-2.6.32.11/arch/sparc/lib/rwsem_64.S 2010-04-04 20:46:41.496772577 -0400 3847+++ linux-2.6.32.12/arch/sparc/lib/rwsem_64.S 2010-04-04 20:46:41.496772577 -0400
3848@@ -11,7 +11,12 @@ 3848@@ -11,7 +11,12 @@
3849 .globl __down_read 3849 .globl __down_read
3850 __down_read: 3850 __down_read:
@@ -3943,9 +3943,9 @@ diff -urNp linux-2.6.32.11/arch/sparc/lib/rwsem_64.S linux-2.6.32.11/arch/sparc/
3943 cas [%o0], %g3, %g7 3943 cas [%o0], %g3, %g7
3944 cmp %g3, %g7 3944 cmp %g3, %g7
3945 bne,pn %icc, 1b 3945 bne,pn %icc, 1b
3946diff -urNp linux-2.6.32.11/arch/sparc/Makefile linux-2.6.32.11/arch/sparc/Makefile 3946diff -urNp linux-2.6.32.12/arch/sparc/Makefile linux-2.6.32.12/arch/sparc/Makefile
3947--- linux-2.6.32.11/arch/sparc/Makefile 2010-03-15 11:52:04.000000000 -0400 3947--- linux-2.6.32.12/arch/sparc/Makefile 2010-03-15 11:52:04.000000000 -0400
3948+++ linux-2.6.32.11/arch/sparc/Makefile 2010-04-04 20:46:41.496772577 -0400 3948+++ linux-2.6.32.12/arch/sparc/Makefile 2010-04-04 20:46:41.496772577 -0400
3949@@ -75,7 +75,7 @@ drivers-$(CONFIG_OPROFILE) += arch/sparc 3949@@ -75,7 +75,7 @@ drivers-$(CONFIG_OPROFILE) += arch/sparc
3950 # Export what is needed by arch/sparc/boot/Makefile 3950 # Export what is needed by arch/sparc/boot/Makefile
3951 export VMLINUX_INIT VMLINUX_MAIN 3951 export VMLINUX_INIT VMLINUX_MAIN
@@ -3955,9 +3955,9 @@ diff -urNp linux-2.6.32.11/arch/sparc/Makefile linux-2.6.32.11/arch/sparc/Makefi
3955 VMLINUX_MAIN += $(patsubst %/, %/lib.a, $(libs-y)) $(libs-y) 3955 VMLINUX_MAIN += $(patsubst %/, %/lib.a, $(libs-y)) $(libs-y)
3956 VMLINUX_MAIN += $(drivers-y) $(net-y) 3956 VMLINUX_MAIN += $(drivers-y) $(net-y)
3957 3957
3958diff -urNp linux-2.6.32.11/arch/sparc/mm/fault_32.c linux-2.6.32.11/arch/sparc/mm/fault_32.c 3958diff -urNp linux-2.6.32.12/arch/sparc/mm/fault_32.c linux-2.6.32.12/arch/sparc/mm/fault_32.c
3959--- linux-2.6.32.11/arch/sparc/mm/fault_32.c 2010-03-15 11:52:04.000000000 -0400 3959--- linux-2.6.32.12/arch/sparc/mm/fault_32.c 2010-03-15 11:52:04.000000000 -0400
3960+++ linux-2.6.32.11/arch/sparc/mm/fault_32.c 2010-04-04 20:46:41.496772577 -0400 3960+++ linux-2.6.32.12/arch/sparc/mm/fault_32.c 2010-04-04 20:46:41.496772577 -0400
3961@@ -21,6 +21,9 @@ 3961@@ -21,6 +21,9 @@
3962 #include <linux/interrupt.h> 3962 #include <linux/interrupt.h>
3963 #include <linux/module.h> 3963 #include <linux/module.h>
@@ -4261,9 +4261,9 @@ diff -urNp linux-2.6.32.11/arch/sparc/mm/fault_32.c linux-2.6.32.11/arch/sparc/m
4261 /* Allow reads even for write-only mappings */ 4261 /* Allow reads even for write-only mappings */
4262 if(!(vma->vm_flags & (VM_READ | VM_EXEC))) 4262 if(!(vma->vm_flags & (VM_READ | VM_EXEC)))
4263 goto bad_area; 4263 goto bad_area;
4264diff -urNp linux-2.6.32.11/arch/sparc/mm/fault_64.c linux-2.6.32.11/arch/sparc/mm/fault_64.c 4264diff -urNp linux-2.6.32.12/arch/sparc/mm/fault_64.c linux-2.6.32.12/arch/sparc/mm/fault_64.c
4265--- linux-2.6.32.11/arch/sparc/mm/fault_64.c 2010-03-15 11:52:04.000000000 -0400 4265--- linux-2.6.32.12/arch/sparc/mm/fault_64.c 2010-03-15 11:52:04.000000000 -0400
4266+++ linux-2.6.32.11/arch/sparc/mm/fault_64.c 2010-04-04 20:46:41.496772577 -0400 4266+++ linux-2.6.32.12/arch/sparc/mm/fault_64.c 2010-04-04 20:46:41.496772577 -0400
4267@@ -20,6 +20,9 @@ 4267@@ -20,6 +20,9 @@
4268 #include <linux/kprobes.h> 4268 #include <linux/kprobes.h>
4269 #include <linux/kdebug.h> 4269 #include <linux/kdebug.h>
@@ -4761,9 +4761,9 @@ diff -urNp linux-2.6.32.11/arch/sparc/mm/fault_64.c linux-2.6.32.11/arch/sparc/m
4761 /* Pure DTLB misses do not tell us whether the fault causing 4761 /* Pure DTLB misses do not tell us whether the fault causing
4762 * load/store/atomic was a write or not, it only says that there 4762 * load/store/atomic was a write or not, it only says that there
4763 * was no match. So in such a case we (carefully) read the 4763 * was no match. So in such a case we (carefully) read the
4764diff -urNp linux-2.6.32.11/arch/sparc/mm/init_32.c linux-2.6.32.11/arch/sparc/mm/init_32.c 4764diff -urNp linux-2.6.32.12/arch/sparc/mm/init_32.c linux-2.6.32.12/arch/sparc/mm/init_32.c
4765--- linux-2.6.32.11/arch/sparc/mm/init_32.c 2010-03-15 11:52:04.000000000 -0400 4765--- linux-2.6.32.12/arch/sparc/mm/init_32.c 2010-03-15 11:52:04.000000000 -0400
4766+++ linux-2.6.32.11/arch/sparc/mm/init_32.c 2010-04-04 20:46:41.496772577 -0400 4766+++ linux-2.6.32.12/arch/sparc/mm/init_32.c 2010-04-04 20:46:41.496772577 -0400
4767@@ -317,6 +317,9 @@ extern void device_scan(void); 4767@@ -317,6 +317,9 @@ extern void device_scan(void);
4768 pgprot_t PAGE_SHARED __read_mostly; 4768 pgprot_t PAGE_SHARED __read_mostly;
4769 EXPORT_SYMBOL(PAGE_SHARED); 4769 EXPORT_SYMBOL(PAGE_SHARED);
@@ -4798,9 +4798,9 @@ diff -urNp linux-2.6.32.11/arch/sparc/mm/init_32.c linux-2.6.32.11/arch/sparc/mm
4798 protection_map[12] = PAGE_READONLY; 4798 protection_map[12] = PAGE_READONLY;
4799 protection_map[13] = PAGE_READONLY; 4799 protection_map[13] = PAGE_READONLY;
4800 protection_map[14] = PAGE_SHARED; 4800 protection_map[14] = PAGE_SHARED;
4801diff -urNp linux-2.6.32.11/arch/sparc/mm/Makefile linux-2.6.32.11/arch/sparc/mm/Makefile 4801diff -urNp linux-2.6.32.12/arch/sparc/mm/Makefile linux-2.6.32.12/arch/sparc/mm/Makefile
4802--- linux-2.6.32.11/arch/sparc/mm/Makefile 2010-03-15 11:52:04.000000000 -0400 4802--- linux-2.6.32.12/arch/sparc/mm/Makefile 2010-03-15 11:52:04.000000000 -0400
4803+++ linux-2.6.32.11/arch/sparc/mm/Makefile 2010-04-04 20:46:41.496772577 -0400 4803+++ linux-2.6.32.12/arch/sparc/mm/Makefile 2010-04-04 20:46:41.496772577 -0400
4804@@ -2,7 +2,7 @@ 4804@@ -2,7 +2,7 @@
4805 # 4805 #
4806 4806
@@ -4810,9 +4810,9 @@ diff -urNp linux-2.6.32.11/arch/sparc/mm/Makefile linux-2.6.32.11/arch/sparc/mm/
4810 4810
4811 obj-$(CONFIG_SPARC64) += ultra.o tlb.o tsb.o 4811 obj-$(CONFIG_SPARC64) += ultra.o tlb.o tsb.o
4812 obj-y += fault_$(BITS).o 4812 obj-y += fault_$(BITS).o
4813diff -urNp linux-2.6.32.11/arch/sparc/mm/srmmu.c linux-2.6.32.11/arch/sparc/mm/srmmu.c 4813diff -urNp linux-2.6.32.12/arch/sparc/mm/srmmu.c linux-2.6.32.12/arch/sparc/mm/srmmu.c
4814--- linux-2.6.32.11/arch/sparc/mm/srmmu.c 2010-03-15 11:52:04.000000000 -0400 4814--- linux-2.6.32.12/arch/sparc/mm/srmmu.c 2010-03-15 11:52:04.000000000 -0400
4815+++ linux-2.6.32.11/arch/sparc/mm/srmmu.c 2010-04-04 20:46:41.496772577 -0400 4815+++ linux-2.6.32.12/arch/sparc/mm/srmmu.c 2010-04-04 20:46:41.496772577 -0400
4816@@ -2200,6 +2200,13 @@ void __init ld_mmu_srmmu(void) 4816@@ -2200,6 +2200,13 @@ void __init ld_mmu_srmmu(void)
4817 PAGE_SHARED = pgprot_val(SRMMU_PAGE_SHARED); 4817 PAGE_SHARED = pgprot_val(SRMMU_PAGE_SHARED);
4818 BTFIXUPSET_INT(page_copy, pgprot_val(SRMMU_PAGE_COPY)); 4818 BTFIXUPSET_INT(page_copy, pgprot_val(SRMMU_PAGE_COPY));
@@ -4827,9 +4827,9 @@ diff -urNp linux-2.6.32.11/arch/sparc/mm/srmmu.c linux-2.6.32.11/arch/sparc/mm/s
4827 BTFIXUPSET_INT(page_kernel, pgprot_val(SRMMU_PAGE_KERNEL)); 4827 BTFIXUPSET_INT(page_kernel, pgprot_val(SRMMU_PAGE_KERNEL));
4828 page_kernel = pgprot_val(SRMMU_PAGE_KERNEL); 4828 page_kernel = pgprot_val(SRMMU_PAGE_KERNEL);
4829 4829
4830diff -urNp linux-2.6.32.11/arch/um/include/asm/kmap_types.h linux-2.6.32.11/arch/um/include/asm/kmap_types.h 4830diff -urNp linux-2.6.32.12/arch/um/include/asm/kmap_types.h linux-2.6.32.12/arch/um/include/asm/kmap_types.h
4831--- linux-2.6.32.11/arch/um/include/asm/kmap_types.h 2010-03-15 11:52:04.000000000 -0400 4831--- linux-2.6.32.12/arch/um/include/asm/kmap_types.h 2010-03-15 11:52:04.000000000 -0400
4832+++ linux-2.6.32.11/arch/um/include/asm/kmap_types.h 2010-04-04 20:46:41.496772577 -0400 4832+++ linux-2.6.32.12/arch/um/include/asm/kmap_types.h 2010-04-04 20:46:41.496772577 -0400
4833@@ -23,6 +23,7 @@ enum km_type { 4833@@ -23,6 +23,7 @@ enum km_type {
4834 KM_IRQ1, 4834 KM_IRQ1,
4835 KM_SOFTIRQ0, 4835 KM_SOFTIRQ0,
@@ -4838,9 +4838,9 @@ diff -urNp linux-2.6.32.11/arch/um/include/asm/kmap_types.h linux-2.6.32.11/arch
4838 KM_TYPE_NR 4838 KM_TYPE_NR
4839 }; 4839 };
4840 4840
4841diff -urNp linux-2.6.32.11/arch/um/include/asm/page.h linux-2.6.32.11/arch/um/include/asm/page.h 4841diff -urNp linux-2.6.32.12/arch/um/include/asm/page.h linux-2.6.32.12/arch/um/include/asm/page.h
4842--- linux-2.6.32.11/arch/um/include/asm/page.h 2010-03-15 11:52:04.000000000 -0400 4842--- linux-2.6.32.12/arch/um/include/asm/page.h 2010-03-15 11:52:04.000000000 -0400
4843+++ linux-2.6.32.11/arch/um/include/asm/page.h 2010-04-04 20:46:41.496772577 -0400 4843+++ linux-2.6.32.12/arch/um/include/asm/page.h 2010-04-04 20:46:41.496772577 -0400
4844@@ -14,6 +14,9 @@ 4844@@ -14,6 +14,9 @@
4845 #define PAGE_SIZE (_AC(1, UL) << PAGE_SHIFT) 4845 #define PAGE_SIZE (_AC(1, UL) << PAGE_SHIFT)
4846 #define PAGE_MASK (~(PAGE_SIZE-1)) 4846 #define PAGE_MASK (~(PAGE_SIZE-1))
@@ -4851,9 +4851,9 @@ diff -urNp linux-2.6.32.11/arch/um/include/asm/page.h linux-2.6.32.11/arch/um/in
4851 #ifndef __ASSEMBLY__ 4851 #ifndef __ASSEMBLY__
4852 4852
4853 struct page; 4853 struct page;
4854diff -urNp linux-2.6.32.11/arch/um/sys-i386/syscalls.c linux-2.6.32.11/arch/um/sys-i386/syscalls.c 4854diff -urNp linux-2.6.32.12/arch/um/sys-i386/syscalls.c linux-2.6.32.12/arch/um/sys-i386/syscalls.c
4855--- linux-2.6.32.11/arch/um/sys-i386/syscalls.c 2010-03-15 11:52:04.000000000 -0400 4855--- linux-2.6.32.12/arch/um/sys-i386/syscalls.c 2010-03-15 11:52:04.000000000 -0400
4856+++ linux-2.6.32.11/arch/um/sys-i386/syscalls.c 2010-04-04 20:46:41.496772577 -0400 4856+++ linux-2.6.32.12/arch/um/sys-i386/syscalls.c 2010-04-04 20:46:41.496772577 -0400
4857@@ -11,6 +11,21 @@ 4857@@ -11,6 +11,21 @@
4858 #include "asm/uaccess.h" 4858 #include "asm/uaccess.h"
4859 #include "asm/unistd.h" 4859 #include "asm/unistd.h"
@@ -4876,9 +4876,9 @@ diff -urNp linux-2.6.32.11/arch/um/sys-i386/syscalls.c linux-2.6.32.11/arch/um/s
4876 /* 4876 /*
4877 * Perform the select(nd, in, out, ex, tv) and mmap() system 4877 * Perform the select(nd, in, out, ex, tv) and mmap() system
4878 * calls. Linux/i386 didn't use to be able to handle more than 4878 * calls. Linux/i386 didn't use to be able to handle more than
4879diff -urNp linux-2.6.32.11/arch/x86/boot/bitops.h linux-2.6.32.11/arch/x86/boot/bitops.h 4879diff -urNp linux-2.6.32.12/arch/x86/boot/bitops.h linux-2.6.32.12/arch/x86/boot/bitops.h
4880--- linux-2.6.32.11/arch/x86/boot/bitops.h 2010-03-15 11:52:04.000000000 -0400 4880--- linux-2.6.32.12/arch/x86/boot/bitops.h 2010-03-15 11:52:04.000000000 -0400
4881+++ linux-2.6.32.11/arch/x86/boot/bitops.h 2010-04-04 20:46:41.496772577 -0400 4881+++ linux-2.6.32.12/arch/x86/boot/bitops.h 2010-04-04 20:46:41.496772577 -0400
4882@@ -26,7 +26,7 @@ static inline int variable_test_bit(int 4882@@ -26,7 +26,7 @@ static inline int variable_test_bit(int
4883 u8 v; 4883 u8 v;
4884 const u32 *p = (const u32 *)addr; 4884 const u32 *p = (const u32 *)addr;
@@ -4897,9 +4897,9 @@ diff -urNp linux-2.6.32.11/arch/x86/boot/bitops.h linux-2.6.32.11/arch/x86/boot/
4897 } 4897 }
4898 4898
4899 #endif /* BOOT_BITOPS_H */ 4899 #endif /* BOOT_BITOPS_H */
4900diff -urNp linux-2.6.32.11/arch/x86/boot/boot.h linux-2.6.32.11/arch/x86/boot/boot.h 4900diff -urNp linux-2.6.32.12/arch/x86/boot/boot.h linux-2.6.32.12/arch/x86/boot/boot.h
4901--- linux-2.6.32.11/arch/x86/boot/boot.h 2010-03-15 11:52:04.000000000 -0400 4901--- linux-2.6.32.12/arch/x86/boot/boot.h 2010-03-15 11:52:04.000000000 -0400
4902+++ linux-2.6.32.11/arch/x86/boot/boot.h 2010-04-04 20:46:41.496772577 -0400 4902+++ linux-2.6.32.12/arch/x86/boot/boot.h 2010-04-04 20:46:41.496772577 -0400
4903@@ -82,7 +82,7 @@ static inline void io_delay(void) 4903@@ -82,7 +82,7 @@ static inline void io_delay(void)
4904 static inline u16 ds(void) 4904 static inline u16 ds(void)
4905 { 4905 {
@@ -4918,9 +4918,9 @@ diff -urNp linux-2.6.32.11/arch/x86/boot/boot.h linux-2.6.32.11/arch/x86/boot/bo
4918 : "=qm" (diff), "+D" (s1), "+S" (s2), "+c" (len)); 4918 : "=qm" (diff), "+D" (s1), "+S" (s2), "+c" (len));
4919 return diff; 4919 return diff;
4920 } 4920 }
4921diff -urNp linux-2.6.32.11/arch/x86/boot/compressed/head_32.S linux-2.6.32.11/arch/x86/boot/compressed/head_32.S 4921diff -urNp linux-2.6.32.12/arch/x86/boot/compressed/head_32.S linux-2.6.32.12/arch/x86/boot/compressed/head_32.S
4922--- linux-2.6.32.11/arch/x86/boot/compressed/head_32.S 2010-03-15 11:52:04.000000000 -0400 4922--- linux-2.6.32.12/arch/x86/boot/compressed/head_32.S 2010-03-15 11:52:04.000000000 -0400
4923+++ linux-2.6.32.11/arch/x86/boot/compressed/head_32.S 2010-04-04 20:46:41.496772577 -0400 4923+++ linux-2.6.32.12/arch/x86/boot/compressed/head_32.S 2010-04-04 20:46:41.496772577 -0400
4924@@ -76,7 +76,7 @@ ENTRY(startup_32) 4924@@ -76,7 +76,7 @@ ENTRY(startup_32)
4925 notl %eax 4925 notl %eax
4926 andl %eax, %ebx 4926 andl %eax, %ebx
@@ -4949,9 +4949,9 @@ diff -urNp linux-2.6.32.11/arch/x86/boot/compressed/head_32.S linux-2.6.32.11/ar
4949 addl %ebx, -__PAGE_OFFSET(%ebx, %ecx) 4949 addl %ebx, -__PAGE_OFFSET(%ebx, %ecx)
4950 jmp 1b 4950 jmp 1b
4951 2: 4951 2:
4952diff -urNp linux-2.6.32.11/arch/x86/boot/compressed/head_64.S linux-2.6.32.11/arch/x86/boot/compressed/head_64.S 4952diff -urNp linux-2.6.32.12/arch/x86/boot/compressed/head_64.S linux-2.6.32.12/arch/x86/boot/compressed/head_64.S
4953--- linux-2.6.32.11/arch/x86/boot/compressed/head_64.S 2010-03-15 11:52:04.000000000 -0400 4953--- linux-2.6.32.12/arch/x86/boot/compressed/head_64.S 2010-03-15 11:52:04.000000000 -0400
4954+++ linux-2.6.32.11/arch/x86/boot/compressed/head_64.S 2010-04-04 20:46:41.496772577 -0400 4954+++ linux-2.6.32.12/arch/x86/boot/compressed/head_64.S 2010-04-04 20:46:41.496772577 -0400
4955@@ -91,7 +91,7 @@ ENTRY(startup_32) 4955@@ -91,7 +91,7 @@ ENTRY(startup_32)
4956 notl %eax 4956 notl %eax
4957 andl %eax, %ebx 4957 andl %eax, %ebx
@@ -4970,9 +4970,9 @@ diff -urNp linux-2.6.32.11/arch/x86/boot/compressed/head_64.S linux-2.6.32.11/ar
4970 #endif 4970 #endif
4971 4971
4972 /* Target address to relocate to for decompression */ 4972 /* Target address to relocate to for decompression */
4973diff -urNp linux-2.6.32.11/arch/x86/boot/compressed/misc.c linux-2.6.32.11/arch/x86/boot/compressed/misc.c 4973diff -urNp linux-2.6.32.12/arch/x86/boot/compressed/misc.c linux-2.6.32.12/arch/x86/boot/compressed/misc.c
4974--- linux-2.6.32.11/arch/x86/boot/compressed/misc.c 2010-03-15 11:52:04.000000000 -0400 4974--- linux-2.6.32.12/arch/x86/boot/compressed/misc.c 2010-03-15 11:52:04.000000000 -0400
4975+++ linux-2.6.32.11/arch/x86/boot/compressed/misc.c 2010-04-04 20:46:41.496772577 -0400 4975+++ linux-2.6.32.12/arch/x86/boot/compressed/misc.c 2010-04-04 20:46:41.496772577 -0400
4976@@ -288,7 +288,7 @@ static void parse_elf(void *output) 4976@@ -288,7 +288,7 @@ static void parse_elf(void *output)
4977 case PT_LOAD: 4977 case PT_LOAD:
4978 #ifdef CONFIG_RELOCATABLE 4978 #ifdef CONFIG_RELOCATABLE
@@ -4991,9 +4991,9 @@ diff -urNp linux-2.6.32.11/arch/x86/boot/compressed/misc.c linux-2.6.32.11/arch/
4991 error("Wrong destination address"); 4991 error("Wrong destination address");
4992 #endif 4992 #endif
4993 4993
4994diff -urNp linux-2.6.32.11/arch/x86/boot/compressed/mkpiggy.c linux-2.6.32.11/arch/x86/boot/compressed/mkpiggy.c 4994diff -urNp linux-2.6.32.12/arch/x86/boot/compressed/mkpiggy.c linux-2.6.32.12/arch/x86/boot/compressed/mkpiggy.c
4995--- linux-2.6.32.11/arch/x86/boot/compressed/mkpiggy.c 2010-03-15 11:52:04.000000000 -0400 4995--- linux-2.6.32.12/arch/x86/boot/compressed/mkpiggy.c 2010-03-15 11:52:04.000000000 -0400
4996+++ linux-2.6.32.11/arch/x86/boot/compressed/mkpiggy.c 2010-04-04 20:46:41.496772577 -0400 4996+++ linux-2.6.32.12/arch/x86/boot/compressed/mkpiggy.c 2010-04-04 20:46:41.496772577 -0400
4997@@ -74,7 +74,7 @@ int main(int argc, char *argv[]) 4997@@ -74,7 +74,7 @@ int main(int argc, char *argv[])
4998 4998
4999 offs = (olen > ilen) ? olen - ilen : 0; 4999 offs = (olen > ilen) ? olen - ilen : 0;
@@ -5003,9 +5003,9 @@ diff -urNp linux-2.6.32.11/arch/x86/boot/compressed/mkpiggy.c linux-2.6.32.11/ar
5003 offs = (offs+4095) & ~4095; /* Round to a 4K boundary */ 5003 offs = (offs+4095) & ~4095; /* Round to a 4K boundary */
5004 5004
5005 printf(".section \".rodata.compressed\",\"a\",@progbits\n"); 5005 printf(".section \".rodata.compressed\",\"a\",@progbits\n");
5006diff -urNp linux-2.6.32.11/arch/x86/boot/compressed/relocs.c linux-2.6.32.11/arch/x86/boot/compressed/relocs.c 5006diff -urNp linux-2.6.32.12/arch/x86/boot/compressed/relocs.c linux-2.6.32.12/arch/x86/boot/compressed/relocs.c
5007--- linux-2.6.32.11/arch/x86/boot/compressed/relocs.c 2010-03-15 11:52:04.000000000 -0400 5007--- linux-2.6.32.12/arch/x86/boot/compressed/relocs.c 2010-03-15 11:52:04.000000000 -0400
5008+++ linux-2.6.32.11/arch/x86/boot/compressed/relocs.c 2010-04-04 20:46:41.500459645 -0400 5008+++ linux-2.6.32.12/arch/x86/boot/compressed/relocs.c 2010-04-04 20:46:41.500459645 -0400
5009@@ -10,8 +10,11 @@ 5009@@ -10,8 +10,11 @@
5010 #define USE_BSD 5010 #define USE_BSD
5011 #include <endian.h> 5011 #include <endian.h>
@@ -5206,9 +5206,9 @@ diff -urNp linux-2.6.32.11/arch/x86/boot/compressed/relocs.c linux-2.6.32.11/arc
5206 read_shdrs(fp); 5206 read_shdrs(fp);
5207 read_strtabs(fp); 5207 read_strtabs(fp);
5208 read_symtabs(fp); 5208 read_symtabs(fp);
5209diff -urNp linux-2.6.32.11/arch/x86/boot/cpucheck.c linux-2.6.32.11/arch/x86/boot/cpucheck.c 5209diff -urNp linux-2.6.32.12/arch/x86/boot/cpucheck.c linux-2.6.32.12/arch/x86/boot/cpucheck.c
5210--- linux-2.6.32.11/arch/x86/boot/cpucheck.c 2010-03-15 11:52:04.000000000 -0400 5210--- linux-2.6.32.12/arch/x86/boot/cpucheck.c 2010-03-15 11:52:04.000000000 -0400
5211+++ linux-2.6.32.11/arch/x86/boot/cpucheck.c 2010-04-04 20:46:41.500459645 -0400 5211+++ linux-2.6.32.12/arch/x86/boot/cpucheck.c 2010-04-04 20:46:41.500459645 -0400
5212@@ -74,7 +74,7 @@ static int has_fpu(void) 5212@@ -74,7 +74,7 @@ static int has_fpu(void)
5213 u16 fcw = -1, fsw = -1; 5213 u16 fcw = -1, fsw = -1;
5214 u32 cr0; 5214 u32 cr0;
@@ -5304,9 +5304,9 @@ diff -urNp linux-2.6.32.11/arch/x86/boot/cpucheck.c linux-2.6.32.11/arch/x86/boo
5304 5304
5305 err = check_flags(); 5305 err = check_flags();
5306 } 5306 }
5307diff -urNp linux-2.6.32.11/arch/x86/boot/header.S linux-2.6.32.11/arch/x86/boot/header.S 5307diff -urNp linux-2.6.32.12/arch/x86/boot/header.S linux-2.6.32.12/arch/x86/boot/header.S
5308--- linux-2.6.32.11/arch/x86/boot/header.S 2010-03-15 11:52:04.000000000 -0400 5308--- linux-2.6.32.12/arch/x86/boot/header.S 2010-03-15 11:52:04.000000000 -0400
5309+++ linux-2.6.32.11/arch/x86/boot/header.S 2010-04-04 20:46:41.500459645 -0400 5309+++ linux-2.6.32.12/arch/x86/boot/header.S 2010-04-04 20:46:41.500459645 -0400
5310@@ -224,7 +224,7 @@ setup_data: .quad 0 # 64-bit physical 5310@@ -224,7 +224,7 @@ setup_data: .quad 0 # 64-bit physical
5311 # single linked list of 5311 # single linked list of
5312 # struct setup_data 5312 # struct setup_data
@@ -5316,9 +5316,33 @@ diff -urNp linux-2.6.32.11/arch/x86/boot/header.S linux-2.6.32.11/arch/x86/boot/
5316 5316
5317 #define ZO_INIT_SIZE (ZO__end - ZO_startup_32 + ZO_z_extract_offset) 5317 #define ZO_INIT_SIZE (ZO__end - ZO_startup_32 + ZO_z_extract_offset)
5318 #define VO_INIT_SIZE (VO__end - VO__text) 5318 #define VO_INIT_SIZE (VO__end - VO__text)
5319diff -urNp linux-2.6.32.11/arch/x86/boot/video-vesa.c linux-2.6.32.11/arch/x86/boot/video-vesa.c 5319diff -urNp linux-2.6.32.12/arch/x86/boot/memory.c linux-2.6.32.12/arch/x86/boot/memory.c
5320--- linux-2.6.32.11/arch/x86/boot/video-vesa.c 2010-03-15 11:52:04.000000000 -0400 5320--- linux-2.6.32.12/arch/x86/boot/memory.c 2010-03-15 11:52:04.000000000 -0400
5321+++ linux-2.6.32.11/arch/x86/boot/video-vesa.c 2010-04-04 20:46:41.500459645 -0400 5321+++ linux-2.6.32.12/arch/x86/boot/memory.c 2010-04-29 17:46:37.065247062 -0400
5322@@ -19,7 +19,7 @@
5323
5324 static int detect_memory_e820(void)
5325 {
5326- int count = 0;
5327+ unsigned int count = 0;
5328 struct biosregs ireg, oreg;
5329 struct e820entry *desc = boot_params.e820_map;
5330 static struct e820entry buf; /* static so it is zeroed */
5331diff -urNp linux-2.6.32.12/arch/x86/boot/video.c linux-2.6.32.12/arch/x86/boot/video.c
5332--- linux-2.6.32.12/arch/x86/boot/video.c 2010-03-15 11:52:04.000000000 -0400
5333+++ linux-2.6.32.12/arch/x86/boot/video.c 2010-04-29 17:46:37.069058404 -0400
5334@@ -90,7 +90,7 @@ static void store_mode_params(void)
5335 static unsigned int get_entry(void)
5336 {
5337 char entry_buf[4];
5338- int i, len = 0;
5339+ unsigned int i, len = 0;
5340 int key;
5341 unsigned int v;
5342
5343diff -urNp linux-2.6.32.12/arch/x86/boot/video-vesa.c linux-2.6.32.12/arch/x86/boot/video-vesa.c
5344--- linux-2.6.32.12/arch/x86/boot/video-vesa.c 2010-03-15 11:52:04.000000000 -0400
5345+++ linux-2.6.32.12/arch/x86/boot/video-vesa.c 2010-04-04 20:46:41.500459645 -0400
5322@@ -200,6 +200,7 @@ static void vesa_store_pm_info(void) 5346@@ -200,6 +200,7 @@ static void vesa_store_pm_info(void)
5323 5347
5324 boot_params.screen_info.vesapm_seg = oreg.es; 5348 boot_params.screen_info.vesapm_seg = oreg.es;
@@ -5327,9 +5351,9 @@ diff -urNp linux-2.6.32.11/arch/x86/boot/video-vesa.c linux-2.6.32.11/arch/x86/b
5327 } 5351 }
5328 5352
5329 /* 5353 /*
5330diff -urNp linux-2.6.32.11/arch/x86/ia32/ia32entry.S linux-2.6.32.11/arch/x86/ia32/ia32entry.S 5354diff -urNp linux-2.6.32.12/arch/x86/ia32/ia32entry.S linux-2.6.32.12/arch/x86/ia32/ia32entry.S
5331--- linux-2.6.32.11/arch/x86/ia32/ia32entry.S 2010-03-15 11:52:04.000000000 -0400 5355--- linux-2.6.32.12/arch/x86/ia32/ia32entry.S 2010-03-15 11:52:04.000000000 -0400
5332+++ linux-2.6.32.11/arch/x86/ia32/ia32entry.S 2010-04-04 20:58:33.225084964 -0400 5356+++ linux-2.6.32.12/arch/x86/ia32/ia32entry.S 2010-04-04 20:58:33.225084964 -0400
5333@@ -13,6 +13,7 @@ 5357@@ -13,6 +13,7 @@
5334 #include <asm/thread_info.h> 5358 #include <asm/thread_info.h>
5335 #include <asm/segment.h> 5359 #include <asm/segment.h>
@@ -5424,9 +5448,9 @@ diff -urNp linux-2.6.32.11/arch/x86/ia32/ia32entry.S linux-2.6.32.11/arch/x86/ia
5424 /* 5448 /*
5425 * No need to follow this irqs on/off section: the syscall 5449 * No need to follow this irqs on/off section: the syscall
5426 * disabled irqs and here we enable it straight after entry: 5450 * disabled irqs and here we enable it straight after entry:
5427diff -urNp linux-2.6.32.11/arch/x86/ia32/ia32_signal.c linux-2.6.32.11/arch/x86/ia32/ia32_signal.c 5451diff -urNp linux-2.6.32.12/arch/x86/ia32/ia32_signal.c linux-2.6.32.12/arch/x86/ia32/ia32_signal.c
5428--- linux-2.6.32.11/arch/x86/ia32/ia32_signal.c 2010-03-15 11:52:04.000000000 -0400 5452--- linux-2.6.32.12/arch/x86/ia32/ia32_signal.c 2010-03-15 11:52:04.000000000 -0400
5429+++ linux-2.6.32.11/arch/x86/ia32/ia32_signal.c 2010-04-04 20:46:41.500459645 -0400 5453+++ linux-2.6.32.12/arch/x86/ia32/ia32_signal.c 2010-04-04 20:46:41.500459645 -0400
5430@@ -403,7 +403,7 @@ static void __user *get_sigframe(struct 5454@@ -403,7 +403,7 @@ static void __user *get_sigframe(struct
5431 sp -= frame_size; 5455 sp -= frame_size;
5432 /* Align the stack pointer according to the i386 ABI, 5456 /* Align the stack pointer according to the i386 ABI,
@@ -5445,9 +5469,9 @@ diff -urNp linux-2.6.32.11/arch/x86/ia32/ia32_signal.c linux-2.6.32.11/arch/x86/
5445 }; 5469 };
5446 5470
5447 frame = get_sigframe(ka, regs, sizeof(*frame), &fpstate); 5471 frame = get_sigframe(ka, regs, sizeof(*frame), &fpstate);
5448diff -urNp linux-2.6.32.11/arch/x86/include/asm/alternative.h linux-2.6.32.11/arch/x86/include/asm/alternative.h 5472diff -urNp linux-2.6.32.12/arch/x86/include/asm/alternative.h linux-2.6.32.12/arch/x86/include/asm/alternative.h
5449--- linux-2.6.32.11/arch/x86/include/asm/alternative.h 2010-03-15 11:52:04.000000000 -0400 5473--- linux-2.6.32.12/arch/x86/include/asm/alternative.h 2010-03-15 11:52:04.000000000 -0400
5450+++ linux-2.6.32.11/arch/x86/include/asm/alternative.h 2010-04-04 20:46:41.500459645 -0400 5474+++ linux-2.6.32.12/arch/x86/include/asm/alternative.h 2010-04-04 20:46:41.500459645 -0400
5451@@ -85,7 +85,7 @@ static inline void alternatives_smp_swit 5475@@ -85,7 +85,7 @@ static inline void alternatives_smp_swit
5452 " .byte 662b-661b\n" /* sourcelen */ \ 5476 " .byte 662b-661b\n" /* sourcelen */ \
5453 " .byte 664f-663f\n" /* replacementlen */ \ 5477 " .byte 664f-663f\n" /* replacementlen */ \
@@ -5457,9 +5481,9 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/alternative.h linux-2.6.32.11/ar
5457 "663:\n\t" newinstr "\n664:\n" /* replacement */ \ 5481 "663:\n\t" newinstr "\n664:\n" /* replacement */ \
5458 ".previous" 5482 ".previous"
5459 5483
5460diff -urNp linux-2.6.32.11/arch/x86/include/asm/apm.h linux-2.6.32.11/arch/x86/include/asm/apm.h 5484diff -urNp linux-2.6.32.12/arch/x86/include/asm/apm.h linux-2.6.32.12/arch/x86/include/asm/apm.h
5461--- linux-2.6.32.11/arch/x86/include/asm/apm.h 2010-03-15 11:52:04.000000000 -0400 5485--- linux-2.6.32.12/arch/x86/include/asm/apm.h 2010-03-15 11:52:04.000000000 -0400
5462+++ linux-2.6.32.11/arch/x86/include/asm/apm.h 2010-04-04 20:46:41.500459645 -0400 5486+++ linux-2.6.32.12/arch/x86/include/asm/apm.h 2010-04-04 20:46:41.500459645 -0400
5463@@ -34,7 +34,7 @@ static inline void apm_bios_call_asm(u32 5487@@ -34,7 +34,7 @@ static inline void apm_bios_call_asm(u32
5464 __asm__ __volatile__(APM_DO_ZERO_SEGS 5488 __asm__ __volatile__(APM_DO_ZERO_SEGS
5465 "pushl %%edi\n\t" 5489 "pushl %%edi\n\t"
@@ -5478,9 +5502,9 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/apm.h linux-2.6.32.11/arch/x86/i
5478 "setc %%bl\n\t" 5502 "setc %%bl\n\t"
5479 "popl %%ebp\n\t" 5503 "popl %%ebp\n\t"
5480 "popl %%edi\n\t" 5504 "popl %%edi\n\t"
5481diff -urNp linux-2.6.32.11/arch/x86/include/asm/atomic_32.h linux-2.6.32.11/arch/x86/include/asm/atomic_32.h 5505diff -urNp linux-2.6.32.12/arch/x86/include/asm/atomic_32.h linux-2.6.32.12/arch/x86/include/asm/atomic_32.h
5482--- linux-2.6.32.11/arch/x86/include/asm/atomic_32.h 2010-03-15 11:52:04.000000000 -0400 5506--- linux-2.6.32.12/arch/x86/include/asm/atomic_32.h 2010-03-15 11:52:04.000000000 -0400
5483+++ linux-2.6.32.11/arch/x86/include/asm/atomic_32.h 2010-04-04 20:46:41.500459645 -0400 5507+++ linux-2.6.32.12/arch/x86/include/asm/atomic_32.h 2010-04-04 20:46:41.500459645 -0400
5484@@ -25,6 +25,17 @@ static inline int atomic_read(const atom 5508@@ -25,6 +25,17 @@ static inline int atomic_read(const atom
5485 } 5509 }
5486 5510
@@ -5811,9 +5835,9 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/atomic_32.h linux-2.6.32.11/arch
5811 #define ATOMIC64_INIT(val) { (val) } 5835 #define ATOMIC64_INIT(val) { (val) }
5812 5836
5813 extern u64 atomic64_cmpxchg(atomic64_t *ptr, u64 old_val, u64 new_val); 5837 extern u64 atomic64_cmpxchg(atomic64_t *ptr, u64 old_val, u64 new_val);
5814diff -urNp linux-2.6.32.11/arch/x86/include/asm/atomic_64.h linux-2.6.32.11/arch/x86/include/asm/atomic_64.h 5838diff -urNp linux-2.6.32.12/arch/x86/include/asm/atomic_64.h linux-2.6.32.12/arch/x86/include/asm/atomic_64.h
5815--- linux-2.6.32.11/arch/x86/include/asm/atomic_64.h 2010-03-15 11:52:04.000000000 -0400 5839--- linux-2.6.32.12/arch/x86/include/asm/atomic_64.h 2010-03-15 11:52:04.000000000 -0400
5816+++ linux-2.6.32.11/arch/x86/include/asm/atomic_64.h 2010-04-04 20:46:41.500459645 -0400 5840+++ linux-2.6.32.12/arch/x86/include/asm/atomic_64.h 2010-04-04 20:46:41.500459645 -0400
5817@@ -24,6 +24,17 @@ static inline int atomic_read(const atom 5841@@ -24,6 +24,17 @@ static inline int atomic_read(const atom
5818 } 5842 }
5819 5843
@@ -6391,9 +6415,9 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/atomic_64.h linux-2.6.32.11/arch
6391 } 6415 }
6392 6416
6393 /** 6417 /**
6394diff -urNp linux-2.6.32.11/arch/x86/include/asm/boot.h linux-2.6.32.11/arch/x86/include/asm/boot.h 6418diff -urNp linux-2.6.32.12/arch/x86/include/asm/boot.h linux-2.6.32.12/arch/x86/include/asm/boot.h
6395--- linux-2.6.32.11/arch/x86/include/asm/boot.h 2010-03-15 11:52:04.000000000 -0400 6419--- linux-2.6.32.12/arch/x86/include/asm/boot.h 2010-03-15 11:52:04.000000000 -0400
6396+++ linux-2.6.32.11/arch/x86/include/asm/boot.h 2010-04-04 20:46:41.500459645 -0400 6420+++ linux-2.6.32.12/arch/x86/include/asm/boot.h 2010-04-04 20:46:41.500459645 -0400
6397@@ -11,10 +11,15 @@ 6421@@ -11,10 +11,15 @@
6398 #include <asm/pgtable_types.h> 6422 #include <asm/pgtable_types.h>
6399 6423
@@ -6411,9 +6435,30 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/boot.h linux-2.6.32.11/arch/x86/
6411 /* Minimum kernel alignment, as a power of two */ 6435 /* Minimum kernel alignment, as a power of two */
6412 #ifdef CONFIG_X86_64 6436 #ifdef CONFIG_X86_64
6413 #define MIN_KERNEL_ALIGN_LG2 PMD_SHIFT 6437 #define MIN_KERNEL_ALIGN_LG2 PMD_SHIFT
6414diff -urNp linux-2.6.32.11/arch/x86/include/asm/cache.h linux-2.6.32.11/arch/x86/include/asm/cache.h 6438diff -urNp linux-2.6.32.12/arch/x86/include/asm/cacheflush.h linux-2.6.32.12/arch/x86/include/asm/cacheflush.h
6415--- linux-2.6.32.11/arch/x86/include/asm/cache.h 2010-03-15 11:52:04.000000000 -0400 6439--- linux-2.6.32.12/arch/x86/include/asm/cacheflush.h 2010-03-15 11:52:04.000000000 -0400
6416+++ linux-2.6.32.11/arch/x86/include/asm/cache.h 2010-04-04 20:46:41.500459645 -0400 6440+++ linux-2.6.32.12/arch/x86/include/asm/cacheflush.h 2010-04-29 17:46:37.069058404 -0400
6441@@ -60,7 +60,7 @@ PAGEFLAG(WC, WC)
6442 static inline unsigned long get_page_memtype(struct page *pg)
6443 {
6444 if (!PageUncached(pg) && !PageWC(pg))
6445- return -1;
6446+ return ~0UL;
6447 else if (!PageUncached(pg) && PageWC(pg))
6448 return _PAGE_CACHE_WC;
6449 else if (PageUncached(pg) && !PageWC(pg))
6450@@ -85,7 +85,7 @@ static inline void set_page_memtype(stru
6451 SetPageWC(pg);
6452 break;
6453 default:
6454- case -1:
6455+ case ~0UL:
6456 ClearPageUncached(pg);
6457 ClearPageWC(pg);
6458 break;
6459diff -urNp linux-2.6.32.12/arch/x86/include/asm/cache.h linux-2.6.32.12/arch/x86/include/asm/cache.h
6460--- linux-2.6.32.12/arch/x86/include/asm/cache.h 2010-03-15 11:52:04.000000000 -0400
6461+++ linux-2.6.32.12/arch/x86/include/asm/cache.h 2010-04-04 20:46:41.500459645 -0400
6417@@ -8,6 +8,7 @@ 6462@@ -8,6 +8,7 @@
6418 #define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT) 6463 #define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT)
6419 6464
@@ -6422,9 +6467,9 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/cache.h linux-2.6.32.11/arch/x86
6422 6467
6423 #ifdef CONFIG_X86_VSMP 6468 #ifdef CONFIG_X86_VSMP
6424 /* vSMP Internode cacheline shift */ 6469 /* vSMP Internode cacheline shift */
6425diff -urNp linux-2.6.32.11/arch/x86/include/asm/checksum_32.h linux-2.6.32.11/arch/x86/include/asm/checksum_32.h 6470diff -urNp linux-2.6.32.12/arch/x86/include/asm/checksum_32.h linux-2.6.32.12/arch/x86/include/asm/checksum_32.h
6426--- linux-2.6.32.11/arch/x86/include/asm/checksum_32.h 2010-03-15 11:52:04.000000000 -0400 6471--- linux-2.6.32.12/arch/x86/include/asm/checksum_32.h 2010-03-15 11:52:04.000000000 -0400
6427+++ linux-2.6.32.11/arch/x86/include/asm/checksum_32.h 2010-04-04 20:46:41.500459645 -0400 6472+++ linux-2.6.32.12/arch/x86/include/asm/checksum_32.h 2010-04-04 20:46:41.500459645 -0400
6428@@ -31,6 +31,14 @@ asmlinkage __wsum csum_partial_copy_gene 6473@@ -31,6 +31,14 @@ asmlinkage __wsum csum_partial_copy_gene
6429 int len, __wsum sum, 6474 int len, __wsum sum,
6430 int *src_err_ptr, int *dst_err_ptr); 6475 int *src_err_ptr, int *dst_err_ptr);
@@ -6458,9 +6503,9 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/checksum_32.h linux-2.6.32.11/ar
6458 len, sum, NULL, err_ptr); 6503 len, sum, NULL, err_ptr);
6459 6504
6460 if (len) 6505 if (len)
6461diff -urNp linux-2.6.32.11/arch/x86/include/asm/desc.h linux-2.6.32.11/arch/x86/include/asm/desc.h 6506diff -urNp linux-2.6.32.12/arch/x86/include/asm/desc.h linux-2.6.32.12/arch/x86/include/asm/desc.h
6462--- linux-2.6.32.11/arch/x86/include/asm/desc.h 2010-03-15 11:52:04.000000000 -0400 6507--- linux-2.6.32.12/arch/x86/include/asm/desc.h 2010-03-15 11:52:04.000000000 -0400
6463+++ linux-2.6.32.11/arch/x86/include/asm/desc.h 2010-04-04 20:46:41.500459645 -0400 6508+++ linux-2.6.32.12/arch/x86/include/asm/desc.h 2010-04-29 17:46:36.819981711 -0400
6464@@ -4,6 +4,7 @@ 6509@@ -4,6 +4,7 @@
6465 #include <asm/desc_defs.h> 6510 #include <asm/desc_defs.h>
6466 #include <asm/ldt.h> 6511 #include <asm/ldt.h>
@@ -6554,7 +6599,66 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/desc.h linux-2.6.32.11/arch/x86/
6554 } 6599 }
6555 6600
6556 #define _LDT_empty(info) \ 6601 #define _LDT_empty(info) \
6557@@ -392,4 +402,16 @@ static inline void set_system_intr_gate_ 6602@@ -309,7 +319,7 @@ static inline void set_desc_limit(struct
6603 desc->limit = (limit >> 16) & 0xf;
6604 }
6605
6606-static inline void _set_gate(int gate, unsigned type, void *addr,
6607+static inline void _set_gate(int gate, unsigned type, const void *addr,
6608 unsigned dpl, unsigned ist, unsigned seg)
6609 {
6610 gate_desc s;
6611@@ -327,7 +337,7 @@ static inline void _set_gate(int gate, u
6612 * Pentium F0 0F bugfix can have resulted in the mapped
6613 * IDT being write-protected.
6614 */
6615-static inline void set_intr_gate(unsigned int n, void *addr)
6616+static inline void set_intr_gate(unsigned int n, const void *addr)
6617 {
6618 BUG_ON((unsigned)n > 0xFF);
6619 _set_gate(n, GATE_INTERRUPT, addr, 0, 0, __KERNEL_CS);
6620@@ -356,19 +366,19 @@ static inline void alloc_intr_gate(unsig
6621 /*
6622 * This routine sets up an interrupt gate at directory privilege level 3.
6623 */
6624-static inline void set_system_intr_gate(unsigned int n, void *addr)
6625+static inline void set_system_intr_gate(unsigned int n, const void *addr)
6626 {
6627 BUG_ON((unsigned)n > 0xFF);
6628 _set_gate(n, GATE_INTERRUPT, addr, 0x3, 0, __KERNEL_CS);
6629 }
6630
6631-static inline void set_system_trap_gate(unsigned int n, void *addr)
6632+static inline void set_system_trap_gate(unsigned int n, const void *addr)
6633 {
6634 BUG_ON((unsigned)n > 0xFF);
6635 _set_gate(n, GATE_TRAP, addr, 0x3, 0, __KERNEL_CS);
6636 }
6637
6638-static inline void set_trap_gate(unsigned int n, void *addr)
6639+static inline void set_trap_gate(unsigned int n, const void *addr)
6640 {
6641 BUG_ON((unsigned)n > 0xFF);
6642 _set_gate(n, GATE_TRAP, addr, 0, 0, __KERNEL_CS);
6643@@ -377,19 +387,31 @@ static inline void set_trap_gate(unsigne
6644 static inline void set_task_gate(unsigned int n, unsigned int gdt_entry)
6645 {
6646 BUG_ON((unsigned)n > 0xFF);
6647- _set_gate(n, GATE_TASK, (void *)0, 0, 0, (gdt_entry<<3));
6648+ _set_gate(n, GATE_TASK, (const void *)0, 0, 0, (gdt_entry<<3));
6649 }
6650
6651-static inline void set_intr_gate_ist(int n, void *addr, unsigned ist)
6652+static inline void set_intr_gate_ist(int n, const void *addr, unsigned ist)
6653 {
6654 BUG_ON((unsigned)n > 0xFF);
6655 _set_gate(n, GATE_INTERRUPT, addr, 0, ist, __KERNEL_CS);
6656 }
6657
6658-static inline void set_system_intr_gate_ist(int n, void *addr, unsigned ist)
6659+static inline void set_system_intr_gate_ist(int n, const void *addr, unsigned ist)
6660 {
6661 BUG_ON((unsigned)n > 0xFF);
6558 _set_gate(n, GATE_INTERRUPT, addr, 0x3, ist, __KERNEL_CS); 6662 _set_gate(n, GATE_INTERRUPT, addr, 0x3, ist, __KERNEL_CS);
6559 } 6663 }
6560 6664
@@ -6571,9 +6675,9 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/desc.h linux-2.6.32.11/arch/x86/
6571+#endif 6675+#endif
6572+ 6676+
6573 #endif /* _ASM_X86_DESC_H */ 6677 #endif /* _ASM_X86_DESC_H */
6574diff -urNp linux-2.6.32.11/arch/x86/include/asm/device.h linux-2.6.32.11/arch/x86/include/asm/device.h 6678diff -urNp linux-2.6.32.12/arch/x86/include/asm/device.h linux-2.6.32.12/arch/x86/include/asm/device.h
6575--- linux-2.6.32.11/arch/x86/include/asm/device.h 2010-03-15 11:52:04.000000000 -0400 6679--- linux-2.6.32.12/arch/x86/include/asm/device.h 2010-03-15 11:52:04.000000000 -0400
6576+++ linux-2.6.32.11/arch/x86/include/asm/device.h 2010-04-04 20:46:41.500459645 -0400 6680+++ linux-2.6.32.12/arch/x86/include/asm/device.h 2010-04-04 20:46:41.500459645 -0400
6577@@ -6,7 +6,7 @@ struct dev_archdata { 6681@@ -6,7 +6,7 @@ struct dev_archdata {
6578 void *acpi_handle; 6682 void *acpi_handle;
6579 #endif 6683 #endif
@@ -6583,9 +6687,9 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/device.h linux-2.6.32.11/arch/x8
6583 #endif 6687 #endif
6584 #ifdef CONFIG_DMAR 6688 #ifdef CONFIG_DMAR
6585 void *iommu; /* hook for IOMMU specific extension */ 6689 void *iommu; /* hook for IOMMU specific extension */
6586diff -urNp linux-2.6.32.11/arch/x86/include/asm/dma-mapping.h linux-2.6.32.11/arch/x86/include/asm/dma-mapping.h 6690diff -urNp linux-2.6.32.12/arch/x86/include/asm/dma-mapping.h linux-2.6.32.12/arch/x86/include/asm/dma-mapping.h
6587--- linux-2.6.32.11/arch/x86/include/asm/dma-mapping.h 2010-03-15 11:52:04.000000000 -0400 6691--- linux-2.6.32.12/arch/x86/include/asm/dma-mapping.h 2010-03-15 11:52:04.000000000 -0400
6588+++ linux-2.6.32.11/arch/x86/include/asm/dma-mapping.h 2010-04-04 20:46:41.500459645 -0400 6692+++ linux-2.6.32.12/arch/x86/include/asm/dma-mapping.h 2010-04-04 20:46:41.500459645 -0400
6589@@ -25,9 +25,9 @@ extern int iommu_merge; 6693@@ -25,9 +25,9 @@ extern int iommu_merge;
6590 extern struct device x86_dma_fallback_dev; 6694 extern struct device x86_dma_fallback_dev;
6591 extern int panic_on_overflow; 6695 extern int panic_on_overflow;
@@ -6625,9 +6729,9 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/dma-mapping.h linux-2.6.32.11/ar
6625 6729
6626 WARN_ON(irqs_disabled()); /* for portability */ 6730 WARN_ON(irqs_disabled()); /* for portability */
6627 6731
6628diff -urNp linux-2.6.32.11/arch/x86/include/asm/e820.h linux-2.6.32.11/arch/x86/include/asm/e820.h 6732diff -urNp linux-2.6.32.12/arch/x86/include/asm/e820.h linux-2.6.32.12/arch/x86/include/asm/e820.h
6629--- linux-2.6.32.11/arch/x86/include/asm/e820.h 2010-03-15 11:52:04.000000000 -0400 6733--- linux-2.6.32.12/arch/x86/include/asm/e820.h 2010-03-15 11:52:04.000000000 -0400
6630+++ linux-2.6.32.11/arch/x86/include/asm/e820.h 2010-04-04 20:46:41.500459645 -0400 6734+++ linux-2.6.32.12/arch/x86/include/asm/e820.h 2010-04-04 20:46:41.500459645 -0400
6631@@ -133,7 +133,7 @@ extern char *default_machine_specific_me 6735@@ -133,7 +133,7 @@ extern char *default_machine_specific_me
6632 #define ISA_END_ADDRESS 0x100000 6736 #define ISA_END_ADDRESS 0x100000
6633 #define is_ISA_range(s, e) ((s) >= ISA_START_ADDRESS && (e) < ISA_END_ADDRESS) 6737 #define is_ISA_range(s, e) ((s) >= ISA_START_ADDRESS && (e) < ISA_END_ADDRESS)
@@ -6637,9 +6741,9 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/e820.h linux-2.6.32.11/arch/x86/
6637 #define BIOS_END 0x00100000 6741 #define BIOS_END 0x00100000
6638 6742
6639 #ifdef __KERNEL__ 6743 #ifdef __KERNEL__
6640diff -urNp linux-2.6.32.11/arch/x86/include/asm/elf.h linux-2.6.32.11/arch/x86/include/asm/elf.h 6744diff -urNp linux-2.6.32.12/arch/x86/include/asm/elf.h linux-2.6.32.12/arch/x86/include/asm/elf.h
6641--- linux-2.6.32.11/arch/x86/include/asm/elf.h 2010-03-15 11:52:04.000000000 -0400 6745--- linux-2.6.32.12/arch/x86/include/asm/elf.h 2010-03-15 11:52:04.000000000 -0400
6642+++ linux-2.6.32.11/arch/x86/include/asm/elf.h 2010-04-04 20:58:33.220592413 -0400 6746+++ linux-2.6.32.12/arch/x86/include/asm/elf.h 2010-04-04 20:58:33.220592413 -0400
6643@@ -257,7 +257,25 @@ extern int force_personality32; 6747@@ -257,7 +257,25 @@ extern int force_personality32;
6644 the loader. We need to make sure that it is out of the way of the program 6748 the loader. We need to make sure that it is out of the way of the program
6645 that it will "exec", and that there is sufficient room for the brk. */ 6749 that it will "exec", and that there is sufficient room for the brk. */
@@ -6693,9 +6797,9 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/elf.h linux-2.6.32.11/arch/x86/i
6693-#define arch_randomize_brk arch_randomize_brk 6797-#define arch_randomize_brk arch_randomize_brk
6694- 6798-
6695 #endif /* _ASM_X86_ELF_H */ 6799 #endif /* _ASM_X86_ELF_H */
6696diff -urNp linux-2.6.32.11/arch/x86/include/asm/futex.h linux-2.6.32.11/arch/x86/include/asm/futex.h 6800diff -urNp linux-2.6.32.12/arch/x86/include/asm/futex.h linux-2.6.32.12/arch/x86/include/asm/futex.h
6697--- linux-2.6.32.11/arch/x86/include/asm/futex.h 2010-03-15 11:52:04.000000000 -0400 6801--- linux-2.6.32.12/arch/x86/include/asm/futex.h 2010-03-15 11:52:04.000000000 -0400
6698+++ linux-2.6.32.11/arch/x86/include/asm/futex.h 2010-04-04 20:58:33.220592413 -0400 6802+++ linux-2.6.32.12/arch/x86/include/asm/futex.h 2010-04-04 20:58:33.220592413 -0400
6699@@ -11,17 +11,54 @@ 6803@@ -11,17 +11,54 @@
6700 #include <asm/processor.h> 6804 #include <asm/processor.h>
6701 #include <asm/system.h> 6805 #include <asm/system.h>
@@ -6832,9 +6936,9 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/futex.h linux-2.6.32.11/arch/x86
6832 : "memory" 6936 : "memory"
6833 ); 6937 );
6834 6938
6835diff -urNp linux-2.6.32.11/arch/x86/include/asm/i387.h linux-2.6.32.11/arch/x86/include/asm/i387.h 6939diff -urNp linux-2.6.32.12/arch/x86/include/asm/i387.h linux-2.6.32.12/arch/x86/include/asm/i387.h
6836--- linux-2.6.32.11/arch/x86/include/asm/i387.h 2010-03-15 11:52:04.000000000 -0400 6940--- linux-2.6.32.12/arch/x86/include/asm/i387.h 2010-03-15 11:52:04.000000000 -0400
6837+++ linux-2.6.32.11/arch/x86/include/asm/i387.h 2010-04-04 20:58:33.220592413 -0400 6941+++ linux-2.6.32.12/arch/x86/include/asm/i387.h 2010-04-04 20:58:33.220592413 -0400
6838@@ -60,6 +60,11 @@ static inline int fxrstor_checking(struc 6942@@ -60,6 +60,11 @@ static inline int fxrstor_checking(struc
6839 { 6943 {
6840 int err; 6944 int err;
@@ -6875,9 +6979,9 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/i387.h linux-2.6.32.11/arch/x86/
6875 6979
6876 /* 6980 /*
6877 * These must be called with preempt disabled 6981 * These must be called with preempt disabled
6878diff -urNp linux-2.6.32.11/arch/x86/include/asm/io_64.h linux-2.6.32.11/arch/x86/include/asm/io_64.h 6982diff -urNp linux-2.6.32.12/arch/x86/include/asm/io_64.h linux-2.6.32.12/arch/x86/include/asm/io_64.h
6879--- linux-2.6.32.11/arch/x86/include/asm/io_64.h 2010-03-15 11:52:04.000000000 -0400 6983--- linux-2.6.32.12/arch/x86/include/asm/io_64.h 2010-03-15 11:52:04.000000000 -0400
6880+++ linux-2.6.32.11/arch/x86/include/asm/io_64.h 2010-04-04 20:46:41.500459645 -0400 6984+++ linux-2.6.32.12/arch/x86/include/asm/io_64.h 2010-04-04 20:46:41.500459645 -0400
6881@@ -140,6 +140,17 @@ __OUTS(l) 6985@@ -140,6 +140,17 @@ __OUTS(l)
6882 6986
6883 #include <linux/vmalloc.h> 6987 #include <linux/vmalloc.h>
@@ -6896,9 +7000,9 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/io_64.h linux-2.6.32.11/arch/x86
6896 #include <asm-generic/iomap.h> 7000 #include <asm-generic/iomap.h>
6897 7001
6898 void __memcpy_fromio(void *, unsigned long, unsigned); 7002 void __memcpy_fromio(void *, unsigned long, unsigned);
6899diff -urNp linux-2.6.32.11/arch/x86/include/asm/iommu.h linux-2.6.32.11/arch/x86/include/asm/iommu.h 7003diff -urNp linux-2.6.32.12/arch/x86/include/asm/iommu.h linux-2.6.32.12/arch/x86/include/asm/iommu.h
6900--- linux-2.6.32.11/arch/x86/include/asm/iommu.h 2010-03-15 11:52:04.000000000 -0400 7004--- linux-2.6.32.12/arch/x86/include/asm/iommu.h 2010-03-15 11:52:04.000000000 -0400
6901+++ linux-2.6.32.11/arch/x86/include/asm/iommu.h 2010-04-04 20:46:41.500459645 -0400 7005+++ linux-2.6.32.12/arch/x86/include/asm/iommu.h 2010-04-04 20:46:41.500459645 -0400
6902@@ -3,7 +3,7 @@ 7006@@ -3,7 +3,7 @@
6903 7007
6904 extern void pci_iommu_shutdown(void); 7008 extern void pci_iommu_shutdown(void);
@@ -6908,9 +7012,9 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/iommu.h linux-2.6.32.11/arch/x86
6908 extern int force_iommu, no_iommu; 7012 extern int force_iommu, no_iommu;
6909 extern int iommu_detected; 7013 extern int iommu_detected;
6910 extern int iommu_pass_through; 7014 extern int iommu_pass_through;
6911diff -urNp linux-2.6.32.11/arch/x86/include/asm/irqflags.h linux-2.6.32.11/arch/x86/include/asm/irqflags.h 7015diff -urNp linux-2.6.32.12/arch/x86/include/asm/irqflags.h linux-2.6.32.12/arch/x86/include/asm/irqflags.h
6912--- linux-2.6.32.11/arch/x86/include/asm/irqflags.h 2010-03-15 11:52:04.000000000 -0400 7016--- linux-2.6.32.12/arch/x86/include/asm/irqflags.h 2010-03-15 11:52:04.000000000 -0400
6913+++ linux-2.6.32.11/arch/x86/include/asm/irqflags.h 2010-04-07 19:33:06.601891934 -0400 7017+++ linux-2.6.32.12/arch/x86/include/asm/irqflags.h 2010-04-07 19:33:06.601891934 -0400
6914@@ -142,6 +142,11 @@ static inline unsigned long __raw_local_ 7018@@ -142,6 +142,11 @@ static inline unsigned long __raw_local_
6915 sti; \ 7019 sti; \
6916 sysexit 7020 sysexit
@@ -6923,10 +7027,10 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/irqflags.h linux-2.6.32.11/arch/
6923 #else 7027 #else
6924 #define INTERRUPT_RETURN iret 7028 #define INTERRUPT_RETURN iret
6925 #define ENABLE_INTERRUPTS_SYSEXIT sti; sysexit 7029 #define ENABLE_INTERRUPTS_SYSEXIT sti; sysexit
6926diff -urNp linux-2.6.32.11/arch/x86/include/asm/kvm_host.h linux-2.6.32.11/arch/x86/include/asm/kvm_host.h 7030diff -urNp linux-2.6.32.12/arch/x86/include/asm/kvm_host.h linux-2.6.32.12/arch/x86/include/asm/kvm_host.h
6927--- linux-2.6.32.11/arch/x86/include/asm/kvm_host.h 2010-03-15 11:52:04.000000000 -0400 7031--- linux-2.6.32.12/arch/x86/include/asm/kvm_host.h 2010-04-29 17:49:37.497949072 -0400
6928+++ linux-2.6.32.11/arch/x86/include/asm/kvm_host.h 2010-04-04 20:46:41.500459645 -0400 7032+++ linux-2.6.32.12/arch/x86/include/asm/kvm_host.h 2010-04-29 17:49:57.941485514 -0400
6929@@ -531,7 +531,7 @@ struct kvm_x86_ops { 7033@@ -532,7 +532,7 @@ struct kvm_x86_ops {
6930 const struct trace_print_flags *exit_reasons_str; 7034 const struct trace_print_flags *exit_reasons_str;
6931 }; 7035 };
6932 7036
@@ -6935,9 +7039,9 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/kvm_host.h linux-2.6.32.11/arch/
6935 7039
6936 int kvm_mmu_module_init(void); 7040 int kvm_mmu_module_init(void);
6937 void kvm_mmu_module_exit(void); 7041 void kvm_mmu_module_exit(void);
6938diff -urNp linux-2.6.32.11/arch/x86/include/asm/local.h linux-2.6.32.11/arch/x86/include/asm/local.h 7042diff -urNp linux-2.6.32.12/arch/x86/include/asm/local.h linux-2.6.32.12/arch/x86/include/asm/local.h
6939--- linux-2.6.32.11/arch/x86/include/asm/local.h 2010-03-15 11:52:04.000000000 -0400 7043--- linux-2.6.32.12/arch/x86/include/asm/local.h 2010-03-15 11:52:04.000000000 -0400
6940+++ linux-2.6.32.11/arch/x86/include/asm/local.h 2010-04-04 20:46:41.500459645 -0400 7044+++ linux-2.6.32.12/arch/x86/include/asm/local.h 2010-04-04 20:46:41.500459645 -0400
6941@@ -18,26 +18,90 @@ typedef struct { 7045@@ -18,26 +18,90 @@ typedef struct {
6942 7046
6943 static inline void local_inc(local_t *l) 7047 static inline void local_inc(local_t *l)
@@ -7162,9 +7266,23 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/local.h linux-2.6.32.11/arch/x86
7162 : "+r" (i), "+m" (l->a.counter) 7266 : "+r" (i), "+m" (l->a.counter)
7163 : : "memory"); 7267 : : "memory");
7164 return i + __i; 7268 return i + __i;
7165diff -urNp linux-2.6.32.11/arch/x86/include/asm/microcode.h linux-2.6.32.11/arch/x86/include/asm/microcode.h 7269diff -urNp linux-2.6.32.12/arch/x86/include/asm/mc146818rtc.h linux-2.6.32.12/arch/x86/include/asm/mc146818rtc.h
7166--- linux-2.6.32.11/arch/x86/include/asm/microcode.h 2010-03-15 11:52:04.000000000 -0400 7270--- linux-2.6.32.12/arch/x86/include/asm/mc146818rtc.h 2010-03-15 11:52:04.000000000 -0400
7167+++ linux-2.6.32.11/arch/x86/include/asm/microcode.h 2010-04-04 20:46:41.500459645 -0400 7271+++ linux-2.6.32.12/arch/x86/include/asm/mc146818rtc.h 2010-04-29 17:46:37.069058404 -0400
7272@@ -81,8 +81,8 @@ static inline unsigned char current_lock
7273 #else
7274 #define lock_cmos_prefix(reg) do {} while (0)
7275 #define lock_cmos_suffix(reg) do {} while (0)
7276-#define lock_cmos(reg)
7277-#define unlock_cmos()
7278+#define lock_cmos(reg) do {} while (0)
7279+#define unlock_cmos() do {} while (0)
7280 #define do_i_have_lock_cmos() 0
7281 #define current_lock_cmos_reg() 0
7282 #endif
7283diff -urNp linux-2.6.32.12/arch/x86/include/asm/microcode.h linux-2.6.32.12/arch/x86/include/asm/microcode.h
7284--- linux-2.6.32.12/arch/x86/include/asm/microcode.h 2010-03-15 11:52:04.000000000 -0400
7285+++ linux-2.6.32.12/arch/x86/include/asm/microcode.h 2010-04-04 20:46:41.500459645 -0400
7168@@ -12,13 +12,13 @@ struct device; 7286@@ -12,13 +12,13 @@ struct device;
7169 enum ucode_state { UCODE_ERROR, UCODE_OK, UCODE_NFOUND }; 7287 enum ucode_state { UCODE_ERROR, UCODE_OK, UCODE_NFOUND };
7170 7288
@@ -7205,9 +7323,9 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/microcode.h linux-2.6.32.11/arch
7205 { 7323 {
7206 return NULL; 7324 return NULL;
7207 } 7325 }
7208diff -urNp linux-2.6.32.11/arch/x86/include/asm/mman.h linux-2.6.32.11/arch/x86/include/asm/mman.h 7326diff -urNp linux-2.6.32.12/arch/x86/include/asm/mman.h linux-2.6.32.12/arch/x86/include/asm/mman.h
7209--- linux-2.6.32.11/arch/x86/include/asm/mman.h 2010-03-15 11:52:04.000000000 -0400 7327--- linux-2.6.32.12/arch/x86/include/asm/mman.h 2010-03-15 11:52:04.000000000 -0400
7210+++ linux-2.6.32.11/arch/x86/include/asm/mman.h 2010-04-04 20:46:41.500459645 -0400 7328+++ linux-2.6.32.12/arch/x86/include/asm/mman.h 2010-04-04 20:46:41.500459645 -0400
7211@@ -5,4 +5,14 @@ 7329@@ -5,4 +5,14 @@
7212 7330
7213 #include <asm-generic/mman.h> 7331 #include <asm-generic/mman.h>
@@ -7223,9 +7341,9 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/mman.h linux-2.6.32.11/arch/x86/
7223+#endif 7341+#endif
7224+ 7342+
7225 #endif /* _ASM_X86_MMAN_H */ 7343 #endif /* _ASM_X86_MMAN_H */
7226diff -urNp linux-2.6.32.11/arch/x86/include/asm/mmu_context.h linux-2.6.32.11/arch/x86/include/asm/mmu_context.h 7344diff -urNp linux-2.6.32.12/arch/x86/include/asm/mmu_context.h linux-2.6.32.12/arch/x86/include/asm/mmu_context.h
7227--- linux-2.6.32.11/arch/x86/include/asm/mmu_context.h 2010-03-15 11:52:04.000000000 -0400 7345--- linux-2.6.32.12/arch/x86/include/asm/mmu_context.h 2010-03-15 11:52:04.000000000 -0400
7228+++ linux-2.6.32.11/arch/x86/include/asm/mmu_context.h 2010-04-06 22:21:53.692294722 -0400 7346+++ linux-2.6.32.12/arch/x86/include/asm/mmu_context.h 2010-04-29 17:46:36.829235058 -0400
7229@@ -24,6 +24,21 @@ void destroy_context(struct mm_struct *m 7347@@ -24,6 +24,21 @@ void destroy_context(struct mm_struct *m
7230 7348
7231 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) 7349 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk)
@@ -7248,7 +7366,7 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/mmu_context.h linux-2.6.32.11/ar
7248 #ifdef CONFIG_SMP 7366 #ifdef CONFIG_SMP
7249 if (percpu_read(cpu_tlbstate.state) == TLBSTATE_OK) 7367 if (percpu_read(cpu_tlbstate.state) == TLBSTATE_OK)
7250 percpu_write(cpu_tlbstate.state, TLBSTATE_LAZY); 7368 percpu_write(cpu_tlbstate.state, TLBSTATE_LAZY);
7251@@ -34,37 +49,96 @@ static inline void switch_mm(struct mm_s 7369@@ -34,27 +49,70 @@ static inline void switch_mm(struct mm_s
7252 struct task_struct *tsk) 7370 struct task_struct *tsk)
7253 { 7371 {
7254 unsigned cpu = smp_processor_id(); 7372 unsigned cpu = smp_processor_id();
@@ -7284,6 +7402,7 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/mmu_context.h linux-2.6.32.11/ar
7284 */ 7402 */
7285 if (unlikely(prev->context.ldt != next->context.ldt)) 7403 if (unlikely(prev->context.ldt != next->context.ldt))
7286 load_LDT_nolock(&next->context); 7404 load_LDT_nolock(&next->context);
7405- }
7287+ 7406+
7288+#if defined(CONFIG_X86_32) && defined(CONFIG_PAX_PAGEEXEC) && defined(CONFIG_SMP) 7407+#if defined(CONFIG_X86_32) && defined(CONFIG_PAX_PAGEEXEC) && defined(CONFIG_SMP)
7289+ if (!nx_enabled) { 7408+ if (!nx_enabled) {
@@ -7298,18 +7417,15 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/mmu_context.h linux-2.6.32.11/ar
7298+ if (unlikely(prev->context.user_cs_base != next->context.user_cs_base || 7417+ if (unlikely(prev->context.user_cs_base != next->context.user_cs_base ||
7299+ prev->context.user_cs_limit != next->context.user_cs_limit)) 7418+ prev->context.user_cs_limit != next->context.user_cs_limit))
7300+ set_user_cs(next->context.user_cs_base, next->context.user_cs_limit, cpu); 7419+ set_user_cs(next->context.user_cs_base, next->context.user_cs_limit, cpu);
7301+#ifdef CONFIG_SMP 7420 #ifdef CONFIG_SMP
7302+ else if (unlikely(tlbstate != TLBSTATE_OK)) 7421+ else if (unlikely(tlbstate != TLBSTATE_OK))
7303+ set_user_cs(next->context.user_cs_base, next->context.user_cs_limit, cpu); 7422+ set_user_cs(next->context.user_cs_base, next->context.user_cs_limit, cpu);
7304+#endif 7423+#endif
7305+#endif 7424+#endif
7306+ 7425+
7307 } 7426+ }
7308 #ifdef CONFIG_SMP
7309 else { 7427 else {
7310 percpu_write(cpu_tlbstate.state, TLBSTATE_OK); 7428+
7311 BUG_ON(percpu_read(cpu_tlbstate.active_mm) != next);
7312
7313+#ifdef CONFIG_PAX_PER_CPU_PGD 7429+#ifdef CONFIG_PAX_PER_CPU_PGD
7314+ pax_open_kernel(); 7430+ pax_open_kernel();
7315+ __clone_user_pgds(get_cpu_pgd(cpu), next->pgd, USER_PGD_PTRS); 7431+ __clone_user_pgds(get_cpu_pgd(cpu), next->pgd, USER_PGD_PTRS);
@@ -7318,8 +7434,11 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/mmu_context.h linux-2.6.32.11/ar
7318+ load_cr3(get_cpu_pgd(cpu)); 7434+ load_cr3(get_cpu_pgd(cpu));
7319+#endif 7435+#endif
7320+ 7436+
7321 if (!cpumask_test_and_set_cpu(cpu, mm_cpumask(next))) { 7437+#ifdef CONFIG_SMP
7322 /* We were in lazy tlb mode and leave_mm disabled 7438 percpu_write(cpu_tlbstate.state, TLBSTATE_OK);
7439 BUG_ON(percpu_read(cpu_tlbstate.active_mm) != next);
7440
7441@@ -63,11 +121,28 @@ static inline void switch_mm(struct mm_s
7323 * tlb flush IPI delivery. We must reload CR3 7442 * tlb flush IPI delivery. We must reload CR3
7324 * to make sure to use no freed page tables. 7443 * to make sure to use no freed page tables.
7325 */ 7444 */
@@ -7343,11 +7462,15 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/mmu_context.h linux-2.6.32.11/ar
7343+#endif 7462+#endif
7344+ 7463+
7345 } 7464 }
7346 } 7465- }
7347 #endif 7466 #endif
7348diff -urNp linux-2.6.32.11/arch/x86/include/asm/mmu.h linux-2.6.32.11/arch/x86/include/asm/mmu.h 7467+ }
7349--- linux-2.6.32.11/arch/x86/include/asm/mmu.h 2010-03-15 11:52:04.000000000 -0400 7468 }
7350+++ linux-2.6.32.11/arch/x86/include/asm/mmu.h 2010-04-04 20:46:41.500459645 -0400 7469
7470 #define activate_mm(prev, next) \
7471diff -urNp linux-2.6.32.12/arch/x86/include/asm/mmu.h linux-2.6.32.12/arch/x86/include/asm/mmu.h
7472--- linux-2.6.32.12/arch/x86/include/asm/mmu.h 2010-03-15 11:52:04.000000000 -0400
7473+++ linux-2.6.32.12/arch/x86/include/asm/mmu.h 2010-04-04 20:46:41.500459645 -0400
7351@@ -9,10 +9,23 @@ 7474@@ -9,10 +9,23 @@
7352 * we put the segment information here. 7475 * we put the segment information here.
7353 */ 7476 */
@@ -7374,9 +7497,9 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/mmu.h linux-2.6.32.11/arch/x86/i
7374 } mm_context_t; 7497 } mm_context_t;
7375 7498
7376 #ifdef CONFIG_SMP 7499 #ifdef CONFIG_SMP
7377diff -urNp linux-2.6.32.11/arch/x86/include/asm/module.h linux-2.6.32.11/arch/x86/include/asm/module.h 7500diff -urNp linux-2.6.32.12/arch/x86/include/asm/module.h linux-2.6.32.12/arch/x86/include/asm/module.h
7378--- linux-2.6.32.11/arch/x86/include/asm/module.h 2010-03-15 11:52:04.000000000 -0400 7501--- linux-2.6.32.12/arch/x86/include/asm/module.h 2010-03-15 11:52:04.000000000 -0400
7379+++ linux-2.6.32.11/arch/x86/include/asm/module.h 2010-04-04 21:01:05.305858196 -0400 7502+++ linux-2.6.32.12/arch/x86/include/asm/module.h 2010-04-04 21:01:05.305858196 -0400
7380@@ -59,13 +59,31 @@ 7503@@ -59,13 +59,31 @@
7381 #error unknown processor family 7504 #error unknown processor family
7382 #endif 7505 #endif
@@ -7410,9 +7533,9 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/module.h linux-2.6.32.11/arch/x8
7410 #endif 7533 #endif
7411 7534
7412 #endif /* _ASM_X86_MODULE_H */ 7535 #endif /* _ASM_X86_MODULE_H */
7413diff -urNp linux-2.6.32.11/arch/x86/include/asm/page_32_types.h linux-2.6.32.11/arch/x86/include/asm/page_32_types.h 7536diff -urNp linux-2.6.32.12/arch/x86/include/asm/page_32_types.h linux-2.6.32.12/arch/x86/include/asm/page_32_types.h
7414--- linux-2.6.32.11/arch/x86/include/asm/page_32_types.h 2010-03-15 11:52:04.000000000 -0400 7537--- linux-2.6.32.12/arch/x86/include/asm/page_32_types.h 2010-03-15 11:52:04.000000000 -0400
7415+++ linux-2.6.32.11/arch/x86/include/asm/page_32_types.h 2010-04-04 20:46:41.505526780 -0400 7538+++ linux-2.6.32.12/arch/x86/include/asm/page_32_types.h 2010-04-04 20:46:41.505526780 -0400
7416@@ -15,6 +15,10 @@ 7539@@ -15,6 +15,10 @@
7417 */ 7540 */
7418 #define __PAGE_OFFSET _AC(CONFIG_PAGE_OFFSET, UL) 7541 #define __PAGE_OFFSET _AC(CONFIG_PAGE_OFFSET, UL)
@@ -7424,9 +7547,9 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/page_32_types.h linux-2.6.32.11/
7424 #ifdef CONFIG_4KSTACKS 7547 #ifdef CONFIG_4KSTACKS
7425 #define THREAD_ORDER 0 7548 #define THREAD_ORDER 0
7426 #else 7549 #else
7427diff -urNp linux-2.6.32.11/arch/x86/include/asm/page_64_types.h linux-2.6.32.11/arch/x86/include/asm/page_64_types.h 7550diff -urNp linux-2.6.32.12/arch/x86/include/asm/page_64_types.h linux-2.6.32.12/arch/x86/include/asm/page_64_types.h
7428--- linux-2.6.32.11/arch/x86/include/asm/page_64_types.h 2010-03-15 11:52:04.000000000 -0400 7551--- linux-2.6.32.12/arch/x86/include/asm/page_64_types.h 2010-03-15 11:52:04.000000000 -0400
7429+++ linux-2.6.32.11/arch/x86/include/asm/page_64_types.h 2010-04-04 20:46:41.505526780 -0400 7552+++ linux-2.6.32.12/arch/x86/include/asm/page_64_types.h 2010-04-04 20:46:41.505526780 -0400
7430@@ -39,6 +39,9 @@ 7553@@ -39,6 +39,9 @@
7431 #define __START_KERNEL (__START_KERNEL_map + __PHYSICAL_START) 7554 #define __START_KERNEL (__START_KERNEL_map + __PHYSICAL_START)
7432 #define __START_KERNEL_map _AC(0xffffffff80000000, UL) 7555 #define __START_KERNEL_map _AC(0xffffffff80000000, UL)
@@ -7437,9 +7560,9 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/page_64_types.h linux-2.6.32.11/
7437 /* See Documentation/x86/x86_64/mm.txt for a description of the memory map. */ 7560 /* See Documentation/x86/x86_64/mm.txt for a description of the memory map. */
7438 #define __PHYSICAL_MASK_SHIFT 46 7561 #define __PHYSICAL_MASK_SHIFT 46
7439 #define __VIRTUAL_MASK_SHIFT 47 7562 #define __VIRTUAL_MASK_SHIFT 47
7440diff -urNp linux-2.6.32.11/arch/x86/include/asm/paravirt.h linux-2.6.32.11/arch/x86/include/asm/paravirt.h 7563diff -urNp linux-2.6.32.12/arch/x86/include/asm/paravirt.h linux-2.6.32.12/arch/x86/include/asm/paravirt.h
7441--- linux-2.6.32.11/arch/x86/include/asm/paravirt.h 2010-03-15 11:52:04.000000000 -0400 7564--- linux-2.6.32.12/arch/x86/include/asm/paravirt.h 2010-03-15 11:52:04.000000000 -0400
7442+++ linux-2.6.32.11/arch/x86/include/asm/paravirt.h 2010-04-07 16:58:23.343008831 -0400 7565+++ linux-2.6.32.12/arch/x86/include/asm/paravirt.h 2010-04-07 16:58:23.343008831 -0400
7443@@ -729,6 +729,21 @@ static inline void __set_fixmap(unsigned 7566@@ -729,6 +729,21 @@ static inline void __set_fixmap(unsigned
7444 pv_mmu_ops.set_fixmap(idx, phys, flags); 7567 pv_mmu_ops.set_fixmap(idx, phys, flags);
7445 } 7568 }
@@ -7493,9 +7616,9 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/paravirt.h linux-2.6.32.11/arch/
7493 #endif /* CONFIG_X86_32 */ 7616 #endif /* CONFIG_X86_32 */
7494 7617
7495 #endif /* __ASSEMBLY__ */ 7618 #endif /* __ASSEMBLY__ */
7496diff -urNp linux-2.6.32.11/arch/x86/include/asm/paravirt_types.h linux-2.6.32.11/arch/x86/include/asm/paravirt_types.h 7619diff -urNp linux-2.6.32.12/arch/x86/include/asm/paravirt_types.h linux-2.6.32.12/arch/x86/include/asm/paravirt_types.h
7497--- linux-2.6.32.11/arch/x86/include/asm/paravirt_types.h 2010-03-15 11:52:04.000000000 -0400 7620--- linux-2.6.32.12/arch/x86/include/asm/paravirt_types.h 2010-03-15 11:52:04.000000000 -0400
7498+++ linux-2.6.32.11/arch/x86/include/asm/paravirt_types.h 2010-04-04 20:46:41.505526780 -0400 7621+++ linux-2.6.32.12/arch/x86/include/asm/paravirt_types.h 2010-04-04 20:46:41.505526780 -0400
7499@@ -316,6 +316,12 @@ struct pv_mmu_ops { 7622@@ -316,6 +316,12 @@ struct pv_mmu_ops {
7500 an mfn. We can tell which is which from the index. */ 7623 an mfn. We can tell which is which from the index. */
7501 void (*set_fixmap)(unsigned /* enum fixed_addresses */ idx, 7624 void (*set_fixmap)(unsigned /* enum fixed_addresses */ idx,
@@ -7509,9 +7632,9 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/paravirt_types.h linux-2.6.32.11
7509 }; 7632 };
7510 7633
7511 struct raw_spinlock; 7634 struct raw_spinlock;
7512diff -urNp linux-2.6.32.11/arch/x86/include/asm/pci_x86.h linux-2.6.32.11/arch/x86/include/asm/pci_x86.h 7635diff -urNp linux-2.6.32.12/arch/x86/include/asm/pci_x86.h linux-2.6.32.12/arch/x86/include/asm/pci_x86.h
7513--- linux-2.6.32.11/arch/x86/include/asm/pci_x86.h 2010-03-15 11:52:04.000000000 -0400 7636--- linux-2.6.32.12/arch/x86/include/asm/pci_x86.h 2010-03-15 11:52:04.000000000 -0400
7514+++ linux-2.6.32.11/arch/x86/include/asm/pci_x86.h 2010-04-04 20:46:41.505526780 -0400 7637+++ linux-2.6.32.12/arch/x86/include/asm/pci_x86.h 2010-04-04 20:46:41.505526780 -0400
7515@@ -89,16 +89,16 @@ extern int (*pcibios_enable_irq)(struct 7638@@ -89,16 +89,16 @@ extern int (*pcibios_enable_irq)(struct
7516 extern void (*pcibios_disable_irq)(struct pci_dev *dev); 7639 extern void (*pcibios_disable_irq)(struct pci_dev *dev);
7517 7640
@@ -7534,9 +7657,9 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/pci_x86.h linux-2.6.32.11/arch/x
7534 extern bool port_cf9_safe; 7657 extern bool port_cf9_safe;
7535 7658
7536 /* arch_initcall level */ 7659 /* arch_initcall level */
7537diff -urNp linux-2.6.32.11/arch/x86/include/asm/pgalloc.h linux-2.6.32.11/arch/x86/include/asm/pgalloc.h 7660diff -urNp linux-2.6.32.12/arch/x86/include/asm/pgalloc.h linux-2.6.32.12/arch/x86/include/asm/pgalloc.h
7538--- linux-2.6.32.11/arch/x86/include/asm/pgalloc.h 2010-03-15 11:52:04.000000000 -0400 7661--- linux-2.6.32.12/arch/x86/include/asm/pgalloc.h 2010-03-15 11:52:04.000000000 -0400
7539+++ linux-2.6.32.11/arch/x86/include/asm/pgalloc.h 2010-04-04 20:46:41.505526780 -0400 7662+++ linux-2.6.32.12/arch/x86/include/asm/pgalloc.h 2010-04-04 20:46:41.505526780 -0400
7540@@ -63,6 +63,13 @@ static inline void pmd_populate_kernel(s 7663@@ -63,6 +63,13 @@ static inline void pmd_populate_kernel(s
7541 pmd_t *pmd, pte_t *pte) 7664 pmd_t *pmd, pte_t *pte)
7542 { 7665 {
@@ -7551,9 +7674,9 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/pgalloc.h linux-2.6.32.11/arch/x
7551 set_pmd(pmd, __pmd(__pa(pte) | _PAGE_TABLE)); 7674 set_pmd(pmd, __pmd(__pa(pte) | _PAGE_TABLE));
7552 } 7675 }
7553 7676
7554diff -urNp linux-2.6.32.11/arch/x86/include/asm/pgtable-2level.h linux-2.6.32.11/arch/x86/include/asm/pgtable-2level.h 7677diff -urNp linux-2.6.32.12/arch/x86/include/asm/pgtable-2level.h linux-2.6.32.12/arch/x86/include/asm/pgtable-2level.h
7555--- linux-2.6.32.11/arch/x86/include/asm/pgtable-2level.h 2010-03-15 11:52:04.000000000 -0400 7678--- linux-2.6.32.12/arch/x86/include/asm/pgtable-2level.h 2010-03-15 11:52:04.000000000 -0400
7556+++ linux-2.6.32.11/arch/x86/include/asm/pgtable-2level.h 2010-04-04 20:46:41.505526780 -0400 7679+++ linux-2.6.32.12/arch/x86/include/asm/pgtable-2level.h 2010-04-04 20:46:41.505526780 -0400
7557@@ -18,7 +18,9 @@ static inline void native_set_pte(pte_t 7680@@ -18,7 +18,9 @@ static inline void native_set_pte(pte_t
7558 7681
7559 static inline void native_set_pmd(pmd_t *pmdp, pmd_t pmd) 7682 static inline void native_set_pmd(pmd_t *pmdp, pmd_t pmd)
@@ -7564,9 +7687,9 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/pgtable-2level.h linux-2.6.32.11
7564 } 7687 }
7565 7688
7566 static inline void native_set_pte_atomic(pte_t *ptep, pte_t pte) 7689 static inline void native_set_pte_atomic(pte_t *ptep, pte_t pte)
7567diff -urNp linux-2.6.32.11/arch/x86/include/asm/pgtable_32.h linux-2.6.32.11/arch/x86/include/asm/pgtable_32.h 7690diff -urNp linux-2.6.32.12/arch/x86/include/asm/pgtable_32.h linux-2.6.32.12/arch/x86/include/asm/pgtable_32.h
7568--- linux-2.6.32.11/arch/x86/include/asm/pgtable_32.h 2010-03-15 11:52:04.000000000 -0400 7691--- linux-2.6.32.12/arch/x86/include/asm/pgtable_32.h 2010-03-15 11:52:04.000000000 -0400
7569+++ linux-2.6.32.11/arch/x86/include/asm/pgtable_32.h 2010-04-04 20:46:41.505526780 -0400 7692+++ linux-2.6.32.12/arch/x86/include/asm/pgtable_32.h 2010-04-04 20:46:41.505526780 -0400
7570@@ -26,8 +26,6 @@ 7693@@ -26,8 +26,6 @@
7571 struct mm_struct; 7694 struct mm_struct;
7572 struct vm_area_struct; 7695 struct vm_area_struct;
@@ -7608,9 +7731,9 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/pgtable_32.h linux-2.6.32.11/arc
7608 /* 7731 /*
7609 * kern_addr_valid() is (1) for FLATMEM and (0) for 7732 * kern_addr_valid() is (1) for FLATMEM and (0) for
7610 * SPARSEMEM and DISCONTIGMEM 7733 * SPARSEMEM and DISCONTIGMEM
7611diff -urNp linux-2.6.32.11/arch/x86/include/asm/pgtable_32_types.h linux-2.6.32.11/arch/x86/include/asm/pgtable_32_types.h 7734diff -urNp linux-2.6.32.12/arch/x86/include/asm/pgtable_32_types.h linux-2.6.32.12/arch/x86/include/asm/pgtable_32_types.h
7612--- linux-2.6.32.11/arch/x86/include/asm/pgtable_32_types.h 2010-03-15 11:52:04.000000000 -0400 7735--- linux-2.6.32.12/arch/x86/include/asm/pgtable_32_types.h 2010-03-15 11:52:04.000000000 -0400
7613+++ linux-2.6.32.11/arch/x86/include/asm/pgtable_32_types.h 2010-04-04 20:46:41.505526780 -0400 7736+++ linux-2.6.32.12/arch/x86/include/asm/pgtable_32_types.h 2010-04-04 20:46:41.505526780 -0400
7614@@ -8,7 +8,7 @@ 7737@@ -8,7 +8,7 @@
7615 */ 7738 */
7616 #ifdef CONFIG_X86_PAE 7739 #ifdef CONFIG_X86_PAE
@@ -7640,9 +7763,9 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/pgtable_32_types.h linux-2.6.32.
7640 #define MODULES_VADDR VMALLOC_START 7763 #define MODULES_VADDR VMALLOC_START
7641 #define MODULES_END VMALLOC_END 7764 #define MODULES_END VMALLOC_END
7642 #define MODULES_LEN (MODULES_VADDR - MODULES_END) 7765 #define MODULES_LEN (MODULES_VADDR - MODULES_END)
7643diff -urNp linux-2.6.32.11/arch/x86/include/asm/pgtable-3level.h linux-2.6.32.11/arch/x86/include/asm/pgtable-3level.h 7766diff -urNp linux-2.6.32.12/arch/x86/include/asm/pgtable-3level.h linux-2.6.32.12/arch/x86/include/asm/pgtable-3level.h
7644--- linux-2.6.32.11/arch/x86/include/asm/pgtable-3level.h 2010-03-15 11:52:04.000000000 -0400 7767--- linux-2.6.32.12/arch/x86/include/asm/pgtable-3level.h 2010-03-15 11:52:04.000000000 -0400
7645+++ linux-2.6.32.11/arch/x86/include/asm/pgtable-3level.h 2010-04-04 20:46:41.505526780 -0400 7768+++ linux-2.6.32.12/arch/x86/include/asm/pgtable-3level.h 2010-04-04 20:46:41.505526780 -0400
7646@@ -38,12 +38,16 @@ static inline void native_set_pte_atomic 7769@@ -38,12 +38,16 @@ static inline void native_set_pte_atomic
7647 7770
7648 static inline void native_set_pmd(pmd_t *pmdp, pmd_t pmd) 7771 static inline void native_set_pmd(pmd_t *pmdp, pmd_t pmd)
@@ -7660,9 +7783,9 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/pgtable-3level.h linux-2.6.32.11
7660 } 7783 }
7661 7784
7662 /* 7785 /*
7663diff -urNp linux-2.6.32.11/arch/x86/include/asm/pgtable_64.h linux-2.6.32.11/arch/x86/include/asm/pgtable_64.h 7786diff -urNp linux-2.6.32.12/arch/x86/include/asm/pgtable_64.h linux-2.6.32.12/arch/x86/include/asm/pgtable_64.h
7664--- linux-2.6.32.11/arch/x86/include/asm/pgtable_64.h 2010-03-15 11:52:04.000000000 -0400 7787--- linux-2.6.32.12/arch/x86/include/asm/pgtable_64.h 2010-03-15 11:52:04.000000000 -0400
7665+++ linux-2.6.32.11/arch/x86/include/asm/pgtable_64.h 2010-04-04 20:58:33.220592413 -0400 7788+++ linux-2.6.32.12/arch/x86/include/asm/pgtable_64.h 2010-04-04 20:58:33.220592413 -0400
7666@@ -16,10 +16,13 @@ 7789@@ -16,10 +16,13 @@
7667 7790
7668 extern pud_t level3_kernel_pgt[512]; 7791 extern pud_t level3_kernel_pgt[512];
@@ -7708,9 +7831,9 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/pgtable_64.h linux-2.6.32.11/arc
7708 } 7831 }
7709 7832
7710 /* 7833 /*
7711diff -urNp linux-2.6.32.11/arch/x86/include/asm/pgtable.h linux-2.6.32.11/arch/x86/include/asm/pgtable.h 7834diff -urNp linux-2.6.32.12/arch/x86/include/asm/pgtable.h linux-2.6.32.12/arch/x86/include/asm/pgtable.h
7712--- linux-2.6.32.11/arch/x86/include/asm/pgtable.h 2010-03-15 11:52:04.000000000 -0400 7835--- linux-2.6.32.12/arch/x86/include/asm/pgtable.h 2010-03-15 11:52:04.000000000 -0400
7713+++ linux-2.6.32.11/arch/x86/include/asm/pgtable.h 2010-04-04 20:58:33.220592413 -0400 7836+++ linux-2.6.32.12/arch/x86/include/asm/pgtable.h 2010-04-04 20:58:33.220592413 -0400
7714@@ -74,12 +74,51 @@ extern struct list_head pgd_list; 7837@@ -74,12 +74,51 @@ extern struct list_head pgd_list;
7715 7838
7716 #define arch_end_context_switch(prev) do {} while(0) 7839 #define arch_end_context_switch(prev) do {} while(0)
@@ -7875,9 +7998,9 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/pgtable.h linux-2.6.32.11/arch/x
7875 7998
7876 #include <asm-generic/pgtable.h> 7999 #include <asm-generic/pgtable.h>
7877 #endif /* __ASSEMBLY__ */ 8000 #endif /* __ASSEMBLY__ */
7878diff -urNp linux-2.6.32.11/arch/x86/include/asm/pgtable_types.h linux-2.6.32.11/arch/x86/include/asm/pgtable_types.h 8001diff -urNp linux-2.6.32.12/arch/x86/include/asm/pgtable_types.h linux-2.6.32.12/arch/x86/include/asm/pgtable_types.h
7879--- linux-2.6.32.11/arch/x86/include/asm/pgtable_types.h 2010-03-15 11:52:04.000000000 -0400 8002--- linux-2.6.32.12/arch/x86/include/asm/pgtable_types.h 2010-03-15 11:52:04.000000000 -0400
7880+++ linux-2.6.32.11/arch/x86/include/asm/pgtable_types.h 2010-04-04 20:46:41.505526780 -0400 8003+++ linux-2.6.32.12/arch/x86/include/asm/pgtable_types.h 2010-04-04 20:46:41.505526780 -0400
7881@@ -16,12 +16,11 @@ 8004@@ -16,12 +16,11 @@
7882 #define _PAGE_BIT_PSE 7 /* 4 MB (or 2MB) page */ 8005 #define _PAGE_BIT_PSE 7 /* 4 MB (or 2MB) page */
7883 #define _PAGE_BIT_PAT 7 /* on 4KB pages */ 8006 #define _PAGE_BIT_PAT 7 /* on 4KB pages */
@@ -7962,9 +8085,9 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/pgtable_types.h linux-2.6.32.11/
7962 8085
7963 #define pgprot_writecombine pgprot_writecombine 8086 #define pgprot_writecombine pgprot_writecombine
7964 extern pgprot_t pgprot_writecombine(pgprot_t prot); 8087 extern pgprot_t pgprot_writecombine(pgprot_t prot);
7965diff -urNp linux-2.6.32.11/arch/x86/include/asm/processor.h linux-2.6.32.11/arch/x86/include/asm/processor.h 8088diff -urNp linux-2.6.32.12/arch/x86/include/asm/processor.h linux-2.6.32.12/arch/x86/include/asm/processor.h
7966--- linux-2.6.32.11/arch/x86/include/asm/processor.h 2010-03-15 11:52:04.000000000 -0400 8089--- linux-2.6.32.12/arch/x86/include/asm/processor.h 2010-03-15 11:52:04.000000000 -0400
7967+++ linux-2.6.32.11/arch/x86/include/asm/processor.h 2010-04-04 20:58:33.220592413 -0400 8090+++ linux-2.6.32.12/arch/x86/include/asm/processor.h 2010-04-04 20:58:33.220592413 -0400
7968@@ -272,7 +272,7 @@ struct tss_struct { 8091@@ -272,7 +272,7 @@ struct tss_struct {
7969 8092
7970 } ____cacheline_aligned; 8093 } ____cacheline_aligned;
@@ -8049,9 +8172,9 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/processor.h linux-2.6.32.11/arch
8049 #define KSTK_EIP(task) (task_pt_regs(task)->ip) 8172 #define KSTK_EIP(task) (task_pt_regs(task)->ip)
8050 8173
8051 /* Get/set a process' ability to use the timestamp counter instruction */ 8174 /* Get/set a process' ability to use the timestamp counter instruction */
8052diff -urNp linux-2.6.32.11/arch/x86/include/asm/ptrace.h linux-2.6.32.11/arch/x86/include/asm/ptrace.h 8175diff -urNp linux-2.6.32.12/arch/x86/include/asm/ptrace.h linux-2.6.32.12/arch/x86/include/asm/ptrace.h
8053--- linux-2.6.32.11/arch/x86/include/asm/ptrace.h 2010-03-15 11:52:04.000000000 -0400 8176--- linux-2.6.32.12/arch/x86/include/asm/ptrace.h 2010-03-15 11:52:04.000000000 -0400
8054+++ linux-2.6.32.11/arch/x86/include/asm/ptrace.h 2010-04-04 20:46:41.505526780 -0400 8177+++ linux-2.6.32.12/arch/x86/include/asm/ptrace.h 2010-04-04 20:46:41.505526780 -0400
8055@@ -151,28 +151,29 @@ static inline unsigned long regs_return_ 8178@@ -151,28 +151,29 @@ static inline unsigned long regs_return_
8056 } 8179 }
8057 8180
@@ -8088,9 +8211,9 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/ptrace.h linux-2.6.32.11/arch/x8
8088 #endif 8211 #endif
8089 } 8212 }
8090 8213
8091diff -urNp linux-2.6.32.11/arch/x86/include/asm/reboot.h linux-2.6.32.11/arch/x86/include/asm/reboot.h 8214diff -urNp linux-2.6.32.12/arch/x86/include/asm/reboot.h linux-2.6.32.12/arch/x86/include/asm/reboot.h
8092--- linux-2.6.32.11/arch/x86/include/asm/reboot.h 2010-03-15 11:52:04.000000000 -0400 8215--- linux-2.6.32.12/arch/x86/include/asm/reboot.h 2010-03-15 11:52:04.000000000 -0400
8093+++ linux-2.6.32.11/arch/x86/include/asm/reboot.h 2010-04-04 20:46:41.505526780 -0400 8216+++ linux-2.6.32.12/arch/x86/include/asm/reboot.h 2010-04-04 20:46:41.505526780 -0400
8094@@ -18,7 +18,7 @@ extern struct machine_ops machine_ops; 8217@@ -18,7 +18,7 @@ extern struct machine_ops machine_ops;
8095 8218
8096 void native_machine_crash_shutdown(struct pt_regs *regs); 8219 void native_machine_crash_shutdown(struct pt_regs *regs);
@@ -8100,13 +8223,13 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/reboot.h linux-2.6.32.11/arch/x8
8100 8223
8101 typedef void (*nmi_shootdown_cb)(int, struct die_args*); 8224 typedef void (*nmi_shootdown_cb)(int, struct die_args*);
8102 void nmi_shootdown_cpus(nmi_shootdown_cb callback); 8225 void nmi_shootdown_cpus(nmi_shootdown_cb callback);
8103diff -urNp linux-2.6.32.11/arch/x86/include/asm/rwsem.h linux-2.6.32.11/arch/x86/include/asm/rwsem.h 8226diff -urNp linux-2.6.32.12/arch/x86/include/asm/rwsem.h linux-2.6.32.12/arch/x86/include/asm/rwsem.h
8104--- linux-2.6.32.11/arch/x86/include/asm/rwsem.h 2010-03-15 11:52:04.000000000 -0400 8227--- linux-2.6.32.12/arch/x86/include/asm/rwsem.h 2010-04-29 17:49:37.501451369 -0400
8105+++ linux-2.6.32.11/arch/x86/include/asm/rwsem.h 2010-04-04 20:46:41.505526780 -0400 8228+++ linux-2.6.32.12/arch/x86/include/asm/rwsem.h 2010-04-29 20:01:51.893191958 -0400
8106@@ -106,10 +106,26 @@ static inline void __down_read(struct rw 8229@@ -118,10 +118,26 @@ static inline void __down_read(struct rw
8107 { 8230 {
8108 asm volatile("# beginning down_read\n\t" 8231 asm volatile("# beginning down_read\n\t"
8109 LOCK_PREFIX " incl (%%eax)\n\t" 8232 LOCK_PREFIX _ASM_INC "(%1)\n\t"
8110+ 8233+
8111+#ifdef CONFIG_PAX_REFCOUNT 8234+#ifdef CONFIG_PAX_REFCOUNT
8112+#ifdef CONFIG_X86_32 8235+#ifdef CONFIG_X86_32
@@ -8117,7 +8240,7 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/rwsem.h linux-2.6.32.11/arch/x86
8117+#endif 8240+#endif
8118+ ".pushsection .fixup,\"ax\"\n" 8241+ ".pushsection .fixup,\"ax\"\n"
8119+ "1:\n" 8242+ "1:\n"
8120+ LOCK_PREFIX "decl (%%eax)\n" 8243+ LOCK_PREFIX _ASM_DEC "(%1)\n\t"
8121+ "jmp 0b\n" 8244+ "jmp 0b\n"
8122+ ".popsection\n" 8245+ ".popsection\n"
8123+ _ASM_EXTABLE(0b, 1b) 8246+ _ASM_EXTABLE(0b, 1b)
@@ -8132,14 +8255,14 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/rwsem.h linux-2.6.32.11/arch/x86
8132 "# ending down_read\n\t" 8255 "# ending down_read\n\t"
8133 : "+m" (sem->count) 8256 : "+m" (sem->count)
8134 : "a" (sem) 8257 : "a" (sem)
8135@@ -124,13 +140,29 @@ static inline int __down_read_trylock(st 8258@@ -136,13 +152,29 @@ static inline int __down_read_trylock(st
8136 __s32 result, tmp; 8259 rwsem_count_t result, tmp;
8137 asm volatile("# beginning __down_read_trylock\n\t" 8260 asm volatile("# beginning __down_read_trylock\n\t"
8138 " movl %0,%1\n\t" 8261 " mov %0,%1\n\t"
8139- "1:\n\t" 8262- "1:\n\t"
8140+ "2:\n\t" 8263+ "2:\n\t"
8141 " movl %1,%2\n\t" 8264 " mov %1,%2\n\t"
8142 " addl %3,%2\n\t" 8265 " add %3,%2\n\t"
8143- " jle 2f\n\t" 8266- " jle 2f\n\t"
8144+ 8267+
8145+#ifdef CONFIG_PAX_REFCOUNT 8268+#ifdef CONFIG_PAX_REFCOUNT
@@ -8151,14 +8274,14 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/rwsem.h linux-2.6.32.11/arch/x86
8151+#endif 8274+#endif
8152+ ".pushsection .fixup,\"ax\"\n" 8275+ ".pushsection .fixup,\"ax\"\n"
8153+ "1:\n" 8276+ "1:\n"
8154+ "subl %3,%2\n" 8277+ "sub %3,%2\n"
8155+ "jmp 0b\n" 8278+ "jmp 0b\n"
8156+ ".popsection\n" 8279+ ".popsection\n"
8157+ _ASM_EXTABLE(0b, 1b) 8280+ _ASM_EXTABLE(0b, 1b)
8158+#endif 8281+#endif
8159+ 8282+
8160+ " jle 3f\n\t" 8283+ " jle 3f\n\t"
8161 LOCK_PREFIX " cmpxchgl %2,%0\n\t" 8284 LOCK_PREFIX " cmpxchg %2,%0\n\t"
8162- " jnz 1b\n\t" 8285- " jnz 1b\n\t"
8163- "2:\n\t" 8286- "2:\n\t"
8164+ " jnz 2b\n\t" 8287+ " jnz 2b\n\t"
@@ -8166,10 +8289,10 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/rwsem.h linux-2.6.32.11/arch/x86
8166 "# ending __down_read_trylock\n\t" 8289 "# ending __down_read_trylock\n\t"
8167 : "+m" (sem->count), "=&a" (result), "=&r" (tmp) 8290 : "+m" (sem->count), "=&a" (result), "=&r" (tmp)
8168 : "i" (RWSEM_ACTIVE_READ_BIAS) 8291 : "i" (RWSEM_ACTIVE_READ_BIAS)
8169@@ -148,12 +180,28 @@ static inline void __down_write_nested(s 8292@@ -160,12 +192,28 @@ static inline void __down_write_nested(s
8170 tmp = RWSEM_ACTIVE_WRITE_BIAS; 8293 tmp = RWSEM_ACTIVE_WRITE_BIAS;
8171 asm volatile("# beginning down_write\n\t" 8294 asm volatile("# beginning down_write\n\t"
8172 LOCK_PREFIX " xadd %%edx,(%%eax)\n\t" 8295 LOCK_PREFIX " xadd %1,(%2)\n\t"
8173+ 8296+
8174+#ifdef CONFIG_PAX_REFCOUNT 8297+#ifdef CONFIG_PAX_REFCOUNT
8175+#ifdef CONFIG_X86_32 8298+#ifdef CONFIG_X86_32
@@ -8180,14 +8303,14 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/rwsem.h linux-2.6.32.11/arch/x86
8180+#endif 8303+#endif
8181+ ".pushsection .fixup,\"ax\"\n" 8304+ ".pushsection .fixup,\"ax\"\n"
8182+ "1:\n" 8305+ "1:\n"
8183+ "movl %%edx,(%%eax)\n" 8306+ "mov %1,(%2)\n"
8184+ "jmp 0b\n" 8307+ "jmp 0b\n"
8185+ ".popsection\n" 8308+ ".popsection\n"
8186+ _ASM_EXTABLE(0b, 1b) 8309+ _ASM_EXTABLE(0b, 1b)
8187+#endif 8310+#endif
8188+ 8311+
8189 /* subtract 0x0000ffff, returns the old value */ 8312 /* subtract 0x0000ffff, returns the old value */
8190 " testl %%edx,%%edx\n\t" 8313 " test %1,%1\n\t"
8191 /* was the count 0 before? */ 8314 /* was the count 0 before? */
8192- " jz 1f\n" 8315- " jz 1f\n"
8193+ " jz 2f\n" 8316+ " jz 2f\n"
@@ -8197,10 +8320,10 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/rwsem.h linux-2.6.32.11/arch/x86
8197 "# ending down_write" 8320 "# ending down_write"
8198 : "+m" (sem->count), "=d" (tmp) 8321 : "+m" (sem->count), "=d" (tmp)
8199 : "a" (sem), "1" (tmp) 8322 : "a" (sem), "1" (tmp)
8200@@ -186,10 +234,26 @@ static inline void __up_read(struct rw_s 8323@@ -198,10 +246,26 @@ static inline void __up_read(struct rw_s
8201 __s32 tmp = -RWSEM_ACTIVE_READ_BIAS; 8324 rwsem_count_t tmp = -RWSEM_ACTIVE_READ_BIAS;
8202 asm volatile("# beginning __up_read\n\t" 8325 asm volatile("# beginning __up_read\n\t"
8203 LOCK_PREFIX " xadd %%edx,(%%eax)\n\t" 8326 LOCK_PREFIX " xadd %1,(%2)\n\t"
8204+ 8327+
8205+#ifdef CONFIG_PAX_REFCOUNT 8328+#ifdef CONFIG_PAX_REFCOUNT
8206+#ifdef CONFIG_X86_32 8329+#ifdef CONFIG_X86_32
@@ -8211,7 +8334,7 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/rwsem.h linux-2.6.32.11/arch/x86
8211+#endif 8334+#endif
8212+ ".pushsection .fixup,\"ax\"\n" 8335+ ".pushsection .fixup,\"ax\"\n"
8213+ "1:\n" 8336+ "1:\n"
8214+ "movl %%edx,(%%eax)\n" 8337+ "mov %1,(%2)\n"
8215+ "jmp 0b\n" 8338+ "jmp 0b\n"
8216+ ".popsection\n" 8339+ ".popsection\n"
8217+ _ASM_EXTABLE(0b, 1b) 8340+ _ASM_EXTABLE(0b, 1b)
@@ -8226,10 +8349,10 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/rwsem.h linux-2.6.32.11/arch/x86
8226 "# ending __up_read\n" 8349 "# ending __up_read\n"
8227 : "+m" (sem->count), "=d" (tmp) 8350 : "+m" (sem->count), "=d" (tmp)
8228 : "a" (sem), "1" (tmp) 8351 : "a" (sem), "1" (tmp)
8229@@ -204,11 +268,27 @@ static inline void __up_write(struct rw_ 8352@@ -216,11 +280,27 @@ static inline void __up_write(struct rw_
8353 rwsem_count_t tmp;
8230 asm volatile("# beginning __up_write\n\t" 8354 asm volatile("# beginning __up_write\n\t"
8231 " movl %2,%%edx\n\t" 8355 LOCK_PREFIX " xadd %1,(%2)\n\t"
8232 LOCK_PREFIX " xaddl %%edx,(%%eax)\n\t"
8233+ 8356+
8234+#ifdef CONFIG_PAX_REFCOUNT 8357+#ifdef CONFIG_PAX_REFCOUNT
8235+#ifdef CONFIG_X86_32 8358+#ifdef CONFIG_X86_32
@@ -8240,7 +8363,7 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/rwsem.h linux-2.6.32.11/arch/x86
8240+#endif 8363+#endif
8241+ ".pushsection .fixup,\"ax\"\n" 8364+ ".pushsection .fixup,\"ax\"\n"
8242+ "1:\n" 8365+ "1:\n"
8243+ "movl %%edx,(%%eax)\n" 8366+ "mov %1,(%2)\n"
8244+ "jmp 0b\n" 8367+ "jmp 0b\n"
8245+ ".popsection\n" 8368+ ".popsection\n"
8246+ _ASM_EXTABLE(0b, 1b) 8369+ _ASM_EXTABLE(0b, 1b)
@@ -8254,12 +8377,12 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/rwsem.h linux-2.6.32.11/arch/x86
8254- "1:\n\t" 8377- "1:\n\t"
8255+ "2:\n\t" 8378+ "2:\n\t"
8256 "# ending __up_write\n" 8379 "# ending __up_write\n"
8257 : "+m" (sem->count) 8380 : "+m" (sem->count), "=d" (tmp)
8258 : "a" (sem), "i" (-RWSEM_ACTIVE_WRITE_BIAS) 8381 : "a" (sem), "1" (-RWSEM_ACTIVE_WRITE_BIAS)
8259@@ -222,10 +302,26 @@ static inline void __downgrade_write(str 8382@@ -234,13 +314,29 @@ static inline void __downgrade_write(str
8260 { 8383 {
8261 asm volatile("# beginning __downgrade_write\n\t" 8384 asm volatile("# beginning __downgrade_write\n\t"
8262 LOCK_PREFIX " addl %2,(%%eax)\n\t" 8385 LOCK_PREFIX _ASM_ADD "%2,(%1)\n\t"
8263+ 8386+
8264+#ifdef CONFIG_PAX_REFCOUNT 8387+#ifdef CONFIG_PAX_REFCOUNT
8265+#ifdef CONFIG_X86_32 8388+#ifdef CONFIG_X86_32
@@ -8270,13 +8393,16 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/rwsem.h linux-2.6.32.11/arch/x86
8270+#endif 8393+#endif
8271+ ".pushsection .fixup,\"ax\"\n" 8394+ ".pushsection .fixup,\"ax\"\n"
8272+ "1:\n" 8395+ "1:\n"
8273+ LOCK_PREFIX "subl %2,(%%eax)\n" 8396+ LOCK_PREFIX _ASM_SUB "%2,(%1)\n"
8274+ "jmp 0b\n" 8397+ "jmp 0b\n"
8275+ ".popsection\n" 8398+ ".popsection\n"
8276+ _ASM_EXTABLE(0b, 1b) 8399+ _ASM_EXTABLE(0b, 1b)
8277+#endif 8400+#endif
8278+ 8401+
8279 /* transitions 0xZZZZ0001 -> 0xYYYY0001 */ 8402 /*
8403 * transitions 0xZZZZ0001 -> 0xYYYY0001 (i386)
8404 * 0xZZZZZZZZ00000001 -> 0xYYYYYYYY00000001 (x86_64)
8405 */
8280- " jns 1f\n\t" 8406- " jns 1f\n\t"
8281+ " jns 2f\n\t" 8407+ " jns 2f\n\t"
8282 " call call_rwsem_downgrade_wake\n" 8408 " call call_rwsem_downgrade_wake\n"
@@ -8284,13 +8410,13 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/rwsem.h linux-2.6.32.11/arch/x86
8284+ "2:\n\t" 8410+ "2:\n\t"
8285 "# ending __downgrade_write\n" 8411 "# ending __downgrade_write\n"
8286 : "+m" (sem->count) 8412 : "+m" (sem->count)
8287 : "a" (sem), "i" (-RWSEM_WAITING_BIAS) 8413 : "a" (sem), "er" (-RWSEM_WAITING_BIAS)
8288@@ -237,7 +333,23 @@ static inline void __downgrade_write(str 8414@@ -253,7 +349,23 @@ static inline void __downgrade_write(str
8289 */ 8415 static inline void rwsem_atomic_add(rwsem_count_t delta,
8290 static inline void rwsem_atomic_add(int delta, struct rw_semaphore *sem) 8416 struct rw_semaphore *sem)
8291 { 8417 {
8292- asm volatile(LOCK_PREFIX "addl %1,%0" 8418- asm volatile(LOCK_PREFIX _ASM_ADD "%1,%0"
8293+ asm volatile(LOCK_PREFIX "addl %1,%0\n" 8419+ asm volatile(LOCK_PREFIX _ASM_ADD "%1,%0\n"
8294+ 8420+
8295+#ifdef CONFIG_PAX_REFCOUNT 8421+#ifdef CONFIG_PAX_REFCOUNT
8296+#ifdef CONFIG_X86_32 8422+#ifdef CONFIG_X86_32
@@ -8301,18 +8427,18 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/rwsem.h linux-2.6.32.11/arch/x86
8301+#endif 8427+#endif
8302+ ".pushsection .fixup,\"ax\"\n" 8428+ ".pushsection .fixup,\"ax\"\n"
8303+ "1:\n" 8429+ "1:\n"
8304+ LOCK_PREFIX "subl %1,%0\n" 8430+ LOCK_PREFIX _ASM_SUB "%1,%0\n"
8305+ "jmp 0b\n" 8431+ "jmp 0b\n"
8306+ ".popsection\n" 8432+ ".popsection\n"
8307+ _ASM_EXTABLE(0b, 1b) 8433+ _ASM_EXTABLE(0b, 1b)
8308+#endif 8434+#endif
8309+ 8435+
8310 : "+m" (sem->count) 8436 : "+m" (sem->count)
8311 : "ir" (delta)); 8437 : "er" (delta));
8312 } 8438 }
8313@@ -249,7 +361,23 @@ static inline int rwsem_atomic_update(in 8439@@ -266,7 +378,23 @@ static inline rwsem_count_t rwsem_atomic
8314 { 8440 {
8315 int tmp = delta; 8441 rwsem_count_t tmp = delta;
8316 8442
8317- asm volatile(LOCK_PREFIX "xadd %0,%1" 8443- asm volatile(LOCK_PREFIX "xadd %0,%1"
8318+ asm volatile(LOCK_PREFIX "xadd %0,%1\n" 8444+ asm volatile(LOCK_PREFIX "xadd %0,%1\n"
@@ -8326,7 +8452,7 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/rwsem.h linux-2.6.32.11/arch/x86
8326+#endif 8452+#endif
8327+ ".pushsection .fixup,\"ax\"\n" 8453+ ".pushsection .fixup,\"ax\"\n"
8328+ "1:\n" 8454+ "1:\n"
8329+ "movl %0,%1\n" 8455+ "mov %0,%1\n"
8330+ "jmp 0b\n" 8456+ "jmp 0b\n"
8331+ ".popsection\n" 8457+ ".popsection\n"
8332+ _ASM_EXTABLE(0b, 1b) 8458+ _ASM_EXTABLE(0b, 1b)
@@ -8335,9 +8461,9 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/rwsem.h linux-2.6.32.11/arch/x86
8335 : "+r" (tmp), "+m" (sem->count) 8461 : "+r" (tmp), "+m" (sem->count)
8336 : : "memory"); 8462 : : "memory");
8337 8463
8338diff -urNp linux-2.6.32.11/arch/x86/include/asm/segment.h linux-2.6.32.11/arch/x86/include/asm/segment.h 8464diff -urNp linux-2.6.32.12/arch/x86/include/asm/segment.h linux-2.6.32.12/arch/x86/include/asm/segment.h
8339--- linux-2.6.32.11/arch/x86/include/asm/segment.h 2010-03-15 11:52:04.000000000 -0400 8465--- linux-2.6.32.12/arch/x86/include/asm/segment.h 2010-03-15 11:52:04.000000000 -0400
8340+++ linux-2.6.32.11/arch/x86/include/asm/segment.h 2010-04-04 20:46:41.505526780 -0400 8466+++ linux-2.6.32.12/arch/x86/include/asm/segment.h 2010-04-04 20:46:41.505526780 -0400
8341@@ -62,8 +62,8 @@ 8467@@ -62,8 +62,8 @@
8342 * 26 - ESPFIX small SS 8468 * 26 - ESPFIX small SS
8343 * 27 - per-cpu [ offset to per-cpu data area ] 8469 * 27 - per-cpu [ offset to per-cpu data area ]
@@ -8406,9 +8532,9 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/segment.h linux-2.6.32.11/arch/x
8406 #define __KERNEL_DS (GDT_ENTRY_KERNEL_DS * 8) 8532 #define __KERNEL_DS (GDT_ENTRY_KERNEL_DS * 8)
8407 #define __USER_DS (GDT_ENTRY_DEFAULT_USER_DS* 8 + 3) 8533 #define __USER_DS (GDT_ENTRY_DEFAULT_USER_DS* 8 + 3)
8408 #define __USER_CS (GDT_ENTRY_DEFAULT_USER_CS* 8 + 3) 8534 #define __USER_CS (GDT_ENTRY_DEFAULT_USER_CS* 8 + 3)
8409diff -urNp linux-2.6.32.11/arch/x86/include/asm/spinlock.h linux-2.6.32.11/arch/x86/include/asm/spinlock.h 8535diff -urNp linux-2.6.32.12/arch/x86/include/asm/spinlock.h linux-2.6.32.12/arch/x86/include/asm/spinlock.h
8410--- linux-2.6.32.11/arch/x86/include/asm/spinlock.h 2010-03-15 11:52:04.000000000 -0400 8536--- linux-2.6.32.12/arch/x86/include/asm/spinlock.h 2010-03-15 11:52:04.000000000 -0400
8411+++ linux-2.6.32.11/arch/x86/include/asm/spinlock.h 2010-04-04 20:46:41.505526780 -0400 8537+++ linux-2.6.32.12/arch/x86/include/asm/spinlock.h 2010-04-04 20:46:41.505526780 -0400
8412@@ -249,18 +249,50 @@ static inline int __raw_write_can_lock(r 8538@@ -249,18 +249,50 @@ static inline int __raw_write_can_lock(r
8413 static inline void __raw_read_lock(raw_rwlock_t *rw) 8539 static inline void __raw_read_lock(raw_rwlock_t *rw)
8414 { 8540 {
@@ -8512,9 +8638,9 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/spinlock.h linux-2.6.32.11/arch/
8512 : "+m" (rw->lock) : "i" (RW_LOCK_BIAS) : "memory"); 8638 : "+m" (rw->lock) : "i" (RW_LOCK_BIAS) : "memory");
8513 } 8639 }
8514 8640
8515diff -urNp linux-2.6.32.11/arch/x86/include/asm/system.h linux-2.6.32.11/arch/x86/include/asm/system.h 8641diff -urNp linux-2.6.32.12/arch/x86/include/asm/system.h linux-2.6.32.12/arch/x86/include/asm/system.h
8516--- linux-2.6.32.11/arch/x86/include/asm/system.h 2010-03-15 11:52:04.000000000 -0400 8642--- linux-2.6.32.12/arch/x86/include/asm/system.h 2010-03-15 11:52:04.000000000 -0400
8517+++ linux-2.6.32.11/arch/x86/include/asm/system.h 2010-04-04 20:46:41.505526780 -0400 8643+++ linux-2.6.32.12/arch/x86/include/asm/system.h 2010-04-04 20:46:41.505526780 -0400
8518@@ -200,7 +200,7 @@ static inline unsigned long get_limit(un 8644@@ -200,7 +200,7 @@ static inline unsigned long get_limit(un
8519 { 8645 {
8520 unsigned long __limit; 8646 unsigned long __limit;
@@ -8533,9 +8659,9 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/system.h linux-2.6.32.11/arch/x8
8533 extern void free_init_pages(char *what, unsigned long begin, unsigned long end); 8659 extern void free_init_pages(char *what, unsigned long begin, unsigned long end);
8534 8660
8535 void default_idle(void); 8661 void default_idle(void);
8536diff -urNp linux-2.6.32.11/arch/x86/include/asm/uaccess_32.h linux-2.6.32.11/arch/x86/include/asm/uaccess_32.h 8662diff -urNp linux-2.6.32.12/arch/x86/include/asm/uaccess_32.h linux-2.6.32.12/arch/x86/include/asm/uaccess_32.h
8537--- linux-2.6.32.11/arch/x86/include/asm/uaccess_32.h 2010-03-15 11:52:04.000000000 -0400 8663--- linux-2.6.32.12/arch/x86/include/asm/uaccess_32.h 2010-03-15 11:52:04.000000000 -0400
8538+++ linux-2.6.32.11/arch/x86/include/asm/uaccess_32.h 2010-04-04 20:46:41.505526780 -0400 8664+++ linux-2.6.32.12/arch/x86/include/asm/uaccess_32.h 2010-04-04 20:46:41.505526780 -0400
8539@@ -44,6 +44,9 @@ unsigned long __must_check __copy_from_u 8665@@ -44,6 +44,9 @@ unsigned long __must_check __copy_from_u
8540 static __always_inline unsigned long __must_check 8666 static __always_inline unsigned long __must_check
8541 __copy_to_user_inatomic(void __user *to, const void *from, unsigned long n) 8667 __copy_to_user_inatomic(void __user *to, const void *from, unsigned long n)
@@ -8665,9 +8791,9 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/uaccess_32.h linux-2.6.32.11/arc
8665 long __must_check strncpy_from_user(char *dst, const char __user *src, 8791 long __must_check strncpy_from_user(char *dst, const char __user *src,
8666 long count); 8792 long count);
8667 long __must_check __strncpy_from_user(char *dst, 8793 long __must_check __strncpy_from_user(char *dst,
8668diff -urNp linux-2.6.32.11/arch/x86/include/asm/uaccess_64.h linux-2.6.32.11/arch/x86/include/asm/uaccess_64.h 8794diff -urNp linux-2.6.32.12/arch/x86/include/asm/uaccess_64.h linux-2.6.32.12/arch/x86/include/asm/uaccess_64.h
8669--- linux-2.6.32.11/arch/x86/include/asm/uaccess_64.h 2010-03-15 11:52:04.000000000 -0400 8795--- linux-2.6.32.12/arch/x86/include/asm/uaccess_64.h 2010-03-15 11:52:04.000000000 -0400
8670+++ linux-2.6.32.11/arch/x86/include/asm/uaccess_64.h 2010-04-04 20:58:33.220592413 -0400 8796+++ linux-2.6.32.12/arch/x86/include/asm/uaccess_64.h 2010-04-04 20:58:33.220592413 -0400
8671@@ -9,6 +9,9 @@ 8797@@ -9,6 +9,9 @@
8672 #include <linux/prefetch.h> 8798 #include <linux/prefetch.h>
8673 #include <linux/lockdep.h> 8799 #include <linux/lockdep.h>
@@ -8859,9 +8985,9 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/uaccess_64.h linux-2.6.32.11/arc
8859 copy_user_handle_tail(char *to, char *from, unsigned len, unsigned zerorest); 8985 copy_user_handle_tail(char *to, char *from, unsigned len, unsigned zerorest);
8860 8986
8861 #endif /* _ASM_X86_UACCESS_64_H */ 8987 #endif /* _ASM_X86_UACCESS_64_H */
8862diff -urNp linux-2.6.32.11/arch/x86/include/asm/uaccess.h linux-2.6.32.11/arch/x86/include/asm/uaccess.h 8988diff -urNp linux-2.6.32.12/arch/x86/include/asm/uaccess.h linux-2.6.32.12/arch/x86/include/asm/uaccess.h
8863--- linux-2.6.32.11/arch/x86/include/asm/uaccess.h 2010-03-15 11:52:04.000000000 -0400 8989--- linux-2.6.32.12/arch/x86/include/asm/uaccess.h 2010-03-15 11:52:04.000000000 -0400
8864+++ linux-2.6.32.11/arch/x86/include/asm/uaccess.h 2010-04-04 20:58:33.220592413 -0400 8990+++ linux-2.6.32.12/arch/x86/include/asm/uaccess.h 2010-04-04 20:58:33.220592413 -0400
8865@@ -8,8 +8,11 @@ 8991@@ -8,8 +8,11 @@
8866 #include <linux/thread_info.h> 8992 #include <linux/thread_info.h>
8867 #include <linux/prefetch.h> 8993 #include <linux/prefetch.h>
@@ -9082,9 +9208,9 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/uaccess.h linux-2.6.32.11/arch/x
9082 #ifdef CONFIG_X86_32 9208 #ifdef CONFIG_X86_32
9083 # include "uaccess_32.h" 9209 # include "uaccess_32.h"
9084 #else 9210 #else
9085diff -urNp linux-2.6.32.11/arch/x86/include/asm/vgtod.h linux-2.6.32.11/arch/x86/include/asm/vgtod.h 9211diff -urNp linux-2.6.32.12/arch/x86/include/asm/vgtod.h linux-2.6.32.12/arch/x86/include/asm/vgtod.h
9086--- linux-2.6.32.11/arch/x86/include/asm/vgtod.h 2010-03-15 11:52:04.000000000 -0400 9212--- linux-2.6.32.12/arch/x86/include/asm/vgtod.h 2010-03-15 11:52:04.000000000 -0400
9087+++ linux-2.6.32.11/arch/x86/include/asm/vgtod.h 2010-04-04 20:46:41.509696869 -0400 9213+++ linux-2.6.32.12/arch/x86/include/asm/vgtod.h 2010-04-04 20:46:41.509696869 -0400
9088@@ -14,6 +14,7 @@ struct vsyscall_gtod_data { 9214@@ -14,6 +14,7 @@ struct vsyscall_gtod_data {
9089 int sysctl_enabled; 9215 int sysctl_enabled;
9090 struct timezone sys_tz; 9216 struct timezone sys_tz;
@@ -9093,9 +9219,9 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/vgtod.h linux-2.6.32.11/arch/x86
9093 cycle_t (*vread)(void); 9219 cycle_t (*vread)(void);
9094 cycle_t cycle_last; 9220 cycle_t cycle_last;
9095 cycle_t mask; 9221 cycle_t mask;
9096diff -urNp linux-2.6.32.11/arch/x86/include/asm/vmi.h linux-2.6.32.11/arch/x86/include/asm/vmi.h 9222diff -urNp linux-2.6.32.12/arch/x86/include/asm/vmi.h linux-2.6.32.12/arch/x86/include/asm/vmi.h
9097--- linux-2.6.32.11/arch/x86/include/asm/vmi.h 2010-03-15 11:52:04.000000000 -0400 9223--- linux-2.6.32.12/arch/x86/include/asm/vmi.h 2010-03-15 11:52:04.000000000 -0400
9098+++ linux-2.6.32.11/arch/x86/include/asm/vmi.h 2010-04-04 20:46:41.509696869 -0400 9224+++ linux-2.6.32.12/arch/x86/include/asm/vmi.h 2010-04-04 20:46:41.509696869 -0400
9099@@ -191,6 +191,7 @@ struct vrom_header { 9225@@ -191,6 +191,7 @@ struct vrom_header {
9100 u8 reserved[96]; /* Reserved for headers */ 9226 u8 reserved[96]; /* Reserved for headers */
9101 char vmi_init[8]; /* VMI_Init jump point */ 9227 char vmi_init[8]; /* VMI_Init jump point */
@@ -9104,9 +9230,9 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/vmi.h linux-2.6.32.11/arch/x86/i
9104 } __attribute__((packed)); 9230 } __attribute__((packed));
9105 9231
9106 struct pnp_header { 9232 struct pnp_header {
9107diff -urNp linux-2.6.32.11/arch/x86/include/asm/vsyscall.h linux-2.6.32.11/arch/x86/include/asm/vsyscall.h 9233diff -urNp linux-2.6.32.12/arch/x86/include/asm/vsyscall.h linux-2.6.32.12/arch/x86/include/asm/vsyscall.h
9108--- linux-2.6.32.11/arch/x86/include/asm/vsyscall.h 2010-03-15 11:52:04.000000000 -0400 9234--- linux-2.6.32.12/arch/x86/include/asm/vsyscall.h 2010-03-15 11:52:04.000000000 -0400
9109+++ linux-2.6.32.11/arch/x86/include/asm/vsyscall.h 2010-04-04 20:46:41.509696869 -0400 9235+++ linux-2.6.32.12/arch/x86/include/asm/vsyscall.h 2010-04-04 20:46:41.509696869 -0400
9110@@ -15,9 +15,10 @@ enum vsyscall_num { 9236@@ -15,9 +15,10 @@ enum vsyscall_num {
9111 9237
9112 #ifdef __KERNEL__ 9238 #ifdef __KERNEL__
@@ -9137,9 +9263,9 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/vsyscall.h linux-2.6.32.11/arch/
9137 #endif /* __KERNEL__ */ 9263 #endif /* __KERNEL__ */
9138 9264
9139 #endif /* _ASM_X86_VSYSCALL_H */ 9265 #endif /* _ASM_X86_VSYSCALL_H */
9140diff -urNp linux-2.6.32.11/arch/x86/include/asm/xsave.h linux-2.6.32.11/arch/x86/include/asm/xsave.h 9266diff -urNp linux-2.6.32.12/arch/x86/include/asm/xsave.h linux-2.6.32.12/arch/x86/include/asm/xsave.h
9141--- linux-2.6.32.11/arch/x86/include/asm/xsave.h 2010-03-15 11:52:04.000000000 -0400 9267--- linux-2.6.32.12/arch/x86/include/asm/xsave.h 2010-03-15 11:52:04.000000000 -0400
9142+++ linux-2.6.32.11/arch/x86/include/asm/xsave.h 2010-04-04 20:58:33.225084964 -0400 9268+++ linux-2.6.32.12/arch/x86/include/asm/xsave.h 2010-04-04 20:58:33.225084964 -0400
9143@@ -56,6 +56,12 @@ static inline int xrstor_checking(struct 9269@@ -56,6 +56,12 @@ static inline int xrstor_checking(struct
9144 static inline int xsave_user(struct xsave_struct __user *buf) 9270 static inline int xsave_user(struct xsave_struct __user *buf)
9145 { 9271 {
@@ -9165,9 +9291,9 @@ diff -urNp linux-2.6.32.11/arch/x86/include/asm/xsave.h linux-2.6.32.11/arch/x86
9165 __asm__ __volatile__("1: .byte " REX_PREFIX "0x0f,0xae,0x2f\n" 9291 __asm__ __volatile__("1: .byte " REX_PREFIX "0x0f,0xae,0x2f\n"
9166 "2:\n" 9292 "2:\n"
9167 ".section .fixup,\"ax\"\n" 9293 ".section .fixup,\"ax\"\n"
9168diff -urNp linux-2.6.32.11/arch/x86/Kconfig linux-2.6.32.11/arch/x86/Kconfig 9294diff -urNp linux-2.6.32.12/arch/x86/Kconfig linux-2.6.32.12/arch/x86/Kconfig
9169--- linux-2.6.32.11/arch/x86/Kconfig 2010-03-15 11:52:04.000000000 -0400 9295--- linux-2.6.32.12/arch/x86/Kconfig 2010-03-15 11:52:04.000000000 -0400
9170+++ linux-2.6.32.11/arch/x86/Kconfig 2010-04-04 20:46:41.509696869 -0400 9296+++ linux-2.6.32.12/arch/x86/Kconfig 2010-04-04 20:46:41.509696869 -0400
9171@@ -1083,7 +1083,7 @@ config PAGE_OFFSET 9297@@ -1083,7 +1083,7 @@ config PAGE_OFFSET
9172 hex 9298 hex
9173 default 0xB0000000 if VMSPLIT_3G_OPT 9299 default 0xB0000000 if VMSPLIT_3G_OPT
@@ -9214,9 +9340,9 @@ diff -urNp linux-2.6.32.11/arch/x86/Kconfig linux-2.6.32.11/arch/x86/Kconfig
9214 ---help--- 9340 ---help---
9215 Map the 32-bit VDSO to the predictable old-style address too. 9341 Map the 32-bit VDSO to the predictable old-style address too.
9216 ---help--- 9342 ---help---
9217diff -urNp linux-2.6.32.11/arch/x86/Kconfig.cpu linux-2.6.32.11/arch/x86/Kconfig.cpu 9343diff -urNp linux-2.6.32.12/arch/x86/Kconfig.cpu linux-2.6.32.12/arch/x86/Kconfig.cpu
9218--- linux-2.6.32.11/arch/x86/Kconfig.cpu 2010-03-15 11:52:04.000000000 -0400 9344--- linux-2.6.32.12/arch/x86/Kconfig.cpu 2010-04-29 17:49:37.481119841 -0400
9219+++ linux-2.6.32.11/arch/x86/Kconfig.cpu 2010-04-04 20:46:41.509696869 -0400 9345+++ linux-2.6.32.12/arch/x86/Kconfig.cpu 2010-04-29 17:49:57.921493895 -0400
9220@@ -340,7 +340,7 @@ config X86_PPRO_FENCE 9346@@ -340,7 +340,7 @@ config X86_PPRO_FENCE
9221 9347
9222 config X86_F00F_BUG 9348 config X86_F00F_BUG
@@ -9244,9 +9370,9 @@ diff -urNp linux-2.6.32.11/arch/x86/Kconfig.cpu linux-2.6.32.11/arch/x86/Kconfig
9244 9370
9245 config X86_MINIMUM_CPU_FAMILY 9371 config X86_MINIMUM_CPU_FAMILY
9246 int 9372 int
9247diff -urNp linux-2.6.32.11/arch/x86/Kconfig.debug linux-2.6.32.11/arch/x86/Kconfig.debug 9373diff -urNp linux-2.6.32.12/arch/x86/Kconfig.debug linux-2.6.32.12/arch/x86/Kconfig.debug
9248--- linux-2.6.32.11/arch/x86/Kconfig.debug 2010-03-15 11:52:04.000000000 -0400 9374--- linux-2.6.32.12/arch/x86/Kconfig.debug 2010-03-15 11:52:04.000000000 -0400
9249+++ linux-2.6.32.11/arch/x86/Kconfig.debug 2010-04-04 20:46:41.509696869 -0400 9375+++ linux-2.6.32.12/arch/x86/Kconfig.debug 2010-04-04 20:46:41.509696869 -0400
9250@@ -99,7 +99,7 @@ config X86_PTDUMP 9376@@ -99,7 +99,7 @@ config X86_PTDUMP
9251 config DEBUG_RODATA 9377 config DEBUG_RODATA
9252 bool "Write protect kernel read-only data structures" 9378 bool "Write protect kernel read-only data structures"
@@ -9256,9 +9382,9 @@ diff -urNp linux-2.6.32.11/arch/x86/Kconfig.debug linux-2.6.32.11/arch/x86/Kconf
9256 ---help--- 9382 ---help---
9257 Mark the kernel read-only data as write-protected in the pagetables, 9383 Mark the kernel read-only data as write-protected in the pagetables,
9258 in order to catch accidental (and incorrect) writes to such const 9384 in order to catch accidental (and incorrect) writes to such const
9259diff -urNp linux-2.6.32.11/arch/x86/kernel/acpi/boot.c linux-2.6.32.11/arch/x86/kernel/acpi/boot.c 9385diff -urNp linux-2.6.32.12/arch/x86/kernel/acpi/boot.c linux-2.6.32.12/arch/x86/kernel/acpi/boot.c
9260--- linux-2.6.32.11/arch/x86/kernel/acpi/boot.c 2010-04-04 20:41:49.916475305 -0400 9386--- linux-2.6.32.12/arch/x86/kernel/acpi/boot.c 2010-04-04 20:41:49.916475305 -0400
9261+++ linux-2.6.32.11/arch/x86/kernel/acpi/boot.c 2010-04-04 20:46:41.509696869 -0400 9387+++ linux-2.6.32.12/arch/x86/kernel/acpi/boot.c 2010-04-04 20:46:41.509696869 -0400
9262@@ -1502,7 +1502,7 @@ static struct dmi_system_id __initdata a 9388@@ -1502,7 +1502,7 @@ static struct dmi_system_id __initdata a
9263 DMI_MATCH(DMI_PRODUCT_NAME, "HP Compaq 6715b"), 9389 DMI_MATCH(DMI_PRODUCT_NAME, "HP Compaq 6715b"),
9264 }, 9390 },
@@ -9268,9 +9394,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/acpi/boot.c linux-2.6.32.11/arch/x86/
9268 }; 9394 };
9269 9395
9270 /* 9396 /*
9271diff -urNp linux-2.6.32.11/arch/x86/kernel/acpi/realmode/wakeup.S linux-2.6.32.11/arch/x86/kernel/acpi/realmode/wakeup.S 9397diff -urNp linux-2.6.32.12/arch/x86/kernel/acpi/realmode/wakeup.S linux-2.6.32.12/arch/x86/kernel/acpi/realmode/wakeup.S
9272--- linux-2.6.32.11/arch/x86/kernel/acpi/realmode/wakeup.S 2010-03-15 11:52:04.000000000 -0400 9398--- linux-2.6.32.12/arch/x86/kernel/acpi/realmode/wakeup.S 2010-03-15 11:52:04.000000000 -0400
9273+++ linux-2.6.32.11/arch/x86/kernel/acpi/realmode/wakeup.S 2010-04-04 20:46:41.509696869 -0400 9399+++ linux-2.6.32.12/arch/x86/kernel/acpi/realmode/wakeup.S 2010-04-04 20:46:41.509696869 -0400
9274@@ -104,7 +104,7 @@ _start: 9400@@ -104,7 +104,7 @@ _start:
9275 movl %eax, %ecx 9401 movl %eax, %ecx
9276 orl %edx, %ecx 9402 orl %edx, %ecx
@@ -9280,9 +9406,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/acpi/realmode/wakeup.S linux-2.6.32.1
9280 wrmsr 9406 wrmsr
9281 1: 9407 1:
9282 9408
9283diff -urNp linux-2.6.32.11/arch/x86/kernel/acpi/sleep.c linux-2.6.32.11/arch/x86/kernel/acpi/sleep.c 9409diff -urNp linux-2.6.32.12/arch/x86/kernel/acpi/sleep.c linux-2.6.32.12/arch/x86/kernel/acpi/sleep.c
9284--- linux-2.6.32.11/arch/x86/kernel/acpi/sleep.c 2010-03-15 11:52:04.000000000 -0400 9410--- linux-2.6.32.12/arch/x86/kernel/acpi/sleep.c 2010-03-15 11:52:04.000000000 -0400
9285+++ linux-2.6.32.11/arch/x86/kernel/acpi/sleep.c 2010-04-04 20:46:41.509696869 -0400 9411+++ linux-2.6.32.12/arch/x86/kernel/acpi/sleep.c 2010-04-04 20:46:41.509696869 -0400
9286@@ -11,11 +11,12 @@ 9412@@ -11,11 +11,12 @@
9287 #include <linux/cpumask.h> 9413 #include <linux/cpumask.h>
9288 #include <asm/segment.h> 9414 #include <asm/segment.h>
@@ -9327,9 +9453,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/acpi/sleep.c linux-2.6.32.11/arch/x86
9327 } 9453 }
9328 9454
9329 9455
9330diff -urNp linux-2.6.32.11/arch/x86/kernel/acpi/wakeup_32.S linux-2.6.32.11/arch/x86/kernel/acpi/wakeup_32.S 9456diff -urNp linux-2.6.32.12/arch/x86/kernel/acpi/wakeup_32.S linux-2.6.32.12/arch/x86/kernel/acpi/wakeup_32.S
9331--- linux-2.6.32.11/arch/x86/kernel/acpi/wakeup_32.S 2010-03-15 11:52:04.000000000 -0400 9457--- linux-2.6.32.12/arch/x86/kernel/acpi/wakeup_32.S 2010-03-15 11:52:04.000000000 -0400
9332+++ linux-2.6.32.11/arch/x86/kernel/acpi/wakeup_32.S 2010-04-04 20:46:41.509696869 -0400 9458+++ linux-2.6.32.12/arch/x86/kernel/acpi/wakeup_32.S 2010-04-04 20:46:41.509696869 -0400
9333@@ -30,13 +30,11 @@ wakeup_pmode_return: 9459@@ -30,13 +30,11 @@ wakeup_pmode_return:
9334 # and restore the stack ... but you need gdt for this to work 9460 # and restore the stack ... but you need gdt for this to work
9335 movl saved_context_esp, %esp 9461 movl saved_context_esp, %esp
@@ -9346,9 +9472,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/acpi/wakeup_32.S linux-2.6.32.11/arch
9346 9472
9347 bogus_magic: 9473 bogus_magic:
9348 jmp bogus_magic 9474 jmp bogus_magic
9349diff -urNp linux-2.6.32.11/arch/x86/kernel/alternative.c linux-2.6.32.11/arch/x86/kernel/alternative.c 9475diff -urNp linux-2.6.32.12/arch/x86/kernel/alternative.c linux-2.6.32.12/arch/x86/kernel/alternative.c
9350--- linux-2.6.32.11/arch/x86/kernel/alternative.c 2010-03-15 11:52:04.000000000 -0400 9476--- linux-2.6.32.12/arch/x86/kernel/alternative.c 2010-03-15 11:52:04.000000000 -0400
9351+++ linux-2.6.32.11/arch/x86/kernel/alternative.c 2010-04-04 20:46:41.509696869 -0400 9477+++ linux-2.6.32.12/arch/x86/kernel/alternative.c 2010-04-04 20:46:41.509696869 -0400
9352@@ -407,7 +407,7 @@ void __init_or_module apply_paravirt(str 9478@@ -407,7 +407,7 @@ void __init_or_module apply_paravirt(str
9353 9479
9354 BUG_ON(p->len > MAX_PATCH_LEN); 9480 BUG_ON(p->len > MAX_PATCH_LEN);
@@ -9421,9 +9547,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/alternative.c linux-2.6.32.11/arch/x8
9421+ BUG_ON(((char *)vaddr)[i] != ((char *)opcode)[i]); 9547+ BUG_ON(((char *)vaddr)[i] != ((char *)opcode)[i]);
9422 return addr; 9548 return addr;
9423 } 9549 }
9424diff -urNp linux-2.6.32.11/arch/x86/kernel/amd_iommu.c linux-2.6.32.11/arch/x86/kernel/amd_iommu.c 9550diff -urNp linux-2.6.32.12/arch/x86/kernel/amd_iommu.c linux-2.6.32.12/arch/x86/kernel/amd_iommu.c
9425--- linux-2.6.32.11/arch/x86/kernel/amd_iommu.c 2010-03-15 11:52:04.000000000 -0400 9551--- linux-2.6.32.12/arch/x86/kernel/amd_iommu.c 2010-04-29 17:49:37.521943068 -0400
9426+++ linux-2.6.32.11/arch/x86/kernel/amd_iommu.c 2010-04-04 20:46:41.509696869 -0400 9552+++ linux-2.6.32.12/arch/x86/kernel/amd_iommu.c 2010-04-29 17:49:57.953503497 -0400
9427@@ -2074,7 +2074,7 @@ static void prealloc_protection_domains( 9553@@ -2074,7 +2074,7 @@ static void prealloc_protection_domains(
9428 } 9554 }
9429 } 9555 }
@@ -9433,9 +9559,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/amd_iommu.c linux-2.6.32.11/arch/x86/
9433 .alloc_coherent = alloc_coherent, 9559 .alloc_coherent = alloc_coherent,
9434 .free_coherent = free_coherent, 9560 .free_coherent = free_coherent,
9435 .map_page = map_page, 9561 .map_page = map_page,
9436diff -urNp linux-2.6.32.11/arch/x86/kernel/apic/io_apic.c linux-2.6.32.11/arch/x86/kernel/apic/io_apic.c 9562diff -urNp linux-2.6.32.12/arch/x86/kernel/apic/io_apic.c linux-2.6.32.12/arch/x86/kernel/apic/io_apic.c
9437--- linux-2.6.32.11/arch/x86/kernel/apic/io_apic.c 2010-03-15 11:52:04.000000000 -0400 9563--- linux-2.6.32.12/arch/x86/kernel/apic/io_apic.c 2010-03-15 11:52:04.000000000 -0400
9438+++ linux-2.6.32.11/arch/x86/kernel/apic/io_apic.c 2010-04-04 20:46:41.509696869 -0400 9564+++ linux-2.6.32.12/arch/x86/kernel/apic/io_apic.c 2010-04-04 20:46:41.509696869 -0400
9439@@ -711,7 +711,7 @@ struct IO_APIC_route_entry **alloc_ioapi 9565@@ -711,7 +711,7 @@ struct IO_APIC_route_entry **alloc_ioapi
9440 ioapic_entries = kzalloc(sizeof(*ioapic_entries) * nr_ioapics, 9566 ioapic_entries = kzalloc(sizeof(*ioapic_entries) * nr_ioapics,
9441 GFP_ATOMIC); 9567 GFP_ATOMIC);
@@ -9472,9 +9598,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/apic/io_apic.c linux-2.6.32.11/arch/x
9472 { 9598 {
9473 spin_unlock(&vector_lock); 9599 spin_unlock(&vector_lock);
9474 } 9600 }
9475diff -urNp linux-2.6.32.11/arch/x86/kernel/apm_32.c linux-2.6.32.11/arch/x86/kernel/apm_32.c 9601diff -urNp linux-2.6.32.12/arch/x86/kernel/apm_32.c linux-2.6.32.12/arch/x86/kernel/apm_32.c
9476--- linux-2.6.32.11/arch/x86/kernel/apm_32.c 2010-03-15 11:52:04.000000000 -0400 9602--- linux-2.6.32.12/arch/x86/kernel/apm_32.c 2010-03-15 11:52:04.000000000 -0400
9477+++ linux-2.6.32.11/arch/x86/kernel/apm_32.c 2010-04-04 20:46:41.513555986 -0400 9603+++ linux-2.6.32.12/arch/x86/kernel/apm_32.c 2010-04-04 20:46:41.513555986 -0400
9478@@ -410,7 +410,7 @@ static DEFINE_SPINLOCK(user_list_lock); 9604@@ -410,7 +410,7 @@ static DEFINE_SPINLOCK(user_list_lock);
9479 * This is for buggy BIOS's that refer to (real mode) segment 0x40 9605 * This is for buggy BIOS's that refer to (real mode) segment 0x40
9480 * even though they are called in protected mode. 9606 * even though they are called in protected mode.
@@ -9576,9 +9702,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/apm_32.c linux-2.6.32.11/arch/x86/ker
9576 9702
9577 proc_create("apm", 0, NULL, &apm_file_ops); 9703 proc_create("apm", 0, NULL, &apm_file_ops);
9578 9704
9579diff -urNp linux-2.6.32.11/arch/x86/kernel/asm-offsets_32.c linux-2.6.32.11/arch/x86/kernel/asm-offsets_32.c 9705diff -urNp linux-2.6.32.12/arch/x86/kernel/asm-offsets_32.c linux-2.6.32.12/arch/x86/kernel/asm-offsets_32.c
9580--- linux-2.6.32.11/arch/x86/kernel/asm-offsets_32.c 2010-03-15 11:52:04.000000000 -0400 9706--- linux-2.6.32.12/arch/x86/kernel/asm-offsets_32.c 2010-03-15 11:52:04.000000000 -0400
9581+++ linux-2.6.32.11/arch/x86/kernel/asm-offsets_32.c 2010-04-04 20:46:41.513555986 -0400 9707+++ linux-2.6.32.12/arch/x86/kernel/asm-offsets_32.c 2010-04-04 20:46:41.513555986 -0400
9582@@ -115,6 +115,11 @@ void foo(void) 9708@@ -115,6 +115,11 @@ void foo(void)
9583 OFFSET(PV_CPU_iret, pv_cpu_ops, iret); 9709 OFFSET(PV_CPU_iret, pv_cpu_ops, iret);
9584 OFFSET(PV_CPU_irq_enable_sysexit, pv_cpu_ops, irq_enable_sysexit); 9710 OFFSET(PV_CPU_irq_enable_sysexit, pv_cpu_ops, irq_enable_sysexit);
@@ -9591,9 +9717,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/asm-offsets_32.c linux-2.6.32.11/arch
9591 #endif 9717 #endif
9592 9718
9593 #ifdef CONFIG_XEN 9719 #ifdef CONFIG_XEN
9594diff -urNp linux-2.6.32.11/arch/x86/kernel/asm-offsets_64.c linux-2.6.32.11/arch/x86/kernel/asm-offsets_64.c 9720diff -urNp linux-2.6.32.12/arch/x86/kernel/asm-offsets_64.c linux-2.6.32.12/arch/x86/kernel/asm-offsets_64.c
9595--- linux-2.6.32.11/arch/x86/kernel/asm-offsets_64.c 2010-03-15 11:52:04.000000000 -0400 9721--- linux-2.6.32.12/arch/x86/kernel/asm-offsets_64.c 2010-03-15 11:52:04.000000000 -0400
9596+++ linux-2.6.32.11/arch/x86/kernel/asm-offsets_64.c 2010-04-04 20:58:33.220592413 -0400 9722+++ linux-2.6.32.12/arch/x86/kernel/asm-offsets_64.c 2010-04-04 20:58:33.220592413 -0400
9597@@ -63,6 +63,18 @@ int main(void) 9723@@ -63,6 +63,18 @@ int main(void)
9598 OFFSET(PV_CPU_irq_enable_sysexit, pv_cpu_ops, irq_enable_sysexit); 9724 OFFSET(PV_CPU_irq_enable_sysexit, pv_cpu_ops, irq_enable_sysexit);
9599 OFFSET(PV_CPU_swapgs, pv_cpu_ops, swapgs); 9725 OFFSET(PV_CPU_swapgs, pv_cpu_ops, swapgs);
@@ -9621,9 +9747,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/asm-offsets_64.c linux-2.6.32.11/arch
9621 DEFINE(TSS_ist, offsetof(struct tss_struct, x86_tss.ist)); 9747 DEFINE(TSS_ist, offsetof(struct tss_struct, x86_tss.ist));
9622 BLANK(); 9748 BLANK();
9623 DEFINE(crypto_tfm_ctx_offset, offsetof(struct crypto_tfm, __crt_ctx)); 9749 DEFINE(crypto_tfm_ctx_offset, offsetof(struct crypto_tfm, __crt_ctx));
9624diff -urNp linux-2.6.32.11/arch/x86/kernel/cpu/common.c linux-2.6.32.11/arch/x86/kernel/cpu/common.c 9750diff -urNp linux-2.6.32.12/arch/x86/kernel/cpu/common.c linux-2.6.32.12/arch/x86/kernel/cpu/common.c
9625--- linux-2.6.32.11/arch/x86/kernel/cpu/common.c 2010-03-15 11:52:04.000000000 -0400 9751--- linux-2.6.32.12/arch/x86/kernel/cpu/common.c 2010-03-15 11:52:04.000000000 -0400
9626+++ linux-2.6.32.11/arch/x86/kernel/cpu/common.c 2010-04-04 20:47:28.952733264 -0400 9752+++ linux-2.6.32.12/arch/x86/kernel/cpu/common.c 2010-04-04 20:47:28.952733264 -0400
9627@@ -83,60 +83,6 @@ static const struct cpu_dev __cpuinitcon 9753@@ -83,60 +83,6 @@ static const struct cpu_dev __cpuinitcon
9628 9754
9629 static const struct cpu_dev *this_cpu __cpuinitdata = &default_cpu; 9755 static const struct cpu_dev *this_cpu __cpuinitdata = &default_cpu;
@@ -9732,9 +9858,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/cpu/common.c linux-2.6.32.11/arch/x86
9732 struct thread_struct *thread = &curr->thread; 9858 struct thread_struct *thread = &curr->thread;
9733 9859
9734 if (cpumask_test_and_set_cpu(cpu, cpu_initialized_mask)) { 9860 if (cpumask_test_and_set_cpu(cpu, cpu_initialized_mask)) {
9735diff -urNp linux-2.6.32.11/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c linux-2.6.32.11/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c 9861diff -urNp linux-2.6.32.12/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c linux-2.6.32.12/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c
9736--- linux-2.6.32.11/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c 2010-03-15 11:52:04.000000000 -0400 9862--- linux-2.6.32.12/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c 2010-03-15 11:52:04.000000000 -0400
9737+++ linux-2.6.32.11/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c 2010-04-04 20:46:41.513555986 -0400 9863+++ linux-2.6.32.12/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c 2010-04-04 20:46:41.513555986 -0400
9738@@ -521,7 +521,7 @@ static const struct dmi_system_id sw_any 9864@@ -521,7 +521,7 @@ static const struct dmi_system_id sw_any
9739 DMI_MATCH(DMI_PRODUCT_NAME, "X6DLP"), 9865 DMI_MATCH(DMI_PRODUCT_NAME, "X6DLP"),
9740 }, 9866 },
@@ -9744,9 +9870,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c linux-2.6.
9744 }; 9870 };
9745 9871
9746 static int acpi_cpufreq_blacklist(struct cpuinfo_x86 *c) 9872 static int acpi_cpufreq_blacklist(struct cpuinfo_x86 *c)
9747diff -urNp linux-2.6.32.11/arch/x86/kernel/cpu/cpufreq/speedstep-centrino.c linux-2.6.32.11/arch/x86/kernel/cpu/cpufreq/speedstep-centrino.c 9873diff -urNp linux-2.6.32.12/arch/x86/kernel/cpu/cpufreq/speedstep-centrino.c linux-2.6.32.12/arch/x86/kernel/cpu/cpufreq/speedstep-centrino.c
9748--- linux-2.6.32.11/arch/x86/kernel/cpu/cpufreq/speedstep-centrino.c 2010-03-15 11:52:04.000000000 -0400 9874--- linux-2.6.32.12/arch/x86/kernel/cpu/cpufreq/speedstep-centrino.c 2010-03-15 11:52:04.000000000 -0400
9749+++ linux-2.6.32.11/arch/x86/kernel/cpu/cpufreq/speedstep-centrino.c 2010-04-04 20:46:41.513555986 -0400 9875+++ linux-2.6.32.12/arch/x86/kernel/cpu/cpufreq/speedstep-centrino.c 2010-04-04 20:46:41.513555986 -0400
9750@@ -225,7 +225,7 @@ static struct cpu_model models[] = 9876@@ -225,7 +225,7 @@ static struct cpu_model models[] =
9751 { &cpu_ids[CPU_MP4HT_D0], NULL, 0, NULL }, 9877 { &cpu_ids[CPU_MP4HT_D0], NULL, 0, NULL },
9752 { &cpu_ids[CPU_MP4HT_E0], NULL, 0, NULL }, 9878 { &cpu_ids[CPU_MP4HT_E0], NULL, 0, NULL },
@@ -9756,9 +9882,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/cpu/cpufreq/speedstep-centrino.c linu
9756 }; 9882 };
9757 #undef _BANIAS 9883 #undef _BANIAS
9758 #undef BANIAS 9884 #undef BANIAS
9759diff -urNp linux-2.6.32.11/arch/x86/kernel/cpu/intel.c linux-2.6.32.11/arch/x86/kernel/cpu/intel.c 9885diff -urNp linux-2.6.32.12/arch/x86/kernel/cpu/intel.c linux-2.6.32.12/arch/x86/kernel/cpu/intel.c
9760--- linux-2.6.32.11/arch/x86/kernel/cpu/intel.c 2010-04-04 20:41:49.916475305 -0400 9886--- linux-2.6.32.12/arch/x86/kernel/cpu/intel.c 2010-04-04 20:41:49.916475305 -0400
9761+++ linux-2.6.32.11/arch/x86/kernel/cpu/intel.c 2010-04-04 20:46:41.513555986 -0400 9887+++ linux-2.6.32.12/arch/x86/kernel/cpu/intel.c 2010-04-04 20:46:41.513555986 -0400
9762@@ -140,7 +140,7 @@ static void __cpuinit trap_init_f00f_bug 9888@@ -140,7 +140,7 @@ static void __cpuinit trap_init_f00f_bug
9763 * Update the IDT descriptor and reload the IDT so that 9889 * Update the IDT descriptor and reload the IDT so that
9764 * it uses the read-only mapped virtual address. 9890 * it uses the read-only mapped virtual address.
@@ -9768,10 +9894,10 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/cpu/intel.c linux-2.6.32.11/arch/x86/
9768 load_idt(&idt_descr); 9894 load_idt(&idt_descr);
9769 } 9895 }
9770 #endif 9896 #endif
9771diff -urNp linux-2.6.32.11/arch/x86/kernel/cpu/intel_cacheinfo.c linux-2.6.32.11/arch/x86/kernel/cpu/intel_cacheinfo.c 9897diff -urNp linux-2.6.32.12/arch/x86/kernel/cpu/intel_cacheinfo.c linux-2.6.32.12/arch/x86/kernel/cpu/intel_cacheinfo.c
9772--- linux-2.6.32.11/arch/x86/kernel/cpu/intel_cacheinfo.c 2010-03-15 11:52:04.000000000 -0400 9898--- linux-2.6.32.12/arch/x86/kernel/cpu/intel_cacheinfo.c 2010-04-29 17:49:37.537108997 -0400
9773+++ linux-2.6.32.11/arch/x86/kernel/cpu/intel_cacheinfo.c 2010-04-04 20:46:41.513555986 -0400 9899+++ linux-2.6.32.12/arch/x86/kernel/cpu/intel_cacheinfo.c 2010-04-29 17:49:57.985196208 -0400
9774@@ -863,7 +863,7 @@ static ssize_t store(struct kobject *kob 9900@@ -916,7 +916,7 @@ static ssize_t store(struct kobject *kob
9775 return ret; 9901 return ret;
9776 } 9902 }
9777 9903
@@ -9780,9 +9906,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/cpu/intel_cacheinfo.c linux-2.6.32.11
9780 .show = show, 9906 .show = show,
9781 .store = store, 9907 .store = store,
9782 }; 9908 };
9783diff -urNp linux-2.6.32.11/arch/x86/kernel/cpu/Makefile linux-2.6.32.11/arch/x86/kernel/cpu/Makefile 9909diff -urNp linux-2.6.32.12/arch/x86/kernel/cpu/Makefile linux-2.6.32.12/arch/x86/kernel/cpu/Makefile
9784--- linux-2.6.32.11/arch/x86/kernel/cpu/Makefile 2010-03-15 11:52:04.000000000 -0400 9910--- linux-2.6.32.12/arch/x86/kernel/cpu/Makefile 2010-03-15 11:52:04.000000000 -0400
9785+++ linux-2.6.32.11/arch/x86/kernel/cpu/Makefile 2010-04-04 20:46:41.513555986 -0400 9911+++ linux-2.6.32.12/arch/x86/kernel/cpu/Makefile 2010-04-04 20:46:41.513555986 -0400
9786@@ -7,10 +7,6 @@ ifdef CONFIG_FUNCTION_TRACER 9912@@ -7,10 +7,6 @@ ifdef CONFIG_FUNCTION_TRACER
9787 CFLAGS_REMOVE_common.o = -pg 9913 CFLAGS_REMOVE_common.o = -pg
9788 endif 9914 endif
@@ -9794,9 +9920,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/cpu/Makefile linux-2.6.32.11/arch/x86
9794 obj-y := intel_cacheinfo.o addon_cpuid_features.o 9920 obj-y := intel_cacheinfo.o addon_cpuid_features.o
9795 obj-y += proc.o capflags.o powerflags.o common.o 9921 obj-y += proc.o capflags.o powerflags.o common.o
9796 obj-y += vmware.o hypervisor.o sched.o 9922 obj-y += vmware.o hypervisor.o sched.o
9797diff -urNp linux-2.6.32.11/arch/x86/kernel/cpu/mcheck/mce_amd.c linux-2.6.32.11/arch/x86/kernel/cpu/mcheck/mce_amd.c 9923diff -urNp linux-2.6.32.12/arch/x86/kernel/cpu/mcheck/mce_amd.c linux-2.6.32.12/arch/x86/kernel/cpu/mcheck/mce_amd.c
9798--- linux-2.6.32.11/arch/x86/kernel/cpu/mcheck/mce_amd.c 2010-03-15 11:52:04.000000000 -0400 9924--- linux-2.6.32.12/arch/x86/kernel/cpu/mcheck/mce_amd.c 2010-03-15 11:52:04.000000000 -0400
9799+++ linux-2.6.32.11/arch/x86/kernel/cpu/mcheck/mce_amd.c 2010-04-04 20:46:41.513555986 -0400 9925+++ linux-2.6.32.12/arch/x86/kernel/cpu/mcheck/mce_amd.c 2010-04-04 20:46:41.513555986 -0400
9800@@ -388,7 +388,7 @@ static ssize_t store(struct kobject *kob 9926@@ -388,7 +388,7 @@ static ssize_t store(struct kobject *kob
9801 return ret; 9927 return ret;
9802 } 9928 }
@@ -9806,9 +9932,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/cpu/mcheck/mce_amd.c linux-2.6.32.11/
9806 .show = show, 9932 .show = show,
9807 .store = store, 9933 .store = store,
9808 }; 9934 };
9809diff -urNp linux-2.6.32.11/arch/x86/kernel/cpu/mcheck/mce.c linux-2.6.32.11/arch/x86/kernel/cpu/mcheck/mce.c 9935diff -urNp linux-2.6.32.12/arch/x86/kernel/cpu/mcheck/mce.c linux-2.6.32.12/arch/x86/kernel/cpu/mcheck/mce.c
9810--- linux-2.6.32.11/arch/x86/kernel/cpu/mcheck/mce.c 2010-03-15 11:52:04.000000000 -0400 9936--- linux-2.6.32.12/arch/x86/kernel/cpu/mcheck/mce.c 2010-03-15 11:52:04.000000000 -0400
9811+++ linux-2.6.32.11/arch/x86/kernel/cpu/mcheck/mce.c 2010-04-04 20:46:41.513555986 -0400 9937+++ linux-2.6.32.12/arch/x86/kernel/cpu/mcheck/mce.c 2010-04-04 20:46:41.513555986 -0400
9812@@ -187,7 +187,7 @@ static void print_mce(struct mce *m) 9938@@ -187,7 +187,7 @@ static void print_mce(struct mce *m)
9813 !(m->mcgstatus & MCG_STATUS_EIPV) ? " !INEXACT!" : "", 9939 !(m->mcgstatus & MCG_STATUS_EIPV) ? " !INEXACT!" : "",
9814 m->cs, m->ip); 9940 m->cs, m->ip);
@@ -9861,9 +9987,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/cpu/mcheck/mce.c linux-2.6.32.11/arch
9861 }; 9987 };
9862 9988
9863 /* 9989 /*
9864diff -urNp linux-2.6.32.11/arch/x86/kernel/cpu/mtrr/amd.c linux-2.6.32.11/arch/x86/kernel/cpu/mtrr/amd.c 9990diff -urNp linux-2.6.32.12/arch/x86/kernel/cpu/mtrr/amd.c linux-2.6.32.12/arch/x86/kernel/cpu/mtrr/amd.c
9865--- linux-2.6.32.11/arch/x86/kernel/cpu/mtrr/amd.c 2010-03-15 11:52:04.000000000 -0400 9991--- linux-2.6.32.12/arch/x86/kernel/cpu/mtrr/amd.c 2010-03-15 11:52:04.000000000 -0400
9866+++ linux-2.6.32.11/arch/x86/kernel/cpu/mtrr/amd.c 2010-04-04 20:46:41.513555986 -0400 9992+++ linux-2.6.32.12/arch/x86/kernel/cpu/mtrr/amd.c 2010-04-04 20:46:41.513555986 -0400
9867@@ -108,7 +108,7 @@ amd_validate_add_page(unsigned long base 9993@@ -108,7 +108,7 @@ amd_validate_add_page(unsigned long base
9868 return 0; 9994 return 0;
9869 } 9995 }
@@ -9873,9 +9999,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/cpu/mtrr/amd.c linux-2.6.32.11/arch/x
9873 .vendor = X86_VENDOR_AMD, 9999 .vendor = X86_VENDOR_AMD,
9874 .set = amd_set_mtrr, 10000 .set = amd_set_mtrr,
9875 .get = amd_get_mtrr, 10001 .get = amd_get_mtrr,
9876diff -urNp linux-2.6.32.11/arch/x86/kernel/cpu/mtrr/centaur.c linux-2.6.32.11/arch/x86/kernel/cpu/mtrr/centaur.c 10002diff -urNp linux-2.6.32.12/arch/x86/kernel/cpu/mtrr/centaur.c linux-2.6.32.12/arch/x86/kernel/cpu/mtrr/centaur.c
9877--- linux-2.6.32.11/arch/x86/kernel/cpu/mtrr/centaur.c 2010-03-15 11:52:04.000000000 -0400 10003--- linux-2.6.32.12/arch/x86/kernel/cpu/mtrr/centaur.c 2010-03-15 11:52:04.000000000 -0400
9878+++ linux-2.6.32.11/arch/x86/kernel/cpu/mtrr/centaur.c 2010-04-04 20:46:41.513555986 -0400 10004+++ linux-2.6.32.12/arch/x86/kernel/cpu/mtrr/centaur.c 2010-04-04 20:46:41.513555986 -0400
9879@@ -110,7 +110,7 @@ centaur_validate_add_page(unsigned long 10005@@ -110,7 +110,7 @@ centaur_validate_add_page(unsigned long
9880 return 0; 10006 return 0;
9881 } 10007 }
@@ -9885,9 +10011,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/cpu/mtrr/centaur.c linux-2.6.32.11/ar
9885 .vendor = X86_VENDOR_CENTAUR, 10011 .vendor = X86_VENDOR_CENTAUR,
9886 .set = centaur_set_mcr, 10012 .set = centaur_set_mcr,
9887 .get = centaur_get_mcr, 10013 .get = centaur_get_mcr,
9888diff -urNp linux-2.6.32.11/arch/x86/kernel/cpu/mtrr/cyrix.c linux-2.6.32.11/arch/x86/kernel/cpu/mtrr/cyrix.c 10014diff -urNp linux-2.6.32.12/arch/x86/kernel/cpu/mtrr/cyrix.c linux-2.6.32.12/arch/x86/kernel/cpu/mtrr/cyrix.c
9889--- linux-2.6.32.11/arch/x86/kernel/cpu/mtrr/cyrix.c 2010-03-15 11:52:04.000000000 -0400 10015--- linux-2.6.32.12/arch/x86/kernel/cpu/mtrr/cyrix.c 2010-03-15 11:52:04.000000000 -0400
9890+++ linux-2.6.32.11/arch/x86/kernel/cpu/mtrr/cyrix.c 2010-04-04 20:46:41.513555986 -0400 10016+++ linux-2.6.32.12/arch/x86/kernel/cpu/mtrr/cyrix.c 2010-04-04 20:46:41.513555986 -0400
9891@@ -265,7 +265,7 @@ static void cyrix_set_all(void) 10017@@ -265,7 +265,7 @@ static void cyrix_set_all(void)
9892 post_set(); 10018 post_set();
9893 } 10019 }
@@ -9897,9 +10023,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/cpu/mtrr/cyrix.c linux-2.6.32.11/arch
9897 .vendor = X86_VENDOR_CYRIX, 10023 .vendor = X86_VENDOR_CYRIX,
9898 .set_all = cyrix_set_all, 10024 .set_all = cyrix_set_all,
9899 .set = cyrix_set_arr, 10025 .set = cyrix_set_arr,
9900diff -urNp linux-2.6.32.11/arch/x86/kernel/cpu/mtrr/generic.c linux-2.6.32.11/arch/x86/kernel/cpu/mtrr/generic.c 10026diff -urNp linux-2.6.32.12/arch/x86/kernel/cpu/mtrr/generic.c linux-2.6.32.12/arch/x86/kernel/cpu/mtrr/generic.c
9901--- linux-2.6.32.11/arch/x86/kernel/cpu/mtrr/generic.c 2010-03-15 11:52:04.000000000 -0400 10027--- linux-2.6.32.12/arch/x86/kernel/cpu/mtrr/generic.c 2010-03-15 11:52:04.000000000 -0400
9902+++ linux-2.6.32.11/arch/x86/kernel/cpu/mtrr/generic.c 2010-04-04 20:46:41.513555986 -0400 10028+++ linux-2.6.32.12/arch/x86/kernel/cpu/mtrr/generic.c 2010-04-04 20:46:41.513555986 -0400
9903@@ -29,7 +29,7 @@ static struct fixed_range_block fixed_ra 10029@@ -29,7 +29,7 @@ static struct fixed_range_block fixed_ra
9904 { MSR_MTRRfix64K_00000, 1 }, /* one 64k MTRR */ 10030 { MSR_MTRRfix64K_00000, 1 }, /* one 64k MTRR */
9905 { MSR_MTRRfix16K_80000, 2 }, /* two 16k MTRRs */ 10031 { MSR_MTRRfix16K_80000, 2 }, /* two 16k MTRRs */
@@ -9918,9 +10044,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/cpu/mtrr/generic.c linux-2.6.32.11/ar
9918 .use_intel_if = 1, 10044 .use_intel_if = 1,
9919 .set_all = generic_set_all, 10045 .set_all = generic_set_all,
9920 .get = generic_get_mtrr, 10046 .get = generic_get_mtrr,
9921diff -urNp linux-2.6.32.11/arch/x86/kernel/cpu/mtrr/main.c linux-2.6.32.11/arch/x86/kernel/cpu/mtrr/main.c 10047diff -urNp linux-2.6.32.12/arch/x86/kernel/cpu/mtrr/main.c linux-2.6.32.12/arch/x86/kernel/cpu/mtrr/main.c
9922--- linux-2.6.32.11/arch/x86/kernel/cpu/mtrr/main.c 2010-03-15 11:52:04.000000000 -0400 10048--- linux-2.6.32.12/arch/x86/kernel/cpu/mtrr/main.c 2010-03-15 11:52:04.000000000 -0400
9923+++ linux-2.6.32.11/arch/x86/kernel/cpu/mtrr/main.c 2010-04-04 20:46:41.513555986 -0400 10049+++ linux-2.6.32.12/arch/x86/kernel/cpu/mtrr/main.c 2010-04-04 20:46:41.513555986 -0400
9924@@ -60,14 +60,14 @@ static DEFINE_MUTEX(mtrr_mutex); 10050@@ -60,14 +60,14 @@ static DEFINE_MUTEX(mtrr_mutex);
9925 u64 size_or_mask, size_and_mask; 10051 u64 size_or_mask, size_and_mask;
9926 static bool mtrr_aps_delayed_init; 10052 static bool mtrr_aps_delayed_init;
@@ -9939,9 +10065,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/cpu/mtrr/main.c linux-2.6.32.11/arch/
9939 { 10065 {
9940 if (ops->vendor && ops->vendor < X86_VENDOR_NUM) 10066 if (ops->vendor && ops->vendor < X86_VENDOR_NUM)
9941 mtrr_ops[ops->vendor] = ops; 10067 mtrr_ops[ops->vendor] = ops;
9942diff -urNp linux-2.6.32.11/arch/x86/kernel/cpu/mtrr/mtrr.h linux-2.6.32.11/arch/x86/kernel/cpu/mtrr/mtrr.h 10068diff -urNp linux-2.6.32.12/arch/x86/kernel/cpu/mtrr/mtrr.h linux-2.6.32.12/arch/x86/kernel/cpu/mtrr/mtrr.h
9943--- linux-2.6.32.11/arch/x86/kernel/cpu/mtrr/mtrr.h 2010-03-15 11:52:04.000000000 -0400 10069--- linux-2.6.32.12/arch/x86/kernel/cpu/mtrr/mtrr.h 2010-03-15 11:52:04.000000000 -0400
9944+++ linux-2.6.32.11/arch/x86/kernel/cpu/mtrr/mtrr.h 2010-04-04 20:46:41.517551870 -0400 10070+++ linux-2.6.32.12/arch/x86/kernel/cpu/mtrr/mtrr.h 2010-04-04 20:46:41.517551870 -0400
9945@@ -12,19 +12,19 @@ 10071@@ -12,19 +12,19 @@
9946 extern unsigned int mtrr_usage_table[MTRR_MAX_VAR_RANGES]; 10072 extern unsigned int mtrr_usage_table[MTRR_MAX_VAR_RANGES];
9947 10073
@@ -9992,9 +10118,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/cpu/mtrr/mtrr.h linux-2.6.32.11/arch/
9992 10118
9993 #define is_cpu(vnd) (mtrr_if && mtrr_if->vendor == X86_VENDOR_##vnd) 10119 #define is_cpu(vnd) (mtrr_if && mtrr_if->vendor == X86_VENDOR_##vnd)
9994 #define use_intel() (mtrr_if && mtrr_if->use_intel_if == 1) 10120 #define use_intel() (mtrr_if && mtrr_if->use_intel_if == 1)
9995diff -urNp linux-2.6.32.11/arch/x86/kernel/cpu/perfctr-watchdog.c linux-2.6.32.11/arch/x86/kernel/cpu/perfctr-watchdog.c 10121diff -urNp linux-2.6.32.12/arch/x86/kernel/cpu/perfctr-watchdog.c linux-2.6.32.12/arch/x86/kernel/cpu/perfctr-watchdog.c
9996--- linux-2.6.32.11/arch/x86/kernel/cpu/perfctr-watchdog.c 2010-03-15 11:52:04.000000000 -0400 10122--- linux-2.6.32.12/arch/x86/kernel/cpu/perfctr-watchdog.c 2010-03-15 11:52:04.000000000 -0400
9997+++ linux-2.6.32.11/arch/x86/kernel/cpu/perfctr-watchdog.c 2010-04-04 20:46:41.517551870 -0400 10123+++ linux-2.6.32.12/arch/x86/kernel/cpu/perfctr-watchdog.c 2010-04-04 20:46:41.517551870 -0400
9998@@ -30,11 +30,11 @@ struct nmi_watchdog_ctlblk { 10124@@ -30,11 +30,11 @@ struct nmi_watchdog_ctlblk {
9999 10125
10000 /* Interface defining a CPU specific perfctr watchdog */ 10126 /* Interface defining a CPU specific perfctr watchdog */
@@ -10028,10 +10154,10 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/cpu/perfctr-watchdog.c linux-2.6.32.1
10028 static struct wd_ops intel_arch_wd_ops __read_mostly = { 10154 static struct wd_ops intel_arch_wd_ops __read_mostly = {
10029 .reserve = single_msr_reserve, 10155 .reserve = single_msr_reserve,
10030 .unreserve = single_msr_unreserve, 10156 .unreserve = single_msr_unreserve,
10031diff -urNp linux-2.6.32.11/arch/x86/kernel/cpu/perf_event.c linux-2.6.32.11/arch/x86/kernel/cpu/perf_event.c 10157diff -urNp linux-2.6.32.12/arch/x86/kernel/cpu/perf_event.c linux-2.6.32.12/arch/x86/kernel/cpu/perf_event.c
10032--- linux-2.6.32.11/arch/x86/kernel/cpu/perf_event.c 2010-03-15 11:52:04.000000000 -0400 10158--- linux-2.6.32.12/arch/x86/kernel/cpu/perf_event.c 2010-04-29 17:49:37.537108997 -0400
10033+++ linux-2.6.32.11/arch/x86/kernel/cpu/perf_event.c 2010-04-04 20:46:41.517551870 -0400 10159+++ linux-2.6.32.12/arch/x86/kernel/cpu/perf_event.c 2010-04-29 17:49:57.989487280 -0400
10034@@ -2252,7 +2252,7 @@ perf_callchain_user(struct pt_regs *regs 10160@@ -2354,7 +2354,7 @@ perf_callchain_user(struct pt_regs *regs
10035 break; 10161 break;
10036 10162
10037 callchain_store(entry, frame.return_address); 10163 callchain_store(entry, frame.return_address);
@@ -10040,10 +10166,10 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/cpu/perf_event.c linux-2.6.32.11/arch
10040 } 10166 }
10041 } 10167 }
10042 10168
10043diff -urNp linux-2.6.32.11/arch/x86/kernel/crash.c linux-2.6.32.11/arch/x86/kernel/crash.c 10169diff -urNp linux-2.6.32.12/arch/x86/kernel/crash.c linux-2.6.32.12/arch/x86/kernel/crash.c
10044--- linux-2.6.32.11/arch/x86/kernel/crash.c 2010-03-15 11:52:04.000000000 -0400 10170--- linux-2.6.32.12/arch/x86/kernel/crash.c 2010-04-29 17:49:37.537108997 -0400
10045+++ linux-2.6.32.11/arch/x86/kernel/crash.c 2010-04-04 20:46:41.517551870 -0400 10171+++ linux-2.6.32.12/arch/x86/kernel/crash.c 2010-04-29 17:49:57.989487280 -0400
10046@@ -42,7 +42,7 @@ static void kdump_nmi_callback(int cpu, 10172@@ -41,7 +41,7 @@ static void kdump_nmi_callback(int cpu,
10047 regs = args->regs; 10173 regs = args->regs;
10048 10174
10049 #ifdef CONFIG_X86_32 10175 #ifdef CONFIG_X86_32
@@ -10052,9 +10178,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/crash.c linux-2.6.32.11/arch/x86/kern
10052 crash_fixup_ss_esp(&fixed_regs, regs); 10178 crash_fixup_ss_esp(&fixed_regs, regs);
10053 regs = &fixed_regs; 10179 regs = &fixed_regs;
10054 } 10180 }
10055diff -urNp linux-2.6.32.11/arch/x86/kernel/doublefault_32.c linux-2.6.32.11/arch/x86/kernel/doublefault_32.c 10181diff -urNp linux-2.6.32.12/arch/x86/kernel/doublefault_32.c linux-2.6.32.12/arch/x86/kernel/doublefault_32.c
10056--- linux-2.6.32.11/arch/x86/kernel/doublefault_32.c 2010-03-15 11:52:04.000000000 -0400 10182--- linux-2.6.32.12/arch/x86/kernel/doublefault_32.c 2010-03-15 11:52:04.000000000 -0400
10057+++ linux-2.6.32.11/arch/x86/kernel/doublefault_32.c 2010-04-04 20:46:41.517551870 -0400 10183+++ linux-2.6.32.12/arch/x86/kernel/doublefault_32.c 2010-04-04 20:46:41.517551870 -0400
10058@@ -11,7 +11,7 @@ 10184@@ -11,7 +11,7 @@
10059 10185
10060 #define DOUBLEFAULT_STACKSIZE (1024) 10186 #define DOUBLEFAULT_STACKSIZE (1024)
@@ -10086,9 +10212,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/doublefault_32.c linux-2.6.32.11/arch
10086 .fs = __KERNEL_PERCPU, 10212 .fs = __KERNEL_PERCPU,
10087 10213
10088 .__cr3 = __pa_nodebug(swapper_pg_dir), 10214 .__cr3 = __pa_nodebug(swapper_pg_dir),
10089diff -urNp linux-2.6.32.11/arch/x86/kernel/dumpstack_32.c linux-2.6.32.11/arch/x86/kernel/dumpstack_32.c 10215diff -urNp linux-2.6.32.12/arch/x86/kernel/dumpstack_32.c linux-2.6.32.12/arch/x86/kernel/dumpstack_32.c
10090--- linux-2.6.32.11/arch/x86/kernel/dumpstack_32.c 2010-03-15 11:52:04.000000000 -0400 10216--- linux-2.6.32.12/arch/x86/kernel/dumpstack_32.c 2010-03-15 11:52:04.000000000 -0400
10091+++ linux-2.6.32.11/arch/x86/kernel/dumpstack_32.c 2010-04-04 20:46:41.517551870 -0400 10217+++ linux-2.6.32.12/arch/x86/kernel/dumpstack_32.c 2010-04-04 20:46:41.517551870 -0400
10092@@ -112,11 +112,12 @@ void show_registers(struct pt_regs *regs 10218@@ -112,11 +112,12 @@ void show_registers(struct pt_regs *regs
10093 * When in-kernel, we also print out the stack and code at the 10219 * When in-kernel, we also print out the stack and code at the
10094 * time of the fault.. 10220 * time of the fault..
@@ -10133,9 +10259,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/dumpstack_32.c linux-2.6.32.11/arch/x
10133 if (ip < PAGE_OFFSET) 10259 if (ip < PAGE_OFFSET)
10134 return 0; 10260 return 0;
10135 if (probe_kernel_address((unsigned short *)ip, ud2)) 10261 if (probe_kernel_address((unsigned short *)ip, ud2))
10136diff -urNp linux-2.6.32.11/arch/x86/kernel/dumpstack.c linux-2.6.32.11/arch/x86/kernel/dumpstack.c 10262diff -urNp linux-2.6.32.12/arch/x86/kernel/dumpstack.c linux-2.6.32.12/arch/x86/kernel/dumpstack.c
10137--- linux-2.6.32.11/arch/x86/kernel/dumpstack.c 2010-03-15 11:52:04.000000000 -0400 10263--- linux-2.6.32.12/arch/x86/kernel/dumpstack.c 2010-03-15 11:52:04.000000000 -0400
10138+++ linux-2.6.32.11/arch/x86/kernel/dumpstack.c 2010-04-04 20:46:41.517551870 -0400 10264+++ linux-2.6.32.12/arch/x86/kernel/dumpstack.c 2010-04-04 20:46:41.517551870 -0400
10139@@ -180,7 +180,7 @@ void dump_stack(void) 10265@@ -180,7 +180,7 @@ void dump_stack(void)
10140 #endif 10266 #endif
10141 10267
@@ -10163,9 +10289,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/dumpstack.c linux-2.6.32.11/arch/x86/
10163 report_bug(regs->ip, regs); 10289 report_bug(regs->ip, regs);
10164 10290
10165 if (__die(str, regs, err)) 10291 if (__die(str, regs, err))
10166diff -urNp linux-2.6.32.11/arch/x86/kernel/e820.c linux-2.6.32.11/arch/x86/kernel/e820.c 10292diff -urNp linux-2.6.32.12/arch/x86/kernel/e820.c linux-2.6.32.12/arch/x86/kernel/e820.c
10167--- linux-2.6.32.11/arch/x86/kernel/e820.c 2010-03-15 11:52:04.000000000 -0400 10293--- linux-2.6.32.12/arch/x86/kernel/e820.c 2010-03-15 11:52:04.000000000 -0400
10168+++ linux-2.6.32.11/arch/x86/kernel/e820.c 2010-04-04 20:46:41.517551870 -0400 10294+++ linux-2.6.32.12/arch/x86/kernel/e820.c 2010-04-04 20:46:41.517551870 -0400
10169@@ -733,7 +733,7 @@ struct early_res { 10295@@ -733,7 +733,7 @@ struct early_res {
10170 }; 10296 };
10171 static struct early_res early_res[MAX_EARLY_RES] __initdata = { 10297 static struct early_res early_res[MAX_EARLY_RES] __initdata = {
@@ -10175,9 +10301,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/e820.c linux-2.6.32.11/arch/x86/kerne
10175 }; 10301 };
10176 10302
10177 static int __init find_overlapped_early(u64 start, u64 end) 10303 static int __init find_overlapped_early(u64 start, u64 end)
10178diff -urNp linux-2.6.32.11/arch/x86/kernel/efi_32.c linux-2.6.32.11/arch/x86/kernel/efi_32.c 10304diff -urNp linux-2.6.32.12/arch/x86/kernel/efi_32.c linux-2.6.32.12/arch/x86/kernel/efi_32.c
10179--- linux-2.6.32.11/arch/x86/kernel/efi_32.c 2010-03-15 11:52:04.000000000 -0400 10305--- linux-2.6.32.12/arch/x86/kernel/efi_32.c 2010-03-15 11:52:04.000000000 -0400
10180+++ linux-2.6.32.11/arch/x86/kernel/efi_32.c 2010-04-04 20:46:41.517551870 -0400 10306+++ linux-2.6.32.12/arch/x86/kernel/efi_32.c 2010-04-04 20:46:41.517551870 -0400
10181@@ -38,70 +38,38 @@ 10307@@ -38,70 +38,38 @@
10182 */ 10308 */
10183 10309
@@ -10258,9 +10384,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/efi_32.c linux-2.6.32.11/arch/x86/ker
10258 10384
10259 /* 10385 /*
10260 * After the lock is released, the original page table is restored. 10386 * After the lock is released, the original page table is restored.
10261diff -urNp linux-2.6.32.11/arch/x86/kernel/efi_stub_32.S linux-2.6.32.11/arch/x86/kernel/efi_stub_32.S 10387diff -urNp linux-2.6.32.12/arch/x86/kernel/efi_stub_32.S linux-2.6.32.12/arch/x86/kernel/efi_stub_32.S
10262--- linux-2.6.32.11/arch/x86/kernel/efi_stub_32.S 2010-03-15 11:52:04.000000000 -0400 10388--- linux-2.6.32.12/arch/x86/kernel/efi_stub_32.S 2010-03-15 11:52:04.000000000 -0400
10263+++ linux-2.6.32.11/arch/x86/kernel/efi_stub_32.S 2010-04-04 20:46:41.517551870 -0400 10389+++ linux-2.6.32.12/arch/x86/kernel/efi_stub_32.S 2010-04-04 20:46:41.517551870 -0400
10264@@ -6,6 +6,7 @@ 10390@@ -6,6 +6,7 @@
10265 */ 10391 */
10266 10392
@@ -10359,9 +10485,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/efi_stub_32.S linux-2.6.32.11/arch/x8
10359 saved_return_addr: 10485 saved_return_addr:
10360 .long 0 10486 .long 0
10361 efi_rt_function_ptr: 10487 efi_rt_function_ptr:
10362diff -urNp linux-2.6.32.11/arch/x86/kernel/entry_32.S linux-2.6.32.11/arch/x86/kernel/entry_32.S 10488diff -urNp linux-2.6.32.12/arch/x86/kernel/entry_32.S linux-2.6.32.12/arch/x86/kernel/entry_32.S
10363--- linux-2.6.32.11/arch/x86/kernel/entry_32.S 2010-03-15 11:52:04.000000000 -0400 10489--- linux-2.6.32.12/arch/x86/kernel/entry_32.S 2010-03-15 11:52:04.000000000 -0400
10364+++ linux-2.6.32.11/arch/x86/kernel/entry_32.S 2010-04-04 20:47:28.952733264 -0400 10490+++ linux-2.6.32.12/arch/x86/kernel/entry_32.S 2010-04-04 20:47:28.952733264 -0400
10365@@ -191,7 +191,67 @@ 10491@@ -191,7 +191,67 @@
10366 10492
10367 #endif /* CONFIG_X86_32_LAZY_GS */ 10493 #endif /* CONFIG_X86_32_LAZY_GS */
@@ -10675,9 +10801,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/entry_32.S linux-2.6.32.11/arch/x86/k
10675 RESTORE_REGS 10801 RESTORE_REGS
10676 lss 12+4(%esp), %esp # back to espfix stack 10802 lss 12+4(%esp), %esp # back to espfix stack
10677 CFI_ADJUST_CFA_OFFSET -24 10803 CFI_ADJUST_CFA_OFFSET -24
10678diff -urNp linux-2.6.32.11/arch/x86/kernel/entry_64.S linux-2.6.32.11/arch/x86/kernel/entry_64.S 10804diff -urNp linux-2.6.32.12/arch/x86/kernel/entry_64.S linux-2.6.32.12/arch/x86/kernel/entry_64.S
10679--- linux-2.6.32.11/arch/x86/kernel/entry_64.S 2010-03-15 11:52:04.000000000 -0400 10805--- linux-2.6.32.12/arch/x86/kernel/entry_64.S 2010-03-15 11:52:04.000000000 -0400
10680+++ linux-2.6.32.11/arch/x86/kernel/entry_64.S 2010-04-07 16:58:23.343008831 -0400 10806+++ linux-2.6.32.12/arch/x86/kernel/entry_64.S 2010-04-07 16:58:23.343008831 -0400
10681@@ -53,6 +53,7 @@ 10807@@ -53,6 +53,7 @@
10682 #include <asm/paravirt.h> 10808 #include <asm/paravirt.h>
10683 #include <asm/ftrace.h> 10809 #include <asm/ftrace.h>
@@ -11074,9 +11200,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/entry_64.S linux-2.6.32.11/arch/x86/k
11074 RESTORE_ALL 8 11200 RESTORE_ALL 8
11075 jmp irq_return 11201 jmp irq_return
11076 nmi_userspace: 11202 nmi_userspace:
11077diff -urNp linux-2.6.32.11/arch/x86/kernel/ftrace.c linux-2.6.32.11/arch/x86/kernel/ftrace.c 11203diff -urNp linux-2.6.32.12/arch/x86/kernel/ftrace.c linux-2.6.32.12/arch/x86/kernel/ftrace.c
11078--- linux-2.6.32.11/arch/x86/kernel/ftrace.c 2010-03-15 11:52:04.000000000 -0400 11204--- linux-2.6.32.12/arch/x86/kernel/ftrace.c 2010-03-15 11:52:04.000000000 -0400
11079+++ linux-2.6.32.11/arch/x86/kernel/ftrace.c 2010-04-04 20:46:41.517551870 -0400 11205+++ linux-2.6.32.12/arch/x86/kernel/ftrace.c 2010-04-04 20:46:41.517551870 -0400
11080@@ -149,7 +149,9 @@ void ftrace_nmi_enter(void) 11206@@ -149,7 +149,9 @@ void ftrace_nmi_enter(void)
11081 { 11207 {
11082 if (atomic_inc_return(&nmi_running) & MOD_CODE_WRITE_FLAG) { 11208 if (atomic_inc_return(&nmi_running) & MOD_CODE_WRITE_FLAG) {
@@ -11142,9 +11268,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/ftrace.c linux-2.6.32.11/arch/x86/ker
11142 if (probe_kernel_read(code, (void *)ip, MCOUNT_INSN_SIZE)) 11268 if (probe_kernel_read(code, (void *)ip, MCOUNT_INSN_SIZE))
11143 return -EFAULT; 11269 return -EFAULT;
11144 11270
11145diff -urNp linux-2.6.32.11/arch/x86/kernel/head32.c linux-2.6.32.11/arch/x86/kernel/head32.c 11271diff -urNp linux-2.6.32.12/arch/x86/kernel/head32.c linux-2.6.32.12/arch/x86/kernel/head32.c
11146--- linux-2.6.32.11/arch/x86/kernel/head32.c 2010-03-15 11:52:04.000000000 -0400 11272--- linux-2.6.32.12/arch/x86/kernel/head32.c 2010-03-15 11:52:04.000000000 -0400
11147+++ linux-2.6.32.11/arch/x86/kernel/head32.c 2010-04-04 20:46:41.517551870 -0400 11273+++ linux-2.6.32.12/arch/x86/kernel/head32.c 2010-04-04 20:46:41.517551870 -0400
11148@@ -16,6 +16,7 @@ 11274@@ -16,6 +16,7 @@
11149 #include <asm/apic.h> 11275 #include <asm/apic.h>
11150 #include <asm/io_apic.h> 11276 #include <asm/io_apic.h>
@@ -11162,9 +11288,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/head32.c linux-2.6.32.11/arch/x86/ker
11162 11288
11163 #ifdef CONFIG_BLK_DEV_INITRD 11289 #ifdef CONFIG_BLK_DEV_INITRD
11164 /* Reserve INITRD */ 11290 /* Reserve INITRD */
11165diff -urNp linux-2.6.32.11/arch/x86/kernel/head_32.S linux-2.6.32.11/arch/x86/kernel/head_32.S 11291diff -urNp linux-2.6.32.12/arch/x86/kernel/head_32.S linux-2.6.32.12/arch/x86/kernel/head_32.S
11166--- linux-2.6.32.11/arch/x86/kernel/head_32.S 2010-03-15 11:52:04.000000000 -0400 11292--- linux-2.6.32.12/arch/x86/kernel/head_32.S 2010-03-15 11:52:04.000000000 -0400
11167+++ linux-2.6.32.11/arch/x86/kernel/head_32.S 2010-04-04 20:58:33.220592413 -0400 11293+++ linux-2.6.32.12/arch/x86/kernel/head_32.S 2010-04-04 20:58:33.220592413 -0400
11168@@ -19,10 +19,17 @@ 11294@@ -19,10 +19,17 @@
11169 #include <asm/setup.h> 11295 #include <asm/setup.h>
11170 #include <asm/processor-flags.h> 11296 #include <asm/processor-flags.h>
@@ -11606,9 +11732,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/head_32.S linux-2.6.32.11/arch/x86/ke
11606+ /* Be sure this is zeroed to avoid false validations in Xen */ 11732+ /* Be sure this is zeroed to avoid false validations in Xen */
11607+ .fill PAGE_SIZE_asm - GDT_SIZE,1,0 11733+ .fill PAGE_SIZE_asm - GDT_SIZE,1,0
11608+ .endr 11734+ .endr
11609diff -urNp linux-2.6.32.11/arch/x86/kernel/head64.c linux-2.6.32.11/arch/x86/kernel/head64.c 11735diff -urNp linux-2.6.32.12/arch/x86/kernel/head64.c linux-2.6.32.12/arch/x86/kernel/head64.c
11610--- linux-2.6.32.11/arch/x86/kernel/head64.c 2010-03-15 11:52:04.000000000 -0400 11736--- linux-2.6.32.12/arch/x86/kernel/head64.c 2010-03-15 11:52:04.000000000 -0400
11611+++ linux-2.6.32.11/arch/x86/kernel/head64.c 2010-04-04 20:58:33.225084964 -0400 11737+++ linux-2.6.32.12/arch/x86/kernel/head64.c 2010-04-04 20:58:33.225084964 -0400
11612@@ -29,7 +29,13 @@ 11738@@ -29,7 +29,13 @@
11613 static void __init zap_identity_mappings(void) 11739 static void __init zap_identity_mappings(void)
11614 { 11740 {
@@ -11623,9 +11749,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/head64.c linux-2.6.32.11/arch/x86/ker
11623 __flush_tlb_all(); 11749 __flush_tlb_all();
11624 } 11750 }
11625 11751
11626diff -urNp linux-2.6.32.11/arch/x86/kernel/head_64.S linux-2.6.32.11/arch/x86/kernel/head_64.S 11752diff -urNp linux-2.6.32.12/arch/x86/kernel/head_64.S linux-2.6.32.12/arch/x86/kernel/head_64.S
11627--- linux-2.6.32.11/arch/x86/kernel/head_64.S 2010-03-15 11:52:04.000000000 -0400 11753--- linux-2.6.32.12/arch/x86/kernel/head_64.S 2010-03-15 11:52:04.000000000 -0400
11628+++ linux-2.6.32.11/arch/x86/kernel/head_64.S 2010-04-04 20:58:33.220592413 -0400 11754+++ linux-2.6.32.12/arch/x86/kernel/head_64.S 2010-04-04 20:58:33.220592413 -0400
11629@@ -19,6 +19,7 @@ 11755@@ -19,6 +19,7 @@
11630 #include <asm/cache.h> 11756 #include <asm/cache.h>
11631 #include <asm/processor-flags.h> 11757 #include <asm/processor-flags.h>
@@ -11896,9 +12022,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/head_64.S linux-2.6.32.11/arch/x86/ke
11896 12022
11897 __PAGE_ALIGNED_BSS 12023 __PAGE_ALIGNED_BSS
11898 .align PAGE_SIZE 12024 .align PAGE_SIZE
11899diff -urNp linux-2.6.32.11/arch/x86/kernel/i386_ksyms_32.c linux-2.6.32.11/arch/x86/kernel/i386_ksyms_32.c 12025diff -urNp linux-2.6.32.12/arch/x86/kernel/i386_ksyms_32.c linux-2.6.32.12/arch/x86/kernel/i386_ksyms_32.c
11900--- linux-2.6.32.11/arch/x86/kernel/i386_ksyms_32.c 2010-03-15 11:52:04.000000000 -0400 12026--- linux-2.6.32.12/arch/x86/kernel/i386_ksyms_32.c 2010-03-15 11:52:04.000000000 -0400
11901+++ linux-2.6.32.11/arch/x86/kernel/i386_ksyms_32.c 2010-04-04 20:46:41.517551870 -0400 12027+++ linux-2.6.32.12/arch/x86/kernel/i386_ksyms_32.c 2010-04-04 20:46:41.517551870 -0400
11902@@ -20,8 +20,12 @@ extern void cmpxchg8b_emu(void); 12028@@ -20,8 +20,12 @@ extern void cmpxchg8b_emu(void);
11903 EXPORT_SYMBOL(cmpxchg8b_emu); 12029 EXPORT_SYMBOL(cmpxchg8b_emu);
11904 #endif 12030 #endif
@@ -11920,9 +12046,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/i386_ksyms_32.c linux-2.6.32.11/arch/
11920+#ifdef CONFIG_PAX_KERNEXEC 12046+#ifdef CONFIG_PAX_KERNEXEC
11921+EXPORT_SYMBOL(__LOAD_PHYSICAL_ADDR); 12047+EXPORT_SYMBOL(__LOAD_PHYSICAL_ADDR);
11922+#endif 12048+#endif
11923diff -urNp linux-2.6.32.11/arch/x86/kernel/init_task.c linux-2.6.32.11/arch/x86/kernel/init_task.c 12049diff -urNp linux-2.6.32.12/arch/x86/kernel/init_task.c linux-2.6.32.12/arch/x86/kernel/init_task.c
11924--- linux-2.6.32.11/arch/x86/kernel/init_task.c 2010-03-15 11:52:04.000000000 -0400 12050--- linux-2.6.32.12/arch/x86/kernel/init_task.c 2010-03-15 11:52:04.000000000 -0400
11925+++ linux-2.6.32.11/arch/x86/kernel/init_task.c 2010-04-04 20:46:41.517551870 -0400 12051+++ linux-2.6.32.12/arch/x86/kernel/init_task.c 2010-04-04 20:46:41.517551870 -0400
11926@@ -38,5 +38,5 @@ EXPORT_SYMBOL(init_task); 12052@@ -38,5 +38,5 @@ EXPORT_SYMBOL(init_task);
11927 * section. Since TSS's are completely CPU-local, we want them 12053 * section. Since TSS's are completely CPU-local, we want them
11928 * on exact cacheline boundaries, to eliminate cacheline ping-pong. 12054 * on exact cacheline boundaries, to eliminate cacheline ping-pong.
@@ -11931,9 +12057,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/init_task.c linux-2.6.32.11/arch/x86/
11931- 12057-
11932+struct tss_struct init_tss[NR_CPUS] ____cacheline_internodealigned_in_smp = { [0 ... NR_CPUS-1] = INIT_TSS }; 12058+struct tss_struct init_tss[NR_CPUS] ____cacheline_internodealigned_in_smp = { [0 ... NR_CPUS-1] = INIT_TSS };
11933+EXPORT_SYMBOL(init_tss); 12059+EXPORT_SYMBOL(init_tss);
11934diff -urNp linux-2.6.32.11/arch/x86/kernel/ioport.c linux-2.6.32.11/arch/x86/kernel/ioport.c 12060diff -urNp linux-2.6.32.12/arch/x86/kernel/ioport.c linux-2.6.32.12/arch/x86/kernel/ioport.c
11935--- linux-2.6.32.11/arch/x86/kernel/ioport.c 2010-03-15 11:52:04.000000000 -0400 12061--- linux-2.6.32.12/arch/x86/kernel/ioport.c 2010-03-15 11:52:04.000000000 -0400
11936+++ linux-2.6.32.11/arch/x86/kernel/ioport.c 2010-04-04 20:46:41.517551870 -0400 12062+++ linux-2.6.32.12/arch/x86/kernel/ioport.c 2010-04-04 20:46:41.517551870 -0400
11937@@ -6,6 +6,7 @@ 12063@@ -6,6 +6,7 @@
11938 #include <linux/sched.h> 12064 #include <linux/sched.h>
11939 #include <linux/kernel.h> 12065 #include <linux/kernel.h>
@@ -11978,9 +12104,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/ioport.c linux-2.6.32.11/arch/x86/ker
11978 } 12104 }
11979 regs->flags = (regs->flags & ~X86_EFLAGS_IOPL) | (level << 12); 12105 regs->flags = (regs->flags & ~X86_EFLAGS_IOPL) | (level << 12);
11980 12106
11981diff -urNp linux-2.6.32.11/arch/x86/kernel/irq_32.c linux-2.6.32.11/arch/x86/kernel/irq_32.c 12107diff -urNp linux-2.6.32.12/arch/x86/kernel/irq_32.c linux-2.6.32.12/arch/x86/kernel/irq_32.c
11982--- linux-2.6.32.11/arch/x86/kernel/irq_32.c 2010-03-15 11:52:04.000000000 -0400 12108--- linux-2.6.32.12/arch/x86/kernel/irq_32.c 2010-03-15 11:52:04.000000000 -0400
11983+++ linux-2.6.32.11/arch/x86/kernel/irq_32.c 2010-04-04 20:46:41.521777445 -0400 12109+++ linux-2.6.32.12/arch/x86/kernel/irq_32.c 2010-04-04 20:46:41.521777445 -0400
11984@@ -94,7 +94,7 @@ execute_on_irq_stack(int overflow, struc 12110@@ -94,7 +94,7 @@ execute_on_irq_stack(int overflow, struc
11985 return 0; 12111 return 0;
11986 12112
@@ -11999,9 +12125,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/irq_32.c linux-2.6.32.11/arch/x86/ker
11999 12125
12000 call_on_stack(__do_softirq, isp); 12126 call_on_stack(__do_softirq, isp);
12001 /* 12127 /*
12002diff -urNp linux-2.6.32.11/arch/x86/kernel/kgdb.c linux-2.6.32.11/arch/x86/kernel/kgdb.c 12128diff -urNp linux-2.6.32.12/arch/x86/kernel/kgdb.c linux-2.6.32.12/arch/x86/kernel/kgdb.c
12003--- linux-2.6.32.11/arch/x86/kernel/kgdb.c 2010-03-15 11:52:04.000000000 -0400 12129--- linux-2.6.32.12/arch/x86/kernel/kgdb.c 2010-03-15 11:52:04.000000000 -0400
12004+++ linux-2.6.32.11/arch/x86/kernel/kgdb.c 2010-04-04 20:46:41.521777445 -0400 12130+++ linux-2.6.32.12/arch/x86/kernel/kgdb.c 2010-04-04 20:46:41.521777445 -0400
12005@@ -573,7 +573,7 @@ unsigned long kgdb_arch_pc(int exception 12131@@ -573,7 +573,7 @@ unsigned long kgdb_arch_pc(int exception
12006 return instruction_pointer(regs); 12132 return instruction_pointer(regs);
12007 } 12133 }
@@ -12011,9 +12137,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/kgdb.c linux-2.6.32.11/arch/x86/kerne
12011 /* Breakpoint instruction: */ 12137 /* Breakpoint instruction: */
12012 .gdb_bpt_instr = { 0xcc }, 12138 .gdb_bpt_instr = { 0xcc },
12013 .flags = KGDB_HW_BREAKPOINT, 12139 .flags = KGDB_HW_BREAKPOINT,
12014diff -urNp linux-2.6.32.11/arch/x86/kernel/kprobes.c linux-2.6.32.11/arch/x86/kernel/kprobes.c 12140diff -urNp linux-2.6.32.12/arch/x86/kernel/kprobes.c linux-2.6.32.12/arch/x86/kernel/kprobes.c
12015--- linux-2.6.32.11/arch/x86/kernel/kprobes.c 2010-03-15 11:52:04.000000000 -0400 12141--- linux-2.6.32.12/arch/x86/kernel/kprobes.c 2010-03-15 11:52:04.000000000 -0400
12016+++ linux-2.6.32.11/arch/x86/kernel/kprobes.c 2010-04-04 20:46:41.521777445 -0400 12142+++ linux-2.6.32.12/arch/x86/kernel/kprobes.c 2010-04-04 20:46:41.521777445 -0400
12017@@ -166,9 +166,13 @@ static void __kprobes set_jmp_op(void *f 12143@@ -166,9 +166,13 @@ static void __kprobes set_jmp_op(void *f
12018 char op; 12144 char op;
12019 s32 raddr; 12145 s32 raddr;
@@ -12096,9 +12222,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/kprobes.c linux-2.6.32.11/arch/x86/ke
12096 return ret; 12222 return ret;
12097 12223
12098 switch (val) { 12224 switch (val) {
12099diff -urNp linux-2.6.32.11/arch/x86/kernel/ldt.c linux-2.6.32.11/arch/x86/kernel/ldt.c 12225diff -urNp linux-2.6.32.12/arch/x86/kernel/ldt.c linux-2.6.32.12/arch/x86/kernel/ldt.c
12100--- linux-2.6.32.11/arch/x86/kernel/ldt.c 2010-03-15 11:52:04.000000000 -0400 12226--- linux-2.6.32.12/arch/x86/kernel/ldt.c 2010-03-15 11:52:04.000000000 -0400
12101+++ linux-2.6.32.11/arch/x86/kernel/ldt.c 2010-04-04 20:46:41.521777445 -0400 12227+++ linux-2.6.32.12/arch/x86/kernel/ldt.c 2010-04-04 20:46:41.521777445 -0400
12102@@ -66,13 +66,13 @@ static int alloc_ldt(mm_context_t *pc, i 12228@@ -66,13 +66,13 @@ static int alloc_ldt(mm_context_t *pc, i
12103 if (reload) { 12229 if (reload) {
12104 #ifdef CONFIG_SMP 12230 #ifdef CONFIG_SMP
@@ -12163,9 +12289,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/ldt.c linux-2.6.32.11/arch/x86/kernel
12163 fill_ldt(&ldt, &ldt_info); 12289 fill_ldt(&ldt, &ldt_info);
12164 if (oldmode) 12290 if (oldmode)
12165 ldt.avl = 0; 12291 ldt.avl = 0;
12166diff -urNp linux-2.6.32.11/arch/x86/kernel/machine_kexec_32.c linux-2.6.32.11/arch/x86/kernel/machine_kexec_32.c 12292diff -urNp linux-2.6.32.12/arch/x86/kernel/machine_kexec_32.c linux-2.6.32.12/arch/x86/kernel/machine_kexec_32.c
12167--- linux-2.6.32.11/arch/x86/kernel/machine_kexec_32.c 2010-03-15 11:52:04.000000000 -0400 12293--- linux-2.6.32.12/arch/x86/kernel/machine_kexec_32.c 2010-03-15 11:52:04.000000000 -0400
12168+++ linux-2.6.32.11/arch/x86/kernel/machine_kexec_32.c 2010-04-04 20:46:41.521777445 -0400 12294+++ linux-2.6.32.12/arch/x86/kernel/machine_kexec_32.c 2010-04-04 20:46:41.521777445 -0400
12169@@ -26,7 +26,7 @@ 12295@@ -26,7 +26,7 @@
12170 #include <asm/system.h> 12296 #include <asm/system.h>
12171 #include <asm/cacheflush.h> 12297 #include <asm/cacheflush.h>
@@ -12193,9 +12319,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/machine_kexec_32.c linux-2.6.32.11/ar
12193 12319
12194 relocate_kernel_ptr = control_page; 12320 relocate_kernel_ptr = control_page;
12195 page_list[PA_CONTROL_PAGE] = __pa(control_page); 12321 page_list[PA_CONTROL_PAGE] = __pa(control_page);
12196diff -urNp linux-2.6.32.11/arch/x86/kernel/machine_kexec_64.c linux-2.6.32.11/arch/x86/kernel/machine_kexec_64.c 12322diff -urNp linux-2.6.32.12/arch/x86/kernel/machine_kexec_64.c linux-2.6.32.12/arch/x86/kernel/machine_kexec_64.c
12197--- linux-2.6.32.11/arch/x86/kernel/machine_kexec_64.c 2010-03-15 11:52:04.000000000 -0400 12323--- linux-2.6.32.12/arch/x86/kernel/machine_kexec_64.c 2010-03-15 11:52:04.000000000 -0400
12198+++ linux-2.6.32.11/arch/x86/kernel/machine_kexec_64.c 2010-04-04 20:58:33.225084964 -0400 12324+++ linux-2.6.32.12/arch/x86/kernel/machine_kexec_64.c 2010-04-04 20:58:33.225084964 -0400
12199@@ -126,7 +126,13 @@ static int init_level4_page(struct kimag 12325@@ -126,7 +126,13 @@ static int init_level4_page(struct kimag
12200 } 12326 }
12201 /* clear the unused entries */ 12327 /* clear the unused entries */
@@ -12210,9 +12336,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/machine_kexec_64.c linux-2.6.32.11/ar
12210 addr += PGDIR_SIZE; 12336 addr += PGDIR_SIZE;
12211 } 12337 }
12212 out: 12338 out:
12213diff -urNp linux-2.6.32.11/arch/x86/kernel/microcode_amd.c linux-2.6.32.11/arch/x86/kernel/microcode_amd.c 12339diff -urNp linux-2.6.32.12/arch/x86/kernel/microcode_amd.c linux-2.6.32.12/arch/x86/kernel/microcode_amd.c
12214--- linux-2.6.32.11/arch/x86/kernel/microcode_amd.c 2010-03-15 11:52:04.000000000 -0400 12340--- linux-2.6.32.12/arch/x86/kernel/microcode_amd.c 2010-03-15 11:52:04.000000000 -0400
12215+++ linux-2.6.32.11/arch/x86/kernel/microcode_amd.c 2010-04-04 20:46:41.521777445 -0400 12341+++ linux-2.6.32.12/arch/x86/kernel/microcode_amd.c 2010-04-04 20:46:41.521777445 -0400
12216@@ -346,7 +346,7 @@ static void microcode_fini_cpu_amd(int c 12342@@ -346,7 +346,7 @@ static void microcode_fini_cpu_amd(int c
12217 uci->mc = NULL; 12343 uci->mc = NULL;
12218 } 12344 }
@@ -12231,9 +12357,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/microcode_amd.c linux-2.6.32.11/arch/
12231 { 12357 {
12232 return &microcode_amd_ops; 12358 return &microcode_amd_ops;
12233 } 12359 }
12234diff -urNp linux-2.6.32.11/arch/x86/kernel/microcode_core.c linux-2.6.32.11/arch/x86/kernel/microcode_core.c 12360diff -urNp linux-2.6.32.12/arch/x86/kernel/microcode_core.c linux-2.6.32.12/arch/x86/kernel/microcode_core.c
12235--- linux-2.6.32.11/arch/x86/kernel/microcode_core.c 2010-03-15 11:52:04.000000000 -0400 12361--- linux-2.6.32.12/arch/x86/kernel/microcode_core.c 2010-03-15 11:52:04.000000000 -0400
12236+++ linux-2.6.32.11/arch/x86/kernel/microcode_core.c 2010-04-04 20:46:41.521777445 -0400 12362+++ linux-2.6.32.12/arch/x86/kernel/microcode_core.c 2010-04-04 20:46:41.521777445 -0400
12237@@ -90,7 +90,7 @@ MODULE_LICENSE("GPL"); 12363@@ -90,7 +90,7 @@ MODULE_LICENSE("GPL");
12238 12364
12239 #define MICROCODE_VERSION "2.00" 12365 #define MICROCODE_VERSION "2.00"
@@ -12243,9 +12369,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/microcode_core.c linux-2.6.32.11/arch
12243 12369
12244 /* 12370 /*
12245 * Synchronization. 12371 * Synchronization.
12246diff -urNp linux-2.6.32.11/arch/x86/kernel/microcode_intel.c linux-2.6.32.11/arch/x86/kernel/microcode_intel.c 12372diff -urNp linux-2.6.32.12/arch/x86/kernel/microcode_intel.c linux-2.6.32.12/arch/x86/kernel/microcode_intel.c
12247--- linux-2.6.32.11/arch/x86/kernel/microcode_intel.c 2010-03-15 11:52:04.000000000 -0400 12373--- linux-2.6.32.12/arch/x86/kernel/microcode_intel.c 2010-03-15 11:52:04.000000000 -0400
12248+++ linux-2.6.32.11/arch/x86/kernel/microcode_intel.c 2010-04-04 20:46:41.521777445 -0400 12374+++ linux-2.6.32.12/arch/x86/kernel/microcode_intel.c 2010-04-04 20:46:41.521777445 -0400
12249@@ -443,13 +443,13 @@ static enum ucode_state request_microcod 12375@@ -443,13 +443,13 @@ static enum ucode_state request_microcod
12250 12376
12251 static int get_ucode_user(void *to, const void *from, size_t n) 12377 static int get_ucode_user(void *to, const void *from, size_t n)
@@ -12280,9 +12406,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/microcode_intel.c linux-2.6.32.11/arc
12280 { 12406 {
12281 return &microcode_intel_ops; 12407 return &microcode_intel_ops;
12282 } 12408 }
12283diff -urNp linux-2.6.32.11/arch/x86/kernel/module.c linux-2.6.32.11/arch/x86/kernel/module.c 12409diff -urNp linux-2.6.32.12/arch/x86/kernel/module.c linux-2.6.32.12/arch/x86/kernel/module.c
12284--- linux-2.6.32.11/arch/x86/kernel/module.c 2010-03-15 11:52:04.000000000 -0400 12410--- linux-2.6.32.12/arch/x86/kernel/module.c 2010-03-15 11:52:04.000000000 -0400
12285+++ linux-2.6.32.11/arch/x86/kernel/module.c 2010-04-04 20:46:41.521777445 -0400 12411+++ linux-2.6.32.12/arch/x86/kernel/module.c 2010-04-04 20:46:41.521777445 -0400
12286@@ -34,7 +34,7 @@ 12412@@ -34,7 +34,7 @@
12287 #define DEBUGP(fmt...) 12413 #define DEBUGP(fmt...)
12288 #endif 12414 #endif
@@ -12423,37 +12549,36 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/module.c linux-2.6.32.11/arch/x86/ker
12423 #if 0 12549 #if 0
12424 if ((s64)val != *(s32 *)loc) 12550 if ((s64)val != *(s32 *)loc)
12425 goto overflow; 12551 goto overflow;
12426diff -urNp linux-2.6.32.11/arch/x86/kernel/paravirt.c linux-2.6.32.11/arch/x86/kernel/paravirt.c 12552diff -urNp linux-2.6.32.12/arch/x86/kernel/paravirt.c linux-2.6.32.12/arch/x86/kernel/paravirt.c
12427--- linux-2.6.32.11/arch/x86/kernel/paravirt.c 2010-03-15 11:52:04.000000000 -0400 12553--- linux-2.6.32.12/arch/x86/kernel/paravirt.c 2010-03-15 11:52:04.000000000 -0400
12428+++ linux-2.6.32.11/arch/x86/kernel/paravirt.c 2010-04-04 20:46:41.521777445 -0400 12554+++ linux-2.6.32.12/arch/x86/kernel/paravirt.c 2010-04-29 17:46:36.865234674 -0400
12429@@ -120,9 +120,9 @@ unsigned paravirt_patch_jmp(void *insnbu 12555@@ -122,7 +122,7 @@ unsigned paravirt_patch_jmp(void *insnbu
12430
12431 /* Neat trick to map patch type back to the call within the
12432 * corresponding structure. */ 12556 * corresponding structure. */
12433-static void *get_call_destination(u8 type) 12557 static void *get_call_destination(u8 type)
12434+static const void *get_call_destination(u8 type)
12435 { 12558 {
12436- struct paravirt_patch_template tmpl = { 12559- struct paravirt_patch_template tmpl = {
12437+ const struct paravirt_patch_template tmpl = { 12560+ const struct paravirt_patch_template tmpl = {
12438 .pv_init_ops = pv_init_ops, 12561 .pv_init_ops = pv_init_ops,
12439 .pv_time_ops = pv_time_ops, 12562 .pv_time_ops = pv_time_ops,
12440 .pv_cpu_ops = pv_cpu_ops, 12563 .pv_cpu_ops = pv_cpu_ops,
12441@@ -133,13 +133,13 @@ static void *get_call_destination(u8 typ 12564@@ -145,14 +145,14 @@ unsigned paravirt_patch_default(u8 type,
12442 .pv_lock_ops = pv_lock_ops,
12443 #endif
12444 };
12445- return *((void **)&tmpl + type);
12446+ return *((const void **)&tmpl + type);
12447 }
12448
12449 unsigned paravirt_patch_default(u8 type, u16 clobbers, void *insnbuf,
12450 unsigned long addr, unsigned len)
12451 {
12452- void *opfunc = get_call_destination(type);
12453+ const void *opfunc = get_call_destination(type);
12454 unsigned ret;
12455
12456 if (opfunc == NULL) 12565 if (opfunc == NULL)
12566 /* If there's no function, patch it with a ud2a (BUG) */
12567 ret = paravirt_patch_insns(insnbuf, len, ud2a, ud2a+sizeof(ud2a));
12568- else if (opfunc == _paravirt_nop)
12569+ else if (opfunc == (void *)_paravirt_nop)
12570 /* If the operation is a nop, then nop the callsite */
12571 ret = paravirt_patch_nop();
12572
12573 /* identity functions just return their single argument */
12574- else if (opfunc == _paravirt_ident_32)
12575+ else if (opfunc == (void *)_paravirt_ident_32)
12576 ret = paravirt_patch_ident_32(insnbuf, len);
12577- else if (opfunc == _paravirt_ident_64)
12578+ else if (opfunc == (void *)_paravirt_ident_64)
12579 ret = paravirt_patch_ident_64(insnbuf, len);
12580
12581 else if (type == PARAVIRT_PATCH(pv_cpu_ops.iret) ||
12457@@ -178,7 +178,7 @@ unsigned paravirt_patch_insns(void *insn 12582@@ -178,7 +178,7 @@ unsigned paravirt_patch_insns(void *insn
12458 if (insn_len > len || start == NULL) 12583 if (insn_len > len || start == NULL)
12459 insn_len = len; 12584 insn_len = len;
@@ -12530,9 +12655,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/paravirt.c linux-2.6.32.11/arch/x86/k
12530 }; 12655 };
12531 12656
12532 EXPORT_SYMBOL_GPL(pv_time_ops); 12657 EXPORT_SYMBOL_GPL(pv_time_ops);
12533diff -urNp linux-2.6.32.11/arch/x86/kernel/paravirt-spinlocks.c linux-2.6.32.11/arch/x86/kernel/paravirt-spinlocks.c 12658diff -urNp linux-2.6.32.12/arch/x86/kernel/paravirt-spinlocks.c linux-2.6.32.12/arch/x86/kernel/paravirt-spinlocks.c
12534--- linux-2.6.32.11/arch/x86/kernel/paravirt-spinlocks.c 2010-03-15 11:52:04.000000000 -0400 12659--- linux-2.6.32.12/arch/x86/kernel/paravirt-spinlocks.c 2010-03-15 11:52:04.000000000 -0400
12535+++ linux-2.6.32.11/arch/x86/kernel/paravirt-spinlocks.c 2010-04-04 20:46:41.521777445 -0400 12660+++ linux-2.6.32.12/arch/x86/kernel/paravirt-spinlocks.c 2010-04-04 20:46:41.521777445 -0400
12536@@ -13,7 +13,7 @@ default_spin_lock_flags(raw_spinlock_t * 12661@@ -13,7 +13,7 @@ default_spin_lock_flags(raw_spinlock_t *
12537 __raw_spin_lock(lock); 12662 __raw_spin_lock(lock);
12538 } 12663 }
@@ -12542,9 +12667,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/paravirt-spinlocks.c linux-2.6.32.11/
12542 #ifdef CONFIG_SMP 12667 #ifdef CONFIG_SMP
12543 .spin_is_locked = __ticket_spin_is_locked, 12668 .spin_is_locked = __ticket_spin_is_locked,
12544 .spin_is_contended = __ticket_spin_is_contended, 12669 .spin_is_contended = __ticket_spin_is_contended,
12545diff -urNp linux-2.6.32.11/arch/x86/kernel/pci-calgary_64.c linux-2.6.32.11/arch/x86/kernel/pci-calgary_64.c 12670diff -urNp linux-2.6.32.12/arch/x86/kernel/pci-calgary_64.c linux-2.6.32.12/arch/x86/kernel/pci-calgary_64.c
12546--- linux-2.6.32.11/arch/x86/kernel/pci-calgary_64.c 2010-03-15 11:52:04.000000000 -0400 12671--- linux-2.6.32.12/arch/x86/kernel/pci-calgary_64.c 2010-03-15 11:52:04.000000000 -0400
12547+++ linux-2.6.32.11/arch/x86/kernel/pci-calgary_64.c 2010-04-04 20:46:41.521777445 -0400 12672+++ linux-2.6.32.12/arch/x86/kernel/pci-calgary_64.c 2010-04-04 20:46:41.521777445 -0400
12548@@ -472,7 +472,7 @@ static void calgary_free_coherent(struct 12673@@ -472,7 +472,7 @@ static void calgary_free_coherent(struct
12549 free_pages((unsigned long)vaddr, get_order(size)); 12674 free_pages((unsigned long)vaddr, get_order(size));
12550 } 12675 }
@@ -12554,9 +12679,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/pci-calgary_64.c linux-2.6.32.11/arch
12554 .alloc_coherent = calgary_alloc_coherent, 12679 .alloc_coherent = calgary_alloc_coherent,
12555 .free_coherent = calgary_free_coherent, 12680 .free_coherent = calgary_free_coherent,
12556 .map_sg = calgary_map_sg, 12681 .map_sg = calgary_map_sg,
12557diff -urNp linux-2.6.32.11/arch/x86/kernel/pci-dma.c linux-2.6.32.11/arch/x86/kernel/pci-dma.c 12682diff -urNp linux-2.6.32.12/arch/x86/kernel/pci-dma.c linux-2.6.32.12/arch/x86/kernel/pci-dma.c
12558--- linux-2.6.32.11/arch/x86/kernel/pci-dma.c 2010-03-15 11:52:04.000000000 -0400 12683--- linux-2.6.32.12/arch/x86/kernel/pci-dma.c 2010-03-15 11:52:04.000000000 -0400
12559+++ linux-2.6.32.11/arch/x86/kernel/pci-dma.c 2010-04-04 20:46:41.521777445 -0400 12684+++ linux-2.6.32.12/arch/x86/kernel/pci-dma.c 2010-04-04 20:46:41.521777445 -0400
12560@@ -14,7 +14,7 @@ 12685@@ -14,7 +14,7 @@
12561 12686
12562 static int forbid_dac __read_mostly; 12687 static int forbid_dac __read_mostly;
@@ -12575,10 +12700,10 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/pci-dma.c linux-2.6.32.11/arch/x86/ke
12575 12700
12576 #ifdef CONFIG_PCI 12701 #ifdef CONFIG_PCI
12577 if (mask > 0xffffffff && forbid_dac > 0) { 12702 if (mask > 0xffffffff && forbid_dac > 0) {
12578diff -urNp linux-2.6.32.11/arch/x86/kernel/pci-gart_64.c linux-2.6.32.11/arch/x86/kernel/pci-gart_64.c 12703diff -urNp linux-2.6.32.12/arch/x86/kernel/pci-gart_64.c linux-2.6.32.12/arch/x86/kernel/pci-gart_64.c
12579--- linux-2.6.32.11/arch/x86/kernel/pci-gart_64.c 2010-03-15 11:52:04.000000000 -0400 12704--- linux-2.6.32.12/arch/x86/kernel/pci-gart_64.c 2010-04-29 17:49:37.537108997 -0400
12580+++ linux-2.6.32.11/arch/x86/kernel/pci-gart_64.c 2010-04-04 20:46:41.521777445 -0400 12705+++ linux-2.6.32.12/arch/x86/kernel/pci-gart_64.c 2010-04-29 17:49:57.989487280 -0400
12581@@ -679,7 +679,7 @@ static __init int init_k8_gatt(struct ag 12706@@ -682,7 +682,7 @@ static __init int init_k8_gatt(struct ag
12582 return -1; 12707 return -1;
12583 } 12708 }
12584 12709
@@ -12587,9 +12712,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/pci-gart_64.c linux-2.6.32.11/arch/x8
12587 .map_sg = gart_map_sg, 12712 .map_sg = gart_map_sg,
12588 .unmap_sg = gart_unmap_sg, 12713 .unmap_sg = gart_unmap_sg,
12589 .map_page = gart_map_page, 12714 .map_page = gart_map_page,
12590diff -urNp linux-2.6.32.11/arch/x86/kernel/pci-nommu.c linux-2.6.32.11/arch/x86/kernel/pci-nommu.c 12715diff -urNp linux-2.6.32.12/arch/x86/kernel/pci-nommu.c linux-2.6.32.12/arch/x86/kernel/pci-nommu.c
12591--- linux-2.6.32.11/arch/x86/kernel/pci-nommu.c 2010-03-15 11:52:04.000000000 -0400 12716--- linux-2.6.32.12/arch/x86/kernel/pci-nommu.c 2010-03-15 11:52:04.000000000 -0400
12592+++ linux-2.6.32.11/arch/x86/kernel/pci-nommu.c 2010-04-04 20:46:41.521777445 -0400 12717+++ linux-2.6.32.12/arch/x86/kernel/pci-nommu.c 2010-04-04 20:46:41.521777445 -0400
12593@@ -94,7 +94,7 @@ static void nommu_sync_sg_for_device(str 12718@@ -94,7 +94,7 @@ static void nommu_sync_sg_for_device(str
12594 flush_write_buffers(); 12719 flush_write_buffers();
12595 } 12720 }
@@ -12599,9 +12724,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/pci-nommu.c linux-2.6.32.11/arch/x86/
12599 .alloc_coherent = dma_generic_alloc_coherent, 12724 .alloc_coherent = dma_generic_alloc_coherent,
12600 .free_coherent = nommu_free_coherent, 12725 .free_coherent = nommu_free_coherent,
12601 .map_sg = nommu_map_sg, 12726 .map_sg = nommu_map_sg,
12602diff -urNp linux-2.6.32.11/arch/x86/kernel/pci-swiotlb.c linux-2.6.32.11/arch/x86/kernel/pci-swiotlb.c 12727diff -urNp linux-2.6.32.12/arch/x86/kernel/pci-swiotlb.c linux-2.6.32.12/arch/x86/kernel/pci-swiotlb.c
12603--- linux-2.6.32.11/arch/x86/kernel/pci-swiotlb.c 2010-03-15 11:52:04.000000000 -0400 12728--- linux-2.6.32.12/arch/x86/kernel/pci-swiotlb.c 2010-03-15 11:52:04.000000000 -0400
12604+++ linux-2.6.32.11/arch/x86/kernel/pci-swiotlb.c 2010-04-04 20:46:41.521777445 -0400 12729+++ linux-2.6.32.12/arch/x86/kernel/pci-swiotlb.c 2010-04-04 20:46:41.521777445 -0400
12605@@ -25,7 +25,7 @@ static void *x86_swiotlb_alloc_coherent( 12730@@ -25,7 +25,7 @@ static void *x86_swiotlb_alloc_coherent(
12606 return swiotlb_alloc_coherent(hwdev, size, dma_handle, flags); 12731 return swiotlb_alloc_coherent(hwdev, size, dma_handle, flags);
12607 } 12732 }
@@ -12611,9 +12736,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/pci-swiotlb.c linux-2.6.32.11/arch/x8
12611 .mapping_error = swiotlb_dma_mapping_error, 12736 .mapping_error = swiotlb_dma_mapping_error,
12612 .alloc_coherent = x86_swiotlb_alloc_coherent, 12737 .alloc_coherent = x86_swiotlb_alloc_coherent,
12613 .free_coherent = swiotlb_free_coherent, 12738 .free_coherent = swiotlb_free_coherent,
12614diff -urNp linux-2.6.32.11/arch/x86/kernel/process_32.c linux-2.6.32.11/arch/x86/kernel/process_32.c 12739diff -urNp linux-2.6.32.12/arch/x86/kernel/process_32.c linux-2.6.32.12/arch/x86/kernel/process_32.c
12615--- linux-2.6.32.11/arch/x86/kernel/process_32.c 2010-03-15 11:52:04.000000000 -0400 12740--- linux-2.6.32.12/arch/x86/kernel/process_32.c 2010-03-15 11:52:04.000000000 -0400
12616+++ linux-2.6.32.11/arch/x86/kernel/process_32.c 2010-04-04 20:46:41.521777445 -0400 12741+++ linux-2.6.32.12/arch/x86/kernel/process_32.c 2010-04-04 20:46:41.521777445 -0400
12617@@ -67,6 +67,7 @@ asmlinkage void ret_from_fork(void) __as 12742@@ -67,6 +67,7 @@ asmlinkage void ret_from_fork(void) __as
12618 unsigned long thread_saved_pc(struct task_struct *tsk) 12743 unsigned long thread_saved_pc(struct task_struct *tsk)
12619 { 12744 {
@@ -12708,9 +12833,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/process_32.c linux-2.6.32.11/arch/x86
12708+ load_sp0(init_tss + smp_processor_id(), thread); 12833+ load_sp0(init_tss + smp_processor_id(), thread);
12709+} 12834+}
12710+#endif 12835+#endif
12711diff -urNp linux-2.6.32.11/arch/x86/kernel/process_64.c linux-2.6.32.11/arch/x86/kernel/process_64.c 12836diff -urNp linux-2.6.32.12/arch/x86/kernel/process_64.c linux-2.6.32.12/arch/x86/kernel/process_64.c
12712--- linux-2.6.32.11/arch/x86/kernel/process_64.c 2010-04-04 20:41:49.920655481 -0400 12837--- linux-2.6.32.12/arch/x86/kernel/process_64.c 2010-04-04 20:41:49.920655481 -0400
12713+++ linux-2.6.32.11/arch/x86/kernel/process_64.c 2010-04-04 20:46:41.521777445 -0400 12838+++ linux-2.6.32.12/arch/x86/kernel/process_64.c 2010-04-04 20:46:41.521777445 -0400
12714@@ -91,7 +91,7 @@ static void __exit_idle(void) 12839@@ -91,7 +91,7 @@ static void __exit_idle(void)
12715 void exit_idle(void) 12840 void exit_idle(void)
12716 { 12841 {
@@ -12753,9 +12878,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/process_64.c linux-2.6.32.11/arch/x86
12753 return 0; 12878 return 0;
12754 ip = *(u64 *)(fp+8); 12879 ip = *(u64 *)(fp+8);
12755 if (!in_sched_functions(ip)) 12880 if (!in_sched_functions(ip))
12756diff -urNp linux-2.6.32.11/arch/x86/kernel/process.c linux-2.6.32.11/arch/x86/kernel/process.c 12881diff -urNp linux-2.6.32.12/arch/x86/kernel/process.c linux-2.6.32.12/arch/x86/kernel/process.c
12757--- linux-2.6.32.11/arch/x86/kernel/process.c 2010-04-04 20:41:49.920655481 -0400 12882--- linux-2.6.32.12/arch/x86/kernel/process.c 2010-04-04 20:41:49.920655481 -0400
12758+++ linux-2.6.32.11/arch/x86/kernel/process.c 2010-04-04 20:46:41.521777445 -0400 12883+++ linux-2.6.32.12/arch/x86/kernel/process.c 2010-04-04 20:46:41.521777445 -0400
12759@@ -73,7 +73,7 @@ void exit_thread(void) 12884@@ -73,7 +73,7 @@ void exit_thread(void)
12760 unsigned long *bp = t->io_bitmap_ptr; 12885 unsigned long *bp = t->io_bitmap_ptr;
12761 12886
@@ -12793,9 +12918,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/process.c linux-2.6.32.11/arch/x86/ke
12793- return randomize_range(mm->brk, range_end, 0) ? : mm->brk; 12918- return randomize_range(mm->brk, range_end, 0) ? : mm->brk;
12794-} 12919-}
12795- 12920-
12796diff -urNp linux-2.6.32.11/arch/x86/kernel/ptrace.c linux-2.6.32.11/arch/x86/kernel/ptrace.c 12921diff -urNp linux-2.6.32.12/arch/x86/kernel/ptrace.c linux-2.6.32.12/arch/x86/kernel/ptrace.c
12797--- linux-2.6.32.11/arch/x86/kernel/ptrace.c 2010-03-15 11:52:04.000000000 -0400 12922--- linux-2.6.32.12/arch/x86/kernel/ptrace.c 2010-03-15 11:52:04.000000000 -0400
12798+++ linux-2.6.32.11/arch/x86/kernel/ptrace.c 2010-04-04 20:46:41.525738446 -0400 12923+++ linux-2.6.32.12/arch/x86/kernel/ptrace.c 2010-04-04 20:46:41.525738446 -0400
12799@@ -925,7 +925,7 @@ static const struct user_regset_view use 12924@@ -925,7 +925,7 @@ static const struct user_regset_view use
12800 long arch_ptrace(struct task_struct *child, long request, long addr, long data) 12925 long arch_ptrace(struct task_struct *child, long request, long addr, long data)
12801 { 12926 {
@@ -12864,9 +12989,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/ptrace.c linux-2.6.32.11/arch/x86/ker
12864 12989
12865 /* Send us the fake SIGTRAP */ 12990 /* Send us the fake SIGTRAP */
12866 force_sig_info(SIGTRAP, &info, tsk); 12991 force_sig_info(SIGTRAP, &info, tsk);
12867diff -urNp linux-2.6.32.11/arch/x86/kernel/reboot.c linux-2.6.32.11/arch/x86/kernel/reboot.c 12992diff -urNp linux-2.6.32.12/arch/x86/kernel/reboot.c linux-2.6.32.12/arch/x86/kernel/reboot.c
12868--- linux-2.6.32.11/arch/x86/kernel/reboot.c 2010-03-15 11:52:04.000000000 -0400 12993--- linux-2.6.32.12/arch/x86/kernel/reboot.c 2010-03-15 11:52:04.000000000 -0400
12869+++ linux-2.6.32.11/arch/x86/kernel/reboot.c 2010-04-04 20:46:41.525738446 -0400 12994+++ linux-2.6.32.12/arch/x86/kernel/reboot.c 2010-04-04 20:46:41.525738446 -0400
12870@@ -33,7 +33,7 @@ void (*pm_power_off)(void); 12995@@ -33,7 +33,7 @@ void (*pm_power_off)(void);
12871 EXPORT_SYMBOL(pm_power_off); 12996 EXPORT_SYMBOL(pm_power_off);
12872 12997
@@ -12943,9 +13068,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/reboot.c linux-2.6.32.11/arch/x86/ker
12943 13068
12944 /* Set up the IDT for real mode. */ 13069 /* Set up the IDT for real mode. */
12945 load_idt(&real_mode_idt); 13070 load_idt(&real_mode_idt);
12946diff -urNp linux-2.6.32.11/arch/x86/kernel/setup.c linux-2.6.32.11/arch/x86/kernel/setup.c 13071diff -urNp linux-2.6.32.12/arch/x86/kernel/setup.c linux-2.6.32.12/arch/x86/kernel/setup.c
12947--- linux-2.6.32.11/arch/x86/kernel/setup.c 2010-03-15 11:52:04.000000000 -0400 13072--- linux-2.6.32.12/arch/x86/kernel/setup.c 2010-03-15 11:52:04.000000000 -0400
12948+++ linux-2.6.32.11/arch/x86/kernel/setup.c 2010-04-04 20:46:41.525738446 -0400 13073+++ linux-2.6.32.12/arch/x86/kernel/setup.c 2010-04-04 20:46:41.525738446 -0400
12949@@ -771,14 +771,14 @@ void __init setup_arch(char **cmdline_p) 13074@@ -771,14 +771,14 @@ void __init setup_arch(char **cmdline_p)
12950 13075
12951 if (!boot_params.hdr.root_flags) 13076 if (!boot_params.hdr.root_flags)
@@ -12966,9 +13091,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/setup.c linux-2.6.32.11/arch/x86/kern
12966 data_resource.end = virt_to_phys(_edata)-1; 13091 data_resource.end = virt_to_phys(_edata)-1;
12967 bss_resource.start = virt_to_phys(&__bss_start); 13092 bss_resource.start = virt_to_phys(&__bss_start);
12968 bss_resource.end = virt_to_phys(&__bss_stop)-1; 13093 bss_resource.end = virt_to_phys(&__bss_stop)-1;
12969diff -urNp linux-2.6.32.11/arch/x86/kernel/setup_percpu.c linux-2.6.32.11/arch/x86/kernel/setup_percpu.c 13094diff -urNp linux-2.6.32.12/arch/x86/kernel/setup_percpu.c linux-2.6.32.12/arch/x86/kernel/setup_percpu.c
12970--- linux-2.6.32.11/arch/x86/kernel/setup_percpu.c 2010-03-15 11:52:04.000000000 -0400 13095--- linux-2.6.32.12/arch/x86/kernel/setup_percpu.c 2010-03-15 11:52:04.000000000 -0400
12971+++ linux-2.6.32.11/arch/x86/kernel/setup_percpu.c 2010-04-04 20:46:41.525738446 -0400 13096+++ linux-2.6.32.12/arch/x86/kernel/setup_percpu.c 2010-04-04 20:46:41.525738446 -0400
12972@@ -25,19 +25,17 @@ 13097@@ -25,19 +25,17 @@
12973 # define DBG(x...) 13098 # define DBG(x...)
12974 #endif 13099 #endif
@@ -13031,9 +13156,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/setup_percpu.c linux-2.6.32.11/arch/x
13031 /* 13156 /*
13032 * Up to this point, the boot CPU has been using .data.init 13157 * Up to this point, the boot CPU has been using .data.init
13033 * area. Reload any changed state for the boot CPU. 13158 * area. Reload any changed state for the boot CPU.
13034diff -urNp linux-2.6.32.11/arch/x86/kernel/signal.c linux-2.6.32.11/arch/x86/kernel/signal.c 13159diff -urNp linux-2.6.32.12/arch/x86/kernel/signal.c linux-2.6.32.12/arch/x86/kernel/signal.c
13035--- linux-2.6.32.11/arch/x86/kernel/signal.c 2010-03-15 11:52:04.000000000 -0400 13160--- linux-2.6.32.12/arch/x86/kernel/signal.c 2010-03-15 11:52:04.000000000 -0400
13036+++ linux-2.6.32.11/arch/x86/kernel/signal.c 2010-04-04 20:46:41.525738446 -0400 13161+++ linux-2.6.32.12/arch/x86/kernel/signal.c 2010-04-04 20:46:41.525738446 -0400
13037@@ -197,7 +197,7 @@ static unsigned long align_sigframe(unsi 13162@@ -197,7 +197,7 @@ static unsigned long align_sigframe(unsi
13038 * Align the stack pointer according to the i386 ABI, 13163 * Align the stack pointer according to the i386 ABI,
13039 * i.e. so that on function entry ((sp + 4) & 15) == 0. 13164 * i.e. so that on function entry ((sp + 4) & 15) == 0.
@@ -13105,9 +13230,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/signal.c linux-2.6.32.11/arch/x86/ker
13105 return; 13230 return;
13106 13231
13107 if (current_thread_info()->status & TS_RESTORE_SIGMASK) 13232 if (current_thread_info()->status & TS_RESTORE_SIGMASK)
13108diff -urNp linux-2.6.32.11/arch/x86/kernel/smpboot.c linux-2.6.32.11/arch/x86/kernel/smpboot.c 13233diff -urNp linux-2.6.32.12/arch/x86/kernel/smpboot.c linux-2.6.32.12/arch/x86/kernel/smpboot.c
13109--- linux-2.6.32.11/arch/x86/kernel/smpboot.c 2010-04-04 20:41:49.920655481 -0400 13234--- linux-2.6.32.12/arch/x86/kernel/smpboot.c 2010-04-04 20:41:49.920655481 -0400
13110+++ linux-2.6.32.11/arch/x86/kernel/smpboot.c 2010-04-04 20:58:33.225084964 -0400 13235+++ linux-2.6.32.12/arch/x86/kernel/smpboot.c 2010-04-04 20:58:33.225084964 -0400
13111@@ -729,7 +729,11 @@ do_rest: 13236@@ -729,7 +729,11 @@ do_rest:
13112 (unsigned long)task_stack_page(c_idle.idle) - 13237 (unsigned long)task_stack_page(c_idle.idle) -
13113 KERNEL_STACK_OFFSET + THREAD_SIZE; 13238 KERNEL_STACK_OFFSET + THREAD_SIZE;
@@ -13133,9 +13258,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/smpboot.c linux-2.6.32.11/arch/x86/ke
13133 #ifdef CONFIG_X86_32 13258 #ifdef CONFIG_X86_32
13134 /* init low mem mapping */ 13259 /* init low mem mapping */
13135 clone_pgd_range(swapper_pg_dir, swapper_pg_dir + KERNEL_PGD_BOUNDARY, 13260 clone_pgd_range(swapper_pg_dir, swapper_pg_dir + KERNEL_PGD_BOUNDARY,
13136diff -urNp linux-2.6.32.11/arch/x86/kernel/step.c linux-2.6.32.11/arch/x86/kernel/step.c 13261diff -urNp linux-2.6.32.12/arch/x86/kernel/step.c linux-2.6.32.12/arch/x86/kernel/step.c
13137--- linux-2.6.32.11/arch/x86/kernel/step.c 2010-03-15 11:52:04.000000000 -0400 13262--- linux-2.6.32.12/arch/x86/kernel/step.c 2010-03-15 11:52:04.000000000 -0400
13138+++ linux-2.6.32.11/arch/x86/kernel/step.c 2010-04-04 20:46:41.525738446 -0400 13263+++ linux-2.6.32.12/arch/x86/kernel/step.c 2010-04-04 20:46:41.525738446 -0400
13139@@ -27,10 +27,10 @@ unsigned long convert_ip_to_linear(struc 13264@@ -27,10 +27,10 @@ unsigned long convert_ip_to_linear(struc
13140 struct desc_struct *desc; 13265 struct desc_struct *desc;
13141 unsigned long base; 13266 unsigned long base;
@@ -13168,17 +13293,17 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/step.c linux-2.6.32.11/arch/x86/kerne
13168 /* 32-bit mode: register increment */ 13293 /* 32-bit mode: register increment */
13169 return 0; 13294 return 0;
13170 /* 64-bit mode: REX prefix */ 13295 /* 64-bit mode: REX prefix */
13171diff -urNp linux-2.6.32.11/arch/x86/kernel/syscall_table_32.S linux-2.6.32.11/arch/x86/kernel/syscall_table_32.S 13296diff -urNp linux-2.6.32.12/arch/x86/kernel/syscall_table_32.S linux-2.6.32.12/arch/x86/kernel/syscall_table_32.S
13172--- linux-2.6.32.11/arch/x86/kernel/syscall_table_32.S 2010-03-15 11:52:04.000000000 -0400 13297--- linux-2.6.32.12/arch/x86/kernel/syscall_table_32.S 2010-03-15 11:52:04.000000000 -0400
13173+++ linux-2.6.32.11/arch/x86/kernel/syscall_table_32.S 2010-04-04 20:46:41.525738446 -0400 13298+++ linux-2.6.32.12/arch/x86/kernel/syscall_table_32.S 2010-04-04 20:46:41.525738446 -0400
13174@@ -1,3 +1,4 @@ 13299@@ -1,3 +1,4 @@
13175+.section .rodata,"a",@progbits 13300+.section .rodata,"a",@progbits
13176 ENTRY(sys_call_table) 13301 ENTRY(sys_call_table)
13177 .long sys_restart_syscall /* 0 - old "setup()" system call, used for restarting */ 13302 .long sys_restart_syscall /* 0 - old "setup()" system call, used for restarting */
13178 .long sys_exit 13303 .long sys_exit
13179diff -urNp linux-2.6.32.11/arch/x86/kernel/sys_i386_32.c linux-2.6.32.11/arch/x86/kernel/sys_i386_32.c 13304diff -urNp linux-2.6.32.12/arch/x86/kernel/sys_i386_32.c linux-2.6.32.12/arch/x86/kernel/sys_i386_32.c
13180--- linux-2.6.32.11/arch/x86/kernel/sys_i386_32.c 2010-03-15 11:52:04.000000000 -0400 13305--- linux-2.6.32.12/arch/x86/kernel/sys_i386_32.c 2010-03-15 11:52:04.000000000 -0400
13181+++ linux-2.6.32.11/arch/x86/kernel/sys_i386_32.c 2010-04-04 20:46:41.525738446 -0400 13306+++ linux-2.6.32.12/arch/x86/kernel/sys_i386_32.c 2010-04-04 20:46:41.525738446 -0400
13182@@ -24,6 +24,21 @@ 13307@@ -24,6 +24,21 @@
13183 13308
13184 #include <asm/syscalls.h> 13309 #include <asm/syscalls.h>
@@ -13425,9 +13550,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/sys_i386_32.c linux-2.6.32.11/arch/x8
13425 } 13550 }
13426 case 1: /* iBCS2 emulator entry point */ 13551 case 1: /* iBCS2 emulator entry point */
13427 if (!segment_eq(get_fs(), get_ds())) 13552 if (!segment_eq(get_fs(), get_ds()))
13428diff -urNp linux-2.6.32.11/arch/x86/kernel/sys_x86_64.c linux-2.6.32.11/arch/x86/kernel/sys_x86_64.c 13553diff -urNp linux-2.6.32.12/arch/x86/kernel/sys_x86_64.c linux-2.6.32.12/arch/x86/kernel/sys_x86_64.c
13429--- linux-2.6.32.11/arch/x86/kernel/sys_x86_64.c 2010-03-15 11:52:04.000000000 -0400 13554--- linux-2.6.32.12/arch/x86/kernel/sys_x86_64.c 2010-03-15 11:52:04.000000000 -0400
13430+++ linux-2.6.32.11/arch/x86/kernel/sys_x86_64.c 2010-04-04 20:46:41.525738446 -0400 13555+++ linux-2.6.32.12/arch/x86/kernel/sys_x86_64.c 2010-04-04 20:46:41.525738446 -0400
13431@@ -32,8 +32,8 @@ out: 13556@@ -32,8 +32,8 @@ out:
13432 return error; 13557 return error;
13433 } 13558 }
@@ -13509,9 +13634,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/sys_x86_64.c linux-2.6.32.11/arch/x86
13509 mm->cached_hole_size = ~0UL; 13634 mm->cached_hole_size = ~0UL;
13510 13635
13511 return addr; 13636 return addr;
13512diff -urNp linux-2.6.32.11/arch/x86/kernel/time.c linux-2.6.32.11/arch/x86/kernel/time.c 13637diff -urNp linux-2.6.32.12/arch/x86/kernel/time.c linux-2.6.32.12/arch/x86/kernel/time.c
13513--- linux-2.6.32.11/arch/x86/kernel/time.c 2010-03-15 11:52:04.000000000 -0400 13638--- linux-2.6.32.12/arch/x86/kernel/time.c 2010-03-15 11:52:04.000000000 -0400
13514+++ linux-2.6.32.11/arch/x86/kernel/time.c 2010-04-04 20:46:41.525738446 -0400 13639+++ linux-2.6.32.12/arch/x86/kernel/time.c 2010-04-04 20:46:41.525738446 -0400
13515@@ -26,17 +26,13 @@ 13640@@ -26,17 +26,13 @@
13516 int timer_ack; 13641 int timer_ack;
13517 #endif 13642 #endif
@@ -13550,9 +13675,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/time.c linux-2.6.32.11/arch/x86/kerne
13550 } 13675 }
13551 return pc; 13676 return pc;
13552 } 13677 }
13553diff -urNp linux-2.6.32.11/arch/x86/kernel/tls.c linux-2.6.32.11/arch/x86/kernel/tls.c 13678diff -urNp linux-2.6.32.12/arch/x86/kernel/tls.c linux-2.6.32.12/arch/x86/kernel/tls.c
13554--- linux-2.6.32.11/arch/x86/kernel/tls.c 2010-03-15 11:52:04.000000000 -0400 13679--- linux-2.6.32.12/arch/x86/kernel/tls.c 2010-03-15 11:52:04.000000000 -0400
13555+++ linux-2.6.32.11/arch/x86/kernel/tls.c 2010-04-04 20:46:41.525738446 -0400 13680+++ linux-2.6.32.12/arch/x86/kernel/tls.c 2010-04-04 20:46:41.525738446 -0400
13556@@ -85,6 +85,11 @@ int do_set_thread_area(struct task_struc 13681@@ -85,6 +85,11 @@ int do_set_thread_area(struct task_struc
13557 if (idx < GDT_ENTRY_TLS_MIN || idx > GDT_ENTRY_TLS_MAX) 13682 if (idx < GDT_ENTRY_TLS_MIN || idx > GDT_ENTRY_TLS_MAX)
13558 return -EINVAL; 13683 return -EINVAL;
@@ -13565,9 +13690,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/tls.c linux-2.6.32.11/arch/x86/kernel
13565 set_tls_desc(p, idx, &info, 1); 13690 set_tls_desc(p, idx, &info, 1);
13566 13691
13567 return 0; 13692 return 0;
13568diff -urNp linux-2.6.32.11/arch/x86/kernel/trampoline_32.S linux-2.6.32.11/arch/x86/kernel/trampoline_32.S 13693diff -urNp linux-2.6.32.12/arch/x86/kernel/trampoline_32.S linux-2.6.32.12/arch/x86/kernel/trampoline_32.S
13569--- linux-2.6.32.11/arch/x86/kernel/trampoline_32.S 2010-03-15 11:52:04.000000000 -0400 13694--- linux-2.6.32.12/arch/x86/kernel/trampoline_32.S 2010-03-15 11:52:04.000000000 -0400
13570+++ linux-2.6.32.11/arch/x86/kernel/trampoline_32.S 2010-04-04 20:46:41.525738446 -0400 13695+++ linux-2.6.32.12/arch/x86/kernel/trampoline_32.S 2010-04-04 20:46:41.525738446 -0400
13571@@ -32,6 +32,12 @@ 13696@@ -32,6 +32,12 @@
13572 #include <asm/segment.h> 13697 #include <asm/segment.h>
13573 #include <asm/page_types.h> 13698 #include <asm/page_types.h>
@@ -13590,9 +13715,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/trampoline_32.S linux-2.6.32.11/arch/
13590 13715
13591 # These need to be in the same 64K segment as the above; 13716 # These need to be in the same 64K segment as the above;
13592 # hence we don't use the boot_gdt_descr defined in head.S 13717 # hence we don't use the boot_gdt_descr defined in head.S
13593diff -urNp linux-2.6.32.11/arch/x86/kernel/traps.c linux-2.6.32.11/arch/x86/kernel/traps.c 13718diff -urNp linux-2.6.32.12/arch/x86/kernel/traps.c linux-2.6.32.12/arch/x86/kernel/traps.c
13594--- linux-2.6.32.11/arch/x86/kernel/traps.c 2010-03-15 11:52:04.000000000 -0400 13719--- linux-2.6.32.12/arch/x86/kernel/traps.c 2010-03-15 11:52:04.000000000 -0400
13595+++ linux-2.6.32.11/arch/x86/kernel/traps.c 2010-04-04 20:46:41.525738446 -0400 13720+++ linux-2.6.32.12/arch/x86/kernel/traps.c 2010-04-04 20:46:41.525738446 -0400
13596@@ -69,12 +69,6 @@ asmlinkage int system_call(void); 13721@@ -69,12 +69,6 @@ asmlinkage int system_call(void);
13597 13722
13598 /* Do we ignore FPU interrupts ? */ 13723 /* Do we ignore FPU interrupts ? */
@@ -13742,9 +13867,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/traps.c linux-2.6.32.11/arch/x86/kern
13742 handle_vm86_fault((struct kernel_vm86_regs *)regs, error_code); 13867 handle_vm86_fault((struct kernel_vm86_regs *)regs, error_code);
13743 return; 13868 return;
13744 } 13869 }
13745diff -urNp linux-2.6.32.11/arch/x86/kernel/tsc.c linux-2.6.32.11/arch/x86/kernel/tsc.c 13870diff -urNp linux-2.6.32.12/arch/x86/kernel/tsc.c linux-2.6.32.12/arch/x86/kernel/tsc.c
13746--- linux-2.6.32.11/arch/x86/kernel/tsc.c 2010-03-15 11:52:04.000000000 -0400 13871--- linux-2.6.32.12/arch/x86/kernel/tsc.c 2010-03-15 11:52:04.000000000 -0400
13747+++ linux-2.6.32.11/arch/x86/kernel/tsc.c 2010-04-04 20:46:41.525738446 -0400 13872+++ linux-2.6.32.12/arch/x86/kernel/tsc.c 2010-04-04 20:46:41.525738446 -0400
13748@@ -795,7 +795,7 @@ static struct dmi_system_id __initdata b 13873@@ -795,7 +795,7 @@ static struct dmi_system_id __initdata b
13749 DMI_MATCH(DMI_BOARD_NAME, "2635FA0"), 13874 DMI_MATCH(DMI_BOARD_NAME, "2635FA0"),
13750 }, 13875 },
@@ -13754,9 +13879,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/tsc.c linux-2.6.32.11/arch/x86/kernel
13754 }; 13879 };
13755 13880
13756 static void __init check_system_tsc_reliable(void) 13881 static void __init check_system_tsc_reliable(void)
13757diff -urNp linux-2.6.32.11/arch/x86/kernel/vm86_32.c linux-2.6.32.11/arch/x86/kernel/vm86_32.c 13882diff -urNp linux-2.6.32.12/arch/x86/kernel/vm86_32.c linux-2.6.32.12/arch/x86/kernel/vm86_32.c
13758--- linux-2.6.32.11/arch/x86/kernel/vm86_32.c 2010-03-15 11:52:04.000000000 -0400 13883--- linux-2.6.32.12/arch/x86/kernel/vm86_32.c 2010-03-15 11:52:04.000000000 -0400
13759+++ linux-2.6.32.11/arch/x86/kernel/vm86_32.c 2010-04-04 20:46:41.525738446 -0400 13884+++ linux-2.6.32.12/arch/x86/kernel/vm86_32.c 2010-04-04 20:46:41.525738446 -0400
13760@@ -41,6 +41,7 @@ 13885@@ -41,6 +41,7 @@
13761 #include <linux/ptrace.h> 13886 #include <linux/ptrace.h>
13762 #include <linux/audit.h> 13887 #include <linux/audit.h>
@@ -13821,9 +13946,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/vm86_32.c linux-2.6.32.11/arch/x86/ke
13821 if (get_user(segoffs, intr_ptr)) 13946 if (get_user(segoffs, intr_ptr))
13822 goto cannot_handle; 13947 goto cannot_handle;
13823 if ((segoffs >> 16) == BIOSSEG) 13948 if ((segoffs >> 16) == BIOSSEG)
13824diff -urNp linux-2.6.32.11/arch/x86/kernel/vmi_32.c linux-2.6.32.11/arch/x86/kernel/vmi_32.c 13949diff -urNp linux-2.6.32.12/arch/x86/kernel/vmi_32.c linux-2.6.32.12/arch/x86/kernel/vmi_32.c
13825--- linux-2.6.32.11/arch/x86/kernel/vmi_32.c 2010-03-15 11:52:04.000000000 -0400 13950--- linux-2.6.32.12/arch/x86/kernel/vmi_32.c 2010-03-15 11:52:04.000000000 -0400
13826+++ linux-2.6.32.11/arch/x86/kernel/vmi_32.c 2010-04-04 20:46:41.525738446 -0400 13951+++ linux-2.6.32.12/arch/x86/kernel/vmi_32.c 2010-04-04 20:46:41.525738446 -0400
13827@@ -44,12 +44,17 @@ typedef u32 __attribute__((regparm(1))) 13952@@ -44,12 +44,17 @@ typedef u32 __attribute__((regparm(1)))
13828 typedef u64 __attribute__((regparm(2))) (VROMLONGFUNC)(int); 13953 typedef u64 __attribute__((regparm(2))) (VROMLONGFUNC)(int);
13829 13954
@@ -13983,9 +14108,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/vmi_32.c linux-2.6.32.11/arch/x86/ker
13983 return; 14108 return;
13984 14109
13985 local_irq_save(flags); 14110 local_irq_save(flags);
13986diff -urNp linux-2.6.32.11/arch/x86/kernel/vmlinux.lds.S linux-2.6.32.11/arch/x86/kernel/vmlinux.lds.S 14111diff -urNp linux-2.6.32.12/arch/x86/kernel/vmlinux.lds.S linux-2.6.32.12/arch/x86/kernel/vmlinux.lds.S
13987--- linux-2.6.32.11/arch/x86/kernel/vmlinux.lds.S 2010-03-15 11:52:04.000000000 -0400 14112--- linux-2.6.32.12/arch/x86/kernel/vmlinux.lds.S 2010-03-15 11:52:04.000000000 -0400
13988+++ linux-2.6.32.11/arch/x86/kernel/vmlinux.lds.S 2010-04-04 20:46:41.529538490 -0400 14113+++ linux-2.6.32.12/arch/x86/kernel/vmlinux.lds.S 2010-04-04 20:46:41.529538490 -0400
13989@@ -26,6 +26,22 @@ 14114@@ -26,6 +26,22 @@
13990 #include <asm/page_types.h> 14115 #include <asm/page_types.h>
13991 #include <asm/cache.h> 14116 #include <asm/cache.h>
@@ -14273,9 +14398,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/vmlinux.lds.S linux-2.6.32.11/arch/x8
14273 "kernel image bigger than KERNEL_IMAGE_SIZE"); 14398 "kernel image bigger than KERNEL_IMAGE_SIZE");
14274 14399
14275 #ifdef CONFIG_SMP 14400 #ifdef CONFIG_SMP
14276diff -urNp linux-2.6.32.11/arch/x86/kernel/vsyscall_64.c linux-2.6.32.11/arch/x86/kernel/vsyscall_64.c 14401diff -urNp linux-2.6.32.12/arch/x86/kernel/vsyscall_64.c linux-2.6.32.12/arch/x86/kernel/vsyscall_64.c
14277--- linux-2.6.32.11/arch/x86/kernel/vsyscall_64.c 2010-03-15 11:52:04.000000000 -0400 14402--- linux-2.6.32.12/arch/x86/kernel/vsyscall_64.c 2010-03-15 11:52:04.000000000 -0400
14278+++ linux-2.6.32.11/arch/x86/kernel/vsyscall_64.c 2010-04-04 20:46:41.529538490 -0400 14403+++ linux-2.6.32.12/arch/x86/kernel/vsyscall_64.c 2010-04-04 20:46:41.529538490 -0400
14279@@ -79,6 +79,7 @@ void update_vsyscall(struct timespec *wa 14404@@ -79,6 +79,7 @@ void update_vsyscall(struct timespec *wa
14280 14405
14281 write_seqlock_irqsave(&vsyscall_gtod_data.lock, flags); 14406 write_seqlock_irqsave(&vsyscall_gtod_data.lock, flags);
@@ -14309,9 +14434,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/vsyscall_64.c linux-2.6.32.11/arch/x8
14309 }; 14434 };
14310 #endif 14435 #endif
14311 14436
14312diff -urNp linux-2.6.32.11/arch/x86/kernel/x8664_ksyms_64.c linux-2.6.32.11/arch/x86/kernel/x8664_ksyms_64.c 14437diff -urNp linux-2.6.32.12/arch/x86/kernel/x8664_ksyms_64.c linux-2.6.32.12/arch/x86/kernel/x8664_ksyms_64.c
14313--- linux-2.6.32.11/arch/x86/kernel/x8664_ksyms_64.c 2010-03-15 11:52:04.000000000 -0400 14438--- linux-2.6.32.12/arch/x86/kernel/x8664_ksyms_64.c 2010-03-15 11:52:04.000000000 -0400
14314+++ linux-2.6.32.11/arch/x86/kernel/x8664_ksyms_64.c 2010-04-04 20:46:41.529538490 -0400 14439+++ linux-2.6.32.12/arch/x86/kernel/x8664_ksyms_64.c 2010-04-04 20:46:41.529538490 -0400
14315@@ -30,8 +30,6 @@ EXPORT_SYMBOL(__put_user_8); 14440@@ -30,8 +30,6 @@ EXPORT_SYMBOL(__put_user_8);
14316 14441
14317 EXPORT_SYMBOL(copy_user_generic); 14442 EXPORT_SYMBOL(copy_user_generic);
@@ -14321,9 +14446,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/x8664_ksyms_64.c linux-2.6.32.11/arch
14321 EXPORT_SYMBOL(__copy_from_user_inatomic); 14446 EXPORT_SYMBOL(__copy_from_user_inatomic);
14322 14447
14323 EXPORT_SYMBOL(copy_page); 14448 EXPORT_SYMBOL(copy_page);
14324diff -urNp linux-2.6.32.11/arch/x86/kernel/xsave.c linux-2.6.32.11/arch/x86/kernel/xsave.c 14449diff -urNp linux-2.6.32.12/arch/x86/kernel/xsave.c linux-2.6.32.12/arch/x86/kernel/xsave.c
14325--- linux-2.6.32.11/arch/x86/kernel/xsave.c 2010-03-15 11:52:04.000000000 -0400 14450--- linux-2.6.32.12/arch/x86/kernel/xsave.c 2010-03-15 11:52:04.000000000 -0400
14326+++ linux-2.6.32.11/arch/x86/kernel/xsave.c 2010-04-04 20:46:41.529538490 -0400 14451+++ linux-2.6.32.12/arch/x86/kernel/xsave.c 2010-04-04 20:46:41.529538490 -0400
14327@@ -54,7 +54,7 @@ int check_for_xstate(struct i387_fxsave_ 14452@@ -54,7 +54,7 @@ int check_for_xstate(struct i387_fxsave_
14328 fx_sw_user->xstate_size > fx_sw_user->extended_size) 14453 fx_sw_user->xstate_size > fx_sw_user->extended_size)
14329 return -1; 14454 return -1;
@@ -14351,10 +14476,21 @@ diff -urNp linux-2.6.32.11/arch/x86/kernel/xsave.c linux-2.6.32.11/arch/x86/kern
14351 buf); 14476 buf);
14352 if (unlikely(err)) { 14477 if (unlikely(err)) {
14353 /* 14478 /*
14354diff -urNp linux-2.6.32.11/arch/x86/kvm/emulate.c linux-2.6.32.11/arch/x86/kvm/emulate.c 14479diff -urNp linux-2.6.32.12/arch/x86/kvm/emulate.c linux-2.6.32.12/arch/x86/kvm/emulate.c
14355--- linux-2.6.32.11/arch/x86/kvm/emulate.c 2010-03-15 11:52:04.000000000 -0400 14480--- linux-2.6.32.12/arch/x86/kvm/emulate.c 2010-04-29 17:49:37.541027029 -0400
14356+++ linux-2.6.32.11/arch/x86/kvm/emulate.c 2010-04-04 20:46:41.529538490 -0400 14481+++ linux-2.6.32.12/arch/x86/kvm/emulate.c 2010-04-29 17:49:57.993228946 -0400
14357@@ -404,6 +404,7 @@ static u32 group2_table[] = { 14482@@ -81,8 +81,8 @@
14483 #define Src2CL (1<<29)
14484 #define Src2ImmByte (2<<29)
14485 #define Src2One (3<<29)
14486-#define Src2Imm16 (4<<29)
14487-#define Src2Mask (7<<29)
14488+#define Src2Imm16 (4U<<29)
14489+#define Src2Mask (7U<<29)
14490
14491 enum {
14492 Group1_80, Group1_81, Group1_82, Group1_83,
14493@@ -411,6 +411,7 @@ static u32 group2_table[] = {
14358 14494
14359 #define ____emulate_2op(_op, _src, _dst, _eflags, _x, _y, _suffix) \ 14495 #define ____emulate_2op(_op, _src, _dst, _eflags, _x, _y, _suffix) \
14360 do { \ 14496 do { \
@@ -14362,7 +14498,7 @@ diff -urNp linux-2.6.32.11/arch/x86/kvm/emulate.c linux-2.6.32.11/arch/x86/kvm/e
14362 __asm__ __volatile__ ( \ 14498 __asm__ __volatile__ ( \
14363 _PRE_EFLAGS("0", "4", "2") \ 14499 _PRE_EFLAGS("0", "4", "2") \
14364 _op _suffix " %"_x"3,%1; " \ 14500 _op _suffix " %"_x"3,%1; " \
14365@@ -417,8 +418,6 @@ static u32 group2_table[] = { 14501@@ -424,8 +425,6 @@ static u32 group2_table[] = {
14366 /* Raw emulation: instruction has two explicit operands. */ 14502 /* Raw emulation: instruction has two explicit operands. */
14367 #define __emulate_2op_nobyte(_op,_src,_dst,_eflags,_wx,_wy,_lx,_ly,_qx,_qy) \ 14503 #define __emulate_2op_nobyte(_op,_src,_dst,_eflags,_wx,_wy,_lx,_ly,_qx,_qy) \
14368 do { \ 14504 do { \
@@ -14371,7 +14507,7 @@ diff -urNp linux-2.6.32.11/arch/x86/kvm/emulate.c linux-2.6.32.11/arch/x86/kvm/e
14371 switch ((_dst).bytes) { \ 14507 switch ((_dst).bytes) { \
14372 case 2: \ 14508 case 2: \
14373 ____emulate_2op(_op,_src,_dst,_eflags,_wx,_wy,"w"); \ 14509 ____emulate_2op(_op,_src,_dst,_eflags,_wx,_wy,"w"); \
14374@@ -434,7 +433,6 @@ static u32 group2_table[] = { 14510@@ -441,7 +440,6 @@ static u32 group2_table[] = {
14375 14511
14376 #define __emulate_2op(_op,_src,_dst,_eflags,_bx,_by,_wx,_wy,_lx,_ly,_qx,_qy) \ 14512 #define __emulate_2op(_op,_src,_dst,_eflags,_bx,_by,_wx,_wy,_lx,_ly,_qx,_qy) \
14377 do { \ 14513 do { \
@@ -14379,10 +14515,22 @@ diff -urNp linux-2.6.32.11/arch/x86/kvm/emulate.c linux-2.6.32.11/arch/x86/kvm/e
14379 switch ((_dst).bytes) { \ 14515 switch ((_dst).bytes) { \
14380 case 1: \ 14516 case 1: \
14381 ____emulate_2op(_op,_src,_dst,_eflags,_bx,_by,"b"); \ 14517 ____emulate_2op(_op,_src,_dst,_eflags,_bx,_by,"b"); \
14382diff -urNp linux-2.6.32.11/arch/x86/kvm/svm.c linux-2.6.32.11/arch/x86/kvm/svm.c 14518diff -urNp linux-2.6.32.12/arch/x86/kvm/lapic.c linux-2.6.32.12/arch/x86/kvm/lapic.c
14383--- linux-2.6.32.11/arch/x86/kvm/svm.c 2010-03-15 11:52:04.000000000 -0400 14519--- linux-2.6.32.12/arch/x86/kvm/lapic.c 2010-03-15 11:52:04.000000000 -0400
14384+++ linux-2.6.32.11/arch/x86/kvm/svm.c 2010-04-04 20:46:41.529538490 -0400 14520+++ linux-2.6.32.12/arch/x86/kvm/lapic.c 2010-04-29 17:46:37.073091406 -0400
14385@@ -2389,9 +2389,12 @@ static int handle_exit(struct kvm_run *k 14521@@ -52,7 +52,7 @@
14522 #define APIC_BUS_CYCLE_NS 1
14523
14524 /* #define apic_debug(fmt,arg...) printk(KERN_WARNING fmt,##arg) */
14525-#define apic_debug(fmt, arg...)
14526+#define apic_debug(fmt, arg...) do {} while (0)
14527
14528 #define APIC_LVT_NUM 6
14529 /* 14 is the version for Xeon and Pentium 8.4.8*/
14530diff -urNp linux-2.6.32.12/arch/x86/kvm/svm.c linux-2.6.32.12/arch/x86/kvm/svm.c
14531--- linux-2.6.32.12/arch/x86/kvm/svm.c 2010-04-29 17:49:37.601044544 -0400
14532+++ linux-2.6.32.12/arch/x86/kvm/svm.c 2010-04-29 17:49:58.005400983 -0400
14533@@ -2395,9 +2395,12 @@ static int handle_exit(struct kvm_run *k
14386 static void reload_tss(struct kvm_vcpu *vcpu) 14534 static void reload_tss(struct kvm_vcpu *vcpu)
14387 { 14535 {
14388 int cpu = raw_smp_processor_id(); 14536 int cpu = raw_smp_processor_id();
@@ -14396,7 +14544,7 @@ diff -urNp linux-2.6.32.11/arch/x86/kvm/svm.c linux-2.6.32.11/arch/x86/kvm/svm.c
14396 load_TR_desc(); 14544 load_TR_desc();
14397 } 14545 }
14398 14546
14399@@ -2839,7 +2842,7 @@ static bool svm_gb_page_enable(void) 14547@@ -2845,7 +2848,7 @@ static bool svm_gb_page_enable(void)
14400 return true; 14548 return true;
14401 } 14549 }
14402 14550
@@ -14405,10 +14553,10 @@ diff -urNp linux-2.6.32.11/arch/x86/kvm/svm.c linux-2.6.32.11/arch/x86/kvm/svm.c
14405 .cpu_has_kvm_support = has_svm, 14553 .cpu_has_kvm_support = has_svm,
14406 .disabled_by_bios = is_disabled, 14554 .disabled_by_bios = is_disabled,
14407 .hardware_setup = svm_hardware_setup, 14555 .hardware_setup = svm_hardware_setup,
14408diff -urNp linux-2.6.32.11/arch/x86/kvm/vmx.c linux-2.6.32.11/arch/x86/kvm/vmx.c 14556diff -urNp linux-2.6.32.12/arch/x86/kvm/vmx.c linux-2.6.32.12/arch/x86/kvm/vmx.c
14409--- linux-2.6.32.11/arch/x86/kvm/vmx.c 2010-03-15 11:52:04.000000000 -0400 14557--- linux-2.6.32.12/arch/x86/kvm/vmx.c 2010-04-29 17:49:37.601044544 -0400
14410+++ linux-2.6.32.11/arch/x86/kvm/vmx.c 2010-04-04 20:46:41.529538490 -0400 14558+++ linux-2.6.32.12/arch/x86/kvm/vmx.c 2010-04-29 17:49:58.025065700 -0400
14411@@ -566,7 +566,11 @@ static void reload_tss(void) 14559@@ -568,7 +568,11 @@ static void reload_tss(void)
14412 14560
14413 kvm_get_gdt(&gdt); 14561 kvm_get_gdt(&gdt);
14414 descs = (void *)gdt.base; 14562 descs = (void *)gdt.base;
@@ -14420,7 +14568,7 @@ diff -urNp linux-2.6.32.11/arch/x86/kvm/vmx.c linux-2.6.32.11/arch/x86/kvm/vmx.c
14420 load_TR_desc(); 14568 load_TR_desc();
14421 } 14569 }
14422 14570
14423@@ -1388,8 +1392,11 @@ static __init int hardware_setup(void) 14571@@ -1395,8 +1399,11 @@ static __init int hardware_setup(void)
14424 if (!cpu_has_vmx_flexpriority()) 14572 if (!cpu_has_vmx_flexpriority())
14425 flexpriority_enabled = 0; 14573 flexpriority_enabled = 0;
14426 14574
@@ -14434,7 +14582,7 @@ diff -urNp linux-2.6.32.11/arch/x86/kvm/vmx.c linux-2.6.32.11/arch/x86/kvm/vmx.c
14434 14582
14435 if (enable_ept && !cpu_has_vmx_ept_2m_page()) 14583 if (enable_ept && !cpu_has_vmx_ept_2m_page())
14436 kvm_disable_largepages(); 14584 kvm_disable_largepages();
14437@@ -2339,7 +2346,7 @@ static int vmx_vcpu_setup(struct vcpu_vm 14585@@ -2347,7 +2354,7 @@ static int vmx_vcpu_setup(struct vcpu_vm
14438 vmcs_writel(HOST_IDTR_BASE, dt.base); /* 22.2.4 */ 14586 vmcs_writel(HOST_IDTR_BASE, dt.base); /* 22.2.4 */
14439 14587
14440 asm("mov $.Lkvm_vmx_return, %0" : "=r"(kvm_vmx_return)); 14588 asm("mov $.Lkvm_vmx_return, %0" : "=r"(kvm_vmx_return));
@@ -14443,7 +14591,7 @@ diff -urNp linux-2.6.32.11/arch/x86/kvm/vmx.c linux-2.6.32.11/arch/x86/kvm/vmx.c
14443 vmcs_write32(VM_EXIT_MSR_STORE_COUNT, 0); 14591 vmcs_write32(VM_EXIT_MSR_STORE_COUNT, 0);
14444 vmcs_write32(VM_EXIT_MSR_LOAD_COUNT, 0); 14592 vmcs_write32(VM_EXIT_MSR_LOAD_COUNT, 0);
14445 vmcs_write32(VM_ENTRY_MSR_LOAD_COUNT, 0); 14593 vmcs_write32(VM_ENTRY_MSR_LOAD_COUNT, 0);
14446@@ -3682,6 +3689,12 @@ static void vmx_vcpu_run(struct kvm_vcpu 14594@@ -3703,6 +3710,12 @@ static void vmx_vcpu_run(struct kvm_vcpu
14447 "jmp .Lkvm_vmx_return \n\t" 14595 "jmp .Lkvm_vmx_return \n\t"
14448 ".Llaunched: " __ex(ASM_VMX_VMRESUME) "\n\t" 14596 ".Llaunched: " __ex(ASM_VMX_VMRESUME) "\n\t"
14449 ".Lkvm_vmx_return: " 14597 ".Lkvm_vmx_return: "
@@ -14456,7 +14604,7 @@ diff -urNp linux-2.6.32.11/arch/x86/kvm/vmx.c linux-2.6.32.11/arch/x86/kvm/vmx.c
14456 /* Save guest registers, load host registers, keep flags */ 14604 /* Save guest registers, load host registers, keep flags */
14457 "xchg %0, (%%"R"sp) \n\t" 14605 "xchg %0, (%%"R"sp) \n\t"
14458 "mov %%"R"ax, %c[rax](%0) \n\t" 14606 "mov %%"R"ax, %c[rax](%0) \n\t"
14459@@ -3728,6 +3741,11 @@ static void vmx_vcpu_run(struct kvm_vcpu 14607@@ -3749,6 +3762,11 @@ static void vmx_vcpu_run(struct kvm_vcpu
14460 [r15]"i"(offsetof(struct vcpu_vmx, vcpu.arch.regs[VCPU_REGS_R15])), 14608 [r15]"i"(offsetof(struct vcpu_vmx, vcpu.arch.regs[VCPU_REGS_R15])),
14461 #endif 14609 #endif
14462 [cr2]"i"(offsetof(struct vcpu_vmx, vcpu.arch.cr2)) 14610 [cr2]"i"(offsetof(struct vcpu_vmx, vcpu.arch.cr2))
@@ -14468,7 +14616,7 @@ diff -urNp linux-2.6.32.11/arch/x86/kvm/vmx.c linux-2.6.32.11/arch/x86/kvm/vmx.c
14468 : "cc", "memory" 14616 : "cc", "memory"
14469 , R"bx", R"di", R"si" 14617 , R"bx", R"di", R"si"
14470 #ifdef CONFIG_X86_64 14618 #ifdef CONFIG_X86_64
14471@@ -3746,7 +3764,7 @@ static void vmx_vcpu_run(struct kvm_vcpu 14619@@ -3767,7 +3785,7 @@ static void vmx_vcpu_run(struct kvm_vcpu
14472 if (vmx->rmode.irq.pending) 14620 if (vmx->rmode.irq.pending)
14473 fixup_rmode_irq(vmx); 14621 fixup_rmode_irq(vmx);
14474 14622
@@ -14477,7 +14625,7 @@ diff -urNp linux-2.6.32.11/arch/x86/kvm/vmx.c linux-2.6.32.11/arch/x86/kvm/vmx.c
14477 vmx->launched = 1; 14625 vmx->launched = 1;
14478 14626
14479 vmx_complete_interrupts(vmx); 14627 vmx_complete_interrupts(vmx);
14480@@ -3921,7 +3939,7 @@ static bool vmx_gb_page_enable(void) 14628@@ -3942,7 +3960,7 @@ static bool vmx_gb_page_enable(void)
14481 return false; 14629 return false;
14482 } 14630 }
14483 14631
@@ -14486,9 +14634,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kvm/vmx.c linux-2.6.32.11/arch/x86/kvm/vmx.c
14486 .cpu_has_kvm_support = cpu_has_kvm_support, 14634 .cpu_has_kvm_support = cpu_has_kvm_support,
14487 .disabled_by_bios = vmx_disabled_by_bios, 14635 .disabled_by_bios = vmx_disabled_by_bios,
14488 .hardware_setup = hardware_setup, 14636 .hardware_setup = hardware_setup,
14489diff -urNp linux-2.6.32.11/arch/x86/kvm/x86.c linux-2.6.32.11/arch/x86/kvm/x86.c 14637diff -urNp linux-2.6.32.12/arch/x86/kvm/x86.c linux-2.6.32.12/arch/x86/kvm/x86.c
14490--- linux-2.6.32.11/arch/x86/kvm/x86.c 2010-03-15 11:52:04.000000000 -0400 14638--- linux-2.6.32.12/arch/x86/kvm/x86.c 2010-04-29 17:49:37.601044544 -0400
14491+++ linux-2.6.32.11/arch/x86/kvm/x86.c 2010-04-04 20:46:41.529538490 -0400 14639+++ linux-2.6.32.12/arch/x86/kvm/x86.c 2010-04-29 17:49:58.041485405 -0400
14492@@ -81,45 +81,45 @@ static void update_cr8_intercept(struct 14640@@ -81,45 +81,45 @@ static void update_cr8_intercept(struct
14493 static int kvm_dev_ioctl_get_supported_cpuid(struct kvm_cpuid2 *cpuid, 14641 static int kvm_dev_ioctl_get_supported_cpuid(struct kvm_cpuid2 *cpuid,
14494 struct kvm_cpuid_entry2 __user *entries); 14642 struct kvm_cpuid_entry2 __user *entries);
@@ -14568,7 +14716,7 @@ diff -urNp linux-2.6.32.11/arch/x86/kvm/x86.c linux-2.6.32.11/arch/x86/kvm/x86.c
14568 { NULL } 14716 { NULL }
14569 }; 14717 };
14570 14718
14571@@ -1658,7 +1658,7 @@ static int kvm_vcpu_ioctl_set_lapic(stru 14719@@ -1635,7 +1635,7 @@ static int kvm_vcpu_ioctl_set_lapic(stru
14572 static int kvm_vcpu_ioctl_interrupt(struct kvm_vcpu *vcpu, 14720 static int kvm_vcpu_ioctl_interrupt(struct kvm_vcpu *vcpu,
14573 struct kvm_interrupt *irq) 14721 struct kvm_interrupt *irq)
14574 { 14722 {
@@ -14577,7 +14725,7 @@ diff -urNp linux-2.6.32.11/arch/x86/kvm/x86.c linux-2.6.32.11/arch/x86/kvm/x86.c
14577 return -EINVAL; 14725 return -EINVAL;
14578 if (irqchip_in_kernel(vcpu->kvm)) 14726 if (irqchip_in_kernel(vcpu->kvm))
14579 return -ENXIO; 14727 return -ENXIO;
14580@@ -3170,10 +3170,10 @@ static struct notifier_block kvmclock_cp 14728@@ -3205,10 +3205,10 @@ static struct notifier_block kvmclock_cp
14581 .notifier_call = kvmclock_cpufreq_notifier 14729 .notifier_call = kvmclock_cpufreq_notifier
14582 }; 14730 };
14583 14731
@@ -14590,9 +14738,9 @@ diff -urNp linux-2.6.32.11/arch/x86/kvm/x86.c linux-2.6.32.11/arch/x86/kvm/x86.c
14590 14738
14591 if (kvm_x86_ops) { 14739 if (kvm_x86_ops) {
14592 printk(KERN_ERR "kvm: already loaded the other module\n"); 14740 printk(KERN_ERR "kvm: already loaded the other module\n");
14593diff -urNp linux-2.6.32.11/arch/x86/lib/checksum_32.S linux-2.6.32.11/arch/x86/lib/checksum_32.S 14741diff -urNp linux-2.6.32.12/arch/x86/lib/checksum_32.S linux-2.6.32.12/arch/x86/lib/checksum_32.S
14594--- linux-2.6.32.11/arch/x86/lib/checksum_32.S 2010-03-15 11:52:04.000000000 -0400 14742--- linux-2.6.32.12/arch/x86/lib/checksum_32.S 2010-03-15 11:52:04.000000000 -0400
14595+++ linux-2.6.32.11/arch/x86/lib/checksum_32.S 2010-04-04 20:46:41.529538490 -0400 14743+++ linux-2.6.32.12/arch/x86/lib/checksum_32.S 2010-04-04 20:46:41.529538490 -0400
14596@@ -28,7 +28,8 @@ 14744@@ -28,7 +28,8 @@
14597 #include <linux/linkage.h> 14745 #include <linux/linkage.h>
14598 #include <asm/dwarf2.h> 14746 #include <asm/dwarf2.h>
@@ -14838,9 +14986,9 @@ diff -urNp linux-2.6.32.11/arch/x86/lib/checksum_32.S linux-2.6.32.11/arch/x86/l
14838 14986
14839 #undef ROUND 14987 #undef ROUND
14840 #undef ROUND1 14988 #undef ROUND1
14841diff -urNp linux-2.6.32.11/arch/x86/lib/clear_page_64.S linux-2.6.32.11/arch/x86/lib/clear_page_64.S 14989diff -urNp linux-2.6.32.12/arch/x86/lib/clear_page_64.S linux-2.6.32.12/arch/x86/lib/clear_page_64.S
14842--- linux-2.6.32.11/arch/x86/lib/clear_page_64.S 2010-03-15 11:52:04.000000000 -0400 14990--- linux-2.6.32.12/arch/x86/lib/clear_page_64.S 2010-03-15 11:52:04.000000000 -0400
14843+++ linux-2.6.32.11/arch/x86/lib/clear_page_64.S 2010-04-04 20:46:41.529538490 -0400 14991+++ linux-2.6.32.12/arch/x86/lib/clear_page_64.S 2010-04-04 20:46:41.529538490 -0400
14844@@ -43,7 +43,7 @@ ENDPROC(clear_page) 14992@@ -43,7 +43,7 @@ ENDPROC(clear_page)
14845 14993
14846 #include <asm/cpufeature.h> 14994 #include <asm/cpufeature.h>
@@ -14850,9 +14998,9 @@ diff -urNp linux-2.6.32.11/arch/x86/lib/clear_page_64.S linux-2.6.32.11/arch/x86
14850 1: .byte 0xeb /* jmp <disp8> */ 14998 1: .byte 0xeb /* jmp <disp8> */
14851 .byte (clear_page_c - clear_page) - (2f - 1b) /* offset */ 14999 .byte (clear_page_c - clear_page) - (2f - 1b) /* offset */
14852 2: 15000 2:
14853diff -urNp linux-2.6.32.11/arch/x86/lib/copy_page_64.S linux-2.6.32.11/arch/x86/lib/copy_page_64.S 15001diff -urNp linux-2.6.32.12/arch/x86/lib/copy_page_64.S linux-2.6.32.12/arch/x86/lib/copy_page_64.S
14854--- linux-2.6.32.11/arch/x86/lib/copy_page_64.S 2010-03-15 11:52:04.000000000 -0400 15002--- linux-2.6.32.12/arch/x86/lib/copy_page_64.S 2010-03-15 11:52:04.000000000 -0400
14855+++ linux-2.6.32.11/arch/x86/lib/copy_page_64.S 2010-04-04 20:46:41.529538490 -0400 15003+++ linux-2.6.32.12/arch/x86/lib/copy_page_64.S 2010-04-04 20:46:41.529538490 -0400
14856@@ -104,7 +104,7 @@ ENDPROC(copy_page) 15004@@ -104,7 +104,7 @@ ENDPROC(copy_page)
14857 15005
14858 #include <asm/cpufeature.h> 15006 #include <asm/cpufeature.h>
@@ -14862,9 +15010,9 @@ diff -urNp linux-2.6.32.11/arch/x86/lib/copy_page_64.S linux-2.6.32.11/arch/x86/
14862 1: .byte 0xeb /* jmp <disp8> */ 15010 1: .byte 0xeb /* jmp <disp8> */
14863 .byte (copy_page_c - copy_page) - (2f - 1b) /* offset */ 15011 .byte (copy_page_c - copy_page) - (2f - 1b) /* offset */
14864 2: 15012 2:
14865diff -urNp linux-2.6.32.11/arch/x86/lib/copy_user_64.S linux-2.6.32.11/arch/x86/lib/copy_user_64.S 15013diff -urNp linux-2.6.32.12/arch/x86/lib/copy_user_64.S linux-2.6.32.12/arch/x86/lib/copy_user_64.S
14866--- linux-2.6.32.11/arch/x86/lib/copy_user_64.S 2010-03-15 11:52:04.000000000 -0400 15014--- linux-2.6.32.12/arch/x86/lib/copy_user_64.S 2010-03-15 11:52:04.000000000 -0400
14867+++ linux-2.6.32.11/arch/x86/lib/copy_user_64.S 2010-04-04 20:58:33.225084964 -0400 15015+++ linux-2.6.32.12/arch/x86/lib/copy_user_64.S 2010-04-04 20:58:33.225084964 -0400
14868@@ -15,13 +15,14 @@ 15016@@ -15,13 +15,14 @@
14869 #include <asm/asm-offsets.h> 15017 #include <asm/asm-offsets.h>
14870 #include <asm/thread_info.h> 15018 #include <asm/thread_info.h>
@@ -14939,9 +15087,9 @@ diff -urNp linux-2.6.32.11/arch/x86/lib/copy_user_64.S linux-2.6.32.11/arch/x86/
14939 movl %edx,%ecx 15087 movl %edx,%ecx
14940 xorl %eax,%eax 15088 xorl %eax,%eax
14941 rep 15089 rep
14942diff -urNp linux-2.6.32.11/arch/x86/lib/copy_user_nocache_64.S linux-2.6.32.11/arch/x86/lib/copy_user_nocache_64.S 15090diff -urNp linux-2.6.32.12/arch/x86/lib/copy_user_nocache_64.S linux-2.6.32.12/arch/x86/lib/copy_user_nocache_64.S
14943--- linux-2.6.32.11/arch/x86/lib/copy_user_nocache_64.S 2010-03-15 11:52:04.000000000 -0400 15091--- linux-2.6.32.12/arch/x86/lib/copy_user_nocache_64.S 2010-03-15 11:52:04.000000000 -0400
14944+++ linux-2.6.32.11/arch/x86/lib/copy_user_nocache_64.S 2010-04-04 20:58:33.225084964 -0400 15092+++ linux-2.6.32.12/arch/x86/lib/copy_user_nocache_64.S 2010-04-04 20:58:33.225084964 -0400
14945@@ -14,6 +14,7 @@ 15093@@ -14,6 +14,7 @@
14946 #include <asm/current.h> 15094 #include <asm/current.h>
14947 #include <asm/asm-offsets.h> 15095 #include <asm/asm-offsets.h>
@@ -14966,9 +15114,9 @@ diff -urNp linux-2.6.32.11/arch/x86/lib/copy_user_nocache_64.S linux-2.6.32.11/a
14966 cmpl $8,%edx 15114 cmpl $8,%edx
14967 jb 20f /* less then 8 bytes, go to byte copy loop */ 15115 jb 20f /* less then 8 bytes, go to byte copy loop */
14968 ALIGN_DESTINATION 15116 ALIGN_DESTINATION
14969diff -urNp linux-2.6.32.11/arch/x86/lib/csum-wrappers_64.c linux-2.6.32.11/arch/x86/lib/csum-wrappers_64.c 15117diff -urNp linux-2.6.32.12/arch/x86/lib/csum-wrappers_64.c linux-2.6.32.12/arch/x86/lib/csum-wrappers_64.c
14970--- linux-2.6.32.11/arch/x86/lib/csum-wrappers_64.c 2010-03-15 11:52:04.000000000 -0400 15118--- linux-2.6.32.12/arch/x86/lib/csum-wrappers_64.c 2010-03-15 11:52:04.000000000 -0400
14971+++ linux-2.6.32.11/arch/x86/lib/csum-wrappers_64.c 2010-04-04 20:58:33.225084964 -0400 15119+++ linux-2.6.32.12/arch/x86/lib/csum-wrappers_64.c 2010-04-04 20:58:33.225084964 -0400
14972@@ -52,6 +52,8 @@ csum_partial_copy_from_user(const void _ 15120@@ -52,6 +52,8 @@ csum_partial_copy_from_user(const void _
14973 len -= 2; 15121 len -= 2;
14974 } 15122 }
@@ -14987,9 +15135,9 @@ diff -urNp linux-2.6.32.11/arch/x86/lib/csum-wrappers_64.c linux-2.6.32.11/arch/
14987 return csum_partial_copy_generic(src, (void __force *)dst, 15135 return csum_partial_copy_generic(src, (void __force *)dst,
14988 len, isum, NULL, errp); 15136 len, isum, NULL, errp);
14989 } 15137 }
14990diff -urNp linux-2.6.32.11/arch/x86/lib/getuser.S linux-2.6.32.11/arch/x86/lib/getuser.S 15138diff -urNp linux-2.6.32.12/arch/x86/lib/getuser.S linux-2.6.32.12/arch/x86/lib/getuser.S
14991--- linux-2.6.32.11/arch/x86/lib/getuser.S 2010-03-15 11:52:04.000000000 -0400 15139--- linux-2.6.32.12/arch/x86/lib/getuser.S 2010-03-15 11:52:04.000000000 -0400
14992+++ linux-2.6.32.11/arch/x86/lib/getuser.S 2010-04-04 20:58:33.225084964 -0400 15140+++ linux-2.6.32.12/arch/x86/lib/getuser.S 2010-04-04 20:58:33.225084964 -0400
14993@@ -33,14 +33,38 @@ 15141@@ -33,14 +33,38 @@
14994 #include <asm/asm-offsets.h> 15142 #include <asm/asm-offsets.h>
14995 #include <asm/thread_info.h> 15143 #include <asm/thread_info.h>
@@ -15126,9 +15274,9 @@ diff -urNp linux-2.6.32.11/arch/x86/lib/getuser.S linux-2.6.32.11/arch/x86/lib/g
15126 xor %edx,%edx 15274 xor %edx,%edx
15127 mov $(-EFAULT),%_ASM_AX 15275 mov $(-EFAULT),%_ASM_AX
15128 ret 15276 ret
15129diff -urNp linux-2.6.32.11/arch/x86/lib/memcpy_64.S linux-2.6.32.11/arch/x86/lib/memcpy_64.S 15277diff -urNp linux-2.6.32.12/arch/x86/lib/memcpy_64.S linux-2.6.32.12/arch/x86/lib/memcpy_64.S
15130--- linux-2.6.32.11/arch/x86/lib/memcpy_64.S 2010-03-15 11:52:04.000000000 -0400 15278--- linux-2.6.32.12/arch/x86/lib/memcpy_64.S 2010-03-15 11:52:04.000000000 -0400
15131+++ linux-2.6.32.11/arch/x86/lib/memcpy_64.S 2010-04-04 20:46:41.529538490 -0400 15279+++ linux-2.6.32.12/arch/x86/lib/memcpy_64.S 2010-04-04 20:46:41.529538490 -0400
15132@@ -128,7 +128,7 @@ ENDPROC(__memcpy) 15280@@ -128,7 +128,7 @@ ENDPROC(__memcpy)
15133 * It is also a lot simpler. Use this when possible: 15281 * It is also a lot simpler. Use this when possible:
15134 */ 15282 */
@@ -15138,9 +15286,9 @@ diff -urNp linux-2.6.32.11/arch/x86/lib/memcpy_64.S linux-2.6.32.11/arch/x86/lib
15138 1: .byte 0xeb /* jmp <disp8> */ 15286 1: .byte 0xeb /* jmp <disp8> */
15139 .byte (memcpy_c - memcpy) - (2f - 1b) /* offset */ 15287 .byte (memcpy_c - memcpy) - (2f - 1b) /* offset */
15140 2: 15288 2:
15141diff -urNp linux-2.6.32.11/arch/x86/lib/memset_64.S linux-2.6.32.11/arch/x86/lib/memset_64.S 15289diff -urNp linux-2.6.32.12/arch/x86/lib/memset_64.S linux-2.6.32.12/arch/x86/lib/memset_64.S
15142--- linux-2.6.32.11/arch/x86/lib/memset_64.S 2010-03-15 11:52:04.000000000 -0400 15290--- linux-2.6.32.12/arch/x86/lib/memset_64.S 2010-03-15 11:52:04.000000000 -0400
15143+++ linux-2.6.32.11/arch/x86/lib/memset_64.S 2010-04-04 20:46:41.529538490 -0400 15291+++ linux-2.6.32.12/arch/x86/lib/memset_64.S 2010-04-04 20:46:41.529538490 -0400
15144@@ -118,7 +118,7 @@ ENDPROC(__memset) 15292@@ -118,7 +118,7 @@ ENDPROC(__memset)
15145 15293
15146 #include <asm/cpufeature.h> 15294 #include <asm/cpufeature.h>
@@ -15150,9 +15298,9 @@ diff -urNp linux-2.6.32.11/arch/x86/lib/memset_64.S linux-2.6.32.11/arch/x86/lib
15150 1: .byte 0xeb /* jmp <disp8> */ 15298 1: .byte 0xeb /* jmp <disp8> */
15151 .byte (memset_c - memset) - (2f - 1b) /* offset */ 15299 .byte (memset_c - memset) - (2f - 1b) /* offset */
15152 2: 15300 2:
15153diff -urNp linux-2.6.32.11/arch/x86/lib/mmx_32.c linux-2.6.32.11/arch/x86/lib/mmx_32.c 15301diff -urNp linux-2.6.32.12/arch/x86/lib/mmx_32.c linux-2.6.32.12/arch/x86/lib/mmx_32.c
15154--- linux-2.6.32.11/arch/x86/lib/mmx_32.c 2010-03-15 11:52:04.000000000 -0400 15302--- linux-2.6.32.12/arch/x86/lib/mmx_32.c 2010-03-15 11:52:04.000000000 -0400
15155+++ linux-2.6.32.11/arch/x86/lib/mmx_32.c 2010-04-04 20:46:41.533557286 -0400 15303+++ linux-2.6.32.12/arch/x86/lib/mmx_32.c 2010-04-04 20:46:41.533557286 -0400
15156@@ -29,6 +29,7 @@ void *_mmx_memcpy(void *to, const void * 15304@@ -29,6 +29,7 @@ void *_mmx_memcpy(void *to, const void *
15157 { 15305 {
15158 void *p; 15306 void *p;
@@ -15468,9 +15616,9 @@ diff -urNp linux-2.6.32.11/arch/x86/lib/mmx_32.c linux-2.6.32.11/arch/x86/lib/mm
15468 15616
15469 from += 64; 15617 from += 64;
15470 to += 64; 15618 to += 64;
15471diff -urNp linux-2.6.32.11/arch/x86/lib/putuser.S linux-2.6.32.11/arch/x86/lib/putuser.S 15619diff -urNp linux-2.6.32.12/arch/x86/lib/putuser.S linux-2.6.32.12/arch/x86/lib/putuser.S
15472--- linux-2.6.32.11/arch/x86/lib/putuser.S 2010-03-15 11:52:04.000000000 -0400 15620--- linux-2.6.32.12/arch/x86/lib/putuser.S 2010-03-15 11:52:04.000000000 -0400
15473+++ linux-2.6.32.11/arch/x86/lib/putuser.S 2010-04-04 20:58:33.225084964 -0400 15621+++ linux-2.6.32.12/arch/x86/lib/putuser.S 2010-04-04 20:58:33.225084964 -0400
15474@@ -15,7 +15,8 @@ 15622@@ -15,7 +15,8 @@
15475 #include <asm/thread_info.h> 15623 #include <asm/thread_info.h>
15476 #include <asm/errno.h> 15624 #include <asm/errno.h>
@@ -15640,9 +15788,9 @@ diff -urNp linux-2.6.32.11/arch/x86/lib/putuser.S linux-2.6.32.11/arch/x86/lib/p
15640 movl $-EFAULT,%eax 15788 movl $-EFAULT,%eax
15641 EXIT 15789 EXIT
15642 END(bad_put_user) 15790 END(bad_put_user)
15643diff -urNp linux-2.6.32.11/arch/x86/lib/usercopy_32.c linux-2.6.32.11/arch/x86/lib/usercopy_32.c 15791diff -urNp linux-2.6.32.12/arch/x86/lib/usercopy_32.c linux-2.6.32.12/arch/x86/lib/usercopy_32.c
15644--- linux-2.6.32.11/arch/x86/lib/usercopy_32.c 2010-03-15 11:52:04.000000000 -0400 15792--- linux-2.6.32.12/arch/x86/lib/usercopy_32.c 2010-03-15 11:52:04.000000000 -0400
15645+++ linux-2.6.32.11/arch/x86/lib/usercopy_32.c 2010-04-04 20:46:41.533557286 -0400 15793+++ linux-2.6.32.12/arch/x86/lib/usercopy_32.c 2010-04-04 20:46:41.533557286 -0400
15646@@ -36,31 +36,38 @@ static inline int __movsl_is_ok(unsigned 15794@@ -36,31 +36,38 @@ static inline int __movsl_is_ok(unsigned
15647 * Copy a null terminated string from userspace. 15795 * Copy a null terminated string from userspace.
15648 */ 15796 */
@@ -16611,9 +16759,9 @@ diff -urNp linux-2.6.32.11/arch/x86/lib/usercopy_32.c linux-2.6.32.11/arch/x86/l
16611+#endif 16759+#endif
16612+ 16760+
16613+EXPORT_SYMBOL(set_fs); 16761+EXPORT_SYMBOL(set_fs);
16614diff -urNp linux-2.6.32.11/arch/x86/lib/usercopy_64.c linux-2.6.32.11/arch/x86/lib/usercopy_64.c 16762diff -urNp linux-2.6.32.12/arch/x86/lib/usercopy_64.c linux-2.6.32.12/arch/x86/lib/usercopy_64.c
16615--- linux-2.6.32.11/arch/x86/lib/usercopy_64.c 2010-03-15 11:52:04.000000000 -0400 16763--- linux-2.6.32.12/arch/x86/lib/usercopy_64.c 2010-03-15 11:52:04.000000000 -0400
16616+++ linux-2.6.32.11/arch/x86/lib/usercopy_64.c 2010-04-04 20:58:33.225084964 -0400 16764+++ linux-2.6.32.12/arch/x86/lib/usercopy_64.c 2010-04-04 20:58:33.225084964 -0400
16617@@ -42,6 +42,8 @@ long 16765@@ -42,6 +42,8 @@ long
16618 __strncpy_from_user(char *dst, const char __user *src, long count) 16766 __strncpy_from_user(char *dst, const char __user *src, long count)
16619 { 16767 {
@@ -16650,9 +16798,9 @@ diff -urNp linux-2.6.32.11/arch/x86/lib/usercopy_64.c linux-2.6.32.11/arch/x86/l
16650 } 16798 }
16651 EXPORT_SYMBOL(copy_in_user); 16799 EXPORT_SYMBOL(copy_in_user);
16652 16800
16653diff -urNp linux-2.6.32.11/arch/x86/Makefile linux-2.6.32.11/arch/x86/Makefile 16801diff -urNp linux-2.6.32.12/arch/x86/Makefile linux-2.6.32.12/arch/x86/Makefile
16654--- linux-2.6.32.11/arch/x86/Makefile 2010-03-15 11:52:04.000000000 -0400 16802--- linux-2.6.32.12/arch/x86/Makefile 2010-03-15 11:52:04.000000000 -0400
16655+++ linux-2.6.32.11/arch/x86/Makefile 2010-04-04 20:46:41.533557286 -0400 16803+++ linux-2.6.32.12/arch/x86/Makefile 2010-04-04 20:46:41.533557286 -0400
16656@@ -189,3 +189,12 @@ define archhelp 16804@@ -189,3 +189,12 @@ define archhelp
16657 echo ' FDARGS="..." arguments for the booted kernel' 16805 echo ' FDARGS="..." arguments for the booted kernel'
16658 echo ' FDINITRD=file initrd for the booted kernel' 16806 echo ' FDINITRD=file initrd for the booted kernel'
@@ -16666,9 +16814,9 @@ diff -urNp linux-2.6.32.11/arch/x86/Makefile linux-2.6.32.11/arch/x86/Makefile
16666+ 16814+
16667+archprepare: 16815+archprepare:
16668+ $(if $(LDFLAGS_BUILD_ID),,$(error $(OLD_LD))) 16816+ $(if $(LDFLAGS_BUILD_ID),,$(error $(OLD_LD)))
16669diff -urNp linux-2.6.32.11/arch/x86/mm/extable.c linux-2.6.32.11/arch/x86/mm/extable.c 16817diff -urNp linux-2.6.32.12/arch/x86/mm/extable.c linux-2.6.32.12/arch/x86/mm/extable.c
16670--- linux-2.6.32.11/arch/x86/mm/extable.c 2010-03-15 11:52:04.000000000 -0400 16818--- linux-2.6.32.12/arch/x86/mm/extable.c 2010-03-15 11:52:04.000000000 -0400
16671+++ linux-2.6.32.11/arch/x86/mm/extable.c 2010-04-04 20:46:41.533557286 -0400 16819+++ linux-2.6.32.12/arch/x86/mm/extable.c 2010-04-04 20:46:41.533557286 -0400
16672@@ -1,14 +1,71 @@ 16820@@ -1,14 +1,71 @@
16673 #include <linux/module.h> 16821 #include <linux/module.h>
16674 #include <linux/spinlock.h> 16822 #include <linux/spinlock.h>
@@ -16742,9 +16890,9 @@ diff -urNp linux-2.6.32.11/arch/x86/mm/extable.c linux-2.6.32.11/arch/x86/mm/ext
16742 extern u32 pnp_bios_fault_eip, pnp_bios_fault_esp; 16890 extern u32 pnp_bios_fault_eip, pnp_bios_fault_esp;
16743 extern u32 pnp_bios_is_utter_crap; 16891 extern u32 pnp_bios_is_utter_crap;
16744 pnp_bios_is_utter_crap = 1; 16892 pnp_bios_is_utter_crap = 1;
16745diff -urNp linux-2.6.32.11/arch/x86/mm/fault.c linux-2.6.32.11/arch/x86/mm/fault.c 16893diff -urNp linux-2.6.32.12/arch/x86/mm/fault.c linux-2.6.32.12/arch/x86/mm/fault.c
16746--- linux-2.6.32.11/arch/x86/mm/fault.c 2010-03-15 11:52:04.000000000 -0400 16894--- linux-2.6.32.12/arch/x86/mm/fault.c 2010-03-15 11:52:04.000000000 -0400
16747+++ linux-2.6.32.11/arch/x86/mm/fault.c 2010-04-04 20:58:33.225084964 -0400 16895+++ linux-2.6.32.12/arch/x86/mm/fault.c 2010-04-29 17:46:36.897235141 -0400
16748@@ -11,10 +11,19 @@ 16896@@ -11,10 +11,19 @@
16749 #include <linux/kprobes.h> /* __kprobes, ... */ 16897 #include <linux/kprobes.h> /* __kprobes, ... */
16750 #include <linux/mmiotrace.h> /* kmmio_handler, ... */ 16898 #include <linux/mmiotrace.h> /* kmmio_handler, ... */
@@ -17081,7 +17229,7 @@ diff -urNp linux-2.6.32.11/arch/x86/mm/fault.c linux-2.6.32.11/arch/x86/mm/fault
17081 if (write) { 17229 if (write) {
17082 /* write, present and write, not present: */ 17230 /* write, present and write, not present: */
17083 if (unlikely(!(vma->vm_flags & VM_WRITE))) 17231 if (unlikely(!(vma->vm_flags & VM_WRITE)))
17084@@ -947,17 +1175,29 @@ do_page_fault(struct pt_regs *regs, unsi 17232@@ -947,17 +1175,31 @@ do_page_fault(struct pt_regs *regs, unsi
17085 { 17233 {
17086 struct vm_area_struct *vma; 17234 struct vm_area_struct *vma;
17087 struct task_struct *tsk; 17235 struct task_struct *tsk;
@@ -17094,14 +17242,16 @@ diff -urNp linux-2.6.32.11/arch/x86/mm/fault.c linux-2.6.32.11/arch/x86/mm/fault
17094+ unsigned long address = read_cr2(); 17242+ unsigned long address = read_cr2();
17095+ 17243+
17096+#if defined(CONFIG_X86_64) && defined(CONFIG_PAX_MEMORY_UDEREF) 17244+#if defined(CONFIG_X86_64) && defined(CONFIG_PAX_MEMORY_UDEREF)
17097+ if (!user_mode(regs)) { 17245+ if (!user_mode(regs) && address < 2 * PAX_USER_SHADOW_BASE) {
17246+ if (!search_exception_tables(regs->ip)) {
17247+ bad_area_nosemaphore(regs, error_code, address);
17248+ return;
17249+ }
17098+ if (address < PAX_USER_SHADOW_BASE) { 17250+ if (address < PAX_USER_SHADOW_BASE) {
17099+ if (search_exception_tables(regs->ip)) { 17251+ printk(KERN_ERR "PAX: please report this to pageexec@freemail.hu\n");
17100+ printk(KERN_ERR "PAX: please report this to pageexec@freemail.hu\n"); 17252+ printk(KERN_ERR "PAX: faulting IP: %pS\n", (void *)regs->ip);
17101+ printk(KERN_ERR "PAX: faulting IP: %pS\n", (void *)regs->ip); 17253+ show_trace_log_lvl(NULL, NULL, (void *)regs->sp, regs->bp, KERN_ERR);
17102+ show_trace_log_lvl(NULL, NULL, (void *)regs->sp, regs->bp, KERN_ERR); 17254+ } else
17103+ }
17104+ } else if (address < 2 * PAX_USER_SHADOW_BASE)
17105+ address -= PAX_USER_SHADOW_BASE; 17255+ address -= PAX_USER_SHADOW_BASE;
17106+ } 17256+ }
17107+#endif 17257+#endif
@@ -17115,7 +17265,7 @@ diff -urNp linux-2.6.32.11/arch/x86/mm/fault.c linux-2.6.32.11/arch/x86/mm/fault
17115 /* 17265 /*
17116 * Detect and handle instructions that would cause a page fault for 17266 * Detect and handle instructions that would cause a page fault for
17117 * both a tracked kernel page and a userspace page. 17267 * both a tracked kernel page and a userspace page.
17118@@ -1017,7 +1257,7 @@ do_page_fault(struct pt_regs *regs, unsi 17268@@ -1017,7 +1259,7 @@ do_page_fault(struct pt_regs *regs, unsi
17119 * User-mode registers count as a user access even for any 17269 * User-mode registers count as a user access even for any
17120 * potential system fault or CPU buglet: 17270 * potential system fault or CPU buglet:
17121 */ 17271 */
@@ -17124,7 +17274,7 @@ diff -urNp linux-2.6.32.11/arch/x86/mm/fault.c linux-2.6.32.11/arch/x86/mm/fault
17124 local_irq_enable(); 17274 local_irq_enable();
17125 error_code |= PF_USER; 17275 error_code |= PF_USER;
17126 } else { 17276 } else {
17127@@ -1071,6 +1311,11 @@ do_page_fault(struct pt_regs *regs, unsi 17277@@ -1071,6 +1313,11 @@ do_page_fault(struct pt_regs *regs, unsi
17128 might_sleep(); 17278 might_sleep();
17129 } 17279 }
17130 17280
@@ -17136,7 +17286,7 @@ diff -urNp linux-2.6.32.11/arch/x86/mm/fault.c linux-2.6.32.11/arch/x86/mm/fault
17136 vma = find_vma(mm, address); 17286 vma = find_vma(mm, address);
17137 if (unlikely(!vma)) { 17287 if (unlikely(!vma)) {
17138 bad_area(regs, error_code, address); 17288 bad_area(regs, error_code, address);
17139@@ -1082,18 +1327,24 @@ do_page_fault(struct pt_regs *regs, unsi 17289@@ -1082,18 +1329,24 @@ do_page_fault(struct pt_regs *regs, unsi
17140 bad_area(regs, error_code, address); 17290 bad_area(regs, error_code, address);
17141 return; 17291 return;
17142 } 17292 }
@@ -17172,7 +17322,7 @@ diff -urNp linux-2.6.32.11/arch/x86/mm/fault.c linux-2.6.32.11/arch/x86/mm/fault
17172 if (unlikely(expand_stack(vma, address))) { 17322 if (unlikely(expand_stack(vma, address))) {
17173 bad_area(regs, error_code, address); 17323 bad_area(regs, error_code, address);
17174 return; 17324 return;
17175@@ -1137,3 +1388,199 @@ good_area: 17325@@ -1137,3 +1390,199 @@ good_area:
17176 17326
17177 up_read(&mm->mmap_sem); 17327 up_read(&mm->mmap_sem);
17178 } 17328 }
@@ -17372,9 +17522,9 @@ diff -urNp linux-2.6.32.11/arch/x86/mm/fault.c linux-2.6.32.11/arch/x86/mm/fault
17372+ 17522+
17373+ return ret ? -EFAULT : 0; 17523+ return ret ? -EFAULT : 0;
17374+} 17524+}
17375diff -urNp linux-2.6.32.11/arch/x86/mm/gup.c linux-2.6.32.11/arch/x86/mm/gup.c 17525diff -urNp linux-2.6.32.12/arch/x86/mm/gup.c linux-2.6.32.12/arch/x86/mm/gup.c
17376--- linux-2.6.32.11/arch/x86/mm/gup.c 2010-03-15 11:52:04.000000000 -0400 17526--- linux-2.6.32.12/arch/x86/mm/gup.c 2010-03-15 11:52:04.000000000 -0400
17377+++ linux-2.6.32.11/arch/x86/mm/gup.c 2010-04-04 20:46:41.533557286 -0400 17527+++ linux-2.6.32.12/arch/x86/mm/gup.c 2010-04-04 20:46:41.533557286 -0400
17378@@ -237,7 +237,7 @@ int __get_user_pages_fast(unsigned long 17528@@ -237,7 +237,7 @@ int __get_user_pages_fast(unsigned long
17379 addr = start; 17529 addr = start;
17380 len = (unsigned long) nr_pages << PAGE_SHIFT; 17530 len = (unsigned long) nr_pages << PAGE_SHIFT;
@@ -17384,9 +17534,9 @@ diff -urNp linux-2.6.32.11/arch/x86/mm/gup.c linux-2.6.32.11/arch/x86/mm/gup.c
17384 (void __user *)start, len))) 17534 (void __user *)start, len)))
17385 return 0; 17535 return 0;
17386 17536
17387diff -urNp linux-2.6.32.11/arch/x86/mm/highmem_32.c linux-2.6.32.11/arch/x86/mm/highmem_32.c 17537diff -urNp linux-2.6.32.12/arch/x86/mm/highmem_32.c linux-2.6.32.12/arch/x86/mm/highmem_32.c
17388--- linux-2.6.32.11/arch/x86/mm/highmem_32.c 2010-03-15 11:52:04.000000000 -0400 17538--- linux-2.6.32.12/arch/x86/mm/highmem_32.c 2010-03-15 11:52:04.000000000 -0400
17389+++ linux-2.6.32.11/arch/x86/mm/highmem_32.c 2010-04-04 20:46:41.533557286 -0400 17539+++ linux-2.6.32.12/arch/x86/mm/highmem_32.c 2010-04-04 20:46:41.533557286 -0400
17390@@ -43,7 +43,10 @@ void *kmap_atomic_prot(struct page *page 17540@@ -43,7 +43,10 @@ void *kmap_atomic_prot(struct page *page
17391 idx = type + KM_TYPE_NR*smp_processor_id(); 17541 idx = type + KM_TYPE_NR*smp_processor_id();
17392 vaddr = __fix_to_virt(FIX_KMAP_BEGIN + idx); 17542 vaddr = __fix_to_virt(FIX_KMAP_BEGIN + idx);
@@ -17398,9 +17548,9 @@ diff -urNp linux-2.6.32.11/arch/x86/mm/highmem_32.c linux-2.6.32.11/arch/x86/mm/
17398 17548
17399 return (void *)vaddr; 17549 return (void *)vaddr;
17400 } 17550 }
17401diff -urNp linux-2.6.32.11/arch/x86/mm/hugetlbpage.c linux-2.6.32.11/arch/x86/mm/hugetlbpage.c 17551diff -urNp linux-2.6.32.12/arch/x86/mm/hugetlbpage.c linux-2.6.32.12/arch/x86/mm/hugetlbpage.c
17402--- linux-2.6.32.11/arch/x86/mm/hugetlbpage.c 2010-03-15 11:52:04.000000000 -0400 17552--- linux-2.6.32.12/arch/x86/mm/hugetlbpage.c 2010-03-15 11:52:04.000000000 -0400
17403+++ linux-2.6.32.11/arch/x86/mm/hugetlbpage.c 2010-04-04 20:46:41.533557286 -0400 17553+++ linux-2.6.32.12/arch/x86/mm/hugetlbpage.c 2010-04-04 20:46:41.533557286 -0400
17404@@ -267,13 +267,18 @@ static unsigned long hugetlb_get_unmappe 17554@@ -267,13 +267,18 @@ static unsigned long hugetlb_get_unmappe
17405 struct hstate *h = hstate_file(file); 17555 struct hstate *h = hstate_file(file);
17406 struct mm_struct *mm = current->mm; 17556 struct mm_struct *mm = current->mm;
@@ -17535,9 +17685,9 @@ diff -urNp linux-2.6.32.11/arch/x86/mm/hugetlbpage.c linux-2.6.32.11/arch/x86/mm
17535 (!vma || addr + len <= vma->vm_start)) 17685 (!vma || addr + len <= vma->vm_start))
17536 return addr; 17686 return addr;
17537 } 17687 }
17538diff -urNp linux-2.6.32.11/arch/x86/mm/init_32.c linux-2.6.32.11/arch/x86/mm/init_32.c 17688diff -urNp linux-2.6.32.12/arch/x86/mm/init_32.c linux-2.6.32.12/arch/x86/mm/init_32.c
17539--- linux-2.6.32.11/arch/x86/mm/init_32.c 2010-03-15 11:52:04.000000000 -0400 17689--- linux-2.6.32.12/arch/x86/mm/init_32.c 2010-03-15 11:52:04.000000000 -0400
17540+++ linux-2.6.32.11/arch/x86/mm/init_32.c 2010-04-04 20:58:33.225084964 -0400 17690+++ linux-2.6.32.12/arch/x86/mm/init_32.c 2010-04-04 20:58:33.225084964 -0400
17541@@ -72,36 +72,6 @@ static __init void *alloc_low_page(void) 17691@@ -72,36 +72,6 @@ static __init void *alloc_low_page(void)
17542 } 17692 }
17543 17693
@@ -17841,9 +17991,9 @@ diff -urNp linux-2.6.32.11/arch/x86/mm/init_32.c linux-2.6.32.11/arch/x86/mm/ini
17841 set_pages_ro(virt_to_page(start), size >> PAGE_SHIFT); 17991 set_pages_ro(virt_to_page(start), size >> PAGE_SHIFT);
17842 printk(KERN_INFO "Write protecting the kernel text: %luk\n", 17992 printk(KERN_INFO "Write protecting the kernel text: %luk\n",
17843 size >> 10); 17993 size >> 10);
17844diff -urNp linux-2.6.32.11/arch/x86/mm/init_64.c linux-2.6.32.11/arch/x86/mm/init_64.c 17994diff -urNp linux-2.6.32.12/arch/x86/mm/init_64.c linux-2.6.32.12/arch/x86/mm/init_64.c
17845--- linux-2.6.32.11/arch/x86/mm/init_64.c 2010-03-15 11:52:04.000000000 -0400 17995--- linux-2.6.32.12/arch/x86/mm/init_64.c 2010-03-15 11:52:04.000000000 -0400
17846+++ linux-2.6.32.11/arch/x86/mm/init_64.c 2010-04-04 20:58:33.225084964 -0400 17996+++ linux-2.6.32.12/arch/x86/mm/init_64.c 2010-04-04 20:58:33.225084964 -0400
17847@@ -163,7 +163,9 @@ void set_pte_vaddr_pud(pud_t *pud_page, 17997@@ -163,7 +163,9 @@ void set_pte_vaddr_pud(pud_t *pud_page,
17848 pmd = fill_pmd(pud, vaddr); 17998 pmd = fill_pmd(pud, vaddr);
17849 pte = fill_pte(pmd, vaddr); 17999 pte = fill_pte(pmd, vaddr);
@@ -17904,9 +18054,9 @@ diff -urNp linux-2.6.32.11/arch/x86/mm/init_64.c linux-2.6.32.11/arch/x86/mm/ini
17904 return "[vdso]"; 18054 return "[vdso]";
17905 if (vma == &gate_vma) 18055 if (vma == &gate_vma)
17906 return "[vsyscall]"; 18056 return "[vsyscall]";
17907diff -urNp linux-2.6.32.11/arch/x86/mm/init.c linux-2.6.32.11/arch/x86/mm/init.c 18057diff -urNp linux-2.6.32.12/arch/x86/mm/init.c linux-2.6.32.12/arch/x86/mm/init.c
17908--- linux-2.6.32.11/arch/x86/mm/init.c 2010-03-15 11:52:04.000000000 -0400 18058--- linux-2.6.32.12/arch/x86/mm/init.c 2010-03-15 11:52:04.000000000 -0400
17909+++ linux-2.6.32.11/arch/x86/mm/init.c 2010-04-04 20:46:41.533557286 -0400 18059+++ linux-2.6.32.12/arch/x86/mm/init.c 2010-04-04 20:46:41.533557286 -0400
17910@@ -69,11 +69,7 @@ static void __init find_early_table_spac 18060@@ -69,11 +69,7 @@ static void __init find_early_table_spac
17911 * cause a hotspot and fill up ZONE_DMA. The page tables 18061 * cause a hotspot and fill up ZONE_DMA. The page tables
17912 * need roughly 0.5KB per GB. 18062 * need roughly 0.5KB per GB.
@@ -18023,9 +18173,9 @@ diff -urNp linux-2.6.32.11/arch/x86/mm/init.c linux-2.6.32.11/arch/x86/mm/init.c
18023 free_init_pages("unused kernel memory", 18173 free_init_pages("unused kernel memory",
18024 (unsigned long)(&__init_begin), 18174 (unsigned long)(&__init_begin),
18025 (unsigned long)(&__init_end)); 18175 (unsigned long)(&__init_end));
18026diff -urNp linux-2.6.32.11/arch/x86/mm/iomap_32.c linux-2.6.32.11/arch/x86/mm/iomap_32.c 18176diff -urNp linux-2.6.32.12/arch/x86/mm/iomap_32.c linux-2.6.32.12/arch/x86/mm/iomap_32.c
18027--- linux-2.6.32.11/arch/x86/mm/iomap_32.c 2010-03-15 11:52:04.000000000 -0400 18177--- linux-2.6.32.12/arch/x86/mm/iomap_32.c 2010-03-15 11:52:04.000000000 -0400
18028+++ linux-2.6.32.11/arch/x86/mm/iomap_32.c 2010-04-04 20:46:41.533557286 -0400 18178+++ linux-2.6.32.12/arch/x86/mm/iomap_32.c 2010-04-04 20:46:41.533557286 -0400
18029@@ -65,7 +65,11 @@ void *kmap_atomic_prot_pfn(unsigned long 18179@@ -65,7 +65,11 @@ void *kmap_atomic_prot_pfn(unsigned long
18030 debug_kmap_atomic(type); 18180 debug_kmap_atomic(type);
18031 idx = type + KM_TYPE_NR * smp_processor_id(); 18181 idx = type + KM_TYPE_NR * smp_processor_id();
@@ -18038,9 +18188,9 @@ diff -urNp linux-2.6.32.11/arch/x86/mm/iomap_32.c linux-2.6.32.11/arch/x86/mm/io
18038 arch_flush_lazy_mmu_mode(); 18188 arch_flush_lazy_mmu_mode();
18039 18189
18040 return (void *)vaddr; 18190 return (void *)vaddr;
18041diff -urNp linux-2.6.32.11/arch/x86/mm/ioremap.c linux-2.6.32.11/arch/x86/mm/ioremap.c 18191diff -urNp linux-2.6.32.12/arch/x86/mm/ioremap.c linux-2.6.32.12/arch/x86/mm/ioremap.c
18042--- linux-2.6.32.11/arch/x86/mm/ioremap.c 2010-03-15 11:52:04.000000000 -0400 18192--- linux-2.6.32.12/arch/x86/mm/ioremap.c 2010-03-15 11:52:04.000000000 -0400
18043+++ linux-2.6.32.11/arch/x86/mm/ioremap.c 2010-04-04 20:46:41.533557286 -0400 18193+++ linux-2.6.32.12/arch/x86/mm/ioremap.c 2010-04-04 20:46:41.533557286 -0400
18044@@ -41,8 +41,8 @@ int page_is_ram(unsigned long pagenr) 18194@@ -41,8 +41,8 @@ int page_is_ram(unsigned long pagenr)
18045 * Second special case: Some BIOSen report the PC BIOS 18195 * Second special case: Some BIOSen report the PC BIOS
18046 * area (640->1Mb) as ram even though it is not. 18196 * area (640->1Mb) as ram even though it is not.
@@ -18087,9 +18237,9 @@ diff -urNp linux-2.6.32.11/arch/x86/mm/ioremap.c linux-2.6.32.11/arch/x86/mm/ior
18087 18237
18088 /* 18238 /*
18089 * The boot-ioremap range spans multiple pmds, for which 18239 * The boot-ioremap range spans multiple pmds, for which
18090diff -urNp linux-2.6.32.11/arch/x86/mm/kmemcheck/kmemcheck.c linux-2.6.32.11/arch/x86/mm/kmemcheck/kmemcheck.c 18240diff -urNp linux-2.6.32.12/arch/x86/mm/kmemcheck/kmemcheck.c linux-2.6.32.12/arch/x86/mm/kmemcheck/kmemcheck.c
18091--- linux-2.6.32.11/arch/x86/mm/kmemcheck/kmemcheck.c 2010-03-15 11:52:04.000000000 -0400 18241--- linux-2.6.32.12/arch/x86/mm/kmemcheck/kmemcheck.c 2010-03-15 11:52:04.000000000 -0400
18092+++ linux-2.6.32.11/arch/x86/mm/kmemcheck/kmemcheck.c 2010-04-04 20:46:41.533557286 -0400 18242+++ linux-2.6.32.12/arch/x86/mm/kmemcheck/kmemcheck.c 2010-04-04 20:46:41.533557286 -0400
18093@@ -622,9 +622,9 @@ bool kmemcheck_fault(struct pt_regs *reg 18243@@ -622,9 +622,9 @@ bool kmemcheck_fault(struct pt_regs *reg
18094 * memory (e.g. tracked pages)? For now, we need this to avoid 18244 * memory (e.g. tracked pages)? For now, we need this to avoid
18095 * invoking kmemcheck for PnP BIOS calls. 18245 * invoking kmemcheck for PnP BIOS calls.
@@ -18102,9 +18252,9 @@ diff -urNp linux-2.6.32.11/arch/x86/mm/kmemcheck/kmemcheck.c linux-2.6.32.11/arc
18102 return false; 18252 return false;
18103 18253
18104 pte = kmemcheck_pte_lookup(address); 18254 pte = kmemcheck_pte_lookup(address);
18105diff -urNp linux-2.6.32.11/arch/x86/mm/mmap.c linux-2.6.32.11/arch/x86/mm/mmap.c 18255diff -urNp linux-2.6.32.12/arch/x86/mm/mmap.c linux-2.6.32.12/arch/x86/mm/mmap.c
18106--- linux-2.6.32.11/arch/x86/mm/mmap.c 2010-03-15 11:52:04.000000000 -0400 18256--- linux-2.6.32.12/arch/x86/mm/mmap.c 2010-03-15 11:52:04.000000000 -0400
18107+++ linux-2.6.32.11/arch/x86/mm/mmap.c 2010-04-04 20:46:41.537568318 -0400 18257+++ linux-2.6.32.12/arch/x86/mm/mmap.c 2010-04-04 20:46:41.537568318 -0400
18108@@ -49,7 +49,7 @@ static unsigned int stack_maxrandom_size 18258@@ -49,7 +49,7 @@ static unsigned int stack_maxrandom_size
18109 * Leave an at least ~128 MB hole with possible stack randomization. 18259 * Leave an at least ~128 MB hole with possible stack randomization.
18110 */ 18260 */
@@ -18186,9 +18336,9 @@ diff -urNp linux-2.6.32.11/arch/x86/mm/mmap.c linux-2.6.32.11/arch/x86/mm/mmap.c
18186 mm->get_unmapped_area = arch_get_unmapped_area_topdown; 18336 mm->get_unmapped_area = arch_get_unmapped_area_topdown;
18187 mm->unmap_area = arch_unmap_area_topdown; 18337 mm->unmap_area = arch_unmap_area_topdown;
18188 } 18338 }
18189diff -urNp linux-2.6.32.11/arch/x86/mm/numa_32.c linux-2.6.32.11/arch/x86/mm/numa_32.c 18339diff -urNp linux-2.6.32.12/arch/x86/mm/numa_32.c linux-2.6.32.12/arch/x86/mm/numa_32.c
18190--- linux-2.6.32.11/arch/x86/mm/numa_32.c 2010-03-15 11:52:04.000000000 -0400 18340--- linux-2.6.32.12/arch/x86/mm/numa_32.c 2010-03-15 11:52:04.000000000 -0400
18191+++ linux-2.6.32.11/arch/x86/mm/numa_32.c 2010-04-04 20:46:41.537568318 -0400 18341+++ linux-2.6.32.12/arch/x86/mm/numa_32.c 2010-04-04 20:46:41.537568318 -0400
18192@@ -98,7 +98,6 @@ unsigned long node_memmap_size_bytes(int 18342@@ -98,7 +98,6 @@ unsigned long node_memmap_size_bytes(int
18193 } 18343 }
18194 #endif 18344 #endif
@@ -18197,9 +18347,9 @@ diff -urNp linux-2.6.32.11/arch/x86/mm/numa_32.c linux-2.6.32.11/arch/x86/mm/num
18197 extern unsigned long highend_pfn, highstart_pfn; 18347 extern unsigned long highend_pfn, highstart_pfn;
18198 18348
18199 #define LARGE_PAGE_BYTES (PTRS_PER_PTE * PAGE_SIZE) 18349 #define LARGE_PAGE_BYTES (PTRS_PER_PTE * PAGE_SIZE)
18200diff -urNp linux-2.6.32.11/arch/x86/mm/pageattr.c linux-2.6.32.11/arch/x86/mm/pageattr.c 18350diff -urNp linux-2.6.32.12/arch/x86/mm/pageattr.c linux-2.6.32.12/arch/x86/mm/pageattr.c
18201--- linux-2.6.32.11/arch/x86/mm/pageattr.c 2010-03-15 11:52:04.000000000 -0400 18351--- linux-2.6.32.12/arch/x86/mm/pageattr.c 2010-03-15 11:52:04.000000000 -0400
18202+++ linux-2.6.32.11/arch/x86/mm/pageattr.c 2010-04-04 20:46:41.537568318 -0400 18352+++ linux-2.6.32.12/arch/x86/mm/pageattr.c 2010-04-04 20:46:41.537568318 -0400
18203@@ -268,9 +268,10 @@ static inline pgprot_t static_protection 18353@@ -268,9 +268,10 @@ static inline pgprot_t static_protection
18204 * Does not cover __inittext since that is gone later on. On 18354 * Does not cover __inittext since that is gone later on. On
18205 * 64bit we do not enforce !NX on the low mapping 18355 * 64bit we do not enforce !NX on the low mapping
@@ -18231,9 +18381,9 @@ diff -urNp linux-2.6.32.11/arch/x86/mm/pageattr.c linux-2.6.32.11/arch/x86/mm/pa
18231 #ifdef CONFIG_X86_32 18381 #ifdef CONFIG_X86_32
18232 if (!SHARED_KERNEL_PMD) { 18382 if (!SHARED_KERNEL_PMD) {
18233 struct page *page; 18383 struct page *page;
18234diff -urNp linux-2.6.32.11/arch/x86/mm/pageattr-test.c linux-2.6.32.11/arch/x86/mm/pageattr-test.c 18384diff -urNp linux-2.6.32.12/arch/x86/mm/pageattr-test.c linux-2.6.32.12/arch/x86/mm/pageattr-test.c
18235--- linux-2.6.32.11/arch/x86/mm/pageattr-test.c 2010-03-15 11:52:04.000000000 -0400 18385--- linux-2.6.32.12/arch/x86/mm/pageattr-test.c 2010-03-15 11:52:04.000000000 -0400
18236+++ linux-2.6.32.11/arch/x86/mm/pageattr-test.c 2010-04-04 20:46:41.537568318 -0400 18386+++ linux-2.6.32.12/arch/x86/mm/pageattr-test.c 2010-04-04 20:46:41.537568318 -0400
18237@@ -36,7 +36,7 @@ enum { 18387@@ -36,7 +36,7 @@ enum {
18238 18388
18239 static int pte_testbit(pte_t pte) 18389 static int pte_testbit(pte_t pte)
@@ -18243,9 +18393,9 @@ diff -urNp linux-2.6.32.11/arch/x86/mm/pageattr-test.c linux-2.6.32.11/arch/x86/
18243 } 18393 }
18244 18394
18245 struct split_state { 18395 struct split_state {
18246diff -urNp linux-2.6.32.11/arch/x86/mm/pat.c linux-2.6.32.11/arch/x86/mm/pat.c 18396diff -urNp linux-2.6.32.12/arch/x86/mm/pat.c linux-2.6.32.12/arch/x86/mm/pat.c
18247--- linux-2.6.32.11/arch/x86/mm/pat.c 2010-03-15 11:52:04.000000000 -0400 18397--- linux-2.6.32.12/arch/x86/mm/pat.c 2010-03-15 11:52:04.000000000 -0400
18248+++ linux-2.6.32.11/arch/x86/mm/pat.c 2010-04-04 20:46:41.537568318 -0400 18398+++ linux-2.6.32.12/arch/x86/mm/pat.c 2010-04-04 20:46:41.537568318 -0400
18249@@ -258,7 +258,7 @@ chk_conflict(struct memtype *new, struct 18399@@ -258,7 +258,7 @@ chk_conflict(struct memtype *new, struct
18250 18400
18251 conflict: 18401 conflict:
@@ -18282,9 +18432,9 @@ diff -urNp linux-2.6.32.11/arch/x86/mm/pat.c linux-2.6.32.11/arch/x86/mm/pat.c
18282 cattr_name(want_flags), 18432 cattr_name(want_flags),
18283 (unsigned long long)paddr, 18433 (unsigned long long)paddr,
18284 (unsigned long long)(paddr + size), 18434 (unsigned long long)(paddr + size),
18285diff -urNp linux-2.6.32.11/arch/x86/mm/pgtable_32.c linux-2.6.32.11/arch/x86/mm/pgtable_32.c 18435diff -urNp linux-2.6.32.12/arch/x86/mm/pgtable_32.c linux-2.6.32.12/arch/x86/mm/pgtable_32.c
18286--- linux-2.6.32.11/arch/x86/mm/pgtable_32.c 2010-03-15 11:52:04.000000000 -0400 18436--- linux-2.6.32.12/arch/x86/mm/pgtable_32.c 2010-03-15 11:52:04.000000000 -0400
18287+++ linux-2.6.32.11/arch/x86/mm/pgtable_32.c 2010-04-04 20:46:41.537568318 -0400 18437+++ linux-2.6.32.12/arch/x86/mm/pgtable_32.c 2010-04-04 20:46:41.537568318 -0400
18288@@ -49,10 +49,13 @@ void set_pte_vaddr(unsigned long vaddr, 18438@@ -49,10 +49,13 @@ void set_pte_vaddr(unsigned long vaddr,
18289 return; 18439 return;
18290 } 18440 }
@@ -18299,9 +18449,9 @@ diff -urNp linux-2.6.32.11/arch/x86/mm/pgtable_32.c linux-2.6.32.11/arch/x86/mm/
18299 18449
18300 /* 18450 /*
18301 * It's enough to flush this one mapping. 18451 * It's enough to flush this one mapping.
18302diff -urNp linux-2.6.32.11/arch/x86/mm/pgtable.c linux-2.6.32.11/arch/x86/mm/pgtable.c 18452diff -urNp linux-2.6.32.12/arch/x86/mm/pgtable.c linux-2.6.32.12/arch/x86/mm/pgtable.c
18303--- linux-2.6.32.11/arch/x86/mm/pgtable.c 2010-03-15 11:52:04.000000000 -0400 18453--- linux-2.6.32.12/arch/x86/mm/pgtable.c 2010-03-15 11:52:04.000000000 -0400
18304+++ linux-2.6.32.11/arch/x86/mm/pgtable.c 2010-04-04 20:58:33.225084964 -0400 18454+++ linux-2.6.32.12/arch/x86/mm/pgtable.c 2010-04-04 20:58:33.225084964 -0400
18305@@ -63,8 +63,12 @@ void ___pmd_free_tlb(struct mmu_gather * 18455@@ -63,8 +63,12 @@ void ___pmd_free_tlb(struct mmu_gather *
18306 #if PAGETABLE_LEVELS > 3 18456 #if PAGETABLE_LEVELS > 3
18307 void ___pud_free_tlb(struct mmu_gather *tlb, pud_t *pud) 18457 void ___pud_free_tlb(struct mmu_gather *tlb, pud_t *pud)
@@ -18571,9 +18721,9 @@ diff -urNp linux-2.6.32.11/arch/x86/mm/pgtable.c linux-2.6.32.11/arch/x86/mm/pgt
18571 pgd_dtor(pgd); 18721 pgd_dtor(pgd);
18572 paravirt_pgd_free(mm, pgd); 18722 paravirt_pgd_free(mm, pgd);
18573 free_page((unsigned long)pgd); 18723 free_page((unsigned long)pgd);
18574diff -urNp linux-2.6.32.11/arch/x86/mm/setup_nx.c linux-2.6.32.11/arch/x86/mm/setup_nx.c 18724diff -urNp linux-2.6.32.12/arch/x86/mm/setup_nx.c linux-2.6.32.12/arch/x86/mm/setup_nx.c
18575--- linux-2.6.32.11/arch/x86/mm/setup_nx.c 2010-03-15 11:52:04.000000000 -0400 18725--- linux-2.6.32.12/arch/x86/mm/setup_nx.c 2010-03-15 11:52:04.000000000 -0400
18576+++ linux-2.6.32.11/arch/x86/mm/setup_nx.c 2010-04-04 20:46:41.537568318 -0400 18726+++ linux-2.6.32.12/arch/x86/mm/setup_nx.c 2010-04-04 20:46:41.537568318 -0400
18577@@ -4,11 +4,10 @@ 18727@@ -4,11 +4,10 @@
18578 18728
18579 #include <asm/pgtable.h> 18729 #include <asm/pgtable.h>
@@ -18639,9 +18789,9 @@ diff -urNp linux-2.6.32.11/arch/x86/mm/setup_nx.c linux-2.6.32.11/arch/x86/mm/se
18639 __supported_pte_mask &= ~_PAGE_NX; 18789 __supported_pte_mask &= ~_PAGE_NX;
18640 } 18790 }
18641 #endif 18791 #endif
18642diff -urNp linux-2.6.32.11/arch/x86/mm/tlb.c linux-2.6.32.11/arch/x86/mm/tlb.c 18792diff -urNp linux-2.6.32.12/arch/x86/mm/tlb.c linux-2.6.32.12/arch/x86/mm/tlb.c
18643--- linux-2.6.32.11/arch/x86/mm/tlb.c 2010-03-15 11:52:04.000000000 -0400 18793--- linux-2.6.32.12/arch/x86/mm/tlb.c 2010-03-15 11:52:04.000000000 -0400
18644+++ linux-2.6.32.11/arch/x86/mm/tlb.c 2010-04-04 20:58:33.225084964 -0400 18794+++ linux-2.6.32.12/arch/x86/mm/tlb.c 2010-04-04 20:58:33.225084964 -0400
18645@@ -12,7 +12,7 @@ 18795@@ -12,7 +12,7 @@
18646 #include <asm/uv/uv.h> 18796 #include <asm/uv/uv.h>
18647 18797
@@ -18663,9 +18813,9 @@ diff -urNp linux-2.6.32.11/arch/x86/mm/tlb.c linux-2.6.32.11/arch/x86/mm/tlb.c
18663 } 18813 }
18664 EXPORT_SYMBOL_GPL(leave_mm); 18814 EXPORT_SYMBOL_GPL(leave_mm);
18665 18815
18666diff -urNp linux-2.6.32.11/arch/x86/oprofile/backtrace.c linux-2.6.32.11/arch/x86/oprofile/backtrace.c 18816diff -urNp linux-2.6.32.12/arch/x86/oprofile/backtrace.c linux-2.6.32.12/arch/x86/oprofile/backtrace.c
18667--- linux-2.6.32.11/arch/x86/oprofile/backtrace.c 2010-03-15 11:52:04.000000000 -0400 18817--- linux-2.6.32.12/arch/x86/oprofile/backtrace.c 2010-03-15 11:52:04.000000000 -0400
18668+++ linux-2.6.32.11/arch/x86/oprofile/backtrace.c 2010-04-04 20:46:41.537568318 -0400 18818+++ linux-2.6.32.12/arch/x86/oprofile/backtrace.c 2010-04-04 20:46:41.537568318 -0400
18669@@ -57,7 +57,7 @@ static struct frame_head *dump_user_back 18819@@ -57,7 +57,7 @@ static struct frame_head *dump_user_back
18670 struct frame_head bufhead[2]; 18820 struct frame_head bufhead[2];
18671 18821
@@ -18684,9 +18834,9 @@ diff -urNp linux-2.6.32.11/arch/x86/oprofile/backtrace.c linux-2.6.32.11/arch/x8
18684 unsigned long stack = kernel_stack_pointer(regs); 18834 unsigned long stack = kernel_stack_pointer(regs);
18685 if (depth) 18835 if (depth)
18686 dump_trace(NULL, regs, (unsigned long *)stack, 0, 18836 dump_trace(NULL, regs, (unsigned long *)stack, 0,
18687diff -urNp linux-2.6.32.11/arch/x86/oprofile/op_model_p4.c linux-2.6.32.11/arch/x86/oprofile/op_model_p4.c 18837diff -urNp linux-2.6.32.12/arch/x86/oprofile/op_model_p4.c linux-2.6.32.12/arch/x86/oprofile/op_model_p4.c
18688--- linux-2.6.32.11/arch/x86/oprofile/op_model_p4.c 2010-03-15 11:52:04.000000000 -0400 18838--- linux-2.6.32.12/arch/x86/oprofile/op_model_p4.c 2010-03-15 11:52:04.000000000 -0400
18689+++ linux-2.6.32.11/arch/x86/oprofile/op_model_p4.c 2010-04-04 20:46:41.537568318 -0400 18839+++ linux-2.6.32.12/arch/x86/oprofile/op_model_p4.c 2010-04-04 20:46:41.537568318 -0400
18690@@ -50,7 +50,7 @@ static inline void setup_num_counters(vo 18840@@ -50,7 +50,7 @@ static inline void setup_num_counters(vo
18691 #endif 18841 #endif
18692 } 18842 }
@@ -18696,9 +18846,9 @@ diff -urNp linux-2.6.32.11/arch/x86/oprofile/op_model_p4.c linux-2.6.32.11/arch/
18696 { 18846 {
18697 #ifdef CONFIG_SMP 18847 #ifdef CONFIG_SMP
18698 return smp_num_siblings == 2 ? 2 : 1; 18848 return smp_num_siblings == 2 ? 2 : 1;
18699diff -urNp linux-2.6.32.11/arch/x86/pci/common.c linux-2.6.32.11/arch/x86/pci/common.c 18849diff -urNp linux-2.6.32.12/arch/x86/pci/common.c linux-2.6.32.12/arch/x86/pci/common.c
18700--- linux-2.6.32.11/arch/x86/pci/common.c 2010-03-15 11:52:04.000000000 -0400 18850--- linux-2.6.32.12/arch/x86/pci/common.c 2010-03-15 11:52:04.000000000 -0400
18701+++ linux-2.6.32.11/arch/x86/pci/common.c 2010-04-04 20:46:41.537568318 -0400 18851+++ linux-2.6.32.12/arch/x86/pci/common.c 2010-04-04 20:46:41.537568318 -0400
18702@@ -31,8 +31,8 @@ int noioapicreroute = 1; 18852@@ -31,8 +31,8 @@ int noioapicreroute = 1;
18703 int pcibios_last_bus = -1; 18853 int pcibios_last_bus = -1;
18704 unsigned long pirq_table_addr; 18854 unsigned long pirq_table_addr;
@@ -18719,9 +18869,9 @@ diff -urNp linux-2.6.32.11/arch/x86/pci/common.c linux-2.6.32.11/arch/x86/pci/co
18719 }; 18869 };
18720 18870
18721 void __init dmi_check_pciprobe(void) 18871 void __init dmi_check_pciprobe(void)
18722diff -urNp linux-2.6.32.11/arch/x86/pci/direct.c linux-2.6.32.11/arch/x86/pci/direct.c 18872diff -urNp linux-2.6.32.12/arch/x86/pci/direct.c linux-2.6.32.12/arch/x86/pci/direct.c
18723--- linux-2.6.32.11/arch/x86/pci/direct.c 2010-03-15 11:52:04.000000000 -0400 18873--- linux-2.6.32.12/arch/x86/pci/direct.c 2010-03-15 11:52:04.000000000 -0400
18724+++ linux-2.6.32.11/arch/x86/pci/direct.c 2010-04-04 20:46:41.537568318 -0400 18874+++ linux-2.6.32.12/arch/x86/pci/direct.c 2010-04-04 20:46:41.537568318 -0400
18725@@ -79,7 +79,7 @@ static int pci_conf1_write(unsigned int 18875@@ -79,7 +79,7 @@ static int pci_conf1_write(unsigned int
18726 18876
18727 #undef PCI_CONF1_ADDRESS 18877 #undef PCI_CONF1_ADDRESS
@@ -18749,9 +18899,9 @@ diff -urNp linux-2.6.32.11/arch/x86/pci/direct.c linux-2.6.32.11/arch/x86/pci/di
18749 { 18899 {
18750 u32 x = 0; 18900 u32 x = 0;
18751 int year, devfn; 18901 int year, devfn;
18752diff -urNp linux-2.6.32.11/arch/x86/pci/fixup.c linux-2.6.32.11/arch/x86/pci/fixup.c 18902diff -urNp linux-2.6.32.12/arch/x86/pci/fixup.c linux-2.6.32.12/arch/x86/pci/fixup.c
18753--- linux-2.6.32.11/arch/x86/pci/fixup.c 2010-03-15 11:52:04.000000000 -0400 18903--- linux-2.6.32.12/arch/x86/pci/fixup.c 2010-03-15 11:52:04.000000000 -0400
18754+++ linux-2.6.32.11/arch/x86/pci/fixup.c 2010-04-04 20:46:41.537568318 -0400 18904+++ linux-2.6.32.12/arch/x86/pci/fixup.c 2010-04-04 20:46:41.537568318 -0400
18755@@ -364,7 +364,7 @@ static const struct dmi_system_id __devi 18905@@ -364,7 +364,7 @@ static const struct dmi_system_id __devi
18756 DMI_MATCH(DMI_PRODUCT_NAME, "MS-6702E"), 18906 DMI_MATCH(DMI_PRODUCT_NAME, "MS-6702E"),
18757 }, 18907 },
@@ -18770,9 +18920,9 @@ diff -urNp linux-2.6.32.11/arch/x86/pci/fixup.c linux-2.6.32.11/arch/x86/pci/fix
18770 }; 18920 };
18771 18921
18772 static void __devinit pci_pre_fixup_toshiba_ohci1394(struct pci_dev *dev) 18922 static void __devinit pci_pre_fixup_toshiba_ohci1394(struct pci_dev *dev)
18773diff -urNp linux-2.6.32.11/arch/x86/pci/irq.c linux-2.6.32.11/arch/x86/pci/irq.c 18923diff -urNp linux-2.6.32.12/arch/x86/pci/irq.c linux-2.6.32.12/arch/x86/pci/irq.c
18774--- linux-2.6.32.11/arch/x86/pci/irq.c 2010-03-15 11:52:04.000000000 -0400 18924--- linux-2.6.32.12/arch/x86/pci/irq.c 2010-04-29 17:49:37.625451376 -0400
18775+++ linux-2.6.32.11/arch/x86/pci/irq.c 2010-04-04 20:46:41.537568318 -0400 18925+++ linux-2.6.32.12/arch/x86/pci/irq.c 2010-04-29 17:49:58.053442872 -0400
18776@@ -543,7 +543,7 @@ static __init int intel_router_probe(str 18926@@ -543,7 +543,7 @@ static __init int intel_router_probe(str
18777 static struct pci_device_id __initdata pirq_440gx[] = { 18927 static struct pci_device_id __initdata pirq_440gx[] = {
18778 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82443GX_0) }, 18928 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82443GX_0) },
@@ -18782,7 +18932,7 @@ diff -urNp linux-2.6.32.11/arch/x86/pci/irq.c linux-2.6.32.11/arch/x86/pci/irq.c
18782 }; 18932 };
18783 18933
18784 /* 440GX has a proprietary PIRQ router -- don't use it */ 18934 /* 440GX has a proprietary PIRQ router -- don't use it */
18785@@ -1107,7 +1107,7 @@ static struct dmi_system_id __initdata p 18935@@ -1109,7 +1109,7 @@ static struct dmi_system_id __initdata p
18786 DMI_MATCH(DMI_PRODUCT_NAME, "TravelMate 360"), 18936 DMI_MATCH(DMI_PRODUCT_NAME, "TravelMate 360"),
18787 }, 18937 },
18788 }, 18938 },
@@ -18791,9 +18941,9 @@ diff -urNp linux-2.6.32.11/arch/x86/pci/irq.c linux-2.6.32.11/arch/x86/pci/irq.c
18791 }; 18941 };
18792 18942
18793 int __init pcibios_irq_init(void) 18943 int __init pcibios_irq_init(void)
18794diff -urNp linux-2.6.32.11/arch/x86/pci/mmconfig_32.c linux-2.6.32.11/arch/x86/pci/mmconfig_32.c 18944diff -urNp linux-2.6.32.12/arch/x86/pci/mmconfig_32.c linux-2.6.32.12/arch/x86/pci/mmconfig_32.c
18795--- linux-2.6.32.11/arch/x86/pci/mmconfig_32.c 2010-03-15 11:52:04.000000000 -0400 18945--- linux-2.6.32.12/arch/x86/pci/mmconfig_32.c 2010-03-15 11:52:04.000000000 -0400
18796+++ linux-2.6.32.11/arch/x86/pci/mmconfig_32.c 2010-04-04 20:46:41.537568318 -0400 18946+++ linux-2.6.32.12/arch/x86/pci/mmconfig_32.c 2010-04-04 20:46:41.537568318 -0400
18797@@ -125,7 +125,7 @@ static int pci_mmcfg_write(unsigned int 18947@@ -125,7 +125,7 @@ static int pci_mmcfg_write(unsigned int
18798 return 0; 18948 return 0;
18799 } 18949 }
@@ -18803,9 +18953,9 @@ diff -urNp linux-2.6.32.11/arch/x86/pci/mmconfig_32.c linux-2.6.32.11/arch/x86/p
18803 .read = pci_mmcfg_read, 18953 .read = pci_mmcfg_read,
18804 .write = pci_mmcfg_write, 18954 .write = pci_mmcfg_write,
18805 }; 18955 };
18806diff -urNp linux-2.6.32.11/arch/x86/pci/mmconfig_64.c linux-2.6.32.11/arch/x86/pci/mmconfig_64.c 18956diff -urNp linux-2.6.32.12/arch/x86/pci/mmconfig_64.c linux-2.6.32.12/arch/x86/pci/mmconfig_64.c
18807--- linux-2.6.32.11/arch/x86/pci/mmconfig_64.c 2010-03-15 11:52:04.000000000 -0400 18957--- linux-2.6.32.12/arch/x86/pci/mmconfig_64.c 2010-03-15 11:52:04.000000000 -0400
18808+++ linux-2.6.32.11/arch/x86/pci/mmconfig_64.c 2010-04-04 20:46:41.537568318 -0400 18958+++ linux-2.6.32.12/arch/x86/pci/mmconfig_64.c 2010-04-04 20:46:41.537568318 -0400
18809@@ -104,7 +104,7 @@ static int pci_mmcfg_write(unsigned int 18959@@ -104,7 +104,7 @@ static int pci_mmcfg_write(unsigned int
18810 return 0; 18960 return 0;
18811 } 18961 }
@@ -18815,9 +18965,9 @@ diff -urNp linux-2.6.32.11/arch/x86/pci/mmconfig_64.c linux-2.6.32.11/arch/x86/p
18815 .read = pci_mmcfg_read, 18965 .read = pci_mmcfg_read,
18816 .write = pci_mmcfg_write, 18966 .write = pci_mmcfg_write,
18817 }; 18967 };
18818diff -urNp linux-2.6.32.11/arch/x86/pci/numaq_32.c linux-2.6.32.11/arch/x86/pci/numaq_32.c 18968diff -urNp linux-2.6.32.12/arch/x86/pci/numaq_32.c linux-2.6.32.12/arch/x86/pci/numaq_32.c
18819--- linux-2.6.32.11/arch/x86/pci/numaq_32.c 2010-03-15 11:52:04.000000000 -0400 18969--- linux-2.6.32.12/arch/x86/pci/numaq_32.c 2010-03-15 11:52:04.000000000 -0400
18820+++ linux-2.6.32.11/arch/x86/pci/numaq_32.c 2010-04-04 20:46:41.537568318 -0400 18970+++ linux-2.6.32.12/arch/x86/pci/numaq_32.c 2010-04-04 20:46:41.537568318 -0400
18821@@ -112,7 +112,7 @@ static int pci_conf1_mq_write(unsigned i 18971@@ -112,7 +112,7 @@ static int pci_conf1_mq_write(unsigned i
18822 18972
18823 #undef PCI_CONF1_MQ_ADDRESS 18973 #undef PCI_CONF1_MQ_ADDRESS
@@ -18827,9 +18977,9 @@ diff -urNp linux-2.6.32.11/arch/x86/pci/numaq_32.c linux-2.6.32.11/arch/x86/pci/
18827 .read = pci_conf1_mq_read, 18977 .read = pci_conf1_mq_read,
18828 .write = pci_conf1_mq_write 18978 .write = pci_conf1_mq_write
18829 }; 18979 };
18830diff -urNp linux-2.6.32.11/arch/x86/pci/olpc.c linux-2.6.32.11/arch/x86/pci/olpc.c 18980diff -urNp linux-2.6.32.12/arch/x86/pci/olpc.c linux-2.6.32.12/arch/x86/pci/olpc.c
18831--- linux-2.6.32.11/arch/x86/pci/olpc.c 2010-03-15 11:52:04.000000000 -0400 18981--- linux-2.6.32.12/arch/x86/pci/olpc.c 2010-03-15 11:52:04.000000000 -0400
18832+++ linux-2.6.32.11/arch/x86/pci/olpc.c 2010-04-04 20:46:41.537568318 -0400 18982+++ linux-2.6.32.12/arch/x86/pci/olpc.c 2010-04-04 20:46:41.537568318 -0400
18833@@ -297,7 +297,7 @@ static int pci_olpc_write(unsigned int s 18983@@ -297,7 +297,7 @@ static int pci_olpc_write(unsigned int s
18834 return 0; 18984 return 0;
18835 } 18985 }
@@ -18839,9 +18989,9 @@ diff -urNp linux-2.6.32.11/arch/x86/pci/olpc.c linux-2.6.32.11/arch/x86/pci/olpc
18839 .read = pci_olpc_read, 18989 .read = pci_olpc_read,
18840 .write = pci_olpc_write, 18990 .write = pci_olpc_write,
18841 }; 18991 };
18842diff -urNp linux-2.6.32.11/arch/x86/pci/pcbios.c linux-2.6.32.11/arch/x86/pci/pcbios.c 18992diff -urNp linux-2.6.32.12/arch/x86/pci/pcbios.c linux-2.6.32.12/arch/x86/pci/pcbios.c
18843--- linux-2.6.32.11/arch/x86/pci/pcbios.c 2010-03-15 11:52:04.000000000 -0400 18993--- linux-2.6.32.12/arch/x86/pci/pcbios.c 2010-03-15 11:52:04.000000000 -0400
18844+++ linux-2.6.32.11/arch/x86/pci/pcbios.c 2010-04-04 20:46:41.537568318 -0400 18994+++ linux-2.6.32.12/arch/x86/pci/pcbios.c 2010-04-04 20:46:41.537568318 -0400
18845@@ -56,50 +56,93 @@ union bios32 { 18995@@ -56,50 +56,93 @@ union bios32 {
18846 static struct { 18996 static struct {
18847 unsigned long address; 18997 unsigned long address;
@@ -19164,9 +19314,9 @@ diff -urNp linux-2.6.32.11/arch/x86/pci/pcbios.c linux-2.6.32.11/arch/x86/pci/pc
19164 return !(ret & 0xff00); 19314 return !(ret & 0xff00);
19165 } 19315 }
19166 EXPORT_SYMBOL(pcibios_set_irq_routing); 19316 EXPORT_SYMBOL(pcibios_set_irq_routing);
19167diff -urNp linux-2.6.32.11/arch/x86/power/cpu.c linux-2.6.32.11/arch/x86/power/cpu.c 19317diff -urNp linux-2.6.32.12/arch/x86/power/cpu.c linux-2.6.32.12/arch/x86/power/cpu.c
19168--- linux-2.6.32.11/arch/x86/power/cpu.c 2010-03-15 11:52:04.000000000 -0400 19318--- linux-2.6.32.12/arch/x86/power/cpu.c 2010-03-15 11:52:04.000000000 -0400
19169+++ linux-2.6.32.11/arch/x86/power/cpu.c 2010-04-04 20:46:41.537568318 -0400 19319+++ linux-2.6.32.12/arch/x86/power/cpu.c 2010-04-04 20:46:41.537568318 -0400
19170@@ -126,7 +126,7 @@ static void do_fpu_end(void) 19320@@ -126,7 +126,7 @@ static void do_fpu_end(void)
19171 static void fix_processor_context(void) 19321 static void fix_processor_context(void)
19172 { 19322 {
@@ -19186,9 +19336,9 @@ diff -urNp linux-2.6.32.11/arch/x86/power/cpu.c linux-2.6.32.11/arch/x86/power/c
19186 19336
19187 syscall_init(); /* This sets MSR_*STAR and related */ 19337 syscall_init(); /* This sets MSR_*STAR and related */
19188 #endif 19338 #endif
19189diff -urNp linux-2.6.32.11/arch/x86/vdso/Makefile linux-2.6.32.11/arch/x86/vdso/Makefile 19339diff -urNp linux-2.6.32.12/arch/x86/vdso/Makefile linux-2.6.32.12/arch/x86/vdso/Makefile
19190--- linux-2.6.32.11/arch/x86/vdso/Makefile 2010-03-15 11:52:04.000000000 -0400 19340--- linux-2.6.32.12/arch/x86/vdso/Makefile 2010-03-15 11:52:04.000000000 -0400
19191+++ linux-2.6.32.11/arch/x86/vdso/Makefile 2010-04-04 20:46:41.537568318 -0400 19341+++ linux-2.6.32.12/arch/x86/vdso/Makefile 2010-04-04 20:46:41.537568318 -0400
19192@@ -122,7 +122,7 @@ quiet_cmd_vdso = VDSO $@ 19342@@ -122,7 +122,7 @@ quiet_cmd_vdso = VDSO $@
19193 $(VDSO_LDFLAGS) $(VDSO_LDFLAGS_$(filter %.lds,$(^F))) \ 19343 $(VDSO_LDFLAGS) $(VDSO_LDFLAGS_$(filter %.lds,$(^F))) \
19194 -Wl,-T,$(filter %.lds,$^) $(filter %.o,$^) 19344 -Wl,-T,$(filter %.lds,$^) $(filter %.o,$^)
@@ -19198,9 +19348,9 @@ diff -urNp linux-2.6.32.11/arch/x86/vdso/Makefile linux-2.6.32.11/arch/x86/vdso/
19198 GCOV_PROFILE := n 19348 GCOV_PROFILE := n
19199 19349
19200 # 19350 #
19201diff -urNp linux-2.6.32.11/arch/x86/vdso/vclock_gettime.c linux-2.6.32.11/arch/x86/vdso/vclock_gettime.c 19351diff -urNp linux-2.6.32.12/arch/x86/vdso/vclock_gettime.c linux-2.6.32.12/arch/x86/vdso/vclock_gettime.c
19202--- linux-2.6.32.11/arch/x86/vdso/vclock_gettime.c 2010-03-15 11:52:04.000000000 -0400 19352--- linux-2.6.32.12/arch/x86/vdso/vclock_gettime.c 2010-03-15 11:52:04.000000000 -0400
19203+++ linux-2.6.32.11/arch/x86/vdso/vclock_gettime.c 2010-04-04 20:46:41.541133870 -0400 19353+++ linux-2.6.32.12/arch/x86/vdso/vclock_gettime.c 2010-04-04 20:46:41.541133870 -0400
19204@@ -22,24 +22,48 @@ 19354@@ -22,24 +22,48 @@
19205 #include <asm/hpet.h> 19355 #include <asm/hpet.h>
19206 #include <asm/unistd.h> 19356 #include <asm/unistd.h>
@@ -19299,9 +19449,9 @@ diff -urNp linux-2.6.32.11/arch/x86/vdso/vclock_gettime.c linux-2.6.32.11/arch/x
19299 } 19449 }
19300 int gettimeofday(struct timeval *, struct timezone *) 19450 int gettimeofday(struct timeval *, struct timezone *)
19301 __attribute__((weak, alias("__vdso_gettimeofday"))); 19451 __attribute__((weak, alias("__vdso_gettimeofday")));
19302diff -urNp linux-2.6.32.11/arch/x86/vdso/vdso32-setup.c linux-2.6.32.11/arch/x86/vdso/vdso32-setup.c 19452diff -urNp linux-2.6.32.12/arch/x86/vdso/vdso32-setup.c linux-2.6.32.12/arch/x86/vdso/vdso32-setup.c
19303--- linux-2.6.32.11/arch/x86/vdso/vdso32-setup.c 2010-03-15 11:52:04.000000000 -0400 19453--- linux-2.6.32.12/arch/x86/vdso/vdso32-setup.c 2010-03-15 11:52:04.000000000 -0400
19304+++ linux-2.6.32.11/arch/x86/vdso/vdso32-setup.c 2010-04-04 20:46:41.541133870 -0400 19454+++ linux-2.6.32.12/arch/x86/vdso/vdso32-setup.c 2010-04-04 20:46:41.541133870 -0400
19305@@ -25,6 +25,7 @@ 19455@@ -25,6 +25,7 @@
19306 #include <asm/tlbflush.h> 19456 #include <asm/tlbflush.h>
19307 #include <asm/vdso.h> 19457 #include <asm/vdso.h>
@@ -19402,9 +19552,9 @@ diff -urNp linux-2.6.32.11/arch/x86/vdso/vdso32-setup.c linux-2.6.32.11/arch/x86
19402 return &gate_vma; 19552 return &gate_vma;
19403 return NULL; 19553 return NULL;
19404 } 19554 }
19405diff -urNp linux-2.6.32.11/arch/x86/vdso/vdso.lds.S linux-2.6.32.11/arch/x86/vdso/vdso.lds.S 19555diff -urNp linux-2.6.32.12/arch/x86/vdso/vdso.lds.S linux-2.6.32.12/arch/x86/vdso/vdso.lds.S
19406--- linux-2.6.32.11/arch/x86/vdso/vdso.lds.S 2010-03-15 11:52:04.000000000 -0400 19556--- linux-2.6.32.12/arch/x86/vdso/vdso.lds.S 2010-03-15 11:52:04.000000000 -0400
19407+++ linux-2.6.32.11/arch/x86/vdso/vdso.lds.S 2010-04-04 20:46:41.541133870 -0400 19557+++ linux-2.6.32.12/arch/x86/vdso/vdso.lds.S 2010-04-04 20:46:41.541133870 -0400
19408@@ -35,3 +35,9 @@ VDSO64_PRELINK = VDSO_PRELINK; 19558@@ -35,3 +35,9 @@ VDSO64_PRELINK = VDSO_PRELINK;
19409 #define VEXTERN(x) VDSO64_ ## x = vdso_ ## x; 19559 #define VEXTERN(x) VDSO64_ ## x = vdso_ ## x;
19410 #include "vextern.h" 19560 #include "vextern.h"
@@ -19415,9 +19565,9 @@ diff -urNp linux-2.6.32.11/arch/x86/vdso/vdso.lds.S linux-2.6.32.11/arch/x86/vds
19415+VEXTERN(fallback_time) 19565+VEXTERN(fallback_time)
19416+VEXTERN(getcpu) 19566+VEXTERN(getcpu)
19417+#undef VEXTERN 19567+#undef VEXTERN
19418diff -urNp linux-2.6.32.11/arch/x86/vdso/vextern.h linux-2.6.32.11/arch/x86/vdso/vextern.h 19568diff -urNp linux-2.6.32.12/arch/x86/vdso/vextern.h linux-2.6.32.12/arch/x86/vdso/vextern.h
19419--- linux-2.6.32.11/arch/x86/vdso/vextern.h 2010-03-15 11:52:04.000000000 -0400 19569--- linux-2.6.32.12/arch/x86/vdso/vextern.h 2010-03-15 11:52:04.000000000 -0400
19420+++ linux-2.6.32.11/arch/x86/vdso/vextern.h 2010-04-04 20:46:41.541133870 -0400 19570+++ linux-2.6.32.12/arch/x86/vdso/vextern.h 2010-04-04 20:46:41.541133870 -0400
19421@@ -11,6 +11,5 @@ 19571@@ -11,6 +11,5 @@
19422 put into vextern.h and be referenced as a pointer with vdso prefix. 19572 put into vextern.h and be referenced as a pointer with vdso prefix.
19423 The main kernel later fills in the values. */ 19573 The main kernel later fills in the values. */
@@ -19425,9 +19575,9 @@ diff -urNp linux-2.6.32.11/arch/x86/vdso/vextern.h linux-2.6.32.11/arch/x86/vdso
19425-VEXTERN(jiffies) 19575-VEXTERN(jiffies)
19426 VEXTERN(vgetcpu_mode) 19576 VEXTERN(vgetcpu_mode)
19427 VEXTERN(vsyscall_gtod_data) 19577 VEXTERN(vsyscall_gtod_data)
19428diff -urNp linux-2.6.32.11/arch/x86/vdso/vma.c linux-2.6.32.11/arch/x86/vdso/vma.c 19578diff -urNp linux-2.6.32.12/arch/x86/vdso/vma.c linux-2.6.32.12/arch/x86/vdso/vma.c
19429--- linux-2.6.32.11/arch/x86/vdso/vma.c 2010-03-15 11:52:04.000000000 -0400 19579--- linux-2.6.32.12/arch/x86/vdso/vma.c 2010-03-15 11:52:04.000000000 -0400
19430+++ linux-2.6.32.11/arch/x86/vdso/vma.c 2010-04-04 20:46:41.541133870 -0400 19580+++ linux-2.6.32.12/arch/x86/vdso/vma.c 2010-04-04 20:46:41.541133870 -0400
19431@@ -57,7 +57,7 @@ static int __init init_vdso_vars(void) 19581@@ -57,7 +57,7 @@ static int __init init_vdso_vars(void)
19432 if (!vbase) 19582 if (!vbase)
19433 goto oom; 19583 goto oom;
@@ -19474,9 +19624,9 @@ diff -urNp linux-2.6.32.11/arch/x86/vdso/vma.c linux-2.6.32.11/arch/x86/vdso/vma
19474- return 0; 19624- return 0;
19475-} 19625-}
19476-__setup("vdso=", vdso_setup); 19626-__setup("vdso=", vdso_setup);
19477diff -urNp linux-2.6.32.11/arch/x86/xen/enlighten.c linux-2.6.32.11/arch/x86/xen/enlighten.c 19627diff -urNp linux-2.6.32.12/arch/x86/xen/enlighten.c linux-2.6.32.12/arch/x86/xen/enlighten.c
19478--- linux-2.6.32.11/arch/x86/xen/enlighten.c 2010-03-15 11:52:04.000000000 -0400 19628--- linux-2.6.32.12/arch/x86/xen/enlighten.c 2010-03-15 11:52:04.000000000 -0400
19479+++ linux-2.6.32.11/arch/x86/xen/enlighten.c 2010-04-04 20:46:41.541133870 -0400 19629+++ linux-2.6.32.12/arch/x86/xen/enlighten.c 2010-04-04 20:46:41.541133870 -0400
19480@@ -71,8 +71,6 @@ EXPORT_SYMBOL_GPL(xen_start_info); 19630@@ -71,8 +71,6 @@ EXPORT_SYMBOL_GPL(xen_start_info);
19481 19631
19482 struct shared_info xen_dummy_shared_info; 19632 struct shared_info xen_dummy_shared_info;
@@ -19509,9 +19659,9 @@ diff -urNp linux-2.6.32.11/arch/x86/xen/enlighten.c linux-2.6.32.11/arch/x86/xen
19509 xen_smp_init(); 19659 xen_smp_init();
19510 19660
19511 pgd = (pgd_t *)xen_start_info->pt_base; 19661 pgd = (pgd_t *)xen_start_info->pt_base;
19512diff -urNp linux-2.6.32.11/arch/x86/xen/mmu.c linux-2.6.32.11/arch/x86/xen/mmu.c 19662diff -urNp linux-2.6.32.12/arch/x86/xen/mmu.c linux-2.6.32.12/arch/x86/xen/mmu.c
19513--- linux-2.6.32.11/arch/x86/xen/mmu.c 2010-03-15 11:52:04.000000000 -0400 19663--- linux-2.6.32.12/arch/x86/xen/mmu.c 2010-03-15 11:52:04.000000000 -0400
19514+++ linux-2.6.32.11/arch/x86/xen/mmu.c 2010-04-04 20:46:41.541133870 -0400 19664+++ linux-2.6.32.12/arch/x86/xen/mmu.c 2010-04-04 20:46:41.541133870 -0400
19515@@ -1711,6 +1711,8 @@ __init pgd_t *xen_setup_kernel_pagetable 19665@@ -1711,6 +1711,8 @@ __init pgd_t *xen_setup_kernel_pagetable
19516 convert_pfn_mfn(init_level4_pgt); 19666 convert_pfn_mfn(init_level4_pgt);
19517 convert_pfn_mfn(level3_ident_pgt); 19667 convert_pfn_mfn(level3_ident_pgt);
@@ -19532,9 +19682,9 @@ diff -urNp linux-2.6.32.11/arch/x86/xen/mmu.c linux-2.6.32.11/arch/x86/xen/mmu.c
19532 set_page_prot(level2_kernel_pgt, PAGE_KERNEL_RO); 19682 set_page_prot(level2_kernel_pgt, PAGE_KERNEL_RO);
19533 set_page_prot(level2_fixmap_pgt, PAGE_KERNEL_RO); 19683 set_page_prot(level2_fixmap_pgt, PAGE_KERNEL_RO);
19534 19684
19535diff -urNp linux-2.6.32.11/arch/x86/xen/smp.c linux-2.6.32.11/arch/x86/xen/smp.c 19685diff -urNp linux-2.6.32.12/arch/x86/xen/smp.c linux-2.6.32.12/arch/x86/xen/smp.c
19536--- linux-2.6.32.11/arch/x86/xen/smp.c 2010-03-15 11:52:04.000000000 -0400 19686--- linux-2.6.32.12/arch/x86/xen/smp.c 2010-03-15 11:52:04.000000000 -0400
19537+++ linux-2.6.32.11/arch/x86/xen/smp.c 2010-04-04 20:46:41.541133870 -0400 19687+++ linux-2.6.32.12/arch/x86/xen/smp.c 2010-04-04 20:46:41.541133870 -0400
19538@@ -167,11 +167,6 @@ static void __init xen_smp_prepare_boot_ 19688@@ -167,11 +167,6 @@ static void __init xen_smp_prepare_boot_
19539 { 19689 {
19540 BUG_ON(smp_processor_id() != 0); 19690 BUG_ON(smp_processor_id() != 0);
@@ -19558,9 +19708,9 @@ diff -urNp linux-2.6.32.11/arch/x86/xen/smp.c linux-2.6.32.11/arch/x86/xen/smp.c
19558 ctxt->user_regs.ss = __KERNEL_DS; 19708 ctxt->user_regs.ss = __KERNEL_DS;
19559 #ifdef CONFIG_X86_32 19709 #ifdef CONFIG_X86_32
19560 ctxt->user_regs.fs = __KERNEL_PERCPU; 19710 ctxt->user_regs.fs = __KERNEL_PERCPU;
19561diff -urNp linux-2.6.32.11/arch/x86/xen/xen-ops.h linux-2.6.32.11/arch/x86/xen/xen-ops.h 19711diff -urNp linux-2.6.32.12/arch/x86/xen/xen-ops.h linux-2.6.32.12/arch/x86/xen/xen-ops.h
19562--- linux-2.6.32.11/arch/x86/xen/xen-ops.h 2010-03-15 11:52:04.000000000 -0400 19712--- linux-2.6.32.12/arch/x86/xen/xen-ops.h 2010-03-15 11:52:04.000000000 -0400
19563+++ linux-2.6.32.11/arch/x86/xen/xen-ops.h 2010-04-04 20:46:41.541133870 -0400 19713+++ linux-2.6.32.12/arch/x86/xen/xen-ops.h 2010-04-04 20:46:41.541133870 -0400
19564@@ -10,8 +10,6 @@ 19714@@ -10,8 +10,6 @@
19565 extern const char xen_hypervisor_callback[]; 19715 extern const char xen_hypervisor_callback[];
19566 extern const char xen_failsafe_callback[]; 19716 extern const char xen_failsafe_callback[];
@@ -19570,9 +19720,9 @@ diff -urNp linux-2.6.32.11/arch/x86/xen/xen-ops.h linux-2.6.32.11/arch/x86/xen/x
19570 struct trap_info; 19720 struct trap_info;
19571 void xen_copy_trap_info(struct trap_info *traps); 19721 void xen_copy_trap_info(struct trap_info *traps);
19572 19722
19573diff -urNp linux-2.6.32.11/block/blk-integrity.c linux-2.6.32.11/block/blk-integrity.c 19723diff -urNp linux-2.6.32.12/block/blk-integrity.c linux-2.6.32.12/block/blk-integrity.c
19574--- linux-2.6.32.11/block/blk-integrity.c 2010-03-15 11:52:04.000000000 -0400 19724--- linux-2.6.32.12/block/blk-integrity.c 2010-03-15 11:52:04.000000000 -0400
19575+++ linux-2.6.32.11/block/blk-integrity.c 2010-04-04 20:46:41.541133870 -0400 19725+++ linux-2.6.32.12/block/blk-integrity.c 2010-04-04 20:46:41.541133870 -0400
19576@@ -278,7 +278,7 @@ static struct attribute *integrity_attrs 19726@@ -278,7 +278,7 @@ static struct attribute *integrity_attrs
19577 NULL, 19727 NULL,
19578 }; 19728 };
@@ -19582,9 +19732,9 @@ diff -urNp linux-2.6.32.11/block/blk-integrity.c linux-2.6.32.11/block/blk-integ
19582 .show = &integrity_attr_show, 19732 .show = &integrity_attr_show,
19583 .store = &integrity_attr_store, 19733 .store = &integrity_attr_store,
19584 }; 19734 };
19585diff -urNp linux-2.6.32.11/block/blk-iopoll.c linux-2.6.32.11/block/blk-iopoll.c 19735diff -urNp linux-2.6.32.12/block/blk-iopoll.c linux-2.6.32.12/block/blk-iopoll.c
19586--- linux-2.6.32.11/block/blk-iopoll.c 2010-03-15 11:52:04.000000000 -0400 19736--- linux-2.6.32.12/block/blk-iopoll.c 2010-03-15 11:52:04.000000000 -0400
19587+++ linux-2.6.32.11/block/blk-iopoll.c 2010-04-04 20:46:41.541133870 -0400 19737+++ linux-2.6.32.12/block/blk-iopoll.c 2010-04-04 20:46:41.541133870 -0400
19588@@ -77,7 +77,7 @@ void blk_iopoll_complete(struct blk_iopo 19738@@ -77,7 +77,7 @@ void blk_iopoll_complete(struct blk_iopo
19589 } 19739 }
19590 EXPORT_SYMBOL(blk_iopoll_complete); 19740 EXPORT_SYMBOL(blk_iopoll_complete);
@@ -19594,9 +19744,9 @@ diff -urNp linux-2.6.32.11/block/blk-iopoll.c linux-2.6.32.11/block/blk-iopoll.c
19594 { 19744 {
19595 struct list_head *list = &__get_cpu_var(blk_cpu_iopoll); 19745 struct list_head *list = &__get_cpu_var(blk_cpu_iopoll);
19596 int rearm = 0, budget = blk_iopoll_budget; 19746 int rearm = 0, budget = blk_iopoll_budget;
19597diff -urNp linux-2.6.32.11/block/blk-map.c linux-2.6.32.11/block/blk-map.c 19747diff -urNp linux-2.6.32.12/block/blk-map.c linux-2.6.32.12/block/blk-map.c
19598--- linux-2.6.32.11/block/blk-map.c 2010-03-15 11:52:04.000000000 -0400 19748--- linux-2.6.32.12/block/blk-map.c 2010-03-15 11:52:04.000000000 -0400
19599+++ linux-2.6.32.11/block/blk-map.c 2010-04-04 20:46:41.541133870 -0400 19749+++ linux-2.6.32.12/block/blk-map.c 2010-04-04 20:46:41.541133870 -0400
19600@@ -54,7 +54,7 @@ static int __blk_rq_map_user(struct requ 19750@@ -54,7 +54,7 @@ static int __blk_rq_map_user(struct requ
19601 * direct dma. else, set up kernel bounce buffers 19751 * direct dma. else, set up kernel bounce buffers
19602 */ 19752 */
@@ -19615,9 +19765,9 @@ diff -urNp linux-2.6.32.11/block/blk-map.c linux-2.6.32.11/block/blk-map.c
19615 if (do_copy) 19765 if (do_copy)
19616 bio = bio_copy_kern(q, kbuf, len, gfp_mask, reading); 19766 bio = bio_copy_kern(q, kbuf, len, gfp_mask, reading);
19617 else 19767 else
19618diff -urNp linux-2.6.32.11/block/blk-softirq.c linux-2.6.32.11/block/blk-softirq.c 19768diff -urNp linux-2.6.32.12/block/blk-softirq.c linux-2.6.32.12/block/blk-softirq.c
19619--- linux-2.6.32.11/block/blk-softirq.c 2010-03-15 11:52:04.000000000 -0400 19769--- linux-2.6.32.12/block/blk-softirq.c 2010-03-15 11:52:04.000000000 -0400
19620+++ linux-2.6.32.11/block/blk-softirq.c 2010-04-04 20:46:41.541133870 -0400 19770+++ linux-2.6.32.12/block/blk-softirq.c 2010-04-04 20:46:41.541133870 -0400
19621@@ -17,7 +17,7 @@ static DEFINE_PER_CPU(struct list_head, 19771@@ -17,7 +17,7 @@ static DEFINE_PER_CPU(struct list_head,
19622 * Softirq action handler - move entries to local list and loop over them 19772 * Softirq action handler - move entries to local list and loop over them
19623 * while passing them to the queue registered handler. 19773 * while passing them to the queue registered handler.
@@ -19627,9 +19777,9 @@ diff -urNp linux-2.6.32.11/block/blk-softirq.c linux-2.6.32.11/block/blk-softirq
19627 { 19777 {
19628 struct list_head *cpu_list, local_list; 19778 struct list_head *cpu_list, local_list;
19629 19779
19630diff -urNp linux-2.6.32.11/block/blk-sysfs.c linux-2.6.32.11/block/blk-sysfs.c 19780diff -urNp linux-2.6.32.12/block/blk-sysfs.c linux-2.6.32.12/block/blk-sysfs.c
19631--- linux-2.6.32.11/block/blk-sysfs.c 2010-03-15 11:52:04.000000000 -0400 19781--- linux-2.6.32.12/block/blk-sysfs.c 2010-03-15 11:52:04.000000000 -0400
19632+++ linux-2.6.32.11/block/blk-sysfs.c 2010-04-04 20:46:41.541133870 -0400 19782+++ linux-2.6.32.12/block/blk-sysfs.c 2010-04-04 20:46:41.541133870 -0400
19633@@ -414,7 +414,7 @@ static void blk_release_queue(struct kob 19783@@ -414,7 +414,7 @@ static void blk_release_queue(struct kob
19634 kmem_cache_free(blk_requestq_cachep, q); 19784 kmem_cache_free(blk_requestq_cachep, q);
19635 } 19785 }
@@ -19639,9 +19789,9 @@ diff -urNp linux-2.6.32.11/block/blk-sysfs.c linux-2.6.32.11/block/blk-sysfs.c
19639 .show = queue_attr_show, 19789 .show = queue_attr_show,
19640 .store = queue_attr_store, 19790 .store = queue_attr_store,
19641 }; 19791 };
19642diff -urNp linux-2.6.32.11/block/elevator.c linux-2.6.32.11/block/elevator.c 19792diff -urNp linux-2.6.32.12/block/elevator.c linux-2.6.32.12/block/elevator.c
19643--- linux-2.6.32.11/block/elevator.c 2010-03-15 11:52:04.000000000 -0400 19793--- linux-2.6.32.12/block/elevator.c 2010-03-15 11:52:04.000000000 -0400
19644+++ linux-2.6.32.11/block/elevator.c 2010-04-04 20:46:41.541133870 -0400 19794+++ linux-2.6.32.12/block/elevator.c 2010-04-04 20:46:41.541133870 -0400
19645@@ -889,7 +889,7 @@ elv_attr_store(struct kobject *kobj, str 19795@@ -889,7 +889,7 @@ elv_attr_store(struct kobject *kobj, str
19646 return error; 19796 return error;
19647 } 19797 }
@@ -19651,9 +19801,9 @@ diff -urNp linux-2.6.32.11/block/elevator.c linux-2.6.32.11/block/elevator.c
19651 .show = elv_attr_show, 19801 .show = elv_attr_show,
19652 .store = elv_attr_store, 19802 .store = elv_attr_store,
19653 }; 19803 };
19654diff -urNp linux-2.6.32.11/crypto/lrw.c linux-2.6.32.11/crypto/lrw.c 19804diff -urNp linux-2.6.32.12/crypto/lrw.c linux-2.6.32.12/crypto/lrw.c
19655--- linux-2.6.32.11/crypto/lrw.c 2010-03-15 11:52:04.000000000 -0400 19805--- linux-2.6.32.12/crypto/lrw.c 2010-03-15 11:52:04.000000000 -0400
19656+++ linux-2.6.32.11/crypto/lrw.c 2010-04-04 20:46:41.541133870 -0400 19806+++ linux-2.6.32.12/crypto/lrw.c 2010-04-04 20:46:41.541133870 -0400
19657@@ -60,7 +60,7 @@ static int setkey(struct crypto_tfm *par 19807@@ -60,7 +60,7 @@ static int setkey(struct crypto_tfm *par
19658 struct priv *ctx = crypto_tfm_ctx(parent); 19808 struct priv *ctx = crypto_tfm_ctx(parent);
19659 struct crypto_cipher *child = ctx->child; 19809 struct crypto_cipher *child = ctx->child;
@@ -19663,9 +19813,9 @@ diff -urNp linux-2.6.32.11/crypto/lrw.c linux-2.6.32.11/crypto/lrw.c
19663 int bsize = crypto_cipher_blocksize(child); 19813 int bsize = crypto_cipher_blocksize(child);
19664 19814
19665 crypto_cipher_clear_flags(child, CRYPTO_TFM_REQ_MASK); 19815 crypto_cipher_clear_flags(child, CRYPTO_TFM_REQ_MASK);
19666diff -urNp linux-2.6.32.11/Documentation/dontdiff linux-2.6.32.11/Documentation/dontdiff 19816diff -urNp linux-2.6.32.12/Documentation/dontdiff linux-2.6.32.12/Documentation/dontdiff
19667--- linux-2.6.32.11/Documentation/dontdiff 2010-03-15 11:52:04.000000000 -0400 19817--- linux-2.6.32.12/Documentation/dontdiff 2010-03-15 11:52:04.000000000 -0400
19668+++ linux-2.6.32.11/Documentation/dontdiff 2010-04-04 20:47:28.952733264 -0400 19818+++ linux-2.6.32.12/Documentation/dontdiff 2010-04-04 20:47:28.952733264 -0400
19669@@ -3,6 +3,7 @@ 19819@@ -3,6 +3,7 @@
19670 *.bin 19820 *.bin
19671 *.cpio 19821 *.cpio
@@ -19773,9 +19923,9 @@ diff -urNp linux-2.6.32.11/Documentation/dontdiff linux-2.6.32.11/Documentation/
19773 zImage* 19923 zImage*
19774 zconf.hash.c 19924 zconf.hash.c
19775+zoffset.h 19925+zoffset.h
19776diff -urNp linux-2.6.32.11/Documentation/kernel-parameters.txt linux-2.6.32.11/Documentation/kernel-parameters.txt 19926diff -urNp linux-2.6.32.12/Documentation/kernel-parameters.txt linux-2.6.32.12/Documentation/kernel-parameters.txt
19777--- linux-2.6.32.11/Documentation/kernel-parameters.txt 2010-03-15 11:52:04.000000000 -0400 19927--- linux-2.6.32.12/Documentation/kernel-parameters.txt 2010-03-15 11:52:04.000000000 -0400
19778+++ linux-2.6.32.11/Documentation/kernel-parameters.txt 2010-04-04 20:46:41.541133870 -0400 19928+++ linux-2.6.32.12/Documentation/kernel-parameters.txt 2010-04-04 20:46:41.541133870 -0400
19779@@ -1833,6 +1833,12 @@ and is between 256 and 4096 characters. 19929@@ -1833,6 +1833,12 @@ and is between 256 and 4096 characters.
19780 the specified number of seconds. This is to be used if 19930 the specified number of seconds. This is to be used if
19781 your oopses keep scrolling off the screen. 19931 your oopses keep scrolling off the screen.
@@ -19789,9 +19939,9 @@ diff -urNp linux-2.6.32.11/Documentation/kernel-parameters.txt linux-2.6.32.11/D
19789 pcbit= [HW,ISDN] 19939 pcbit= [HW,ISDN]
19790 19940
19791 pcd. [PARIDE] 19941 pcd. [PARIDE]
19792diff -urNp linux-2.6.32.11/drivers/acpi/battery.c linux-2.6.32.11/drivers/acpi/battery.c 19942diff -urNp linux-2.6.32.12/drivers/acpi/battery.c linux-2.6.32.12/drivers/acpi/battery.c
19793--- linux-2.6.32.11/drivers/acpi/battery.c 2010-03-15 11:52:04.000000000 -0400 19943--- linux-2.6.32.12/drivers/acpi/battery.c 2010-03-15 11:52:04.000000000 -0400
19794+++ linux-2.6.32.11/drivers/acpi/battery.c 2010-04-04 20:46:41.541133870 -0400 19944+++ linux-2.6.32.12/drivers/acpi/battery.c 2010-04-04 20:46:41.541133870 -0400
19795@@ -763,7 +763,7 @@ DECLARE_FILE_FUNCTIONS(alarm); 19945@@ -763,7 +763,7 @@ DECLARE_FILE_FUNCTIONS(alarm);
19796 } 19946 }
19797 19947
@@ -19801,9 +19951,9 @@ diff -urNp linux-2.6.32.11/drivers/acpi/battery.c linux-2.6.32.11/drivers/acpi/b
19801 mode_t mode; 19951 mode_t mode;
19802 const char *name; 19952 const char *name;
19803 } acpi_battery_file[] = { 19953 } acpi_battery_file[] = {
19804diff -urNp linux-2.6.32.11/drivers/acpi/blacklist.c linux-2.6.32.11/drivers/acpi/blacklist.c 19954diff -urNp linux-2.6.32.12/drivers/acpi/blacklist.c linux-2.6.32.12/drivers/acpi/blacklist.c
19805--- linux-2.6.32.11/drivers/acpi/blacklist.c 2010-03-15 11:52:04.000000000 -0400 19955--- linux-2.6.32.12/drivers/acpi/blacklist.c 2010-03-15 11:52:04.000000000 -0400
19806+++ linux-2.6.32.11/drivers/acpi/blacklist.c 2010-04-04 20:46:41.541133870 -0400 19956+++ linux-2.6.32.12/drivers/acpi/blacklist.c 2010-04-04 20:46:41.541133870 -0400
19807@@ -73,7 +73,7 @@ static struct acpi_blacklist_item acpi_b 19957@@ -73,7 +73,7 @@ static struct acpi_blacklist_item acpi_b
19808 {"IBM ", "TP600E ", 0x00000105, ACPI_SIG_DSDT, less_than_or_equal, 19958 {"IBM ", "TP600E ", 0x00000105, ACPI_SIG_DSDT, less_than_or_equal,
19809 "Incorrect _ADR", 1}, 19959 "Incorrect _ADR", 1},
@@ -19813,9 +19963,9 @@ diff -urNp linux-2.6.32.11/drivers/acpi/blacklist.c linux-2.6.32.11/drivers/acpi
19813 }; 19963 };
19814 19964
19815 #if CONFIG_ACPI_BLACKLIST_YEAR 19965 #if CONFIG_ACPI_BLACKLIST_YEAR
19816diff -urNp linux-2.6.32.11/drivers/acpi/dock.c linux-2.6.32.11/drivers/acpi/dock.c 19966diff -urNp linux-2.6.32.12/drivers/acpi/dock.c linux-2.6.32.12/drivers/acpi/dock.c
19817--- linux-2.6.32.11/drivers/acpi/dock.c 2010-03-15 11:52:04.000000000 -0400 19967--- linux-2.6.32.12/drivers/acpi/dock.c 2010-03-15 11:52:04.000000000 -0400
19818+++ linux-2.6.32.11/drivers/acpi/dock.c 2010-04-04 20:46:41.544756868 -0400 19968+++ linux-2.6.32.12/drivers/acpi/dock.c 2010-04-04 20:46:41.544756868 -0400
19819@@ -77,7 +77,7 @@ struct dock_dependent_device { 19969@@ -77,7 +77,7 @@ struct dock_dependent_device {
19820 struct list_head list; 19970 struct list_head list;
19821 struct list_head hotplug_list; 19971 struct list_head hotplug_list;
@@ -19834,9 +19984,9 @@ diff -urNp linux-2.6.32.11/drivers/acpi/dock.c linux-2.6.32.11/drivers/acpi/dock
19834 void *context) 19984 void *context)
19835 { 19985 {
19836 struct dock_dependent_device *dd; 19986 struct dock_dependent_device *dd;
19837diff -urNp linux-2.6.32.11/drivers/acpi/osl.c linux-2.6.32.11/drivers/acpi/osl.c 19987diff -urNp linux-2.6.32.12/drivers/acpi/osl.c linux-2.6.32.12/drivers/acpi/osl.c
19838--- linux-2.6.32.11/drivers/acpi/osl.c 2010-03-15 11:52:04.000000000 -0400 19988--- linux-2.6.32.12/drivers/acpi/osl.c 2010-03-15 11:52:04.000000000 -0400
19839+++ linux-2.6.32.11/drivers/acpi/osl.c 2010-04-04 20:46:41.544756868 -0400 19989+++ linux-2.6.32.12/drivers/acpi/osl.c 2010-04-04 20:46:41.544756868 -0400
19840@@ -523,6 +523,8 @@ acpi_os_read_memory(acpi_physical_addres 19990@@ -523,6 +523,8 @@ acpi_os_read_memory(acpi_physical_addres
19841 void __iomem *virt_addr; 19991 void __iomem *virt_addr;
19842 19992
@@ -19855,9 +20005,59 @@ diff -urNp linux-2.6.32.11/drivers/acpi/osl.c linux-2.6.32.11/drivers/acpi/osl.c
19855 20005
19856 switch (width) { 20006 switch (width) {
19857 case 8: 20007 case 8:
19858diff -urNp linux-2.6.32.11/drivers/acpi/processor_core.c linux-2.6.32.11/drivers/acpi/processor_core.c 20008diff -urNp linux-2.6.32.12/drivers/acpi/power_meter.c linux-2.6.32.12/drivers/acpi/power_meter.c
19859--- linux-2.6.32.11/drivers/acpi/processor_core.c 2010-03-15 11:52:04.000000000 -0400 20009--- linux-2.6.32.12/drivers/acpi/power_meter.c 2010-03-15 11:52:04.000000000 -0400
19860+++ linux-2.6.32.11/drivers/acpi/processor_core.c 2010-04-04 20:46:41.544756868 -0400 20010+++ linux-2.6.32.12/drivers/acpi/power_meter.c 2010-04-29 17:46:37.081234462 -0400
20011@@ -315,8 +315,6 @@ static ssize_t set_trip(struct device *d
20012 return res;
20013
20014 temp /= 1000;
20015- if (temp < 0)
20016- return -EINVAL;
20017
20018 mutex_lock(&resource->lock);
20019 resource->trip[attr->index - 7] = temp;
20020diff -urNp linux-2.6.32.12/drivers/acpi/proc.c linux-2.6.32.12/drivers/acpi/proc.c
20021--- linux-2.6.32.12/drivers/acpi/proc.c 2010-03-15 11:52:04.000000000 -0400
20022+++ linux-2.6.32.12/drivers/acpi/proc.c 2010-04-29 17:46:37.081234462 -0400
20023@@ -391,20 +391,15 @@ acpi_system_write_wakeup_device(struct f
20024 size_t count, loff_t * ppos)
20025 {
20026 struct list_head *node, *next;
20027- char strbuf[5];
20028- char str[5] = "";
20029- unsigned int len = count;
20030+ char strbuf[5] = {0};
20031 struct acpi_device *found_dev = NULL;
20032
20033- if (len > 4)
20034- len = 4;
20035- if (len < 0)
20036- return -EFAULT;
20037+ if (count > 4)
20038+ count = 4;
20039
20040- if (copy_from_user(strbuf, buffer, len))
20041+ if (copy_from_user(strbuf, buffer, count))
20042 return -EFAULT;
20043- strbuf[len] = '\0';
20044- sscanf(strbuf, "%s", str);
20045+ strbuf[count] = '\0';
20046
20047 mutex_lock(&acpi_device_lock);
20048 list_for_each_safe(node, next, &acpi_wakeup_device_list) {
20049@@ -413,7 +408,7 @@ acpi_system_write_wakeup_device(struct f
20050 if (!dev->wakeup.flags.valid)
20051 continue;
20052
20053- if (!strncmp(dev->pnp.bus_id, str, 4)) {
20054+ if (!strncmp(dev->pnp.bus_id, strbuf, 4)) {
20055 dev->wakeup.state.enabled =
20056 dev->wakeup.state.enabled ? 0 : 1;
20057 found_dev = dev;
20058diff -urNp linux-2.6.32.12/drivers/acpi/processor_core.c linux-2.6.32.12/drivers/acpi/processor_core.c
20059--- linux-2.6.32.12/drivers/acpi/processor_core.c 2010-03-15 11:52:04.000000000 -0400
20060+++ linux-2.6.32.12/drivers/acpi/processor_core.c 2010-04-04 20:46:41.544756868 -0400
19861@@ -796,7 +796,7 @@ static int __cpuinit acpi_processor_add( 20061@@ -796,7 +796,7 @@ static int __cpuinit acpi_processor_add(
19862 return 0; 20062 return 0;
19863 } 20063 }
@@ -19867,9 +20067,9 @@ diff -urNp linux-2.6.32.11/drivers/acpi/processor_core.c linux-2.6.32.11/drivers
19867 20067
19868 /* 20068 /*
19869 * Buggy BIOS check 20069 * Buggy BIOS check
19870diff -urNp linux-2.6.32.11/drivers/acpi/processor_idle.c linux-2.6.32.11/drivers/acpi/processor_idle.c 20070diff -urNp linux-2.6.32.12/drivers/acpi/processor_idle.c linux-2.6.32.12/drivers/acpi/processor_idle.c
19871--- linux-2.6.32.11/drivers/acpi/processor_idle.c 2010-03-15 11:52:04.000000000 -0400 20071--- linux-2.6.32.12/drivers/acpi/processor_idle.c 2010-03-15 11:52:04.000000000 -0400
19872+++ linux-2.6.32.11/drivers/acpi/processor_idle.c 2010-04-04 20:46:41.544756868 -0400 20072+++ linux-2.6.32.12/drivers/acpi/processor_idle.c 2010-04-04 20:46:41.544756868 -0400
19873@@ -118,7 +118,7 @@ static struct dmi_system_id __cpuinitdat 20073@@ -118,7 +118,7 @@ static struct dmi_system_id __cpuinitdat
19874 DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK Computer Inc."), 20074 DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK Computer Inc."),
19875 DMI_MATCH(DMI_PRODUCT_NAME,"L8400B series Notebook PC")}, 20075 DMI_MATCH(DMI_PRODUCT_NAME,"L8400B series Notebook PC")},
@@ -19879,9 +20079,9 @@ diff -urNp linux-2.6.32.11/drivers/acpi/processor_idle.c linux-2.6.32.11/drivers
19879 }; 20079 };
19880 20080
19881 20081
19882diff -urNp linux-2.6.32.11/drivers/acpi/sleep.c linux-2.6.32.11/drivers/acpi/sleep.c 20082diff -urNp linux-2.6.32.12/drivers/acpi/sleep.c linux-2.6.32.12/drivers/acpi/sleep.c
19883--- linux-2.6.32.11/drivers/acpi/sleep.c 2010-03-15 11:52:04.000000000 -0400 20083--- linux-2.6.32.12/drivers/acpi/sleep.c 2010-03-15 11:52:04.000000000 -0400
19884+++ linux-2.6.32.11/drivers/acpi/sleep.c 2010-04-04 20:46:41.544756868 -0400 20084+++ linux-2.6.32.12/drivers/acpi/sleep.c 2010-04-04 20:46:41.544756868 -0400
19885@@ -297,7 +297,7 @@ static int acpi_suspend_state_valid(susp 20085@@ -297,7 +297,7 @@ static int acpi_suspend_state_valid(susp
19886 } 20086 }
19887 } 20087 }
@@ -19918,9 +20118,9 @@ diff -urNp linux-2.6.32.11/drivers/acpi/sleep.c linux-2.6.32.11/drivers/acpi/sle
19918 .begin = acpi_hibernation_begin_old, 20118 .begin = acpi_hibernation_begin_old,
19919 .end = acpi_pm_end, 20119 .end = acpi_pm_end,
19920 .pre_snapshot = acpi_hibernation_pre_snapshot_old, 20120 .pre_snapshot = acpi_hibernation_pre_snapshot_old,
19921diff -urNp linux-2.6.32.11/drivers/acpi/video.c linux-2.6.32.11/drivers/acpi/video.c 20121diff -urNp linux-2.6.32.12/drivers/acpi/video.c linux-2.6.32.12/drivers/acpi/video.c
19922--- linux-2.6.32.11/drivers/acpi/video.c 2010-03-15 11:52:04.000000000 -0400 20122--- linux-2.6.32.12/drivers/acpi/video.c 2010-03-15 11:52:04.000000000 -0400
19923+++ linux-2.6.32.11/drivers/acpi/video.c 2010-04-04 20:46:41.544756868 -0400 20123+++ linux-2.6.32.12/drivers/acpi/video.c 2010-04-04 20:46:41.544756868 -0400
19924@@ -359,7 +359,7 @@ static int acpi_video_set_brightness(str 20124@@ -359,7 +359,7 @@ static int acpi_video_set_brightness(str
19925 vd->brightness->levels[request_level]); 20125 vd->brightness->levels[request_level]);
19926 } 20126 }
@@ -19930,9 +20130,9 @@ diff -urNp linux-2.6.32.11/drivers/acpi/video.c linux-2.6.32.11/drivers/acpi/vid
19930 .get_brightness = acpi_video_get_brightness, 20130 .get_brightness = acpi_video_get_brightness,
19931 .update_status = acpi_video_set_brightness, 20131 .update_status = acpi_video_set_brightness,
19932 }; 20132 };
19933diff -urNp linux-2.6.32.11/drivers/ata/ahci.c linux-2.6.32.11/drivers/ata/ahci.c 20133diff -urNp linux-2.6.32.12/drivers/ata/ahci.c linux-2.6.32.12/drivers/ata/ahci.c
19934--- linux-2.6.32.11/drivers/ata/ahci.c 2010-04-04 20:41:49.920655481 -0400 20134--- linux-2.6.32.12/drivers/ata/ahci.c 2010-04-29 17:49:37.661448235 -0400
19935+++ linux-2.6.32.11/drivers/ata/ahci.c 2010-04-04 20:46:41.544756868 -0400 20135+++ linux-2.6.32.12/drivers/ata/ahci.c 2010-04-29 17:49:58.057498948 -0400
19936@@ -387,7 +387,7 @@ static struct scsi_host_template ahci_sh 20136@@ -387,7 +387,7 @@ static struct scsi_host_template ahci_sh
19937 .sdev_attrs = ahci_sdev_attrs, 20137 .sdev_attrs = ahci_sdev_attrs,
19938 }; 20138 };
@@ -19963,7 +20163,7 @@ diff -urNp linux-2.6.32.11/drivers/ata/ahci.c linux-2.6.32.11/drivers/ata/ahci.c
19963 .inherits = &ahci_ops, 20163 .inherits = &ahci_ops,
19964 .softreset = ahci_sb600_softreset, 20164 .softreset = ahci_sb600_softreset,
19965 .pmp_softreset = ahci_sb600_softreset, 20165 .pmp_softreset = ahci_sb600_softreset,
19966@@ -681,7 +681,7 @@ static const struct pci_device_id ahci_p 20166@@ -687,7 +687,7 @@ static const struct pci_device_id ahci_p
19967 { PCI_ANY_ID, PCI_ANY_ID, PCI_ANY_ID, PCI_ANY_ID, 20167 { PCI_ANY_ID, PCI_ANY_ID, PCI_ANY_ID, PCI_ANY_ID,
19968 PCI_CLASS_STORAGE_SATA_AHCI, 0xffffff, board_ahci }, 20168 PCI_CLASS_STORAGE_SATA_AHCI, 0xffffff, board_ahci },
19969 20169
@@ -19972,9 +20172,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/ahci.c linux-2.6.32.11/drivers/ata/ahci.c
19972 }; 20172 };
19973 20173
19974 20174
19975diff -urNp linux-2.6.32.11/drivers/ata/ata_generic.c linux-2.6.32.11/drivers/ata/ata_generic.c 20175diff -urNp linux-2.6.32.12/drivers/ata/ata_generic.c linux-2.6.32.12/drivers/ata/ata_generic.c
19976--- linux-2.6.32.11/drivers/ata/ata_generic.c 2010-03-15 11:52:04.000000000 -0400 20176--- linux-2.6.32.12/drivers/ata/ata_generic.c 2010-03-15 11:52:04.000000000 -0400
19977+++ linux-2.6.32.11/drivers/ata/ata_generic.c 2010-04-04 20:46:41.544756868 -0400 20177+++ linux-2.6.32.12/drivers/ata/ata_generic.c 2010-04-04 20:46:41.544756868 -0400
19978@@ -95,7 +95,7 @@ static struct scsi_host_template generic 20178@@ -95,7 +95,7 @@ static struct scsi_host_template generic
19979 ATA_BMDMA_SHT(DRV_NAME), 20179 ATA_BMDMA_SHT(DRV_NAME),
19980 }; 20180 };
@@ -19984,19 +20184,19 @@ diff -urNp linux-2.6.32.11/drivers/ata/ata_generic.c linux-2.6.32.11/drivers/ata
19984 .inherits = &ata_bmdma_port_ops, 20184 .inherits = &ata_bmdma_port_ops,
19985 .cable_detect = ata_cable_unknown, 20185 .cable_detect = ata_cable_unknown,
19986 .set_mode = generic_set_mode, 20186 .set_mode = generic_set_mode,
19987diff -urNp linux-2.6.32.11/drivers/ata/ata_piix.c linux-2.6.32.11/drivers/ata/ata_piix.c 20187diff -urNp linux-2.6.32.12/drivers/ata/ata_piix.c linux-2.6.32.12/drivers/ata/ata_piix.c
19988--- linux-2.6.32.11/drivers/ata/ata_piix.c 2010-03-15 11:52:04.000000000 -0400 20188--- linux-2.6.32.12/drivers/ata/ata_piix.c 2010-04-29 17:49:37.669446700 -0400
19989+++ linux-2.6.32.11/drivers/ata/ata_piix.c 2010-04-04 20:46:41.544756868 -0400 20189+++ linux-2.6.32.12/drivers/ata/ata_piix.c 2010-04-29 18:01:47.141162449 -0400
19990@@ -291,7 +291,7 @@ static const struct pci_device_id piix_p 20190@@ -299,7 +299,7 @@ static const struct pci_device_id piix_p
19991 { 0x8086, 0x3b2d, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich8_2port_sata }, 20191 { 0x8086, 0x1c08, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich8_2port_sata },
19992 /* SATA Controller IDE (PCH) */ 20192 /* SATA Controller IDE (CPT) */
19993 { 0x8086, 0x3b2e, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich8_sata }, 20193 { 0x8086, 0x1c09, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich8_2port_sata },
19994- { } /* terminate list */ 20194- { } /* terminate list */
19995+ { 0, 0, 0, 0, 0, 0, 0 } /* terminate list */ 20195+ { 0, 0, 0, 0, 0, 0, 0 } /* terminate list */
19996 }; 20196 };
19997 20197
19998 static struct pci_driver piix_pci_driver = { 20198 static struct pci_driver piix_pci_driver = {
19999@@ -309,7 +309,7 @@ static struct scsi_host_template piix_sh 20199@@ -317,7 +317,7 @@ static struct scsi_host_template piix_sh
20000 ATA_BMDMA_SHT(DRV_NAME), 20200 ATA_BMDMA_SHT(DRV_NAME),
20001 }; 20201 };
20002 20202
@@ -20005,7 +20205,7 @@ diff -urNp linux-2.6.32.11/drivers/ata/ata_piix.c linux-2.6.32.11/drivers/ata/at
20005 .inherits = &ata_bmdma32_port_ops, 20205 .inherits = &ata_bmdma32_port_ops,
20006 .cable_detect = ata_cable_40wire, 20206 .cable_detect = ata_cable_40wire,
20007 .set_piomode = piix_set_piomode, 20207 .set_piomode = piix_set_piomode,
20008@@ -317,22 +317,22 @@ static struct ata_port_operations piix_p 20208@@ -325,22 +325,22 @@ static struct ata_port_operations piix_p
20009 .prereset = piix_pata_prereset, 20209 .prereset = piix_pata_prereset,
20010 }; 20210 };
20011 20211
@@ -20032,7 +20232,7 @@ diff -urNp linux-2.6.32.11/drivers/ata/ata_piix.c linux-2.6.32.11/drivers/ata/at
20032 .inherits = &piix_sata_ops, 20232 .inherits = &piix_sata_ops,
20033 .hardreset = sata_std_hardreset, 20233 .hardreset = sata_std_hardreset,
20034 .scr_read = piix_sidpr_scr_read, 20234 .scr_read = piix_sidpr_scr_read,
20035@@ -608,7 +608,7 @@ static const struct ich_laptop ich_lapto 20235@@ -616,7 +616,7 @@ static const struct ich_laptop ich_lapto
20036 { 0x2653, 0x1043, 0x82D8 }, /* ICH6M on Asus Eee 701 */ 20236 { 0x2653, 0x1043, 0x82D8 }, /* ICH6M on Asus Eee 701 */
20037 { 0x27df, 0x104d, 0x900e }, /* ICH7 on Sony TZ-90 */ 20237 { 0x27df, 0x104d, 0x900e }, /* ICH7 on Sony TZ-90 */
20038 /* end marker */ 20238 /* end marker */
@@ -20041,7 +20241,7 @@ diff -urNp linux-2.6.32.11/drivers/ata/ata_piix.c linux-2.6.32.11/drivers/ata/at
20041 }; 20241 };
20042 20242
20043 /** 20243 /**
20044@@ -1086,7 +1086,7 @@ static int piix_broken_suspend(void) 20244@@ -1094,7 +1094,7 @@ static int piix_broken_suspend(void)
20045 }, 20245 },
20046 }, 20246 },
20047 20247
@@ -20050,9 +20250,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/ata_piix.c linux-2.6.32.11/drivers/ata/at
20050 }; 20250 };
20051 static const char *oemstrs[] = { 20251 static const char *oemstrs[] = {
20052 "Tecra M3,", 20252 "Tecra M3,",
20053diff -urNp linux-2.6.32.11/drivers/ata/libata-acpi.c linux-2.6.32.11/drivers/ata/libata-acpi.c 20253diff -urNp linux-2.6.32.12/drivers/ata/libata-acpi.c linux-2.6.32.12/drivers/ata/libata-acpi.c
20054--- linux-2.6.32.11/drivers/ata/libata-acpi.c 2010-03-15 11:52:04.000000000 -0400 20254--- linux-2.6.32.12/drivers/ata/libata-acpi.c 2010-03-15 11:52:04.000000000 -0400
20055+++ linux-2.6.32.11/drivers/ata/libata-acpi.c 2010-04-04 20:46:41.544756868 -0400 20255+++ linux-2.6.32.12/drivers/ata/libata-acpi.c 2010-04-04 20:46:41.544756868 -0400
20056@@ -223,12 +223,12 @@ static void ata_acpi_dev_uevent(acpi_han 20256@@ -223,12 +223,12 @@ static void ata_acpi_dev_uevent(acpi_han
20057 ata_acpi_uevent(dev->link->ap, dev, event); 20257 ata_acpi_uevent(dev->link->ap, dev, event);
20058 } 20258 }
@@ -20068,9 +20268,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/libata-acpi.c linux-2.6.32.11/drivers/ata
20068 .handler = ata_acpi_ap_notify_dock, 20268 .handler = ata_acpi_ap_notify_dock,
20069 .uevent = ata_acpi_ap_uevent, 20269 .uevent = ata_acpi_ap_uevent,
20070 }; 20270 };
20071diff -urNp linux-2.6.32.11/drivers/ata/libata-core.c linux-2.6.32.11/drivers/ata/libata-core.c 20271diff -urNp linux-2.6.32.12/drivers/ata/libata-core.c linux-2.6.32.12/drivers/ata/libata-core.c
20072--- linux-2.6.32.11/drivers/ata/libata-core.c 2010-03-15 11:52:04.000000000 -0400 20272--- linux-2.6.32.12/drivers/ata/libata-core.c 2010-04-29 17:49:37.689144697 -0400
20073+++ linux-2.6.32.11/drivers/ata/libata-core.c 2010-04-04 20:46:41.544756868 -0400 20273+++ linux-2.6.32.12/drivers/ata/libata-core.c 2010-04-29 17:49:58.081481928 -0400
20074@@ -896,7 +896,7 @@ static const struct ata_xfer_ent { 20274@@ -896,7 +896,7 @@ static const struct ata_xfer_ent {
20075 { ATA_SHIFT_PIO, ATA_NR_PIO_MODES, XFER_PIO_0 }, 20275 { ATA_SHIFT_PIO, ATA_NR_PIO_MODES, XFER_PIO_0 },
20076 { ATA_SHIFT_MWDMA, ATA_NR_MWDMA_MODES, XFER_MW_DMA_0 }, 20276 { ATA_SHIFT_MWDMA, ATA_NR_MWDMA_MODES, XFER_MW_DMA_0 },
@@ -20089,7 +20289,7 @@ diff -urNp linux-2.6.32.11/drivers/ata/libata-core.c linux-2.6.32.11/drivers/ata
20089 }; 20289 };
20090 20290
20091 #define ENOUGH(v, unit) (((v)-1)/(unit)+1) 20291 #define ENOUGH(v, unit) (((v)-1)/(unit)+1)
20092@@ -4385,7 +4385,7 @@ static const struct ata_blacklist_entry 20292@@ -4388,7 +4388,7 @@ static const struct ata_blacklist_entry
20093 { "PIONEER DVD-RW DVRTD08", "1.00", ATA_HORKAGE_NOSETXFER }, 20293 { "PIONEER DVD-RW DVRTD08", "1.00", ATA_HORKAGE_NOSETXFER },
20094 20294
20095 /* End Marker */ 20295 /* End Marker */
@@ -20098,7 +20298,7 @@ diff -urNp linux-2.6.32.11/drivers/ata/libata-core.c linux-2.6.32.11/drivers/ata
20098 }; 20298 };
20099 20299
20100 static int strn_pattern_cmp(const char *patt, const char *name, int wildchar) 20300 static int strn_pattern_cmp(const char *patt, const char *name, int wildchar)
20101@@ -5961,7 +5961,7 @@ static void ata_host_stop(struct device 20301@@ -5964,7 +5964,7 @@ static void ata_host_stop(struct device
20102 * LOCKING: 20302 * LOCKING:
20103 * None. 20303 * None.
20104 */ 20304 */
@@ -20107,7 +20307,7 @@ diff -urNp linux-2.6.32.11/drivers/ata/libata-core.c linux-2.6.32.11/drivers/ata
20107 { 20307 {
20108 static DEFINE_SPINLOCK(lock); 20308 static DEFINE_SPINLOCK(lock);
20109 const struct ata_port_operations *cur; 20309 const struct ata_port_operations *cur;
20110@@ -5973,6 +5973,7 @@ static void ata_finalize_port_ops(struct 20310@@ -5976,6 +5976,7 @@ static void ata_finalize_port_ops(struct
20111 return; 20311 return;
20112 20312
20113 spin_lock(&lock); 20313 spin_lock(&lock);
@@ -20115,7 +20315,7 @@ diff -urNp linux-2.6.32.11/drivers/ata/libata-core.c linux-2.6.32.11/drivers/ata
20115 20315
20116 for (cur = ops->inherits; cur; cur = cur->inherits) { 20316 for (cur = ops->inherits; cur; cur = cur->inherits) {
20117 void **inherit = (void **)cur; 20317 void **inherit = (void **)cur;
20118@@ -5986,8 +5987,9 @@ static void ata_finalize_port_ops(struct 20318@@ -5989,8 +5990,9 @@ static void ata_finalize_port_ops(struct
20119 if (IS_ERR(*pp)) 20319 if (IS_ERR(*pp))
20120 *pp = NULL; 20320 *pp = NULL;
20121 20321
@@ -20126,7 +20326,7 @@ diff -urNp linux-2.6.32.11/drivers/ata/libata-core.c linux-2.6.32.11/drivers/ata
20126 spin_unlock(&lock); 20326 spin_unlock(&lock);
20127 } 20327 }
20128 20328
20129@@ -6084,7 +6086,7 @@ int ata_host_start(struct ata_host *host 20329@@ -6087,7 +6089,7 @@ int ata_host_start(struct ata_host *host
20130 */ 20330 */
20131 /* KILLME - the only user left is ipr */ 20331 /* KILLME - the only user left is ipr */
20132 void ata_host_init(struct ata_host *host, struct device *dev, 20332 void ata_host_init(struct ata_host *host, struct device *dev,
@@ -20135,7 +20335,7 @@ diff -urNp linux-2.6.32.11/drivers/ata/libata-core.c linux-2.6.32.11/drivers/ata
20135 { 20335 {
20136 spin_lock_init(&host->lock); 20336 spin_lock_init(&host->lock);
20137 host->dev = dev; 20337 host->dev = dev;
20138@@ -6747,7 +6749,7 @@ static void ata_dummy_error_handler(stru 20338@@ -6750,7 +6752,7 @@ static void ata_dummy_error_handler(stru
20139 /* truly dummy */ 20339 /* truly dummy */
20140 } 20340 }
20141 20341
@@ -20144,9 +20344,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/libata-core.c linux-2.6.32.11/drivers/ata
20144 .qc_prep = ata_noop_qc_prep, 20344 .qc_prep = ata_noop_qc_prep,
20145 .qc_issue = ata_dummy_qc_issue, 20345 .qc_issue = ata_dummy_qc_issue,
20146 .error_handler = ata_dummy_error_handler, 20346 .error_handler = ata_dummy_error_handler,
20147diff -urNp linux-2.6.32.11/drivers/ata/libata-eh.c linux-2.6.32.11/drivers/ata/libata-eh.c 20347diff -urNp linux-2.6.32.12/drivers/ata/libata-eh.c linux-2.6.32.12/drivers/ata/libata-eh.c
20148--- linux-2.6.32.11/drivers/ata/libata-eh.c 2010-03-15 11:52:04.000000000 -0400 20348--- linux-2.6.32.12/drivers/ata/libata-eh.c 2010-03-15 11:52:04.000000000 -0400
20149+++ linux-2.6.32.11/drivers/ata/libata-eh.c 2010-04-04 20:46:41.544756868 -0400 20349+++ linux-2.6.32.12/drivers/ata/libata-eh.c 2010-04-04 20:46:41.544756868 -0400
20150@@ -3581,7 +3581,7 @@ void ata_do_eh(struct ata_port *ap, ata_ 20350@@ -3581,7 +3581,7 @@ void ata_do_eh(struct ata_port *ap, ata_
20151 */ 20351 */
20152 void ata_std_error_handler(struct ata_port *ap) 20352 void ata_std_error_handler(struct ata_port *ap)
@@ -20156,9 +20356,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/libata-eh.c linux-2.6.32.11/drivers/ata/l
20156 ata_reset_fn_t hardreset = ops->hardreset; 20356 ata_reset_fn_t hardreset = ops->hardreset;
20157 20357
20158 /* ignore built-in hardreset if SCR access is not available */ 20358 /* ignore built-in hardreset if SCR access is not available */
20159diff -urNp linux-2.6.32.11/drivers/ata/libata-pmp.c linux-2.6.32.11/drivers/ata/libata-pmp.c 20359diff -urNp linux-2.6.32.12/drivers/ata/libata-pmp.c linux-2.6.32.12/drivers/ata/libata-pmp.c
20160--- linux-2.6.32.11/drivers/ata/libata-pmp.c 2010-03-15 11:52:04.000000000 -0400 20360--- linux-2.6.32.12/drivers/ata/libata-pmp.c 2010-03-15 11:52:04.000000000 -0400
20161+++ linux-2.6.32.11/drivers/ata/libata-pmp.c 2010-04-04 20:46:41.544756868 -0400 20361+++ linux-2.6.32.12/drivers/ata/libata-pmp.c 2010-04-04 20:46:41.544756868 -0400
20162@@ -841,7 +841,7 @@ static int sata_pmp_handle_link_fail(str 20362@@ -841,7 +841,7 @@ static int sata_pmp_handle_link_fail(str
20163 */ 20363 */
20164 static int sata_pmp_eh_recover(struct ata_port *ap) 20364 static int sata_pmp_eh_recover(struct ata_port *ap)
@@ -20168,9 +20368,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/libata-pmp.c linux-2.6.32.11/drivers/ata/
20168 int pmp_tries, link_tries[SATA_PMP_MAX_PORTS]; 20368 int pmp_tries, link_tries[SATA_PMP_MAX_PORTS];
20169 struct ata_link *pmp_link = &ap->link; 20369 struct ata_link *pmp_link = &ap->link;
20170 struct ata_device *pmp_dev = pmp_link->device; 20370 struct ata_device *pmp_dev = pmp_link->device;
20171diff -urNp linux-2.6.32.11/drivers/ata/pata_acpi.c linux-2.6.32.11/drivers/ata/pata_acpi.c 20371diff -urNp linux-2.6.32.12/drivers/ata/pata_acpi.c linux-2.6.32.12/drivers/ata/pata_acpi.c
20172--- linux-2.6.32.11/drivers/ata/pata_acpi.c 2010-03-15 11:52:04.000000000 -0400 20372--- linux-2.6.32.12/drivers/ata/pata_acpi.c 2010-03-15 11:52:04.000000000 -0400
20173+++ linux-2.6.32.11/drivers/ata/pata_acpi.c 2010-04-04 20:46:41.549452547 -0400 20373+++ linux-2.6.32.12/drivers/ata/pata_acpi.c 2010-04-04 20:46:41.549452547 -0400
20174@@ -215,7 +215,7 @@ static struct scsi_host_template pacpi_s 20374@@ -215,7 +215,7 @@ static struct scsi_host_template pacpi_s
20175 ATA_BMDMA_SHT(DRV_NAME), 20375 ATA_BMDMA_SHT(DRV_NAME),
20176 }; 20376 };
@@ -20180,9 +20380,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/pata_acpi.c linux-2.6.32.11/drivers/ata/p
20180 .inherits = &ata_bmdma_port_ops, 20380 .inherits = &ata_bmdma_port_ops,
20181 .qc_issue = pacpi_qc_issue, 20381 .qc_issue = pacpi_qc_issue,
20182 .cable_detect = pacpi_cable_detect, 20382 .cable_detect = pacpi_cable_detect,
20183diff -urNp linux-2.6.32.11/drivers/ata/pata_ali.c linux-2.6.32.11/drivers/ata/pata_ali.c 20383diff -urNp linux-2.6.32.12/drivers/ata/pata_ali.c linux-2.6.32.12/drivers/ata/pata_ali.c
20184--- linux-2.6.32.11/drivers/ata/pata_ali.c 2010-03-15 11:52:04.000000000 -0400 20384--- linux-2.6.32.12/drivers/ata/pata_ali.c 2010-04-29 17:49:37.689144697 -0400
20185+++ linux-2.6.32.11/drivers/ata/pata_ali.c 2010-04-04 20:46:41.549452547 -0400 20385+++ linux-2.6.32.12/drivers/ata/pata_ali.c 2010-04-29 17:49:58.081481928 -0400
20186@@ -365,7 +365,7 @@ static struct scsi_host_template ali_sht 20386@@ -365,7 +365,7 @@ static struct scsi_host_template ali_sht
20187 * Port operations for PIO only ALi 20387 * Port operations for PIO only ALi
20188 */ 20388 */
@@ -20228,9 +20428,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/pata_ali.c linux-2.6.32.11/drivers/ata/pa
20228 .inherits = &ali_dma_base_ops, 20428 .inherits = &ali_dma_base_ops,
20229 .check_atapi_dma = ali_check_atapi_dma, 20429 .check_atapi_dma = ali_check_atapi_dma,
20230 .dev_config = ali_warn_atapi_dma, 20430 .dev_config = ali_warn_atapi_dma,
20231diff -urNp linux-2.6.32.11/drivers/ata/pata_amd.c linux-2.6.32.11/drivers/ata/pata_amd.c 20431diff -urNp linux-2.6.32.12/drivers/ata/pata_amd.c linux-2.6.32.12/drivers/ata/pata_amd.c
20232--- linux-2.6.32.11/drivers/ata/pata_amd.c 2010-03-15 11:52:04.000000000 -0400 20432--- linux-2.6.32.12/drivers/ata/pata_amd.c 2010-03-15 11:52:04.000000000 -0400
20233+++ linux-2.6.32.11/drivers/ata/pata_amd.c 2010-04-04 20:46:41.549452547 -0400 20433+++ linux-2.6.32.12/drivers/ata/pata_amd.c 2010-04-04 20:46:41.549452547 -0400
20234@@ -397,28 +397,28 @@ static const struct ata_port_operations 20434@@ -397,28 +397,28 @@ static const struct ata_port_operations
20235 .prereset = amd_pre_reset, 20435 .prereset = amd_pre_reset,
20236 }; 20436 };
@@ -20280,9 +20480,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/pata_amd.c linux-2.6.32.11/drivers/ata/pa
20280 .inherits = &nv_base_port_ops, 20480 .inherits = &nv_base_port_ops,
20281 .set_piomode = nv133_set_piomode, 20481 .set_piomode = nv133_set_piomode,
20282 .set_dmamode = nv133_set_dmamode, 20482 .set_dmamode = nv133_set_dmamode,
20283diff -urNp linux-2.6.32.11/drivers/ata/pata_artop.c linux-2.6.32.11/drivers/ata/pata_artop.c 20483diff -urNp linux-2.6.32.12/drivers/ata/pata_artop.c linux-2.6.32.12/drivers/ata/pata_artop.c
20284--- linux-2.6.32.11/drivers/ata/pata_artop.c 2010-03-15 11:52:04.000000000 -0400 20484--- linux-2.6.32.12/drivers/ata/pata_artop.c 2010-03-15 11:52:04.000000000 -0400
20285+++ linux-2.6.32.11/drivers/ata/pata_artop.c 2010-04-04 20:46:41.549452547 -0400 20485+++ linux-2.6.32.12/drivers/ata/pata_artop.c 2010-04-04 20:46:41.549452547 -0400
20286@@ -311,7 +311,7 @@ static struct scsi_host_template artop_s 20486@@ -311,7 +311,7 @@ static struct scsi_host_template artop_s
20287 ATA_BMDMA_SHT(DRV_NAME), 20487 ATA_BMDMA_SHT(DRV_NAME),
20288 }; 20488 };
@@ -20301,9 +20501,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/pata_artop.c linux-2.6.32.11/drivers/ata/
20301 .inherits = &ata_bmdma_port_ops, 20501 .inherits = &ata_bmdma_port_ops,
20302 .cable_detect = artop6260_cable_detect, 20502 .cable_detect = artop6260_cable_detect,
20303 .set_piomode = artop6260_set_piomode, 20503 .set_piomode = artop6260_set_piomode,
20304diff -urNp linux-2.6.32.11/drivers/ata/pata_at32.c linux-2.6.32.11/drivers/ata/pata_at32.c 20504diff -urNp linux-2.6.32.12/drivers/ata/pata_at32.c linux-2.6.32.12/drivers/ata/pata_at32.c
20305--- linux-2.6.32.11/drivers/ata/pata_at32.c 2010-03-15 11:52:04.000000000 -0400 20505--- linux-2.6.32.12/drivers/ata/pata_at32.c 2010-03-15 11:52:04.000000000 -0400
20306+++ linux-2.6.32.11/drivers/ata/pata_at32.c 2010-04-04 20:46:41.549452547 -0400 20506+++ linux-2.6.32.12/drivers/ata/pata_at32.c 2010-04-04 20:46:41.549452547 -0400
20307@@ -172,7 +172,7 @@ static struct scsi_host_template at32_sh 20507@@ -172,7 +172,7 @@ static struct scsi_host_template at32_sh
20308 ATA_PIO_SHT(DRV_NAME), 20508 ATA_PIO_SHT(DRV_NAME),
20309 }; 20509 };
@@ -20313,9 +20513,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/pata_at32.c linux-2.6.32.11/drivers/ata/p
20313 .inherits = &ata_sff_port_ops, 20513 .inherits = &ata_sff_port_ops,
20314 .cable_detect = ata_cable_40wire, 20514 .cable_detect = ata_cable_40wire,
20315 .set_piomode = pata_at32_set_piomode, 20515 .set_piomode = pata_at32_set_piomode,
20316diff -urNp linux-2.6.32.11/drivers/ata/pata_at91.c linux-2.6.32.11/drivers/ata/pata_at91.c 20516diff -urNp linux-2.6.32.12/drivers/ata/pata_at91.c linux-2.6.32.12/drivers/ata/pata_at91.c
20317--- linux-2.6.32.11/drivers/ata/pata_at91.c 2010-03-15 11:52:04.000000000 -0400 20517--- linux-2.6.32.12/drivers/ata/pata_at91.c 2010-03-15 11:52:04.000000000 -0400
20318+++ linux-2.6.32.11/drivers/ata/pata_at91.c 2010-04-04 20:46:41.549452547 -0400 20518+++ linux-2.6.32.12/drivers/ata/pata_at91.c 2010-04-04 20:46:41.549452547 -0400
20319@@ -195,7 +195,7 @@ static struct scsi_host_template pata_at 20519@@ -195,7 +195,7 @@ static struct scsi_host_template pata_at
20320 ATA_PIO_SHT(DRV_NAME), 20520 ATA_PIO_SHT(DRV_NAME),
20321 }; 20521 };
@@ -20325,9 +20525,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/pata_at91.c linux-2.6.32.11/drivers/ata/p
20325 .inherits = &ata_sff_port_ops, 20525 .inherits = &ata_sff_port_ops,
20326 20526
20327 .sff_data_xfer = pata_at91_data_xfer_noirq, 20527 .sff_data_xfer = pata_at91_data_xfer_noirq,
20328diff -urNp linux-2.6.32.11/drivers/ata/pata_atiixp.c linux-2.6.32.11/drivers/ata/pata_atiixp.c 20528diff -urNp linux-2.6.32.12/drivers/ata/pata_atiixp.c linux-2.6.32.12/drivers/ata/pata_atiixp.c
20329--- linux-2.6.32.11/drivers/ata/pata_atiixp.c 2010-03-15 11:52:04.000000000 -0400 20529--- linux-2.6.32.12/drivers/ata/pata_atiixp.c 2010-03-15 11:52:04.000000000 -0400
20330+++ linux-2.6.32.11/drivers/ata/pata_atiixp.c 2010-04-04 20:46:41.549452547 -0400 20530+++ linux-2.6.32.12/drivers/ata/pata_atiixp.c 2010-04-04 20:46:41.549452547 -0400
20331@@ -205,7 +205,7 @@ static struct scsi_host_template atiixp_ 20531@@ -205,7 +205,7 @@ static struct scsi_host_template atiixp_
20332 .sg_tablesize = LIBATA_DUMB_MAX_PRD, 20532 .sg_tablesize = LIBATA_DUMB_MAX_PRD,
20333 }; 20533 };
@@ -20337,9 +20537,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/pata_atiixp.c linux-2.6.32.11/drivers/ata
20337 .inherits = &ata_bmdma_port_ops, 20537 .inherits = &ata_bmdma_port_ops,
20338 20538
20339 .qc_prep = ata_sff_dumb_qc_prep, 20539 .qc_prep = ata_sff_dumb_qc_prep,
20340diff -urNp linux-2.6.32.11/drivers/ata/pata_atp867x.c linux-2.6.32.11/drivers/ata/pata_atp867x.c 20540diff -urNp linux-2.6.32.12/drivers/ata/pata_atp867x.c linux-2.6.32.12/drivers/ata/pata_atp867x.c
20341--- linux-2.6.32.11/drivers/ata/pata_atp867x.c 2010-03-15 11:52:04.000000000 -0400 20541--- linux-2.6.32.12/drivers/ata/pata_atp867x.c 2010-03-15 11:52:04.000000000 -0400
20342+++ linux-2.6.32.11/drivers/ata/pata_atp867x.c 2010-04-04 20:46:41.549452547 -0400 20542+++ linux-2.6.32.12/drivers/ata/pata_atp867x.c 2010-04-04 20:46:41.549452547 -0400
20343@@ -274,7 +274,7 @@ static struct scsi_host_template atp867x 20543@@ -274,7 +274,7 @@ static struct scsi_host_template atp867x
20344 ATA_BMDMA_SHT(DRV_NAME), 20544 ATA_BMDMA_SHT(DRV_NAME),
20345 }; 20545 };
@@ -20349,9 +20549,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/pata_atp867x.c linux-2.6.32.11/drivers/at
20349 .inherits = &ata_bmdma_port_ops, 20549 .inherits = &ata_bmdma_port_ops,
20350 .cable_detect = atp867x_cable_detect, 20550 .cable_detect = atp867x_cable_detect,
20351 .set_piomode = atp867x_set_piomode, 20551 .set_piomode = atp867x_set_piomode,
20352diff -urNp linux-2.6.32.11/drivers/ata/pata_bf54x.c linux-2.6.32.11/drivers/ata/pata_bf54x.c 20552diff -urNp linux-2.6.32.12/drivers/ata/pata_bf54x.c linux-2.6.32.12/drivers/ata/pata_bf54x.c
20353--- linux-2.6.32.11/drivers/ata/pata_bf54x.c 2010-03-15 11:52:04.000000000 -0400 20553--- linux-2.6.32.12/drivers/ata/pata_bf54x.c 2010-03-15 11:52:04.000000000 -0400
20354+++ linux-2.6.32.11/drivers/ata/pata_bf54x.c 2010-04-04 20:46:41.549452547 -0400 20554+++ linux-2.6.32.12/drivers/ata/pata_bf54x.c 2010-04-04 20:46:41.549452547 -0400
20355@@ -1464,7 +1464,7 @@ static struct scsi_host_template bfin_sh 20555@@ -1464,7 +1464,7 @@ static struct scsi_host_template bfin_sh
20356 .dma_boundary = ATA_DMA_BOUNDARY, 20556 .dma_boundary = ATA_DMA_BOUNDARY,
20357 }; 20557 };
@@ -20361,9 +20561,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/pata_bf54x.c linux-2.6.32.11/drivers/ata/
20361 .inherits = &ata_sff_port_ops, 20561 .inherits = &ata_sff_port_ops,
20362 20562
20363 .set_piomode = bfin_set_piomode, 20563 .set_piomode = bfin_set_piomode,
20364diff -urNp linux-2.6.32.11/drivers/ata/pata_cmd640.c linux-2.6.32.11/drivers/ata/pata_cmd640.c 20564diff -urNp linux-2.6.32.12/drivers/ata/pata_cmd640.c linux-2.6.32.12/drivers/ata/pata_cmd640.c
20365--- linux-2.6.32.11/drivers/ata/pata_cmd640.c 2010-03-15 11:52:04.000000000 -0400 20565--- linux-2.6.32.12/drivers/ata/pata_cmd640.c 2010-03-15 11:52:04.000000000 -0400
20366+++ linux-2.6.32.11/drivers/ata/pata_cmd640.c 2010-04-04 20:46:41.549452547 -0400 20566+++ linux-2.6.32.12/drivers/ata/pata_cmd640.c 2010-04-04 20:46:41.549452547 -0400
20367@@ -168,7 +168,7 @@ static struct scsi_host_template cmd640_ 20567@@ -168,7 +168,7 @@ static struct scsi_host_template cmd640_
20368 ATA_BMDMA_SHT(DRV_NAME), 20568 ATA_BMDMA_SHT(DRV_NAME),
20369 }; 20569 };
@@ -20373,9 +20573,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/pata_cmd640.c linux-2.6.32.11/drivers/ata
20373 .inherits = &ata_bmdma_port_ops, 20573 .inherits = &ata_bmdma_port_ops,
20374 /* In theory xfer_noirq is not needed once we kill the prefetcher */ 20574 /* In theory xfer_noirq is not needed once we kill the prefetcher */
20375 .sff_data_xfer = ata_sff_data_xfer_noirq, 20575 .sff_data_xfer = ata_sff_data_xfer_noirq,
20376diff -urNp linux-2.6.32.11/drivers/ata/pata_cmd64x.c linux-2.6.32.11/drivers/ata/pata_cmd64x.c 20576diff -urNp linux-2.6.32.12/drivers/ata/pata_cmd64x.c linux-2.6.32.12/drivers/ata/pata_cmd64x.c
20377--- linux-2.6.32.11/drivers/ata/pata_cmd64x.c 2010-03-15 11:52:04.000000000 -0400 20577--- linux-2.6.32.12/drivers/ata/pata_cmd64x.c 2010-03-15 11:52:04.000000000 -0400
20378+++ linux-2.6.32.11/drivers/ata/pata_cmd64x.c 2010-04-04 20:46:41.549452547 -0400 20578+++ linux-2.6.32.12/drivers/ata/pata_cmd64x.c 2010-04-04 20:46:41.549452547 -0400
20379@@ -275,18 +275,18 @@ static const struct ata_port_operations 20579@@ -275,18 +275,18 @@ static const struct ata_port_operations
20380 .set_dmamode = cmd64x_set_dmamode, 20580 .set_dmamode = cmd64x_set_dmamode,
20381 }; 20581 };
@@ -20398,9 +20598,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/pata_cmd64x.c linux-2.6.32.11/drivers/ata
20398 .inherits = &cmd64x_base_ops, 20598 .inherits = &cmd64x_base_ops,
20399 .bmdma_stop = cmd648_bmdma_stop, 20599 .bmdma_stop = cmd648_bmdma_stop,
20400 .cable_detect = cmd648_cable_detect, 20600 .cable_detect = cmd648_cable_detect,
20401diff -urNp linux-2.6.32.11/drivers/ata/pata_cs5520.c linux-2.6.32.11/drivers/ata/pata_cs5520.c 20601diff -urNp linux-2.6.32.12/drivers/ata/pata_cs5520.c linux-2.6.32.12/drivers/ata/pata_cs5520.c
20402--- linux-2.6.32.11/drivers/ata/pata_cs5520.c 2010-03-15 11:52:04.000000000 -0400 20602--- linux-2.6.32.12/drivers/ata/pata_cs5520.c 2010-03-15 11:52:04.000000000 -0400
20403+++ linux-2.6.32.11/drivers/ata/pata_cs5520.c 2010-04-04 20:46:41.549452547 -0400 20603+++ linux-2.6.32.12/drivers/ata/pata_cs5520.c 2010-04-04 20:46:41.549452547 -0400
20404@@ -144,7 +144,7 @@ static struct scsi_host_template cs5520_ 20604@@ -144,7 +144,7 @@ static struct scsi_host_template cs5520_
20405 .sg_tablesize = LIBATA_DUMB_MAX_PRD, 20605 .sg_tablesize = LIBATA_DUMB_MAX_PRD,
20406 }; 20606 };
@@ -20410,9 +20610,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/pata_cs5520.c linux-2.6.32.11/drivers/ata
20410 .inherits = &ata_bmdma_port_ops, 20610 .inherits = &ata_bmdma_port_ops,
20411 .qc_prep = ata_sff_dumb_qc_prep, 20611 .qc_prep = ata_sff_dumb_qc_prep,
20412 .cable_detect = ata_cable_40wire, 20612 .cable_detect = ata_cable_40wire,
20413diff -urNp linux-2.6.32.11/drivers/ata/pata_cs5530.c linux-2.6.32.11/drivers/ata/pata_cs5530.c 20613diff -urNp linux-2.6.32.12/drivers/ata/pata_cs5530.c linux-2.6.32.12/drivers/ata/pata_cs5530.c
20414--- linux-2.6.32.11/drivers/ata/pata_cs5530.c 2010-03-15 11:52:04.000000000 -0400 20614--- linux-2.6.32.12/drivers/ata/pata_cs5530.c 2010-03-15 11:52:04.000000000 -0400
20415+++ linux-2.6.32.11/drivers/ata/pata_cs5530.c 2010-04-04 20:46:41.549452547 -0400 20615+++ linux-2.6.32.12/drivers/ata/pata_cs5530.c 2010-04-04 20:46:41.549452547 -0400
20416@@ -164,7 +164,7 @@ static struct scsi_host_template cs5530_ 20616@@ -164,7 +164,7 @@ static struct scsi_host_template cs5530_
20417 .sg_tablesize = LIBATA_DUMB_MAX_PRD, 20617 .sg_tablesize = LIBATA_DUMB_MAX_PRD,
20418 }; 20618 };
@@ -20422,9 +20622,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/pata_cs5530.c linux-2.6.32.11/drivers/ata
20422 .inherits = &ata_bmdma_port_ops, 20622 .inherits = &ata_bmdma_port_ops,
20423 20623
20424 .qc_prep = ata_sff_dumb_qc_prep, 20624 .qc_prep = ata_sff_dumb_qc_prep,
20425diff -urNp linux-2.6.32.11/drivers/ata/pata_cs5535.c linux-2.6.32.11/drivers/ata/pata_cs5535.c 20625diff -urNp linux-2.6.32.12/drivers/ata/pata_cs5535.c linux-2.6.32.12/drivers/ata/pata_cs5535.c
20426--- linux-2.6.32.11/drivers/ata/pata_cs5535.c 2010-03-15 11:52:04.000000000 -0400 20626--- linux-2.6.32.12/drivers/ata/pata_cs5535.c 2010-03-15 11:52:04.000000000 -0400
20427+++ linux-2.6.32.11/drivers/ata/pata_cs5535.c 2010-04-04 20:46:41.549452547 -0400 20627+++ linux-2.6.32.12/drivers/ata/pata_cs5535.c 2010-04-04 20:46:41.549452547 -0400
20428@@ -160,7 +160,7 @@ static struct scsi_host_template cs5535_ 20628@@ -160,7 +160,7 @@ static struct scsi_host_template cs5535_
20429 ATA_BMDMA_SHT(DRV_NAME), 20629 ATA_BMDMA_SHT(DRV_NAME),
20430 }; 20630 };
@@ -20434,9 +20634,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/pata_cs5535.c linux-2.6.32.11/drivers/ata
20434 .inherits = &ata_bmdma_port_ops, 20634 .inherits = &ata_bmdma_port_ops,
20435 .cable_detect = cs5535_cable_detect, 20635 .cable_detect = cs5535_cable_detect,
20436 .set_piomode = cs5535_set_piomode, 20636 .set_piomode = cs5535_set_piomode,
20437diff -urNp linux-2.6.32.11/drivers/ata/pata_cs5536.c linux-2.6.32.11/drivers/ata/pata_cs5536.c 20637diff -urNp linux-2.6.32.12/drivers/ata/pata_cs5536.c linux-2.6.32.12/drivers/ata/pata_cs5536.c
20438--- linux-2.6.32.11/drivers/ata/pata_cs5536.c 2010-03-15 11:52:04.000000000 -0400 20638--- linux-2.6.32.12/drivers/ata/pata_cs5536.c 2010-03-15 11:52:04.000000000 -0400
20439+++ linux-2.6.32.11/drivers/ata/pata_cs5536.c 2010-04-04 20:46:41.549452547 -0400 20639+++ linux-2.6.32.12/drivers/ata/pata_cs5536.c 2010-04-04 20:46:41.549452547 -0400
20440@@ -223,7 +223,7 @@ static struct scsi_host_template cs5536_ 20640@@ -223,7 +223,7 @@ static struct scsi_host_template cs5536_
20441 ATA_BMDMA_SHT(DRV_NAME), 20641 ATA_BMDMA_SHT(DRV_NAME),
20442 }; 20642 };
@@ -20446,9 +20646,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/pata_cs5536.c linux-2.6.32.11/drivers/ata
20446 .inherits = &ata_bmdma_port_ops, 20646 .inherits = &ata_bmdma_port_ops,
20447 .cable_detect = cs5536_cable_detect, 20647 .cable_detect = cs5536_cable_detect,
20448 .set_piomode = cs5536_set_piomode, 20648 .set_piomode = cs5536_set_piomode,
20449diff -urNp linux-2.6.32.11/drivers/ata/pata_cypress.c linux-2.6.32.11/drivers/ata/pata_cypress.c 20649diff -urNp linux-2.6.32.12/drivers/ata/pata_cypress.c linux-2.6.32.12/drivers/ata/pata_cypress.c
20450--- linux-2.6.32.11/drivers/ata/pata_cypress.c 2010-03-15 11:52:04.000000000 -0400 20650--- linux-2.6.32.12/drivers/ata/pata_cypress.c 2010-03-15 11:52:04.000000000 -0400
20451+++ linux-2.6.32.11/drivers/ata/pata_cypress.c 2010-04-04 20:46:41.549452547 -0400 20651+++ linux-2.6.32.12/drivers/ata/pata_cypress.c 2010-04-04 20:46:41.549452547 -0400
20452@@ -113,7 +113,7 @@ static struct scsi_host_template cy82c69 20652@@ -113,7 +113,7 @@ static struct scsi_host_template cy82c69
20453 ATA_BMDMA_SHT(DRV_NAME), 20653 ATA_BMDMA_SHT(DRV_NAME),
20454 }; 20654 };
@@ -20458,9 +20658,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/pata_cypress.c linux-2.6.32.11/drivers/at
20458 .inherits = &ata_bmdma_port_ops, 20658 .inherits = &ata_bmdma_port_ops,
20459 .cable_detect = ata_cable_40wire, 20659 .cable_detect = ata_cable_40wire,
20460 .set_piomode = cy82c693_set_piomode, 20660 .set_piomode = cy82c693_set_piomode,
20461diff -urNp linux-2.6.32.11/drivers/ata/pata_efar.c linux-2.6.32.11/drivers/ata/pata_efar.c 20661diff -urNp linux-2.6.32.12/drivers/ata/pata_efar.c linux-2.6.32.12/drivers/ata/pata_efar.c
20462--- linux-2.6.32.11/drivers/ata/pata_efar.c 2010-03-15 11:52:04.000000000 -0400 20662--- linux-2.6.32.12/drivers/ata/pata_efar.c 2010-03-15 11:52:04.000000000 -0400
20463+++ linux-2.6.32.11/drivers/ata/pata_efar.c 2010-04-04 20:46:41.549452547 -0400 20663+++ linux-2.6.32.12/drivers/ata/pata_efar.c 2010-04-04 20:46:41.549452547 -0400
20464@@ -222,7 +222,7 @@ static struct scsi_host_template efar_sh 20664@@ -222,7 +222,7 @@ static struct scsi_host_template efar_sh
20465 ATA_BMDMA_SHT(DRV_NAME), 20665 ATA_BMDMA_SHT(DRV_NAME),
20466 }; 20666 };
@@ -20470,9 +20670,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/pata_efar.c linux-2.6.32.11/drivers/ata/p
20470 .inherits = &ata_bmdma_port_ops, 20670 .inherits = &ata_bmdma_port_ops,
20471 .cable_detect = efar_cable_detect, 20671 .cable_detect = efar_cable_detect,
20472 .set_piomode = efar_set_piomode, 20672 .set_piomode = efar_set_piomode,
20473diff -urNp linux-2.6.32.11/drivers/ata/pata_hpt366.c linux-2.6.32.11/drivers/ata/pata_hpt366.c 20673diff -urNp linux-2.6.32.12/drivers/ata/pata_hpt366.c linux-2.6.32.12/drivers/ata/pata_hpt366.c
20474--- linux-2.6.32.11/drivers/ata/pata_hpt366.c 2010-03-15 11:52:04.000000000 -0400 20674--- linux-2.6.32.12/drivers/ata/pata_hpt366.c 2010-03-15 11:52:04.000000000 -0400
20475+++ linux-2.6.32.11/drivers/ata/pata_hpt366.c 2010-04-04 20:46:41.549452547 -0400 20675+++ linux-2.6.32.12/drivers/ata/pata_hpt366.c 2010-04-04 20:46:41.549452547 -0400
20476@@ -282,7 +282,7 @@ static struct scsi_host_template hpt36x_ 20676@@ -282,7 +282,7 @@ static struct scsi_host_template hpt36x_
20477 * Configuration for HPT366/68 20677 * Configuration for HPT366/68
20478 */ 20678 */
@@ -20482,9 +20682,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/pata_hpt366.c linux-2.6.32.11/drivers/ata
20482 .inherits = &ata_bmdma_port_ops, 20682 .inherits = &ata_bmdma_port_ops,
20483 .cable_detect = hpt36x_cable_detect, 20683 .cable_detect = hpt36x_cable_detect,
20484 .mode_filter = hpt366_filter, 20684 .mode_filter = hpt366_filter,
20485diff -urNp linux-2.6.32.11/drivers/ata/pata_hpt37x.c linux-2.6.32.11/drivers/ata/pata_hpt37x.c 20685diff -urNp linux-2.6.32.12/drivers/ata/pata_hpt37x.c linux-2.6.32.12/drivers/ata/pata_hpt37x.c
20486--- linux-2.6.32.11/drivers/ata/pata_hpt37x.c 2010-03-15 11:52:04.000000000 -0400 20686--- linux-2.6.32.12/drivers/ata/pata_hpt37x.c 2010-03-15 11:52:04.000000000 -0400
20487+++ linux-2.6.32.11/drivers/ata/pata_hpt37x.c 2010-04-04 20:46:41.552552724 -0400 20687+++ linux-2.6.32.12/drivers/ata/pata_hpt37x.c 2010-04-04 20:46:41.552552724 -0400
20488@@ -576,7 +576,7 @@ static struct scsi_host_template hpt37x_ 20688@@ -576,7 +576,7 @@ static struct scsi_host_template hpt37x_
20489 * Configuration for HPT370 20689 * Configuration for HPT370
20490 */ 20690 */
@@ -20521,9 +20721,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/pata_hpt37x.c linux-2.6.32.11/drivers/ata
20521 .inherits = &hpt372_port_ops, 20721 .inherits = &hpt372_port_ops,
20522 .prereset = hpt374_fn1_pre_reset, 20722 .prereset = hpt374_fn1_pre_reset,
20523 }; 20723 };
20524diff -urNp linux-2.6.32.11/drivers/ata/pata_hpt3x2n.c linux-2.6.32.11/drivers/ata/pata_hpt3x2n.c 20724diff -urNp linux-2.6.32.12/drivers/ata/pata_hpt3x2n.c linux-2.6.32.12/drivers/ata/pata_hpt3x2n.c
20525--- linux-2.6.32.11/drivers/ata/pata_hpt3x2n.c 2010-03-15 11:52:04.000000000 -0400 20725--- linux-2.6.32.12/drivers/ata/pata_hpt3x2n.c 2010-03-15 11:52:04.000000000 -0400
20526+++ linux-2.6.32.11/drivers/ata/pata_hpt3x2n.c 2010-04-04 20:46:41.552552724 -0400 20726+++ linux-2.6.32.12/drivers/ata/pata_hpt3x2n.c 2010-04-04 20:46:41.552552724 -0400
20527@@ -337,7 +337,7 @@ static struct scsi_host_template hpt3x2n 20727@@ -337,7 +337,7 @@ static struct scsi_host_template hpt3x2n
20528 * Configuration for HPT3x2n. 20728 * Configuration for HPT3x2n.
20529 */ 20729 */
@@ -20533,9 +20733,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/pata_hpt3x2n.c linux-2.6.32.11/drivers/at
20533 .inherits = &ata_bmdma_port_ops, 20733 .inherits = &ata_bmdma_port_ops,
20534 20734
20535 .bmdma_stop = hpt3x2n_bmdma_stop, 20735 .bmdma_stop = hpt3x2n_bmdma_stop,
20536diff -urNp linux-2.6.32.11/drivers/ata/pata_hpt3x3.c linux-2.6.32.11/drivers/ata/pata_hpt3x3.c 20736diff -urNp linux-2.6.32.12/drivers/ata/pata_hpt3x3.c linux-2.6.32.12/drivers/ata/pata_hpt3x3.c
20537--- linux-2.6.32.11/drivers/ata/pata_hpt3x3.c 2010-03-15 11:52:04.000000000 -0400 20737--- linux-2.6.32.12/drivers/ata/pata_hpt3x3.c 2010-03-15 11:52:04.000000000 -0400
20538+++ linux-2.6.32.11/drivers/ata/pata_hpt3x3.c 2010-04-04 20:46:41.552552724 -0400 20738+++ linux-2.6.32.12/drivers/ata/pata_hpt3x3.c 2010-04-04 20:46:41.552552724 -0400
20539@@ -141,7 +141,7 @@ static struct scsi_host_template hpt3x3_ 20739@@ -141,7 +141,7 @@ static struct scsi_host_template hpt3x3_
20540 ATA_BMDMA_SHT(DRV_NAME), 20740 ATA_BMDMA_SHT(DRV_NAME),
20541 }; 20741 };
@@ -20545,9 +20745,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/pata_hpt3x3.c linux-2.6.32.11/drivers/ata
20545 .inherits = &ata_bmdma_port_ops, 20745 .inherits = &ata_bmdma_port_ops,
20546 .cable_detect = ata_cable_40wire, 20746 .cable_detect = ata_cable_40wire,
20547 .set_piomode = hpt3x3_set_piomode, 20747 .set_piomode = hpt3x3_set_piomode,
20548diff -urNp linux-2.6.32.11/drivers/ata/pata_icside.c linux-2.6.32.11/drivers/ata/pata_icside.c 20748diff -urNp linux-2.6.32.12/drivers/ata/pata_icside.c linux-2.6.32.12/drivers/ata/pata_icside.c
20549--- linux-2.6.32.11/drivers/ata/pata_icside.c 2010-03-15 11:52:04.000000000 -0400 20749--- linux-2.6.32.12/drivers/ata/pata_icside.c 2010-03-15 11:52:04.000000000 -0400
20550+++ linux-2.6.32.11/drivers/ata/pata_icside.c 2010-04-04 20:46:41.552552724 -0400 20750+++ linux-2.6.32.12/drivers/ata/pata_icside.c 2010-04-04 20:46:41.552552724 -0400
20551@@ -319,7 +319,7 @@ static void pata_icside_postreset(struct 20751@@ -319,7 +319,7 @@ static void pata_icside_postreset(struct
20552 } 20752 }
20553 } 20753 }
@@ -20557,9 +20757,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/pata_icside.c linux-2.6.32.11/drivers/ata
20557 .inherits = &ata_sff_port_ops, 20757 .inherits = &ata_sff_port_ops,
20558 /* no need to build any PRD tables for DMA */ 20758 /* no need to build any PRD tables for DMA */
20559 .qc_prep = ata_noop_qc_prep, 20759 .qc_prep = ata_noop_qc_prep,
20560diff -urNp linux-2.6.32.11/drivers/ata/pata_isapnp.c linux-2.6.32.11/drivers/ata/pata_isapnp.c 20760diff -urNp linux-2.6.32.12/drivers/ata/pata_isapnp.c linux-2.6.32.12/drivers/ata/pata_isapnp.c
20561--- linux-2.6.32.11/drivers/ata/pata_isapnp.c 2010-03-15 11:52:04.000000000 -0400 20761--- linux-2.6.32.12/drivers/ata/pata_isapnp.c 2010-03-15 11:52:04.000000000 -0400
20562+++ linux-2.6.32.11/drivers/ata/pata_isapnp.c 2010-04-04 20:46:41.552552724 -0400 20762+++ linux-2.6.32.12/drivers/ata/pata_isapnp.c 2010-04-04 20:46:41.552552724 -0400
20563@@ -23,12 +23,12 @@ static struct scsi_host_template isapnp_ 20763@@ -23,12 +23,12 @@ static struct scsi_host_template isapnp_
20564 ATA_PIO_SHT(DRV_NAME), 20764 ATA_PIO_SHT(DRV_NAME),
20565 }; 20765 };
@@ -20575,9 +20775,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/pata_isapnp.c linux-2.6.32.11/drivers/ata
20575 .inherits = &ata_sff_port_ops, 20775 .inherits = &ata_sff_port_ops,
20576 .cable_detect = ata_cable_40wire, 20776 .cable_detect = ata_cable_40wire,
20577 /* No altstatus so we don't want to use the lost interrupt poll */ 20777 /* No altstatus so we don't want to use the lost interrupt poll */
20578diff -urNp linux-2.6.32.11/drivers/ata/pata_it8213.c linux-2.6.32.11/drivers/ata/pata_it8213.c 20778diff -urNp linux-2.6.32.12/drivers/ata/pata_it8213.c linux-2.6.32.12/drivers/ata/pata_it8213.c
20579--- linux-2.6.32.11/drivers/ata/pata_it8213.c 2010-03-15 11:52:04.000000000 -0400 20779--- linux-2.6.32.12/drivers/ata/pata_it8213.c 2010-03-15 11:52:04.000000000 -0400
20580+++ linux-2.6.32.11/drivers/ata/pata_it8213.c 2010-04-04 20:46:41.552552724 -0400 20780+++ linux-2.6.32.12/drivers/ata/pata_it8213.c 2010-04-04 20:46:41.552552724 -0400
20581@@ -234,7 +234,7 @@ static struct scsi_host_template it8213_ 20781@@ -234,7 +234,7 @@ static struct scsi_host_template it8213_
20582 }; 20782 };
20583 20783
@@ -20587,9 +20787,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/pata_it8213.c linux-2.6.32.11/drivers/ata
20587 .inherits = &ata_bmdma_port_ops, 20787 .inherits = &ata_bmdma_port_ops,
20588 .cable_detect = it8213_cable_detect, 20788 .cable_detect = it8213_cable_detect,
20589 .set_piomode = it8213_set_piomode, 20789 .set_piomode = it8213_set_piomode,
20590diff -urNp linux-2.6.32.11/drivers/ata/pata_it821x.c linux-2.6.32.11/drivers/ata/pata_it821x.c 20790diff -urNp linux-2.6.32.12/drivers/ata/pata_it821x.c linux-2.6.32.12/drivers/ata/pata_it821x.c
20591--- linux-2.6.32.11/drivers/ata/pata_it821x.c 2010-03-15 11:52:04.000000000 -0400 20791--- linux-2.6.32.12/drivers/ata/pata_it821x.c 2010-03-15 11:52:04.000000000 -0400
20592+++ linux-2.6.32.11/drivers/ata/pata_it821x.c 2010-04-04 20:46:41.552552724 -0400 20792+++ linux-2.6.32.12/drivers/ata/pata_it821x.c 2010-04-04 20:46:41.552552724 -0400
20593@@ -800,7 +800,7 @@ static struct scsi_host_template it821x_ 20793@@ -800,7 +800,7 @@ static struct scsi_host_template it821x_
20594 ATA_BMDMA_SHT(DRV_NAME), 20794 ATA_BMDMA_SHT(DRV_NAME),
20595 }; 20795 };
@@ -20617,9 +20817,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/pata_it821x.c linux-2.6.32.11/drivers/ata
20617 .inherits = &ata_bmdma_port_ops, 20817 .inherits = &ata_bmdma_port_ops,
20618 20818
20619 .check_atapi_dma= it821x_check_atapi_dma, 20819 .check_atapi_dma= it821x_check_atapi_dma,
20620diff -urNp linux-2.6.32.11/drivers/ata/pata_ixp4xx_cf.c linux-2.6.32.11/drivers/ata/pata_ixp4xx_cf.c 20820diff -urNp linux-2.6.32.12/drivers/ata/pata_ixp4xx_cf.c linux-2.6.32.12/drivers/ata/pata_ixp4xx_cf.c
20621--- linux-2.6.32.11/drivers/ata/pata_ixp4xx_cf.c 2010-03-15 11:52:04.000000000 -0400 20821--- linux-2.6.32.12/drivers/ata/pata_ixp4xx_cf.c 2010-03-15 11:52:04.000000000 -0400
20622+++ linux-2.6.32.11/drivers/ata/pata_ixp4xx_cf.c 2010-04-04 20:46:41.552552724 -0400 20822+++ linux-2.6.32.12/drivers/ata/pata_ixp4xx_cf.c 2010-04-04 20:46:41.552552724 -0400
20623@@ -89,7 +89,7 @@ static struct scsi_host_template ixp4xx_ 20823@@ -89,7 +89,7 @@ static struct scsi_host_template ixp4xx_
20624 ATA_PIO_SHT(DRV_NAME), 20824 ATA_PIO_SHT(DRV_NAME),
20625 }; 20825 };
@@ -20629,9 +20829,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/pata_ixp4xx_cf.c linux-2.6.32.11/drivers/
20629 .inherits = &ata_sff_port_ops, 20829 .inherits = &ata_sff_port_ops,
20630 .sff_data_xfer = ixp4xx_mmio_data_xfer, 20830 .sff_data_xfer = ixp4xx_mmio_data_xfer,
20631 .cable_detect = ata_cable_40wire, 20831 .cable_detect = ata_cable_40wire,
20632diff -urNp linux-2.6.32.11/drivers/ata/pata_jmicron.c linux-2.6.32.11/drivers/ata/pata_jmicron.c 20832diff -urNp linux-2.6.32.12/drivers/ata/pata_jmicron.c linux-2.6.32.12/drivers/ata/pata_jmicron.c
20633--- linux-2.6.32.11/drivers/ata/pata_jmicron.c 2010-03-15 11:52:04.000000000 -0400 20833--- linux-2.6.32.12/drivers/ata/pata_jmicron.c 2010-03-15 11:52:04.000000000 -0400
20634+++ linux-2.6.32.11/drivers/ata/pata_jmicron.c 2010-04-04 20:46:41.552552724 -0400 20834+++ linux-2.6.32.12/drivers/ata/pata_jmicron.c 2010-04-04 20:46:41.552552724 -0400
20635@@ -111,7 +111,7 @@ static struct scsi_host_template jmicron 20835@@ -111,7 +111,7 @@ static struct scsi_host_template jmicron
20636 ATA_BMDMA_SHT(DRV_NAME), 20836 ATA_BMDMA_SHT(DRV_NAME),
20637 }; 20837 };
@@ -20641,9 +20841,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/pata_jmicron.c linux-2.6.32.11/drivers/at
20641 .inherits = &ata_bmdma_port_ops, 20841 .inherits = &ata_bmdma_port_ops,
20642 .prereset = jmicron_pre_reset, 20842 .prereset = jmicron_pre_reset,
20643 }; 20843 };
20644diff -urNp linux-2.6.32.11/drivers/ata/pata_legacy.c linux-2.6.32.11/drivers/ata/pata_legacy.c 20844diff -urNp linux-2.6.32.12/drivers/ata/pata_legacy.c linux-2.6.32.12/drivers/ata/pata_legacy.c
20645--- linux-2.6.32.11/drivers/ata/pata_legacy.c 2010-03-15 11:52:04.000000000 -0400 20845--- linux-2.6.32.12/drivers/ata/pata_legacy.c 2010-03-15 11:52:04.000000000 -0400
20646+++ linux-2.6.32.11/drivers/ata/pata_legacy.c 2010-04-04 20:46:41.552552724 -0400 20846+++ linux-2.6.32.12/drivers/ata/pata_legacy.c 2010-04-04 20:46:41.552552724 -0400
20647@@ -106,7 +106,7 @@ struct legacy_probe { 20847@@ -106,7 +106,7 @@ struct legacy_probe {
20648 20848
20649 struct legacy_controller { 20849 struct legacy_controller {
@@ -20755,9 +20955,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/pata_legacy.c linux-2.6.32.11/drivers/ata
20755 struct legacy_data *ld = &legacy_data[probe->slot]; 20955 struct legacy_data *ld = &legacy_data[probe->slot];
20756 struct ata_host *host = NULL; 20956 struct ata_host *host = NULL;
20757 struct ata_port *ap; 20957 struct ata_port *ap;
20758diff -urNp linux-2.6.32.11/drivers/ata/pata_marvell.c linux-2.6.32.11/drivers/ata/pata_marvell.c 20958diff -urNp linux-2.6.32.12/drivers/ata/pata_marvell.c linux-2.6.32.12/drivers/ata/pata_marvell.c
20759--- linux-2.6.32.11/drivers/ata/pata_marvell.c 2010-03-15 11:52:04.000000000 -0400 20959--- linux-2.6.32.12/drivers/ata/pata_marvell.c 2010-03-15 11:52:04.000000000 -0400
20760+++ linux-2.6.32.11/drivers/ata/pata_marvell.c 2010-04-04 20:46:41.552552724 -0400 20960+++ linux-2.6.32.12/drivers/ata/pata_marvell.c 2010-04-04 20:46:41.552552724 -0400
20761@@ -100,7 +100,7 @@ static struct scsi_host_template marvell 20961@@ -100,7 +100,7 @@ static struct scsi_host_template marvell
20762 ATA_BMDMA_SHT(DRV_NAME), 20962 ATA_BMDMA_SHT(DRV_NAME),
20763 }; 20963 };
@@ -20767,9 +20967,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/pata_marvell.c linux-2.6.32.11/drivers/at
20767 .inherits = &ata_bmdma_port_ops, 20967 .inherits = &ata_bmdma_port_ops,
20768 .cable_detect = marvell_cable_detect, 20968 .cable_detect = marvell_cable_detect,
20769 .prereset = marvell_pre_reset, 20969 .prereset = marvell_pre_reset,
20770diff -urNp linux-2.6.32.11/drivers/ata/pata_mpc52xx.c linux-2.6.32.11/drivers/ata/pata_mpc52xx.c 20970diff -urNp linux-2.6.32.12/drivers/ata/pata_mpc52xx.c linux-2.6.32.12/drivers/ata/pata_mpc52xx.c
20771--- linux-2.6.32.11/drivers/ata/pata_mpc52xx.c 2010-03-15 11:52:04.000000000 -0400 20971--- linux-2.6.32.12/drivers/ata/pata_mpc52xx.c 2010-03-15 11:52:04.000000000 -0400
20772+++ linux-2.6.32.11/drivers/ata/pata_mpc52xx.c 2010-04-04 20:46:41.552552724 -0400 20972+++ linux-2.6.32.12/drivers/ata/pata_mpc52xx.c 2010-04-04 20:46:41.552552724 -0400
20773@@ -609,7 +609,7 @@ static struct scsi_host_template mpc52xx 20973@@ -609,7 +609,7 @@ static struct scsi_host_template mpc52xx
20774 ATA_PIO_SHT(DRV_NAME), 20974 ATA_PIO_SHT(DRV_NAME),
20775 }; 20975 };
@@ -20779,9 +20979,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/pata_mpc52xx.c linux-2.6.32.11/drivers/at
20779 .inherits = &ata_sff_port_ops, 20979 .inherits = &ata_sff_port_ops,
20780 .sff_dev_select = mpc52xx_ata_dev_select, 20980 .sff_dev_select = mpc52xx_ata_dev_select,
20781 .set_piomode = mpc52xx_ata_set_piomode, 20981 .set_piomode = mpc52xx_ata_set_piomode,
20782diff -urNp linux-2.6.32.11/drivers/ata/pata_mpiix.c linux-2.6.32.11/drivers/ata/pata_mpiix.c 20982diff -urNp linux-2.6.32.12/drivers/ata/pata_mpiix.c linux-2.6.32.12/drivers/ata/pata_mpiix.c
20783--- linux-2.6.32.11/drivers/ata/pata_mpiix.c 2010-03-15 11:52:04.000000000 -0400 20983--- linux-2.6.32.12/drivers/ata/pata_mpiix.c 2010-03-15 11:52:04.000000000 -0400
20784+++ linux-2.6.32.11/drivers/ata/pata_mpiix.c 2010-04-04 20:46:41.552552724 -0400 20984+++ linux-2.6.32.12/drivers/ata/pata_mpiix.c 2010-04-04 20:46:41.552552724 -0400
20785@@ -140,7 +140,7 @@ static struct scsi_host_template mpiix_s 20985@@ -140,7 +140,7 @@ static struct scsi_host_template mpiix_s
20786 ATA_PIO_SHT(DRV_NAME), 20986 ATA_PIO_SHT(DRV_NAME),
20787 }; 20987 };
@@ -20791,9 +20991,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/pata_mpiix.c linux-2.6.32.11/drivers/ata/
20791 .inherits = &ata_sff_port_ops, 20991 .inherits = &ata_sff_port_ops,
20792 .qc_issue = mpiix_qc_issue, 20992 .qc_issue = mpiix_qc_issue,
20793 .cable_detect = ata_cable_40wire, 20993 .cable_detect = ata_cable_40wire,
20794diff -urNp linux-2.6.32.11/drivers/ata/pata_netcell.c linux-2.6.32.11/drivers/ata/pata_netcell.c 20994diff -urNp linux-2.6.32.12/drivers/ata/pata_netcell.c linux-2.6.32.12/drivers/ata/pata_netcell.c
20795--- linux-2.6.32.11/drivers/ata/pata_netcell.c 2010-03-15 11:52:04.000000000 -0400 20995--- linux-2.6.32.12/drivers/ata/pata_netcell.c 2010-03-15 11:52:04.000000000 -0400
20796+++ linux-2.6.32.11/drivers/ata/pata_netcell.c 2010-04-04 20:46:41.552552724 -0400 20996+++ linux-2.6.32.12/drivers/ata/pata_netcell.c 2010-04-04 20:46:41.552552724 -0400
20797@@ -34,7 +34,7 @@ static struct scsi_host_template netcell 20997@@ -34,7 +34,7 @@ static struct scsi_host_template netcell
20798 ATA_BMDMA_SHT(DRV_NAME), 20998 ATA_BMDMA_SHT(DRV_NAME),
20799 }; 20999 };
@@ -20803,9 +21003,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/pata_netcell.c linux-2.6.32.11/drivers/at
20803 .inherits = &ata_bmdma_port_ops, 21003 .inherits = &ata_bmdma_port_ops,
20804 .cable_detect = ata_cable_80wire, 21004 .cable_detect = ata_cable_80wire,
20805 .read_id = netcell_read_id, 21005 .read_id = netcell_read_id,
20806diff -urNp linux-2.6.32.11/drivers/ata/pata_ninja32.c linux-2.6.32.11/drivers/ata/pata_ninja32.c 21006diff -urNp linux-2.6.32.12/drivers/ata/pata_ninja32.c linux-2.6.32.12/drivers/ata/pata_ninja32.c
20807--- linux-2.6.32.11/drivers/ata/pata_ninja32.c 2010-03-15 11:52:04.000000000 -0400 21007--- linux-2.6.32.12/drivers/ata/pata_ninja32.c 2010-03-15 11:52:04.000000000 -0400
20808+++ linux-2.6.32.11/drivers/ata/pata_ninja32.c 2010-04-04 20:46:41.552552724 -0400 21008+++ linux-2.6.32.12/drivers/ata/pata_ninja32.c 2010-04-04 20:46:41.552552724 -0400
20809@@ -81,7 +81,7 @@ static struct scsi_host_template ninja32 21009@@ -81,7 +81,7 @@ static struct scsi_host_template ninja32
20810 ATA_BMDMA_SHT(DRV_NAME), 21010 ATA_BMDMA_SHT(DRV_NAME),
20811 }; 21011 };
@@ -20815,9 +21015,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/pata_ninja32.c linux-2.6.32.11/drivers/at
20815 .inherits = &ata_bmdma_port_ops, 21015 .inherits = &ata_bmdma_port_ops,
20816 .sff_dev_select = ninja32_dev_select, 21016 .sff_dev_select = ninja32_dev_select,
20817 .cable_detect = ata_cable_40wire, 21017 .cable_detect = ata_cable_40wire,
20818diff -urNp linux-2.6.32.11/drivers/ata/pata_ns87410.c linux-2.6.32.11/drivers/ata/pata_ns87410.c 21018diff -urNp linux-2.6.32.12/drivers/ata/pata_ns87410.c linux-2.6.32.12/drivers/ata/pata_ns87410.c
20819--- linux-2.6.32.11/drivers/ata/pata_ns87410.c 2010-03-15 11:52:04.000000000 -0400 21019--- linux-2.6.32.12/drivers/ata/pata_ns87410.c 2010-03-15 11:52:04.000000000 -0400
20820+++ linux-2.6.32.11/drivers/ata/pata_ns87410.c 2010-04-04 20:46:41.552552724 -0400 21020+++ linux-2.6.32.12/drivers/ata/pata_ns87410.c 2010-04-04 20:46:41.552552724 -0400
20821@@ -132,7 +132,7 @@ static struct scsi_host_template ns87410 21021@@ -132,7 +132,7 @@ static struct scsi_host_template ns87410
20822 ATA_PIO_SHT(DRV_NAME), 21022 ATA_PIO_SHT(DRV_NAME),
20823 }; 21023 };
@@ -20827,9 +21027,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/pata_ns87410.c linux-2.6.32.11/drivers/at
20827 .inherits = &ata_sff_port_ops, 21027 .inherits = &ata_sff_port_ops,
20828 .qc_issue = ns87410_qc_issue, 21028 .qc_issue = ns87410_qc_issue,
20829 .cable_detect = ata_cable_40wire, 21029 .cable_detect = ata_cable_40wire,
20830diff -urNp linux-2.6.32.11/drivers/ata/pata_ns87415.c linux-2.6.32.11/drivers/ata/pata_ns87415.c 21030diff -urNp linux-2.6.32.12/drivers/ata/pata_ns87415.c linux-2.6.32.12/drivers/ata/pata_ns87415.c
20831--- linux-2.6.32.11/drivers/ata/pata_ns87415.c 2010-03-15 11:52:04.000000000 -0400 21031--- linux-2.6.32.12/drivers/ata/pata_ns87415.c 2010-03-15 11:52:04.000000000 -0400
20832+++ linux-2.6.32.11/drivers/ata/pata_ns87415.c 2010-04-04 20:46:41.552552724 -0400 21032+++ linux-2.6.32.12/drivers/ata/pata_ns87415.c 2010-04-04 20:46:41.552552724 -0400
20833@@ -299,7 +299,7 @@ static u8 ns87560_bmdma_status(struct at 21033@@ -299,7 +299,7 @@ static u8 ns87560_bmdma_status(struct at
20834 } 21034 }
20835 #endif /* 87560 SuperIO Support */ 21035 #endif /* 87560 SuperIO Support */
@@ -20848,9 +21048,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/pata_ns87415.c linux-2.6.32.11/drivers/at
20848 .inherits = &ns87415_pata_ops, 21048 .inherits = &ns87415_pata_ops,
20849 .sff_tf_read = ns87560_tf_read, 21049 .sff_tf_read = ns87560_tf_read,
20850 .sff_check_status = ns87560_check_status, 21050 .sff_check_status = ns87560_check_status,
20851diff -urNp linux-2.6.32.11/drivers/ata/pata_octeon_cf.c linux-2.6.32.11/drivers/ata/pata_octeon_cf.c 21051diff -urNp linux-2.6.32.12/drivers/ata/pata_octeon_cf.c linux-2.6.32.12/drivers/ata/pata_octeon_cf.c
20852--- linux-2.6.32.11/drivers/ata/pata_octeon_cf.c 2010-03-15 11:52:04.000000000 -0400 21052--- linux-2.6.32.12/drivers/ata/pata_octeon_cf.c 2010-03-15 11:52:04.000000000 -0400
20853+++ linux-2.6.32.11/drivers/ata/pata_octeon_cf.c 2010-04-04 20:46:41.552552724 -0400 21053+++ linux-2.6.32.12/drivers/ata/pata_octeon_cf.c 2010-04-04 20:46:41.552552724 -0400
20854@@ -801,6 +801,7 @@ static unsigned int octeon_cf_qc_issue(s 21054@@ -801,6 +801,7 @@ static unsigned int octeon_cf_qc_issue(s
20855 return 0; 21055 return 0;
20856 } 21056 }
@@ -20859,9 +21059,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/pata_octeon_cf.c linux-2.6.32.11/drivers/
20859 static struct ata_port_operations octeon_cf_ops = { 21059 static struct ata_port_operations octeon_cf_ops = {
20860 .inherits = &ata_sff_port_ops, 21060 .inherits = &ata_sff_port_ops,
20861 .check_atapi_dma = octeon_cf_check_atapi_dma, 21061 .check_atapi_dma = octeon_cf_check_atapi_dma,
20862diff -urNp linux-2.6.32.11/drivers/ata/pata_oldpiix.c linux-2.6.32.11/drivers/ata/pata_oldpiix.c 21062diff -urNp linux-2.6.32.12/drivers/ata/pata_oldpiix.c linux-2.6.32.12/drivers/ata/pata_oldpiix.c
20863--- linux-2.6.32.11/drivers/ata/pata_oldpiix.c 2010-03-15 11:52:04.000000000 -0400 21063--- linux-2.6.32.12/drivers/ata/pata_oldpiix.c 2010-03-15 11:52:04.000000000 -0400
20864+++ linux-2.6.32.11/drivers/ata/pata_oldpiix.c 2010-04-04 20:46:41.552552724 -0400 21064+++ linux-2.6.32.12/drivers/ata/pata_oldpiix.c 2010-04-04 20:46:41.552552724 -0400
20865@@ -208,7 +208,7 @@ static struct scsi_host_template oldpiix 21065@@ -208,7 +208,7 @@ static struct scsi_host_template oldpiix
20866 ATA_BMDMA_SHT(DRV_NAME), 21066 ATA_BMDMA_SHT(DRV_NAME),
20867 }; 21067 };
@@ -20871,9 +21071,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/pata_oldpiix.c linux-2.6.32.11/drivers/at
20871 .inherits = &ata_bmdma_port_ops, 21071 .inherits = &ata_bmdma_port_ops,
20872 .qc_issue = oldpiix_qc_issue, 21072 .qc_issue = oldpiix_qc_issue,
20873 .cable_detect = ata_cable_40wire, 21073 .cable_detect = ata_cable_40wire,
20874diff -urNp linux-2.6.32.11/drivers/ata/pata_opti.c linux-2.6.32.11/drivers/ata/pata_opti.c 21074diff -urNp linux-2.6.32.12/drivers/ata/pata_opti.c linux-2.6.32.12/drivers/ata/pata_opti.c
20875--- linux-2.6.32.11/drivers/ata/pata_opti.c 2010-03-15 11:52:04.000000000 -0400 21075--- linux-2.6.32.12/drivers/ata/pata_opti.c 2010-03-15 11:52:04.000000000 -0400
20876+++ linux-2.6.32.11/drivers/ata/pata_opti.c 2010-04-04 20:46:41.552552724 -0400 21076+++ linux-2.6.32.12/drivers/ata/pata_opti.c 2010-04-04 20:46:41.552552724 -0400
20877@@ -152,7 +152,7 @@ static struct scsi_host_template opti_sh 21077@@ -152,7 +152,7 @@ static struct scsi_host_template opti_sh
20878 ATA_PIO_SHT(DRV_NAME), 21078 ATA_PIO_SHT(DRV_NAME),
20879 }; 21079 };
@@ -20883,9 +21083,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/pata_opti.c linux-2.6.32.11/drivers/ata/p
20883 .inherits = &ata_sff_port_ops, 21083 .inherits = &ata_sff_port_ops,
20884 .cable_detect = ata_cable_40wire, 21084 .cable_detect = ata_cable_40wire,
20885 .set_piomode = opti_set_piomode, 21085 .set_piomode = opti_set_piomode,
20886diff -urNp linux-2.6.32.11/drivers/ata/pata_optidma.c linux-2.6.32.11/drivers/ata/pata_optidma.c 21086diff -urNp linux-2.6.32.12/drivers/ata/pata_optidma.c linux-2.6.32.12/drivers/ata/pata_optidma.c
20887--- linux-2.6.32.11/drivers/ata/pata_optidma.c 2010-03-15 11:52:04.000000000 -0400 21087--- linux-2.6.32.12/drivers/ata/pata_optidma.c 2010-03-15 11:52:04.000000000 -0400
20888+++ linux-2.6.32.11/drivers/ata/pata_optidma.c 2010-04-04 20:46:41.552552724 -0400 21088+++ linux-2.6.32.12/drivers/ata/pata_optidma.c 2010-04-04 20:46:41.552552724 -0400
20889@@ -337,7 +337,7 @@ static struct scsi_host_template optidma 21089@@ -337,7 +337,7 @@ static struct scsi_host_template optidma
20890 ATA_BMDMA_SHT(DRV_NAME), 21090 ATA_BMDMA_SHT(DRV_NAME),
20891 }; 21091 };
@@ -20904,9 +21104,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/pata_optidma.c linux-2.6.32.11/drivers/at
20904 .inherits = &optidma_port_ops, 21104 .inherits = &optidma_port_ops,
20905 .set_piomode = optiplus_set_pio_mode, 21105 .set_piomode = optiplus_set_pio_mode,
20906 .set_dmamode = optiplus_set_dma_mode, 21106 .set_dmamode = optiplus_set_dma_mode,
20907diff -urNp linux-2.6.32.11/drivers/ata/pata_palmld.c linux-2.6.32.11/drivers/ata/pata_palmld.c 21107diff -urNp linux-2.6.32.12/drivers/ata/pata_palmld.c linux-2.6.32.12/drivers/ata/pata_palmld.c
20908--- linux-2.6.32.11/drivers/ata/pata_palmld.c 2010-03-15 11:52:04.000000000 -0400 21108--- linux-2.6.32.12/drivers/ata/pata_palmld.c 2010-03-15 11:52:04.000000000 -0400
20909+++ linux-2.6.32.11/drivers/ata/pata_palmld.c 2010-04-04 20:46:41.552552724 -0400 21109+++ linux-2.6.32.12/drivers/ata/pata_palmld.c 2010-04-04 20:46:41.552552724 -0400
20910@@ -37,7 +37,7 @@ static struct scsi_host_template palmld_ 21110@@ -37,7 +37,7 @@ static struct scsi_host_template palmld_
20911 ATA_PIO_SHT(DRV_NAME), 21111 ATA_PIO_SHT(DRV_NAME),
20912 }; 21112 };
@@ -20916,9 +21116,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/pata_palmld.c linux-2.6.32.11/drivers/ata
20916 .inherits = &ata_sff_port_ops, 21116 .inherits = &ata_sff_port_ops,
20917 .sff_data_xfer = ata_sff_data_xfer_noirq, 21117 .sff_data_xfer = ata_sff_data_xfer_noirq,
20918 .cable_detect = ata_cable_40wire, 21118 .cable_detect = ata_cable_40wire,
20919diff -urNp linux-2.6.32.11/drivers/ata/pata_pcmcia.c linux-2.6.32.11/drivers/ata/pata_pcmcia.c 21119diff -urNp linux-2.6.32.12/drivers/ata/pata_pcmcia.c linux-2.6.32.12/drivers/ata/pata_pcmcia.c
20920--- linux-2.6.32.11/drivers/ata/pata_pcmcia.c 2010-03-15 11:52:04.000000000 -0400 21120--- linux-2.6.32.12/drivers/ata/pata_pcmcia.c 2010-03-15 11:52:04.000000000 -0400
20921+++ linux-2.6.32.11/drivers/ata/pata_pcmcia.c 2010-04-04 20:46:41.552552724 -0400 21121+++ linux-2.6.32.12/drivers/ata/pata_pcmcia.c 2010-04-04 20:46:41.552552724 -0400
20922@@ -162,14 +162,14 @@ static struct scsi_host_template pcmcia_ 21122@@ -162,14 +162,14 @@ static struct scsi_host_template pcmcia_
20923 ATA_PIO_SHT(DRV_NAME), 21123 ATA_PIO_SHT(DRV_NAME),
20924 }; 21124 };
@@ -20945,9 +21145,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/pata_pcmcia.c linux-2.6.32.11/drivers/ata
20945 21145
20946 info = kzalloc(sizeof(*info), GFP_KERNEL); 21146 info = kzalloc(sizeof(*info), GFP_KERNEL);
20947 if (info == NULL) 21147 if (info == NULL)
20948diff -urNp linux-2.6.32.11/drivers/ata/pata_pdc2027x.c linux-2.6.32.11/drivers/ata/pata_pdc2027x.c 21148diff -urNp linux-2.6.32.12/drivers/ata/pata_pdc2027x.c linux-2.6.32.12/drivers/ata/pata_pdc2027x.c
20949--- linux-2.6.32.11/drivers/ata/pata_pdc2027x.c 2010-03-15 11:52:04.000000000 -0400 21149--- linux-2.6.32.12/drivers/ata/pata_pdc2027x.c 2010-03-15 11:52:04.000000000 -0400
20950+++ linux-2.6.32.11/drivers/ata/pata_pdc2027x.c 2010-04-04 20:46:41.552552724 -0400 21150+++ linux-2.6.32.12/drivers/ata/pata_pdc2027x.c 2010-04-04 20:46:41.552552724 -0400
20951@@ -132,14 +132,14 @@ static struct scsi_host_template pdc2027 21151@@ -132,14 +132,14 @@ static struct scsi_host_template pdc2027
20952 ATA_BMDMA_SHT(DRV_NAME), 21152 ATA_BMDMA_SHT(DRV_NAME),
20953 }; 21153 };
@@ -20965,9 +21165,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/pata_pdc2027x.c linux-2.6.32.11/drivers/a
20965 .inherits = &pdc2027x_pata100_ops, 21165 .inherits = &pdc2027x_pata100_ops,
20966 .mode_filter = pdc2027x_mode_filter, 21166 .mode_filter = pdc2027x_mode_filter,
20967 .set_piomode = pdc2027x_set_piomode, 21167 .set_piomode = pdc2027x_set_piomode,
20968diff -urNp linux-2.6.32.11/drivers/ata/pata_pdc202xx_old.c linux-2.6.32.11/drivers/ata/pata_pdc202xx_old.c 21168diff -urNp linux-2.6.32.12/drivers/ata/pata_pdc202xx_old.c linux-2.6.32.12/drivers/ata/pata_pdc202xx_old.c
20969--- linux-2.6.32.11/drivers/ata/pata_pdc202xx_old.c 2010-03-15 11:52:04.000000000 -0400 21169--- linux-2.6.32.12/drivers/ata/pata_pdc202xx_old.c 2010-03-15 11:52:04.000000000 -0400
20970+++ linux-2.6.32.11/drivers/ata/pata_pdc202xx_old.c 2010-04-04 20:46:41.552552724 -0400 21170+++ linux-2.6.32.12/drivers/ata/pata_pdc202xx_old.c 2010-04-04 20:46:41.552552724 -0400
20971@@ -265,7 +265,7 @@ static struct scsi_host_template pdc202x 21171@@ -265,7 +265,7 @@ static struct scsi_host_template pdc202x
20972 ATA_BMDMA_SHT(DRV_NAME), 21172 ATA_BMDMA_SHT(DRV_NAME),
20973 }; 21173 };
@@ -20986,9 +21186,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/pata_pdc202xx_old.c linux-2.6.32.11/drive
20986 .inherits = &pdc2024x_port_ops, 21186 .inherits = &pdc2024x_port_ops,
20987 21187
20988 .check_atapi_dma = pdc2026x_check_atapi_dma, 21188 .check_atapi_dma = pdc2026x_check_atapi_dma,
20989diff -urNp linux-2.6.32.11/drivers/ata/pata_platform.c linux-2.6.32.11/drivers/ata/pata_platform.c 21189diff -urNp linux-2.6.32.12/drivers/ata/pata_platform.c linux-2.6.32.12/drivers/ata/pata_platform.c
20990--- linux-2.6.32.11/drivers/ata/pata_platform.c 2010-03-15 11:52:04.000000000 -0400 21190--- linux-2.6.32.12/drivers/ata/pata_platform.c 2010-03-15 11:52:04.000000000 -0400
20991+++ linux-2.6.32.11/drivers/ata/pata_platform.c 2010-04-04 20:46:41.552552724 -0400 21191+++ linux-2.6.32.12/drivers/ata/pata_platform.c 2010-04-04 20:46:41.552552724 -0400
20992@@ -48,7 +48,7 @@ static struct scsi_host_template pata_pl 21192@@ -48,7 +48,7 @@ static struct scsi_host_template pata_pl
20993 ATA_PIO_SHT(DRV_NAME), 21193 ATA_PIO_SHT(DRV_NAME),
20994 }; 21194 };
@@ -20998,9 +21198,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/pata_platform.c linux-2.6.32.11/drivers/a
20998 .inherits = &ata_sff_port_ops, 21198 .inherits = &ata_sff_port_ops,
20999 .sff_data_xfer = ata_sff_data_xfer_noirq, 21199 .sff_data_xfer = ata_sff_data_xfer_noirq,
21000 .cable_detect = ata_cable_unknown, 21200 .cable_detect = ata_cable_unknown,
21001diff -urNp linux-2.6.32.11/drivers/ata/pata_qdi.c linux-2.6.32.11/drivers/ata/pata_qdi.c 21201diff -urNp linux-2.6.32.12/drivers/ata/pata_qdi.c linux-2.6.32.12/drivers/ata/pata_qdi.c
21002--- linux-2.6.32.11/drivers/ata/pata_qdi.c 2010-03-15 11:52:04.000000000 -0400 21202--- linux-2.6.32.12/drivers/ata/pata_qdi.c 2010-03-15 11:52:04.000000000 -0400
21003+++ linux-2.6.32.11/drivers/ata/pata_qdi.c 2010-04-04 20:46:41.552552724 -0400 21203+++ linux-2.6.32.12/drivers/ata/pata_qdi.c 2010-04-04 20:46:41.552552724 -0400
21004@@ -157,7 +157,7 @@ static struct scsi_host_template qdi_sht 21204@@ -157,7 +157,7 @@ static struct scsi_host_template qdi_sht
21005 ATA_PIO_SHT(DRV_NAME), 21205 ATA_PIO_SHT(DRV_NAME),
21006 }; 21206 };
@@ -21019,9 +21219,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/pata_qdi.c linux-2.6.32.11/drivers/ata/pa
21019 .inherits = &qdi6500_port_ops, 21219 .inherits = &qdi6500_port_ops,
21020 .set_piomode = qdi6580_set_piomode, 21220 .set_piomode = qdi6580_set_piomode,
21021 }; 21221 };
21022diff -urNp linux-2.6.32.11/drivers/ata/pata_radisys.c linux-2.6.32.11/drivers/ata/pata_radisys.c 21222diff -urNp linux-2.6.32.12/drivers/ata/pata_radisys.c linux-2.6.32.12/drivers/ata/pata_radisys.c
21023--- linux-2.6.32.11/drivers/ata/pata_radisys.c 2010-03-15 11:52:04.000000000 -0400 21223--- linux-2.6.32.12/drivers/ata/pata_radisys.c 2010-03-15 11:52:04.000000000 -0400
21024+++ linux-2.6.32.11/drivers/ata/pata_radisys.c 2010-04-04 20:46:41.556857392 -0400 21224+++ linux-2.6.32.12/drivers/ata/pata_radisys.c 2010-04-04 20:46:41.556857392 -0400
21025@@ -187,7 +187,7 @@ static struct scsi_host_template radisys 21225@@ -187,7 +187,7 @@ static struct scsi_host_template radisys
21026 ATA_BMDMA_SHT(DRV_NAME), 21226 ATA_BMDMA_SHT(DRV_NAME),
21027 }; 21227 };
@@ -21031,9 +21231,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/pata_radisys.c linux-2.6.32.11/drivers/at
21031 .inherits = &ata_bmdma_port_ops, 21231 .inherits = &ata_bmdma_port_ops,
21032 .qc_issue = radisys_qc_issue, 21232 .qc_issue = radisys_qc_issue,
21033 .cable_detect = ata_cable_unknown, 21233 .cable_detect = ata_cable_unknown,
21034diff -urNp linux-2.6.32.11/drivers/ata/pata_rb532_cf.c linux-2.6.32.11/drivers/ata/pata_rb532_cf.c 21234diff -urNp linux-2.6.32.12/drivers/ata/pata_rb532_cf.c linux-2.6.32.12/drivers/ata/pata_rb532_cf.c
21035--- linux-2.6.32.11/drivers/ata/pata_rb532_cf.c 2010-03-15 11:52:04.000000000 -0400 21235--- linux-2.6.32.12/drivers/ata/pata_rb532_cf.c 2010-03-15 11:52:04.000000000 -0400
21036+++ linux-2.6.32.11/drivers/ata/pata_rb532_cf.c 2010-04-04 20:46:41.556857392 -0400 21236+++ linux-2.6.32.12/drivers/ata/pata_rb532_cf.c 2010-04-04 20:46:41.556857392 -0400
21037@@ -68,7 +68,7 @@ static irqreturn_t rb532_pata_irq_handle 21237@@ -68,7 +68,7 @@ static irqreturn_t rb532_pata_irq_handle
21038 return IRQ_HANDLED; 21238 return IRQ_HANDLED;
21039 } 21239 }
@@ -21043,9 +21243,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/pata_rb532_cf.c linux-2.6.32.11/drivers/a
21043 .inherits = &ata_sff_port_ops, 21243 .inherits = &ata_sff_port_ops,
21044 .sff_data_xfer = ata_sff_data_xfer32, 21244 .sff_data_xfer = ata_sff_data_xfer32,
21045 }; 21245 };
21046diff -urNp linux-2.6.32.11/drivers/ata/pata_rdc.c linux-2.6.32.11/drivers/ata/pata_rdc.c 21246diff -urNp linux-2.6.32.12/drivers/ata/pata_rdc.c linux-2.6.32.12/drivers/ata/pata_rdc.c
21047--- linux-2.6.32.11/drivers/ata/pata_rdc.c 2010-03-15 11:52:04.000000000 -0400 21247--- linux-2.6.32.12/drivers/ata/pata_rdc.c 2010-03-15 11:52:04.000000000 -0400
21048+++ linux-2.6.32.11/drivers/ata/pata_rdc.c 2010-04-04 20:46:41.556857392 -0400 21248+++ linux-2.6.32.12/drivers/ata/pata_rdc.c 2010-04-04 20:46:41.556857392 -0400
21049@@ -272,7 +272,7 @@ static void rdc_set_dmamode(struct ata_p 21249@@ -272,7 +272,7 @@ static void rdc_set_dmamode(struct ata_p
21050 pci_write_config_byte(dev, 0x48, udma_enable); 21250 pci_write_config_byte(dev, 0x48, udma_enable);
21051 } 21251 }
@@ -21055,9 +21255,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/pata_rdc.c linux-2.6.32.11/drivers/ata/pa
21055 .inherits = &ata_bmdma32_port_ops, 21255 .inherits = &ata_bmdma32_port_ops,
21056 .cable_detect = rdc_pata_cable_detect, 21256 .cable_detect = rdc_pata_cable_detect,
21057 .set_piomode = rdc_set_piomode, 21257 .set_piomode = rdc_set_piomode,
21058diff -urNp linux-2.6.32.11/drivers/ata/pata_rz1000.c linux-2.6.32.11/drivers/ata/pata_rz1000.c 21258diff -urNp linux-2.6.32.12/drivers/ata/pata_rz1000.c linux-2.6.32.12/drivers/ata/pata_rz1000.c
21059--- linux-2.6.32.11/drivers/ata/pata_rz1000.c 2010-03-15 11:52:04.000000000 -0400 21259--- linux-2.6.32.12/drivers/ata/pata_rz1000.c 2010-03-15 11:52:04.000000000 -0400
21060+++ linux-2.6.32.11/drivers/ata/pata_rz1000.c 2010-04-04 20:46:41.556857392 -0400 21260+++ linux-2.6.32.12/drivers/ata/pata_rz1000.c 2010-04-04 20:46:41.556857392 -0400
21061@@ -54,7 +54,7 @@ static struct scsi_host_template rz1000_ 21261@@ -54,7 +54,7 @@ static struct scsi_host_template rz1000_
21062 ATA_PIO_SHT(DRV_NAME), 21262 ATA_PIO_SHT(DRV_NAME),
21063 }; 21263 };
@@ -21067,9 +21267,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/pata_rz1000.c linux-2.6.32.11/drivers/ata
21067 .inherits = &ata_sff_port_ops, 21267 .inherits = &ata_sff_port_ops,
21068 .cable_detect = ata_cable_40wire, 21268 .cable_detect = ata_cable_40wire,
21069 .set_mode = rz1000_set_mode, 21269 .set_mode = rz1000_set_mode,
21070diff -urNp linux-2.6.32.11/drivers/ata/pata_sc1200.c linux-2.6.32.11/drivers/ata/pata_sc1200.c 21270diff -urNp linux-2.6.32.12/drivers/ata/pata_sc1200.c linux-2.6.32.12/drivers/ata/pata_sc1200.c
21071--- linux-2.6.32.11/drivers/ata/pata_sc1200.c 2010-03-15 11:52:04.000000000 -0400 21271--- linux-2.6.32.12/drivers/ata/pata_sc1200.c 2010-03-15 11:52:04.000000000 -0400
21072+++ linux-2.6.32.11/drivers/ata/pata_sc1200.c 2010-04-04 20:46:41.556857392 -0400 21272+++ linux-2.6.32.12/drivers/ata/pata_sc1200.c 2010-04-04 20:46:41.556857392 -0400
21073@@ -207,7 +207,7 @@ static struct scsi_host_template sc1200_ 21273@@ -207,7 +207,7 @@ static struct scsi_host_template sc1200_
21074 .sg_tablesize = LIBATA_DUMB_MAX_PRD, 21274 .sg_tablesize = LIBATA_DUMB_MAX_PRD,
21075 }; 21275 };
@@ -21079,9 +21279,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/pata_sc1200.c linux-2.6.32.11/drivers/ata
21079 .inherits = &ata_bmdma_port_ops, 21279 .inherits = &ata_bmdma_port_ops,
21080 .qc_prep = ata_sff_dumb_qc_prep, 21280 .qc_prep = ata_sff_dumb_qc_prep,
21081 .qc_issue = sc1200_qc_issue, 21281 .qc_issue = sc1200_qc_issue,
21082diff -urNp linux-2.6.32.11/drivers/ata/pata_scc.c linux-2.6.32.11/drivers/ata/pata_scc.c 21282diff -urNp linux-2.6.32.12/drivers/ata/pata_scc.c linux-2.6.32.12/drivers/ata/pata_scc.c
21083--- linux-2.6.32.11/drivers/ata/pata_scc.c 2010-03-15 11:52:04.000000000 -0400 21283--- linux-2.6.32.12/drivers/ata/pata_scc.c 2010-03-15 11:52:04.000000000 -0400
21084+++ linux-2.6.32.11/drivers/ata/pata_scc.c 2010-04-04 20:46:41.556857392 -0400 21284+++ linux-2.6.32.12/drivers/ata/pata_scc.c 2010-04-04 20:46:41.556857392 -0400
21085@@ -965,7 +965,7 @@ static struct scsi_host_template scc_sht 21285@@ -965,7 +965,7 @@ static struct scsi_host_template scc_sht
21086 ATA_BMDMA_SHT(DRV_NAME), 21286 ATA_BMDMA_SHT(DRV_NAME),
21087 }; 21287 };
@@ -21091,9 +21291,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/pata_scc.c linux-2.6.32.11/drivers/ata/pa
21091 .inherits = &ata_bmdma_port_ops, 21291 .inherits = &ata_bmdma_port_ops,
21092 21292
21093 .set_piomode = scc_set_piomode, 21293 .set_piomode = scc_set_piomode,
21094diff -urNp linux-2.6.32.11/drivers/ata/pata_sch.c linux-2.6.32.11/drivers/ata/pata_sch.c 21294diff -urNp linux-2.6.32.12/drivers/ata/pata_sch.c linux-2.6.32.12/drivers/ata/pata_sch.c
21095--- linux-2.6.32.11/drivers/ata/pata_sch.c 2010-03-15 11:52:04.000000000 -0400 21295--- linux-2.6.32.12/drivers/ata/pata_sch.c 2010-03-15 11:52:04.000000000 -0400
21096+++ linux-2.6.32.11/drivers/ata/pata_sch.c 2010-04-04 20:46:41.556857392 -0400 21296+++ linux-2.6.32.12/drivers/ata/pata_sch.c 2010-04-04 20:46:41.556857392 -0400
21097@@ -75,7 +75,7 @@ static struct scsi_host_template sch_sht 21297@@ -75,7 +75,7 @@ static struct scsi_host_template sch_sht
21098 ATA_BMDMA_SHT(DRV_NAME), 21298 ATA_BMDMA_SHT(DRV_NAME),
21099 }; 21299 };
@@ -21103,9 +21303,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/pata_sch.c linux-2.6.32.11/drivers/ata/pa
21103 .inherits = &ata_bmdma_port_ops, 21303 .inherits = &ata_bmdma_port_ops,
21104 .cable_detect = ata_cable_unknown, 21304 .cable_detect = ata_cable_unknown,
21105 .set_piomode = sch_set_piomode, 21305 .set_piomode = sch_set_piomode,
21106diff -urNp linux-2.6.32.11/drivers/ata/pata_serverworks.c linux-2.6.32.11/drivers/ata/pata_serverworks.c 21306diff -urNp linux-2.6.32.12/drivers/ata/pata_serverworks.c linux-2.6.32.12/drivers/ata/pata_serverworks.c
21107--- linux-2.6.32.11/drivers/ata/pata_serverworks.c 2010-03-15 11:52:04.000000000 -0400 21307--- linux-2.6.32.12/drivers/ata/pata_serverworks.c 2010-03-15 11:52:04.000000000 -0400
21108+++ linux-2.6.32.11/drivers/ata/pata_serverworks.c 2010-04-04 20:46:41.556857392 -0400 21308+++ linux-2.6.32.12/drivers/ata/pata_serverworks.c 2010-04-04 20:46:41.556857392 -0400
21109@@ -299,7 +299,7 @@ static struct scsi_host_template serverw 21309@@ -299,7 +299,7 @@ static struct scsi_host_template serverw
21110 ATA_BMDMA_SHT(DRV_NAME), 21310 ATA_BMDMA_SHT(DRV_NAME),
21111 }; 21311 };
@@ -21124,9 +21324,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/pata_serverworks.c linux-2.6.32.11/driver
21124 .inherits = &serverworks_osb4_port_ops, 21324 .inherits = &serverworks_osb4_port_ops,
21125 .mode_filter = serverworks_csb_filter, 21325 .mode_filter = serverworks_csb_filter,
21126 }; 21326 };
21127diff -urNp linux-2.6.32.11/drivers/ata/pata_sil680.c linux-2.6.32.11/drivers/ata/pata_sil680.c 21327diff -urNp linux-2.6.32.12/drivers/ata/pata_sil680.c linux-2.6.32.12/drivers/ata/pata_sil680.c
21128--- linux-2.6.32.11/drivers/ata/pata_sil680.c 2010-03-15 11:52:04.000000000 -0400 21328--- linux-2.6.32.12/drivers/ata/pata_sil680.c 2010-03-15 11:52:04.000000000 -0400
21129+++ linux-2.6.32.11/drivers/ata/pata_sil680.c 2010-04-04 20:46:41.556857392 -0400 21329+++ linux-2.6.32.12/drivers/ata/pata_sil680.c 2010-04-04 20:46:41.556857392 -0400
21130@@ -194,7 +194,7 @@ static struct scsi_host_template sil680_ 21330@@ -194,7 +194,7 @@ static struct scsi_host_template sil680_
21131 ATA_BMDMA_SHT(DRV_NAME), 21331 ATA_BMDMA_SHT(DRV_NAME),
21132 }; 21332 };
@@ -21136,9 +21336,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/pata_sil680.c linux-2.6.32.11/drivers/ata
21136 .inherits = &ata_bmdma32_port_ops, 21336 .inherits = &ata_bmdma32_port_ops,
21137 .cable_detect = sil680_cable_detect, 21337 .cable_detect = sil680_cable_detect,
21138 .set_piomode = sil680_set_piomode, 21338 .set_piomode = sil680_set_piomode,
21139diff -urNp linux-2.6.32.11/drivers/ata/pata_sis.c linux-2.6.32.11/drivers/ata/pata_sis.c 21339diff -urNp linux-2.6.32.12/drivers/ata/pata_sis.c linux-2.6.32.12/drivers/ata/pata_sis.c
21140--- linux-2.6.32.11/drivers/ata/pata_sis.c 2010-03-15 11:52:04.000000000 -0400 21340--- linux-2.6.32.12/drivers/ata/pata_sis.c 2010-03-15 11:52:04.000000000 -0400
21141+++ linux-2.6.32.11/drivers/ata/pata_sis.c 2010-04-04 20:46:41.556857392 -0400 21341+++ linux-2.6.32.12/drivers/ata/pata_sis.c 2010-04-04 20:46:41.556857392 -0400
21142@@ -503,47 +503,47 @@ static struct scsi_host_template sis_sht 21342@@ -503,47 +503,47 @@ static struct scsi_host_template sis_sht
21143 ATA_BMDMA_SHT(DRV_NAME), 21343 ATA_BMDMA_SHT(DRV_NAME),
21144 }; 21344 };
@@ -21194,9 +21394,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/pata_sis.c linux-2.6.32.11/drivers/ata/pa
21194 .inherits = &sis_base_ops, 21394 .inherits = &sis_base_ops,
21195 .set_piomode = sis_old_set_piomode, 21395 .set_piomode = sis_old_set_piomode,
21196 .set_dmamode = sis_old_set_dmamode, 21396 .set_dmamode = sis_old_set_dmamode,
21197diff -urNp linux-2.6.32.11/drivers/ata/pata_sl82c105.c linux-2.6.32.11/drivers/ata/pata_sl82c105.c 21397diff -urNp linux-2.6.32.12/drivers/ata/pata_sl82c105.c linux-2.6.32.12/drivers/ata/pata_sl82c105.c
21198--- linux-2.6.32.11/drivers/ata/pata_sl82c105.c 2010-03-15 11:52:04.000000000 -0400 21398--- linux-2.6.32.12/drivers/ata/pata_sl82c105.c 2010-03-15 11:52:04.000000000 -0400
21199+++ linux-2.6.32.11/drivers/ata/pata_sl82c105.c 2010-04-04 20:46:41.556857392 -0400 21399+++ linux-2.6.32.12/drivers/ata/pata_sl82c105.c 2010-04-04 20:46:41.556857392 -0400
21200@@ -231,7 +231,7 @@ static struct scsi_host_template sl82c10 21400@@ -231,7 +231,7 @@ static struct scsi_host_template sl82c10
21201 ATA_BMDMA_SHT(DRV_NAME), 21401 ATA_BMDMA_SHT(DRV_NAME),
21202 }; 21402 };
@@ -21206,9 +21406,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/pata_sl82c105.c linux-2.6.32.11/drivers/a
21206 .inherits = &ata_bmdma_port_ops, 21406 .inherits = &ata_bmdma_port_ops,
21207 .qc_defer = sl82c105_qc_defer, 21407 .qc_defer = sl82c105_qc_defer,
21208 .bmdma_start = sl82c105_bmdma_start, 21408 .bmdma_start = sl82c105_bmdma_start,
21209diff -urNp linux-2.6.32.11/drivers/ata/pata_triflex.c linux-2.6.32.11/drivers/ata/pata_triflex.c 21409diff -urNp linux-2.6.32.12/drivers/ata/pata_triflex.c linux-2.6.32.12/drivers/ata/pata_triflex.c
21210--- linux-2.6.32.11/drivers/ata/pata_triflex.c 2010-03-15 11:52:04.000000000 -0400 21410--- linux-2.6.32.12/drivers/ata/pata_triflex.c 2010-03-15 11:52:04.000000000 -0400
21211+++ linux-2.6.32.11/drivers/ata/pata_triflex.c 2010-04-04 20:46:41.556857392 -0400 21411+++ linux-2.6.32.12/drivers/ata/pata_triflex.c 2010-04-04 20:46:41.556857392 -0400
21212@@ -178,7 +178,7 @@ static struct scsi_host_template triflex 21412@@ -178,7 +178,7 @@ static struct scsi_host_template triflex
21213 ATA_BMDMA_SHT(DRV_NAME), 21413 ATA_BMDMA_SHT(DRV_NAME),
21214 }; 21414 };
@@ -21218,9 +21418,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/pata_triflex.c linux-2.6.32.11/drivers/at
21218 .inherits = &ata_bmdma_port_ops, 21418 .inherits = &ata_bmdma_port_ops,
21219 .bmdma_start = triflex_bmdma_start, 21419 .bmdma_start = triflex_bmdma_start,
21220 .bmdma_stop = triflex_bmdma_stop, 21420 .bmdma_stop = triflex_bmdma_stop,
21221diff -urNp linux-2.6.32.11/drivers/ata/pata_via.c linux-2.6.32.11/drivers/ata/pata_via.c 21421diff -urNp linux-2.6.32.12/drivers/ata/pata_via.c linux-2.6.32.12/drivers/ata/pata_via.c
21222--- linux-2.6.32.11/drivers/ata/pata_via.c 2010-03-15 11:52:04.000000000 -0400 21422--- linux-2.6.32.12/drivers/ata/pata_via.c 2010-04-29 17:49:37.709698369 -0400
21223+++ linux-2.6.32.11/drivers/ata/pata_via.c 2010-04-04 20:46:41.556857392 -0400 21423+++ linux-2.6.32.12/drivers/ata/pata_via.c 2010-04-29 17:49:58.093238510 -0400
21224@@ -419,7 +419,7 @@ static struct scsi_host_template via_sht 21424@@ -419,7 +419,7 @@ static struct scsi_host_template via_sht
21225 ATA_BMDMA_SHT(DRV_NAME), 21425 ATA_BMDMA_SHT(DRV_NAME),
21226 }; 21426 };
@@ -21239,9 +21439,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/pata_via.c linux-2.6.32.11/drivers/ata/pa
21239 .inherits = &via_port_ops, 21439 .inherits = &via_port_ops,
21240 .sff_data_xfer = ata_sff_data_xfer_noirq, 21440 .sff_data_xfer = ata_sff_data_xfer_noirq,
21241 }; 21441 };
21242diff -urNp linux-2.6.32.11/drivers/ata/pata_winbond.c linux-2.6.32.11/drivers/ata/pata_winbond.c 21442diff -urNp linux-2.6.32.12/drivers/ata/pata_winbond.c linux-2.6.32.12/drivers/ata/pata_winbond.c
21243--- linux-2.6.32.11/drivers/ata/pata_winbond.c 2010-03-15 11:52:04.000000000 -0400 21443--- linux-2.6.32.12/drivers/ata/pata_winbond.c 2010-03-15 11:52:04.000000000 -0400
21244+++ linux-2.6.32.11/drivers/ata/pata_winbond.c 2010-04-04 20:46:41.556857392 -0400 21444+++ linux-2.6.32.12/drivers/ata/pata_winbond.c 2010-04-04 20:46:41.556857392 -0400
21245@@ -125,7 +125,7 @@ static struct scsi_host_template winbond 21445@@ -125,7 +125,7 @@ static struct scsi_host_template winbond
21246 ATA_PIO_SHT(DRV_NAME), 21446 ATA_PIO_SHT(DRV_NAME),
21247 }; 21447 };
@@ -21251,9 +21451,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/pata_winbond.c linux-2.6.32.11/drivers/at
21251 .inherits = &ata_sff_port_ops, 21451 .inherits = &ata_sff_port_ops,
21252 .sff_data_xfer = winbond_data_xfer, 21452 .sff_data_xfer = winbond_data_xfer,
21253 .cable_detect = ata_cable_40wire, 21453 .cable_detect = ata_cable_40wire,
21254diff -urNp linux-2.6.32.11/drivers/ata/pdc_adma.c linux-2.6.32.11/drivers/ata/pdc_adma.c 21454diff -urNp linux-2.6.32.12/drivers/ata/pdc_adma.c linux-2.6.32.12/drivers/ata/pdc_adma.c
21255--- linux-2.6.32.11/drivers/ata/pdc_adma.c 2010-03-15 11:52:04.000000000 -0400 21455--- linux-2.6.32.12/drivers/ata/pdc_adma.c 2010-03-15 11:52:04.000000000 -0400
21256+++ linux-2.6.32.11/drivers/ata/pdc_adma.c 2010-04-04 20:46:41.556857392 -0400 21456+++ linux-2.6.32.12/drivers/ata/pdc_adma.c 2010-04-04 20:46:41.556857392 -0400
21257@@ -145,7 +145,7 @@ static struct scsi_host_template adma_at 21457@@ -145,7 +145,7 @@ static struct scsi_host_template adma_at
21258 .dma_boundary = ADMA_DMA_BOUNDARY, 21458 .dma_boundary = ADMA_DMA_BOUNDARY,
21259 }; 21459 };
@@ -21263,9 +21463,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/pdc_adma.c linux-2.6.32.11/drivers/ata/pd
21263 .inherits = &ata_sff_port_ops, 21463 .inherits = &ata_sff_port_ops,
21264 21464
21265 .lost_interrupt = ATA_OP_NULL, 21465 .lost_interrupt = ATA_OP_NULL,
21266diff -urNp linux-2.6.32.11/drivers/ata/sata_fsl.c linux-2.6.32.11/drivers/ata/sata_fsl.c 21466diff -urNp linux-2.6.32.12/drivers/ata/sata_fsl.c linux-2.6.32.12/drivers/ata/sata_fsl.c
21267--- linux-2.6.32.11/drivers/ata/sata_fsl.c 2010-03-15 11:52:04.000000000 -0400 21467--- linux-2.6.32.12/drivers/ata/sata_fsl.c 2010-03-15 11:52:04.000000000 -0400
21268+++ linux-2.6.32.11/drivers/ata/sata_fsl.c 2010-04-04 20:46:41.556857392 -0400 21468+++ linux-2.6.32.12/drivers/ata/sata_fsl.c 2010-04-04 20:46:41.556857392 -0400
21269@@ -1258,7 +1258,7 @@ static struct scsi_host_template sata_fs 21469@@ -1258,7 +1258,7 @@ static struct scsi_host_template sata_fs
21270 .dma_boundary = ATA_DMA_BOUNDARY, 21470 .dma_boundary = ATA_DMA_BOUNDARY,
21271 }; 21471 };
@@ -21275,9 +21475,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/sata_fsl.c linux-2.6.32.11/drivers/ata/sa
21275 .inherits = &sata_pmp_port_ops, 21475 .inherits = &sata_pmp_port_ops,
21276 21476
21277 .qc_defer = ata_std_qc_defer, 21477 .qc_defer = ata_std_qc_defer,
21278diff -urNp linux-2.6.32.11/drivers/ata/sata_inic162x.c linux-2.6.32.11/drivers/ata/sata_inic162x.c 21478diff -urNp linux-2.6.32.12/drivers/ata/sata_inic162x.c linux-2.6.32.12/drivers/ata/sata_inic162x.c
21279--- linux-2.6.32.11/drivers/ata/sata_inic162x.c 2010-03-15 11:52:04.000000000 -0400 21479--- linux-2.6.32.12/drivers/ata/sata_inic162x.c 2010-03-15 11:52:04.000000000 -0400
21280+++ linux-2.6.32.11/drivers/ata/sata_inic162x.c 2010-04-04 20:46:41.556857392 -0400 21480+++ linux-2.6.32.12/drivers/ata/sata_inic162x.c 2010-04-04 20:46:41.556857392 -0400
21281@@ -721,7 +721,7 @@ static int inic_port_start(struct ata_po 21481@@ -721,7 +721,7 @@ static int inic_port_start(struct ata_po
21282 return 0; 21482 return 0;
21283 } 21483 }
@@ -21287,9 +21487,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/sata_inic162x.c linux-2.6.32.11/drivers/a
21287 .inherits = &sata_port_ops, 21487 .inherits = &sata_port_ops,
21288 21488
21289 .check_atapi_dma = inic_check_atapi_dma, 21489 .check_atapi_dma = inic_check_atapi_dma,
21290diff -urNp linux-2.6.32.11/drivers/ata/sata_mv.c linux-2.6.32.11/drivers/ata/sata_mv.c 21490diff -urNp linux-2.6.32.12/drivers/ata/sata_mv.c linux-2.6.32.12/drivers/ata/sata_mv.c
21291--- linux-2.6.32.11/drivers/ata/sata_mv.c 2010-03-15 11:52:04.000000000 -0400 21491--- linux-2.6.32.12/drivers/ata/sata_mv.c 2010-03-15 11:52:04.000000000 -0400
21292+++ linux-2.6.32.11/drivers/ata/sata_mv.c 2010-04-04 20:46:41.556857392 -0400 21492+++ linux-2.6.32.12/drivers/ata/sata_mv.c 2010-04-04 20:46:41.556857392 -0400
21293@@ -656,7 +656,7 @@ static struct scsi_host_template mv6_sht 21493@@ -656,7 +656,7 @@ static struct scsi_host_template mv6_sht
21294 .dma_boundary = MV_DMA_BOUNDARY, 21494 .dma_boundary = MV_DMA_BOUNDARY,
21295 }; 21495 };
@@ -21317,9 +21517,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/sata_mv.c linux-2.6.32.11/drivers/ata/sat
21317 .inherits = &mv6_ops, 21517 .inherits = &mv6_ops,
21318 .dev_config = ATA_OP_NULL, 21518 .dev_config = ATA_OP_NULL,
21319 .qc_prep = mv_qc_prep_iie, 21519 .qc_prep = mv_qc_prep_iie,
21320diff -urNp linux-2.6.32.11/drivers/ata/sata_nv.c linux-2.6.32.11/drivers/ata/sata_nv.c 21520diff -urNp linux-2.6.32.12/drivers/ata/sata_nv.c linux-2.6.32.12/drivers/ata/sata_nv.c
21321--- linux-2.6.32.11/drivers/ata/sata_nv.c 2010-03-15 11:52:04.000000000 -0400 21521--- linux-2.6.32.12/drivers/ata/sata_nv.c 2010-03-15 11:52:04.000000000 -0400
21322+++ linux-2.6.32.11/drivers/ata/sata_nv.c 2010-04-04 20:46:41.556857392 -0400 21522+++ linux-2.6.32.12/drivers/ata/sata_nv.c 2010-04-04 20:46:41.556857392 -0400
21323@@ -464,7 +464,7 @@ static struct scsi_host_template nv_swnc 21523@@ -464,7 +464,7 @@ static struct scsi_host_template nv_swnc
21324 * cases. Define nv_hardreset() which only kicks in for post-boot 21524 * cases. Define nv_hardreset() which only kicks in for post-boot
21325 * probing and use it for all variants. 21525 * probing and use it for all variants.
@@ -21362,9 +21562,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/sata_nv.c linux-2.6.32.11/drivers/ata/sat
21362 .inherits = &nv_generic_ops, 21562 .inherits = &nv_generic_ops,
21363 21563
21364 .qc_defer = ata_std_qc_defer, 21564 .qc_defer = ata_std_qc_defer,
21365diff -urNp linux-2.6.32.11/drivers/ata/sata_promise.c linux-2.6.32.11/drivers/ata/sata_promise.c 21565diff -urNp linux-2.6.32.12/drivers/ata/sata_promise.c linux-2.6.32.12/drivers/ata/sata_promise.c
21366--- linux-2.6.32.11/drivers/ata/sata_promise.c 2010-03-15 11:52:04.000000000 -0400 21566--- linux-2.6.32.12/drivers/ata/sata_promise.c 2010-03-15 11:52:04.000000000 -0400
21367+++ linux-2.6.32.11/drivers/ata/sata_promise.c 2010-04-04 20:46:41.556857392 -0400 21567+++ linux-2.6.32.12/drivers/ata/sata_promise.c 2010-04-04 20:46:41.556857392 -0400
21368@@ -195,7 +195,7 @@ static const struct ata_port_operations 21568@@ -195,7 +195,7 @@ static const struct ata_port_operations
21369 .error_handler = pdc_error_handler, 21569 .error_handler = pdc_error_handler,
21370 }; 21570 };
@@ -21391,9 +21591,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/sata_promise.c linux-2.6.32.11/drivers/at
21391 .inherits = &pdc_common_ops, 21591 .inherits = &pdc_common_ops,
21392 .cable_detect = pdc_pata_cable_detect, 21592 .cable_detect = pdc_pata_cable_detect,
21393 .freeze = pdc_freeze, 21593 .freeze = pdc_freeze,
21394diff -urNp linux-2.6.32.11/drivers/ata/sata_qstor.c linux-2.6.32.11/drivers/ata/sata_qstor.c 21594diff -urNp linux-2.6.32.12/drivers/ata/sata_qstor.c linux-2.6.32.12/drivers/ata/sata_qstor.c
21395--- linux-2.6.32.11/drivers/ata/sata_qstor.c 2010-03-15 11:52:04.000000000 -0400 21595--- linux-2.6.32.12/drivers/ata/sata_qstor.c 2010-03-15 11:52:04.000000000 -0400
21396+++ linux-2.6.32.11/drivers/ata/sata_qstor.c 2010-04-04 20:46:41.556857392 -0400 21596+++ linux-2.6.32.12/drivers/ata/sata_qstor.c 2010-04-04 20:46:41.556857392 -0400
21397@@ -132,7 +132,7 @@ static struct scsi_host_template qs_ata_ 21597@@ -132,7 +132,7 @@ static struct scsi_host_template qs_ata_
21398 .dma_boundary = QS_DMA_BOUNDARY, 21598 .dma_boundary = QS_DMA_BOUNDARY,
21399 }; 21599 };
@@ -21403,9 +21603,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/sata_qstor.c linux-2.6.32.11/drivers/ata/
21403 .inherits = &ata_sff_port_ops, 21603 .inherits = &ata_sff_port_ops,
21404 21604
21405 .check_atapi_dma = qs_check_atapi_dma, 21605 .check_atapi_dma = qs_check_atapi_dma,
21406diff -urNp linux-2.6.32.11/drivers/ata/sata_sil24.c linux-2.6.32.11/drivers/ata/sata_sil24.c 21606diff -urNp linux-2.6.32.12/drivers/ata/sata_sil24.c linux-2.6.32.12/drivers/ata/sata_sil24.c
21407--- linux-2.6.32.11/drivers/ata/sata_sil24.c 2010-03-15 11:52:04.000000000 -0400 21607--- linux-2.6.32.12/drivers/ata/sata_sil24.c 2010-03-15 11:52:04.000000000 -0400
21408+++ linux-2.6.32.11/drivers/ata/sata_sil24.c 2010-04-04 20:46:41.556857392 -0400 21608+++ linux-2.6.32.12/drivers/ata/sata_sil24.c 2010-04-04 20:46:41.556857392 -0400
21409@@ -388,7 +388,7 @@ static struct scsi_host_template sil24_s 21609@@ -388,7 +388,7 @@ static struct scsi_host_template sil24_s
21410 .dma_boundary = ATA_DMA_BOUNDARY, 21610 .dma_boundary = ATA_DMA_BOUNDARY,
21411 }; 21611 };
@@ -21415,9 +21615,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/sata_sil24.c linux-2.6.32.11/drivers/ata/
21415 .inherits = &sata_pmp_port_ops, 21615 .inherits = &sata_pmp_port_ops,
21416 21616
21417 .qc_defer = sil24_qc_defer, 21617 .qc_defer = sil24_qc_defer,
21418diff -urNp linux-2.6.32.11/drivers/ata/sata_sil.c linux-2.6.32.11/drivers/ata/sata_sil.c 21618diff -urNp linux-2.6.32.12/drivers/ata/sata_sil.c linux-2.6.32.12/drivers/ata/sata_sil.c
21419--- linux-2.6.32.11/drivers/ata/sata_sil.c 2010-03-15 11:52:04.000000000 -0400 21619--- linux-2.6.32.12/drivers/ata/sata_sil.c 2010-03-15 11:52:04.000000000 -0400
21420+++ linux-2.6.32.11/drivers/ata/sata_sil.c 2010-04-04 20:46:41.556857392 -0400 21620+++ linux-2.6.32.12/drivers/ata/sata_sil.c 2010-04-04 20:46:41.556857392 -0400
21421@@ -182,7 +182,7 @@ static struct scsi_host_template sil_sht 21621@@ -182,7 +182,7 @@ static struct scsi_host_template sil_sht
21422 .sg_tablesize = ATA_MAX_PRD 21622 .sg_tablesize = ATA_MAX_PRD
21423 }; 21623 };
@@ -21427,9 +21627,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/sata_sil.c linux-2.6.32.11/drivers/ata/sa
21427 .inherits = &ata_bmdma32_port_ops, 21627 .inherits = &ata_bmdma32_port_ops,
21428 .dev_config = sil_dev_config, 21628 .dev_config = sil_dev_config,
21429 .set_mode = sil_set_mode, 21629 .set_mode = sil_set_mode,
21430diff -urNp linux-2.6.32.11/drivers/ata/sata_sis.c linux-2.6.32.11/drivers/ata/sata_sis.c 21630diff -urNp linux-2.6.32.12/drivers/ata/sata_sis.c linux-2.6.32.12/drivers/ata/sata_sis.c
21431--- linux-2.6.32.11/drivers/ata/sata_sis.c 2010-03-15 11:52:04.000000000 -0400 21631--- linux-2.6.32.12/drivers/ata/sata_sis.c 2010-03-15 11:52:04.000000000 -0400
21432+++ linux-2.6.32.11/drivers/ata/sata_sis.c 2010-04-04 20:46:41.561786507 -0400 21632+++ linux-2.6.32.12/drivers/ata/sata_sis.c 2010-04-04 20:46:41.561786507 -0400
21433@@ -89,7 +89,7 @@ static struct scsi_host_template sis_sht 21633@@ -89,7 +89,7 @@ static struct scsi_host_template sis_sht
21434 ATA_BMDMA_SHT(DRV_NAME), 21634 ATA_BMDMA_SHT(DRV_NAME),
21435 }; 21635 };
@@ -21439,9 +21639,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/sata_sis.c linux-2.6.32.11/drivers/ata/sa
21439 .inherits = &ata_bmdma_port_ops, 21639 .inherits = &ata_bmdma_port_ops,
21440 .scr_read = sis_scr_read, 21640 .scr_read = sis_scr_read,
21441 .scr_write = sis_scr_write, 21641 .scr_write = sis_scr_write,
21442diff -urNp linux-2.6.32.11/drivers/ata/sata_svw.c linux-2.6.32.11/drivers/ata/sata_svw.c 21642diff -urNp linux-2.6.32.12/drivers/ata/sata_svw.c linux-2.6.32.12/drivers/ata/sata_svw.c
21443--- linux-2.6.32.11/drivers/ata/sata_svw.c 2010-03-15 11:52:04.000000000 -0400 21643--- linux-2.6.32.12/drivers/ata/sata_svw.c 2010-03-15 11:52:04.000000000 -0400
21444+++ linux-2.6.32.11/drivers/ata/sata_svw.c 2010-04-04 20:46:41.561786507 -0400 21644+++ linux-2.6.32.12/drivers/ata/sata_svw.c 2010-04-04 20:46:41.561786507 -0400
21445@@ -344,7 +344,7 @@ static struct scsi_host_template k2_sata 21645@@ -344,7 +344,7 @@ static struct scsi_host_template k2_sata
21446 }; 21646 };
21447 21647
@@ -21451,9 +21651,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/sata_svw.c linux-2.6.32.11/drivers/ata/sa
21451 .inherits = &ata_bmdma_port_ops, 21651 .inherits = &ata_bmdma_port_ops,
21452 .sff_tf_load = k2_sata_tf_load, 21652 .sff_tf_load = k2_sata_tf_load,
21453 .sff_tf_read = k2_sata_tf_read, 21653 .sff_tf_read = k2_sata_tf_read,
21454diff -urNp linux-2.6.32.11/drivers/ata/sata_sx4.c linux-2.6.32.11/drivers/ata/sata_sx4.c 21654diff -urNp linux-2.6.32.12/drivers/ata/sata_sx4.c linux-2.6.32.12/drivers/ata/sata_sx4.c
21455--- linux-2.6.32.11/drivers/ata/sata_sx4.c 2010-03-15 11:52:04.000000000 -0400 21655--- linux-2.6.32.12/drivers/ata/sata_sx4.c 2010-03-15 11:52:04.000000000 -0400
21456+++ linux-2.6.32.11/drivers/ata/sata_sx4.c 2010-04-04 20:46:41.561786507 -0400 21656+++ linux-2.6.32.12/drivers/ata/sata_sx4.c 2010-04-04 20:46:41.561786507 -0400
21457@@ -248,7 +248,7 @@ static struct scsi_host_template pdc_sat 21657@@ -248,7 +248,7 @@ static struct scsi_host_template pdc_sat
21458 }; 21658 };
21459 21659
@@ -21463,9 +21663,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/sata_sx4.c linux-2.6.32.11/drivers/ata/sa
21463 .inherits = &ata_sff_port_ops, 21663 .inherits = &ata_sff_port_ops,
21464 21664
21465 .check_atapi_dma = pdc_check_atapi_dma, 21665 .check_atapi_dma = pdc_check_atapi_dma,
21466diff -urNp linux-2.6.32.11/drivers/ata/sata_uli.c linux-2.6.32.11/drivers/ata/sata_uli.c 21666diff -urNp linux-2.6.32.12/drivers/ata/sata_uli.c linux-2.6.32.12/drivers/ata/sata_uli.c
21467--- linux-2.6.32.11/drivers/ata/sata_uli.c 2010-03-15 11:52:04.000000000 -0400 21667--- linux-2.6.32.12/drivers/ata/sata_uli.c 2010-03-15 11:52:04.000000000 -0400
21468+++ linux-2.6.32.11/drivers/ata/sata_uli.c 2010-04-04 20:46:41.561786507 -0400 21668+++ linux-2.6.32.12/drivers/ata/sata_uli.c 2010-04-04 20:46:41.561786507 -0400
21469@@ -79,7 +79,7 @@ static struct scsi_host_template uli_sht 21669@@ -79,7 +79,7 @@ static struct scsi_host_template uli_sht
21470 ATA_BMDMA_SHT(DRV_NAME), 21670 ATA_BMDMA_SHT(DRV_NAME),
21471 }; 21671 };
@@ -21475,9 +21675,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/sata_uli.c linux-2.6.32.11/drivers/ata/sa
21475 .inherits = &ata_bmdma_port_ops, 21675 .inherits = &ata_bmdma_port_ops,
21476 .scr_read = uli_scr_read, 21676 .scr_read = uli_scr_read,
21477 .scr_write = uli_scr_write, 21677 .scr_write = uli_scr_write,
21478diff -urNp linux-2.6.32.11/drivers/ata/sata_via.c linux-2.6.32.11/drivers/ata/sata_via.c 21678diff -urNp linux-2.6.32.12/drivers/ata/sata_via.c linux-2.6.32.12/drivers/ata/sata_via.c
21479--- linux-2.6.32.11/drivers/ata/sata_via.c 2010-03-15 11:52:04.000000000 -0400 21679--- linux-2.6.32.12/drivers/ata/sata_via.c 2010-03-15 11:52:04.000000000 -0400
21480+++ linux-2.6.32.11/drivers/ata/sata_via.c 2010-04-04 20:46:41.561786507 -0400 21680+++ linux-2.6.32.12/drivers/ata/sata_via.c 2010-04-04 20:46:41.561786507 -0400
21481@@ -112,31 +112,31 @@ static struct scsi_host_template svia_sh 21681@@ -112,31 +112,31 @@ static struct scsi_host_template svia_sh
21482 ATA_BMDMA_SHT(DRV_NAME), 21682 ATA_BMDMA_SHT(DRV_NAME),
21483 }; 21683 };
@@ -21515,9 +21715,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/sata_via.c linux-2.6.32.11/drivers/ata/sa
21515 .inherits = &svia_base_ops, 21715 .inherits = &svia_base_ops,
21516 .hardreset = sata_std_hardreset, 21716 .hardreset = sata_std_hardreset,
21517 .scr_read = vt8251_scr_read, 21717 .scr_read = vt8251_scr_read,
21518diff -urNp linux-2.6.32.11/drivers/ata/sata_vsc.c linux-2.6.32.11/drivers/ata/sata_vsc.c 21718diff -urNp linux-2.6.32.12/drivers/ata/sata_vsc.c linux-2.6.32.12/drivers/ata/sata_vsc.c
21519--- linux-2.6.32.11/drivers/ata/sata_vsc.c 2010-03-15 11:52:04.000000000 -0400 21719--- linux-2.6.32.12/drivers/ata/sata_vsc.c 2010-03-15 11:52:04.000000000 -0400
21520+++ linux-2.6.32.11/drivers/ata/sata_vsc.c 2010-04-04 20:46:41.561786507 -0400 21720+++ linux-2.6.32.12/drivers/ata/sata_vsc.c 2010-04-04 20:46:41.561786507 -0400
21521@@ -306,7 +306,7 @@ static struct scsi_host_template vsc_sat 21721@@ -306,7 +306,7 @@ static struct scsi_host_template vsc_sat
21522 }; 21722 };
21523 21723
@@ -21527,9 +21727,9 @@ diff -urNp linux-2.6.32.11/drivers/ata/sata_vsc.c linux-2.6.32.11/drivers/ata/sa
21527 .inherits = &ata_bmdma_port_ops, 21727 .inherits = &ata_bmdma_port_ops,
21528 /* The IRQ handling is not quite standard SFF behaviour so we 21728 /* The IRQ handling is not quite standard SFF behaviour so we
21529 cannot use the default lost interrupt handler */ 21729 cannot use the default lost interrupt handler */
21530diff -urNp linux-2.6.32.11/drivers/atm/adummy.c linux-2.6.32.11/drivers/atm/adummy.c 21730diff -urNp linux-2.6.32.12/drivers/atm/adummy.c linux-2.6.32.12/drivers/atm/adummy.c
21531--- linux-2.6.32.11/drivers/atm/adummy.c 2010-03-15 11:52:04.000000000 -0400 21731--- linux-2.6.32.12/drivers/atm/adummy.c 2010-03-15 11:52:04.000000000 -0400
21532+++ linux-2.6.32.11/drivers/atm/adummy.c 2010-04-04 20:46:41.561786507 -0400 21732+++ linux-2.6.32.12/drivers/atm/adummy.c 2010-04-04 20:46:41.561786507 -0400
21533@@ -77,7 +77,7 @@ adummy_send(struct atm_vcc *vcc, struct 21733@@ -77,7 +77,7 @@ adummy_send(struct atm_vcc *vcc, struct
21534 vcc->pop(vcc, skb); 21734 vcc->pop(vcc, skb);
21535 else 21735 else
@@ -21539,9 +21739,9 @@ diff -urNp linux-2.6.32.11/drivers/atm/adummy.c linux-2.6.32.11/drivers/atm/adum
21539 21739
21540 return 0; 21740 return 0;
21541 } 21741 }
21542diff -urNp linux-2.6.32.11/drivers/atm/ambassador.c linux-2.6.32.11/drivers/atm/ambassador.c 21742diff -urNp linux-2.6.32.12/drivers/atm/ambassador.c linux-2.6.32.12/drivers/atm/ambassador.c
21543--- linux-2.6.32.11/drivers/atm/ambassador.c 2010-03-15 11:52:04.000000000 -0400 21743--- linux-2.6.32.12/drivers/atm/ambassador.c 2010-03-15 11:52:04.000000000 -0400
21544+++ linux-2.6.32.11/drivers/atm/ambassador.c 2010-04-04 20:46:41.561786507 -0400 21744+++ linux-2.6.32.12/drivers/atm/ambassador.c 2010-04-04 20:46:41.561786507 -0400
21545@@ -453,7 +453,7 @@ static void tx_complete (amb_dev * dev, 21745@@ -453,7 +453,7 @@ static void tx_complete (amb_dev * dev,
21546 PRINTD (DBG_FLOW|DBG_TX, "tx_complete %p %p", dev, tx); 21746 PRINTD (DBG_FLOW|DBG_TX, "tx_complete %p %p", dev, tx);
21547 21747
@@ -21578,9 +21778,9 @@ diff -urNp linux-2.6.32.11/drivers/atm/ambassador.c linux-2.6.32.11/drivers/atm/
21578 return -ENOMEM; // ? 21778 return -ENOMEM; // ?
21579 } 21779 }
21580 21780
21581diff -urNp linux-2.6.32.11/drivers/atm/atmtcp.c linux-2.6.32.11/drivers/atm/atmtcp.c 21781diff -urNp linux-2.6.32.12/drivers/atm/atmtcp.c linux-2.6.32.12/drivers/atm/atmtcp.c
21582--- linux-2.6.32.11/drivers/atm/atmtcp.c 2010-03-15 11:52:04.000000000 -0400 21782--- linux-2.6.32.12/drivers/atm/atmtcp.c 2010-03-15 11:52:04.000000000 -0400
21583+++ linux-2.6.32.11/drivers/atm/atmtcp.c 2010-04-04 20:46:41.561786507 -0400 21783+++ linux-2.6.32.12/drivers/atm/atmtcp.c 2010-04-04 20:46:41.561786507 -0400
21584@@ -206,7 +206,7 @@ static int atmtcp_v_send(struct atm_vcc 21784@@ -206,7 +206,7 @@ static int atmtcp_v_send(struct atm_vcc
21585 if (vcc->pop) vcc->pop(vcc,skb); 21785 if (vcc->pop) vcc->pop(vcc,skb);
21586 else dev_kfree_skb(skb); 21786 else dev_kfree_skb(skb);
@@ -21630,9 +21830,9 @@ diff -urNp linux-2.6.32.11/drivers/atm/atmtcp.c linux-2.6.32.11/drivers/atm/atmt
21630 done: 21830 done:
21631 if (vcc->pop) vcc->pop(vcc,skb); 21831 if (vcc->pop) vcc->pop(vcc,skb);
21632 else dev_kfree_skb(skb); 21832 else dev_kfree_skb(skb);
21633diff -urNp linux-2.6.32.11/drivers/atm/eni.c linux-2.6.32.11/drivers/atm/eni.c 21833diff -urNp linux-2.6.32.12/drivers/atm/eni.c linux-2.6.32.12/drivers/atm/eni.c
21634--- linux-2.6.32.11/drivers/atm/eni.c 2010-03-15 11:52:04.000000000 -0400 21834--- linux-2.6.32.12/drivers/atm/eni.c 2010-03-15 11:52:04.000000000 -0400
21635+++ linux-2.6.32.11/drivers/atm/eni.c 2010-04-04 20:46:41.561786507 -0400 21835+++ linux-2.6.32.12/drivers/atm/eni.c 2010-04-04 20:46:41.561786507 -0400
21636@@ -525,7 +525,7 @@ static int rx_aal0(struct atm_vcc *vcc) 21836@@ -525,7 +525,7 @@ static int rx_aal0(struct atm_vcc *vcc)
21637 DPRINTK(DEV_LABEL "(itf %d): trashing empty cell\n", 21837 DPRINTK(DEV_LABEL "(itf %d): trashing empty cell\n",
21638 vcc->dev->number); 21838 vcc->dev->number);
@@ -21678,9 +21878,9 @@ diff -urNp linux-2.6.32.11/drivers/atm/eni.c linux-2.6.32.11/drivers/atm/eni.c
21678 wake_up(&eni_dev->tx_wait); 21878 wake_up(&eni_dev->tx_wait);
21679 dma_complete++; 21879 dma_complete++;
21680 } 21880 }
21681diff -urNp linux-2.6.32.11/drivers/atm/firestream.c linux-2.6.32.11/drivers/atm/firestream.c 21881diff -urNp linux-2.6.32.12/drivers/atm/firestream.c linux-2.6.32.12/drivers/atm/firestream.c
21682--- linux-2.6.32.11/drivers/atm/firestream.c 2010-03-15 11:52:04.000000000 -0400 21882--- linux-2.6.32.12/drivers/atm/firestream.c 2010-03-15 11:52:04.000000000 -0400
21683+++ linux-2.6.32.11/drivers/atm/firestream.c 2010-04-04 20:46:41.561786507 -0400 21883+++ linux-2.6.32.12/drivers/atm/firestream.c 2010-04-04 20:46:41.561786507 -0400
21684@@ -748,7 +748,7 @@ static void process_txdone_queue (struct 21884@@ -748,7 +748,7 @@ static void process_txdone_queue (struct
21685 } 21885 }
21686 } 21886 }
@@ -21714,9 +21914,9 @@ diff -urNp linux-2.6.32.11/drivers/atm/firestream.c linux-2.6.32.11/drivers/atm/
21714 break; 21914 break;
21715 default: /* Hmm. Haven't written the code to handle the others yet... -- REW */ 21915 default: /* Hmm. Haven't written the code to handle the others yet... -- REW */
21716 printk (KERN_WARNING "Don't know what to do with RX status %x: %s.\n", 21916 printk (KERN_WARNING "Don't know what to do with RX status %x: %s.\n",
21717diff -urNp linux-2.6.32.11/drivers/atm/fore200e.c linux-2.6.32.11/drivers/atm/fore200e.c 21917diff -urNp linux-2.6.32.12/drivers/atm/fore200e.c linux-2.6.32.12/drivers/atm/fore200e.c
21718--- linux-2.6.32.11/drivers/atm/fore200e.c 2010-03-15 11:52:04.000000000 -0400 21918--- linux-2.6.32.12/drivers/atm/fore200e.c 2010-03-15 11:52:04.000000000 -0400
21719+++ linux-2.6.32.11/drivers/atm/fore200e.c 2010-04-04 20:46:41.561786507 -0400 21919+++ linux-2.6.32.12/drivers/atm/fore200e.c 2010-04-04 20:46:41.561786507 -0400
21720@@ -931,9 +931,9 @@ fore200e_tx_irq(struct fore200e* fore200 21920@@ -931,9 +931,9 @@ fore200e_tx_irq(struct fore200e* fore200
21721 #endif 21921 #endif
21722 /* check error condition */ 21922 /* check error condition */
@@ -21773,9 +21973,9 @@ diff -urNp linux-2.6.32.11/drivers/atm/fore200e.c linux-2.6.32.11/drivers/atm/fo
21773 21973
21774 fore200e->tx_sat++; 21974 fore200e->tx_sat++;
21775 DPRINTK(2, "tx queue of device %s is saturated, PDU dropped - heartbeat is %08x\n", 21975 DPRINTK(2, "tx queue of device %s is saturated, PDU dropped - heartbeat is %08x\n",
21776diff -urNp linux-2.6.32.11/drivers/atm/he.c linux-2.6.32.11/drivers/atm/he.c 21976diff -urNp linux-2.6.32.12/drivers/atm/he.c linux-2.6.32.12/drivers/atm/he.c
21777--- linux-2.6.32.11/drivers/atm/he.c 2010-03-15 11:52:04.000000000 -0400 21977--- linux-2.6.32.12/drivers/atm/he.c 2010-03-15 11:52:04.000000000 -0400
21778+++ linux-2.6.32.11/drivers/atm/he.c 2010-04-04 20:46:41.565779517 -0400 21978+++ linux-2.6.32.12/drivers/atm/he.c 2010-04-04 20:46:41.565779517 -0400
21779@@ -1769,7 +1769,7 @@ he_service_rbrq(struct he_dev *he_dev, i 21979@@ -1769,7 +1769,7 @@ he_service_rbrq(struct he_dev *he_dev, i
21780 21980
21781 if (RBRQ_HBUF_ERR(he_dev->rbrq_head)) { 21981 if (RBRQ_HBUF_ERR(he_dev->rbrq_head)) {
@@ -21857,9 +22057,9 @@ diff -urNp linux-2.6.32.11/drivers/atm/he.c linux-2.6.32.11/drivers/atm/he.c
21857 22057
21858 return 0; 22058 return 0;
21859 } 22059 }
21860diff -urNp linux-2.6.32.11/drivers/atm/horizon.c linux-2.6.32.11/drivers/atm/horizon.c 22060diff -urNp linux-2.6.32.12/drivers/atm/horizon.c linux-2.6.32.12/drivers/atm/horizon.c
21861--- linux-2.6.32.11/drivers/atm/horizon.c 2010-03-15 11:52:04.000000000 -0400 22061--- linux-2.6.32.12/drivers/atm/horizon.c 2010-03-15 11:52:04.000000000 -0400
21862+++ linux-2.6.32.11/drivers/atm/horizon.c 2010-04-04 20:46:41.565779517 -0400 22062+++ linux-2.6.32.12/drivers/atm/horizon.c 2010-04-04 20:46:41.565779517 -0400
21863@@ -1033,7 +1033,7 @@ static void rx_schedule (hrz_dev * dev, 22063@@ -1033,7 +1033,7 @@ static void rx_schedule (hrz_dev * dev,
21864 { 22064 {
21865 struct atm_vcc * vcc = ATM_SKB(skb)->vcc; 22065 struct atm_vcc * vcc = ATM_SKB(skb)->vcc;
@@ -21878,9 +22078,9 @@ diff -urNp linux-2.6.32.11/drivers/atm/horizon.c linux-2.6.32.11/drivers/atm/hor
21878 22078
21879 // free the skb 22079 // free the skb
21880 hrz_kfree_skb (skb); 22080 hrz_kfree_skb (skb);
21881diff -urNp linux-2.6.32.11/drivers/atm/idt77252.c linux-2.6.32.11/drivers/atm/idt77252.c 22081diff -urNp linux-2.6.32.12/drivers/atm/idt77252.c linux-2.6.32.12/drivers/atm/idt77252.c
21882--- linux-2.6.32.11/drivers/atm/idt77252.c 2010-03-15 11:52:04.000000000 -0400 22082--- linux-2.6.32.12/drivers/atm/idt77252.c 2010-03-15 11:52:04.000000000 -0400
21883+++ linux-2.6.32.11/drivers/atm/idt77252.c 2010-04-04 20:46:41.565779517 -0400 22083+++ linux-2.6.32.12/drivers/atm/idt77252.c 2010-04-04 20:46:41.565779517 -0400
21884@@ -810,7 +810,7 @@ drain_scq(struct idt77252_dev *card, str 22084@@ -810,7 +810,7 @@ drain_scq(struct idt77252_dev *card, str
21885 else 22085 else
21886 dev_kfree_skb(skb); 22086 dev_kfree_skb(skb);
@@ -22035,9 +22235,9 @@ diff -urNp linux-2.6.32.11/drivers/atm/idt77252.c linux-2.6.32.11/drivers/atm/id
22035 return -ENOMEM; 22235 return -ENOMEM;
22036 } 22236 }
22037 atomic_add(skb->truesize, &sk_atm(vcc)->sk_wmem_alloc); 22237 atomic_add(skb->truesize, &sk_atm(vcc)->sk_wmem_alloc);
22038diff -urNp linux-2.6.32.11/drivers/atm/iphase.c linux-2.6.32.11/drivers/atm/iphase.c 22238diff -urNp linux-2.6.32.12/drivers/atm/iphase.c linux-2.6.32.12/drivers/atm/iphase.c
22039--- linux-2.6.32.11/drivers/atm/iphase.c 2010-03-15 11:52:04.000000000 -0400 22239--- linux-2.6.32.12/drivers/atm/iphase.c 2010-03-15 11:52:04.000000000 -0400
22040+++ linux-2.6.32.11/drivers/atm/iphase.c 2010-04-04 20:46:41.565779517 -0400 22240+++ linux-2.6.32.12/drivers/atm/iphase.c 2010-04-04 20:46:41.565779517 -0400
22041@@ -1123,7 +1123,7 @@ static int rx_pkt(struct atm_dev *dev) 22241@@ -1123,7 +1123,7 @@ static int rx_pkt(struct atm_dev *dev)
22042 status = (u_short) (buf_desc_ptr->desc_mode); 22242 status = (u_short) (buf_desc_ptr->desc_mode);
22043 if (status & (RX_CER | RX_PTE | RX_OFL)) 22243 if (status & (RX_CER | RX_PTE | RX_OFL))
@@ -22134,9 +22334,9 @@ diff -urNp linux-2.6.32.11/drivers/atm/iphase.c linux-2.6.32.11/drivers/atm/ipha
22134 if (iavcc->vc_desc_cnt > 10) { 22334 if (iavcc->vc_desc_cnt > 10) {
22135 vcc->tx_quota = vcc->tx_quota * 3 / 4; 22335 vcc->tx_quota = vcc->tx_quota * 3 / 4;
22136 printk("Tx1: vcc->tx_quota = %d \n", (u32)vcc->tx_quota ); 22336 printk("Tx1: vcc->tx_quota = %d \n", (u32)vcc->tx_quota );
22137diff -urNp linux-2.6.32.11/drivers/atm/lanai.c linux-2.6.32.11/drivers/atm/lanai.c 22337diff -urNp linux-2.6.32.12/drivers/atm/lanai.c linux-2.6.32.12/drivers/atm/lanai.c
22138--- linux-2.6.32.11/drivers/atm/lanai.c 2010-03-15 11:52:04.000000000 -0400 22338--- linux-2.6.32.12/drivers/atm/lanai.c 2010-03-15 11:52:04.000000000 -0400
22139+++ linux-2.6.32.11/drivers/atm/lanai.c 2010-04-04 20:46:41.565779517 -0400 22339+++ linux-2.6.32.12/drivers/atm/lanai.c 2010-04-04 20:46:41.565779517 -0400
22140@@ -1305,7 +1305,7 @@ static void lanai_send_one_aal5(struct l 22340@@ -1305,7 +1305,7 @@ static void lanai_send_one_aal5(struct l
22141 vcc_tx_add_aal5_trailer(lvcc, skb->len, 0, 0); 22341 vcc_tx_add_aal5_trailer(lvcc, skb->len, 0, 0);
22142 lanai_endtx(lanai, lvcc); 22342 lanai_endtx(lanai, lvcc);
@@ -22191,9 +22391,9 @@ diff -urNp linux-2.6.32.11/drivers/atm/lanai.c linux-2.6.32.11/drivers/atm/lanai
22191 lvcc->stats.x.aal5.service_rxcrc++; 22391 lvcc->stats.x.aal5.service_rxcrc++;
22192 lvcc->rx.buf.ptr = &lvcc->rx.buf.start[SERVICE_GET_END(s) * 4]; 22392 lvcc->rx.buf.ptr = &lvcc->rx.buf.start[SERVICE_GET_END(s) * 4];
22193 cardvcc_write(lvcc, SERVICE_GET_END(s), vcc_rxreadptr); 22393 cardvcc_write(lvcc, SERVICE_GET_END(s), vcc_rxreadptr);
22194diff -urNp linux-2.6.32.11/drivers/atm/nicstar.c linux-2.6.32.11/drivers/atm/nicstar.c 22394diff -urNp linux-2.6.32.12/drivers/atm/nicstar.c linux-2.6.32.12/drivers/atm/nicstar.c
22195--- linux-2.6.32.11/drivers/atm/nicstar.c 2010-03-15 11:52:04.000000000 -0400 22395--- linux-2.6.32.12/drivers/atm/nicstar.c 2010-03-15 11:52:04.000000000 -0400
22196+++ linux-2.6.32.11/drivers/atm/nicstar.c 2010-04-04 20:46:41.565779517 -0400 22396+++ linux-2.6.32.12/drivers/atm/nicstar.c 2010-04-04 20:46:41.565779517 -0400
22197@@ -1723,7 +1723,7 @@ static int ns_send(struct atm_vcc *vcc, 22397@@ -1723,7 +1723,7 @@ static int ns_send(struct atm_vcc *vcc,
22198 if ((vc = (vc_map *) vcc->dev_data) == NULL) 22398 if ((vc = (vc_map *) vcc->dev_data) == NULL)
22199 { 22399 {
@@ -22396,9 +22596,9 @@ diff -urNp linux-2.6.32.11/drivers/atm/nicstar.c linux-2.6.32.11/drivers/atm/nic
22396 } 22596 }
22397 } 22597 }
22398 22598
22399diff -urNp linux-2.6.32.11/drivers/atm/solos-pci.c linux-2.6.32.11/drivers/atm/solos-pci.c 22599diff -urNp linux-2.6.32.12/drivers/atm/solos-pci.c linux-2.6.32.12/drivers/atm/solos-pci.c
22400--- linux-2.6.32.11/drivers/atm/solos-pci.c 2010-03-15 11:52:04.000000000 -0400 22600--- linux-2.6.32.12/drivers/atm/solos-pci.c 2010-03-15 11:52:04.000000000 -0400
22401+++ linux-2.6.32.11/drivers/atm/solos-pci.c 2010-04-04 20:46:41.565779517 -0400 22601+++ linux-2.6.32.12/drivers/atm/solos-pci.c 2010-04-04 20:46:41.565779517 -0400
22402@@ -708,7 +708,7 @@ void solos_bh(unsigned long card_arg) 22602@@ -708,7 +708,7 @@ void solos_bh(unsigned long card_arg)
22403 } 22603 }
22404 atm_charge(vcc, skb->truesize); 22604 atm_charge(vcc, skb->truesize);
@@ -22417,9 +22617,9 @@ diff -urNp linux-2.6.32.11/drivers/atm/solos-pci.c linux-2.6.32.11/drivers/atm/s
22417 solos_pop(vcc, oldskb); 22617 solos_pop(vcc, oldskb);
22418 } else 22618 } else
22419 dev_kfree_skb_irq(oldskb); 22619 dev_kfree_skb_irq(oldskb);
22420diff -urNp linux-2.6.32.11/drivers/atm/suni.c linux-2.6.32.11/drivers/atm/suni.c 22620diff -urNp linux-2.6.32.12/drivers/atm/suni.c linux-2.6.32.12/drivers/atm/suni.c
22421--- linux-2.6.32.11/drivers/atm/suni.c 2010-03-15 11:52:04.000000000 -0400 22621--- linux-2.6.32.12/drivers/atm/suni.c 2010-03-15 11:52:04.000000000 -0400
22422+++ linux-2.6.32.11/drivers/atm/suni.c 2010-04-04 20:46:41.565779517 -0400 22622+++ linux-2.6.32.12/drivers/atm/suni.c 2010-04-04 20:46:41.565779517 -0400
22423@@ -49,8 +49,8 @@ static DEFINE_SPINLOCK(sunis_lock); 22623@@ -49,8 +49,8 @@ static DEFINE_SPINLOCK(sunis_lock);
22424 22624
22425 22625
@@ -22431,9 +22631,9 @@ diff -urNp linux-2.6.32.11/drivers/atm/suni.c linux-2.6.32.11/drivers/atm/suni.c
22431 22631
22432 22632
22433 static void suni_hz(unsigned long from_timer) 22633 static void suni_hz(unsigned long from_timer)
22434diff -urNp linux-2.6.32.11/drivers/atm/uPD98402.c linux-2.6.32.11/drivers/atm/uPD98402.c 22634diff -urNp linux-2.6.32.12/drivers/atm/uPD98402.c linux-2.6.32.12/drivers/atm/uPD98402.c
22435--- linux-2.6.32.11/drivers/atm/uPD98402.c 2010-03-15 11:52:04.000000000 -0400 22635--- linux-2.6.32.12/drivers/atm/uPD98402.c 2010-03-15 11:52:04.000000000 -0400
22436+++ linux-2.6.32.11/drivers/atm/uPD98402.c 2010-04-04 20:46:41.565779517 -0400 22636+++ linux-2.6.32.12/drivers/atm/uPD98402.c 2010-04-04 20:46:41.565779517 -0400
22437@@ -41,7 +41,7 @@ static int fetch_stats(struct atm_dev *d 22637@@ -41,7 +41,7 @@ static int fetch_stats(struct atm_dev *d
22438 struct sonet_stats tmp; 22638 struct sonet_stats tmp;
22439 int error = 0; 22639 int error = 0;
@@ -22478,9 +22678,9 @@ diff -urNp linux-2.6.32.11/drivers/atm/uPD98402.c linux-2.6.32.11/drivers/atm/uP
22478 return 0; 22678 return 0;
22479 } 22679 }
22480 22680
22481diff -urNp linux-2.6.32.11/drivers/atm/zatm.c linux-2.6.32.11/drivers/atm/zatm.c 22681diff -urNp linux-2.6.32.12/drivers/atm/zatm.c linux-2.6.32.12/drivers/atm/zatm.c
22482--- linux-2.6.32.11/drivers/atm/zatm.c 2010-03-15 11:52:04.000000000 -0400 22682--- linux-2.6.32.12/drivers/atm/zatm.c 2010-03-15 11:52:04.000000000 -0400
22483+++ linux-2.6.32.11/drivers/atm/zatm.c 2010-04-04 20:46:41.569782507 -0400 22683+++ linux-2.6.32.12/drivers/atm/zatm.c 2010-04-04 20:46:41.569782507 -0400
22484@@ -458,7 +458,7 @@ printk("dummy: 0x%08lx, 0x%08lx\n",dummy 22684@@ -458,7 +458,7 @@ printk("dummy: 0x%08lx, 0x%08lx\n",dummy
22485 } 22685 }
22486 if (!size) { 22686 if (!size) {
@@ -22508,9 +22708,9 @@ diff -urNp linux-2.6.32.11/drivers/atm/zatm.c linux-2.6.32.11/drivers/atm/zatm.c
22508 wake_up(&zatm_vcc->tx_wait); 22708 wake_up(&zatm_vcc->tx_wait);
22509 } 22709 }
22510 22710
22511diff -urNp linux-2.6.32.11/drivers/base/bus.c linux-2.6.32.11/drivers/base/bus.c 22711diff -urNp linux-2.6.32.12/drivers/base/bus.c linux-2.6.32.12/drivers/base/bus.c
22512--- linux-2.6.32.11/drivers/base/bus.c 2010-03-15 11:52:04.000000000 -0400 22712--- linux-2.6.32.12/drivers/base/bus.c 2010-03-15 11:52:04.000000000 -0400
22513+++ linux-2.6.32.11/drivers/base/bus.c 2010-04-04 20:46:41.569782507 -0400 22713+++ linux-2.6.32.12/drivers/base/bus.c 2010-04-04 20:46:41.569782507 -0400
22514@@ -70,7 +70,7 @@ static ssize_t drv_attr_store(struct kob 22714@@ -70,7 +70,7 @@ static ssize_t drv_attr_store(struct kob
22515 return ret; 22715 return ret;
22516 } 22716 }
@@ -22538,9 +22738,9 @@ diff -urNp linux-2.6.32.11/drivers/base/bus.c linux-2.6.32.11/drivers/base/bus.c
22538 .filter = bus_uevent_filter, 22738 .filter = bus_uevent_filter,
22539 }; 22739 };
22540 22740
22541diff -urNp linux-2.6.32.11/drivers/base/class.c linux-2.6.32.11/drivers/base/class.c 22741diff -urNp linux-2.6.32.12/drivers/base/class.c linux-2.6.32.12/drivers/base/class.c
22542--- linux-2.6.32.11/drivers/base/class.c 2010-03-15 11:52:04.000000000 -0400 22742--- linux-2.6.32.12/drivers/base/class.c 2010-03-15 11:52:04.000000000 -0400
22543+++ linux-2.6.32.11/drivers/base/class.c 2010-04-04 20:46:41.569782507 -0400 22743+++ linux-2.6.32.12/drivers/base/class.c 2010-04-04 20:46:41.569782507 -0400
22544@@ -63,7 +63,7 @@ static void class_release(struct kobject 22744@@ -63,7 +63,7 @@ static void class_release(struct kobject
22545 kfree(cp); 22745 kfree(cp);
22546 } 22746 }
@@ -22550,9 +22750,9 @@ diff -urNp linux-2.6.32.11/drivers/base/class.c linux-2.6.32.11/drivers/base/cla
22550 .show = class_attr_show, 22750 .show = class_attr_show,
22551 .store = class_attr_store, 22751 .store = class_attr_store,
22552 }; 22752 };
22553diff -urNp linux-2.6.32.11/drivers/base/core.c linux-2.6.32.11/drivers/base/core.c 22753diff -urNp linux-2.6.32.12/drivers/base/core.c linux-2.6.32.12/drivers/base/core.c
22554--- linux-2.6.32.11/drivers/base/core.c 2010-03-15 11:52:04.000000000 -0400 22754--- linux-2.6.32.12/drivers/base/core.c 2010-03-15 11:52:04.000000000 -0400
22555+++ linux-2.6.32.11/drivers/base/core.c 2010-04-04 20:46:41.569782507 -0400 22755+++ linux-2.6.32.12/drivers/base/core.c 2010-04-04 20:46:41.569782507 -0400
22556@@ -100,7 +100,7 @@ static ssize_t dev_attr_store(struct kob 22756@@ -100,7 +100,7 @@ static ssize_t dev_attr_store(struct kob
22557 return ret; 22757 return ret;
22558 } 22758 }
@@ -22571,9 +22771,9 @@ diff -urNp linux-2.6.32.11/drivers/base/core.c linux-2.6.32.11/drivers/base/core
22571 .filter = dev_uevent_filter, 22771 .filter = dev_uevent_filter,
22572 .name = dev_uevent_name, 22772 .name = dev_uevent_name,
22573 .uevent = dev_uevent, 22773 .uevent = dev_uevent,
22574diff -urNp linux-2.6.32.11/drivers/base/memory.c linux-2.6.32.11/drivers/base/memory.c 22774diff -urNp linux-2.6.32.12/drivers/base/memory.c linux-2.6.32.12/drivers/base/memory.c
22575--- linux-2.6.32.11/drivers/base/memory.c 2010-03-15 11:52:04.000000000 -0400 22775--- linux-2.6.32.12/drivers/base/memory.c 2010-03-15 11:52:04.000000000 -0400
22576+++ linux-2.6.32.11/drivers/base/memory.c 2010-04-04 20:46:41.569782507 -0400 22776+++ linux-2.6.32.12/drivers/base/memory.c 2010-04-04 20:46:41.569782507 -0400
22577@@ -44,7 +44,7 @@ static int memory_uevent(struct kset *ks 22777@@ -44,7 +44,7 @@ static int memory_uevent(struct kset *ks
22578 return retval; 22778 return retval;
22579 } 22779 }
@@ -22583,9 +22783,9 @@ diff -urNp linux-2.6.32.11/drivers/base/memory.c linux-2.6.32.11/drivers/base/me
22583 .name = memory_uevent_name, 22783 .name = memory_uevent_name,
22584 .uevent = memory_uevent, 22784 .uevent = memory_uevent,
22585 }; 22785 };
22586diff -urNp linux-2.6.32.11/drivers/base/sys.c linux-2.6.32.11/drivers/base/sys.c 22786diff -urNp linux-2.6.32.12/drivers/base/sys.c linux-2.6.32.12/drivers/base/sys.c
22587--- linux-2.6.32.11/drivers/base/sys.c 2010-03-15 11:52:04.000000000 -0400 22787--- linux-2.6.32.12/drivers/base/sys.c 2010-03-15 11:52:04.000000000 -0400
22588+++ linux-2.6.32.11/drivers/base/sys.c 2010-04-04 20:46:41.569782507 -0400 22788+++ linux-2.6.32.12/drivers/base/sys.c 2010-04-04 20:46:41.569782507 -0400
22589@@ -54,7 +54,7 @@ sysdev_store(struct kobject *kobj, struc 22789@@ -54,7 +54,7 @@ sysdev_store(struct kobject *kobj, struc
22590 return -EIO; 22790 return -EIO;
22591 } 22791 }
@@ -22604,9 +22804,9 @@ diff -urNp linux-2.6.32.11/drivers/base/sys.c linux-2.6.32.11/drivers/base/sys.c
22604 .show = sysdev_class_show, 22804 .show = sysdev_class_show,
22605 .store = sysdev_class_store, 22805 .store = sysdev_class_store,
22606 }; 22806 };
22607diff -urNp linux-2.6.32.11/drivers/block/pktcdvd.c linux-2.6.32.11/drivers/block/pktcdvd.c 22807diff -urNp linux-2.6.32.12/drivers/block/pktcdvd.c linux-2.6.32.12/drivers/block/pktcdvd.c
22608--- linux-2.6.32.11/drivers/block/pktcdvd.c 2010-03-15 11:52:04.000000000 -0400 22808--- linux-2.6.32.12/drivers/block/pktcdvd.c 2010-03-15 11:52:04.000000000 -0400
22609+++ linux-2.6.32.11/drivers/block/pktcdvd.c 2010-04-04 20:46:41.569782507 -0400 22809+++ linux-2.6.32.12/drivers/block/pktcdvd.c 2010-04-04 20:46:41.569782507 -0400
22610@@ -284,7 +284,7 @@ static ssize_t kobj_pkt_store(struct kob 22810@@ -284,7 +284,7 @@ static ssize_t kobj_pkt_store(struct kob
22611 return len; 22811 return len;
22612 } 22812 }
@@ -22616,9 +22816,9 @@ diff -urNp linux-2.6.32.11/drivers/block/pktcdvd.c linux-2.6.32.11/drivers/block
22616 .show = kobj_pkt_show, 22816 .show = kobj_pkt_show,
22617 .store = kobj_pkt_store 22817 .store = kobj_pkt_store
22618 }; 22818 };
22619diff -urNp linux-2.6.32.11/drivers/char/agp/frontend.c linux-2.6.32.11/drivers/char/agp/frontend.c 22819diff -urNp linux-2.6.32.12/drivers/char/agp/frontend.c linux-2.6.32.12/drivers/char/agp/frontend.c
22620--- linux-2.6.32.11/drivers/char/agp/frontend.c 2010-03-15 11:52:04.000000000 -0400 22820--- linux-2.6.32.12/drivers/char/agp/frontend.c 2010-03-15 11:52:04.000000000 -0400
22621+++ linux-2.6.32.11/drivers/char/agp/frontend.c 2010-04-04 20:46:41.569782507 -0400 22821+++ linux-2.6.32.12/drivers/char/agp/frontend.c 2010-04-04 20:46:41.569782507 -0400
22622@@ -824,7 +824,7 @@ static int agpioc_reserve_wrap(struct ag 22822@@ -824,7 +824,7 @@ static int agpioc_reserve_wrap(struct ag
22623 if (copy_from_user(&reserve, arg, sizeof(struct agp_region))) 22823 if (copy_from_user(&reserve, arg, sizeof(struct agp_region)))
22624 return -EFAULT; 22824 return -EFAULT;
@@ -22628,10 +22828,10 @@ diff -urNp linux-2.6.32.11/drivers/char/agp/frontend.c linux-2.6.32.11/drivers/c
22628 return -EFAULT; 22828 return -EFAULT;
22629 22829
22630 client = agp_find_client_by_pid(reserve.pid); 22830 client = agp_find_client_by_pid(reserve.pid);
22631diff -urNp linux-2.6.32.11/drivers/char/agp/intel-agp.c linux-2.6.32.11/drivers/char/agp/intel-agp.c 22831diff -urNp linux-2.6.32.12/drivers/char/agp/intel-agp.c linux-2.6.32.12/drivers/char/agp/intel-agp.c
22632--- linux-2.6.32.11/drivers/char/agp/intel-agp.c 2010-03-15 11:52:04.000000000 -0400 22832--- linux-2.6.32.12/drivers/char/agp/intel-agp.c 2010-04-29 17:49:37.777981896 -0400
22633+++ linux-2.6.32.11/drivers/char/agp/intel-agp.c 2010-04-04 20:46:41.569782507 -0400 22833+++ linux-2.6.32.12/drivers/char/agp/intel-agp.c 2010-04-29 17:49:58.121109354 -0400
22634@@ -2571,7 +2571,7 @@ static struct pci_device_id agp_intel_pc 22834@@ -2564,7 +2564,7 @@ static struct pci_device_id agp_intel_pc
22635 ID(PCI_DEVICE_ID_INTEL_IGDNG_M_HB), 22835 ID(PCI_DEVICE_ID_INTEL_IGDNG_M_HB),
22636 ID(PCI_DEVICE_ID_INTEL_IGDNG_MA_HB), 22836 ID(PCI_DEVICE_ID_INTEL_IGDNG_MA_HB),
22637 ID(PCI_DEVICE_ID_INTEL_IGDNG_MC2_HB), 22837 ID(PCI_DEVICE_ID_INTEL_IGDNG_MC2_HB),
@@ -22640,9 +22840,27 @@ diff -urNp linux-2.6.32.11/drivers/char/agp/intel-agp.c linux-2.6.32.11/drivers/
22640 }; 22840 };
22641 22841
22642 MODULE_DEVICE_TABLE(pci, agp_intel_pci_table); 22842 MODULE_DEVICE_TABLE(pci, agp_intel_pci_table);
22643diff -urNp linux-2.6.32.11/drivers/char/hpet.c linux-2.6.32.11/drivers/char/hpet.c 22843diff -urNp linux-2.6.32.12/drivers/char/hpet.c linux-2.6.32.12/drivers/char/hpet.c
22644--- linux-2.6.32.11/drivers/char/hpet.c 2010-03-15 11:52:04.000000000 -0400 22844--- linux-2.6.32.12/drivers/char/hpet.c 2010-03-15 11:52:04.000000000 -0400
22645+++ linux-2.6.32.11/drivers/char/hpet.c 2010-04-04 20:46:41.569782507 -0400 22845+++ linux-2.6.32.12/drivers/char/hpet.c 2010-04-29 17:46:36.909235393 -0400
22846@@ -430,7 +430,7 @@ static int hpet_release(struct inode *in
22847 return 0;
22848 }
22849
22850-static int hpet_ioctl_common(struct hpet_dev *, int, unsigned long, int);
22851+static int hpet_ioctl_common(struct hpet_dev *, unsigned int, unsigned long, int);
22852
22853 static int
22854 hpet_ioctl(struct inode *inode, struct file *file, unsigned int cmd,
22855@@ -550,7 +550,7 @@ static inline unsigned long hpet_time_di
22856 }
22857
22858 static int
22859-hpet_ioctl_common(struct hpet_dev *devp, int cmd, unsigned long arg, int kernel)
22860+hpet_ioctl_common(struct hpet_dev *devp, unsigned int cmd, unsigned long arg, int kernel)
22861 {
22862 struct hpet_timer __iomem *timer;
22863 struct hpet __iomem *hpet;
22646@@ -998,7 +998,7 @@ static struct acpi_driver hpet_acpi_driv 22864@@ -998,7 +998,7 @@ static struct acpi_driver hpet_acpi_driv
22647 }, 22865 },
22648 }; 22866 };
@@ -22652,9 +22870,9 @@ diff -urNp linux-2.6.32.11/drivers/char/hpet.c linux-2.6.32.11/drivers/char/hpet
22652 22870
22653 static int __init hpet_init(void) 22871 static int __init hpet_init(void)
22654 { 22872 {
22655diff -urNp linux-2.6.32.11/drivers/char/hvc_beat.c linux-2.6.32.11/drivers/char/hvc_beat.c 22873diff -urNp linux-2.6.32.12/drivers/char/hvc_beat.c linux-2.6.32.12/drivers/char/hvc_beat.c
22656--- linux-2.6.32.11/drivers/char/hvc_beat.c 2010-03-15 11:52:04.000000000 -0400 22874--- linux-2.6.32.12/drivers/char/hvc_beat.c 2010-03-15 11:52:04.000000000 -0400
22657+++ linux-2.6.32.11/drivers/char/hvc_beat.c 2010-04-04 20:46:41.569782507 -0400 22875+++ linux-2.6.32.12/drivers/char/hvc_beat.c 2010-04-04 20:46:41.569782507 -0400
22658@@ -84,7 +84,7 @@ static int hvc_beat_put_chars(uint32_t v 22876@@ -84,7 +84,7 @@ static int hvc_beat_put_chars(uint32_t v
22659 return cnt; 22877 return cnt;
22660 } 22878 }
@@ -22664,9 +22882,9 @@ diff -urNp linux-2.6.32.11/drivers/char/hvc_beat.c linux-2.6.32.11/drivers/char/
22664 .get_chars = hvc_beat_get_chars, 22882 .get_chars = hvc_beat_get_chars,
22665 .put_chars = hvc_beat_put_chars, 22883 .put_chars = hvc_beat_put_chars,
22666 }; 22884 };
22667diff -urNp linux-2.6.32.11/drivers/char/hvc_console.c linux-2.6.32.11/drivers/char/hvc_console.c 22885diff -urNp linux-2.6.32.12/drivers/char/hvc_console.c linux-2.6.32.12/drivers/char/hvc_console.c
22668--- linux-2.6.32.11/drivers/char/hvc_console.c 2010-03-15 11:52:04.000000000 -0400 22886--- linux-2.6.32.12/drivers/char/hvc_console.c 2010-03-15 11:52:04.000000000 -0400
22669+++ linux-2.6.32.11/drivers/char/hvc_console.c 2010-04-04 20:46:41.569782507 -0400 22887+++ linux-2.6.32.12/drivers/char/hvc_console.c 2010-04-04 20:46:41.569782507 -0400
22670@@ -125,7 +125,7 @@ static struct hvc_struct *hvc_get_by_ind 22888@@ -125,7 +125,7 @@ static struct hvc_struct *hvc_get_by_ind
22671 * console interfaces but can still be used as a tty device. This has to be 22889 * console interfaces but can still be used as a tty device. This has to be
22672 * static because kmalloc will not work during early console init. 22890 * static because kmalloc will not work during early console init.
@@ -22694,9 +22912,9 @@ diff -urNp linux-2.6.32.11/drivers/char/hvc_console.c linux-2.6.32.11/drivers/ch
22694 { 22912 {
22695 struct hvc_struct *hp; 22913 struct hvc_struct *hp;
22696 int i; 22914 int i;
22697diff -urNp linux-2.6.32.11/drivers/char/hvc_console.h linux-2.6.32.11/drivers/char/hvc_console.h 22915diff -urNp linux-2.6.32.12/drivers/char/hvc_console.h linux-2.6.32.12/drivers/char/hvc_console.h
22698--- linux-2.6.32.11/drivers/char/hvc_console.h 2010-03-15 11:52:04.000000000 -0400 22916--- linux-2.6.32.12/drivers/char/hvc_console.h 2010-03-15 11:52:04.000000000 -0400
22699+++ linux-2.6.32.11/drivers/char/hvc_console.h 2010-04-04 20:46:41.569782507 -0400 22917+++ linux-2.6.32.12/drivers/char/hvc_console.h 2010-04-04 20:46:41.569782507 -0400
22700@@ -55,7 +55,7 @@ struct hvc_struct { 22918@@ -55,7 +55,7 @@ struct hvc_struct {
22701 int outbuf_size; 22919 int outbuf_size;
22702 int n_outbuf; 22920 int n_outbuf;
@@ -22720,9 +22938,9 @@ diff -urNp linux-2.6.32.11/drivers/char/hvc_console.h linux-2.6.32.11/drivers/ch
22720 /* remove a vterm from hvc tty operation (module_exit or hotplug remove) */ 22938 /* remove a vterm from hvc tty operation (module_exit or hotplug remove) */
22721 extern int hvc_remove(struct hvc_struct *hp); 22939 extern int hvc_remove(struct hvc_struct *hp);
22722 22940
22723diff -urNp linux-2.6.32.11/drivers/char/hvc_iseries.c linux-2.6.32.11/drivers/char/hvc_iseries.c 22941diff -urNp linux-2.6.32.12/drivers/char/hvc_iseries.c linux-2.6.32.12/drivers/char/hvc_iseries.c
22724--- linux-2.6.32.11/drivers/char/hvc_iseries.c 2010-03-15 11:52:04.000000000 -0400 22942--- linux-2.6.32.12/drivers/char/hvc_iseries.c 2010-03-15 11:52:04.000000000 -0400
22725+++ linux-2.6.32.11/drivers/char/hvc_iseries.c 2010-04-04 20:46:41.569782507 -0400 22943+++ linux-2.6.32.12/drivers/char/hvc_iseries.c 2010-04-04 20:46:41.569782507 -0400
22726@@ -197,7 +197,7 @@ done: 22944@@ -197,7 +197,7 @@ done:
22727 return sent; 22945 return sent;
22728 } 22946 }
@@ -22732,9 +22950,9 @@ diff -urNp linux-2.6.32.11/drivers/char/hvc_iseries.c linux-2.6.32.11/drivers/ch
22732 .get_chars = get_chars, 22950 .get_chars = get_chars,
22733 .put_chars = put_chars, 22951 .put_chars = put_chars,
22734 .notifier_add = notifier_add_irq, 22952 .notifier_add = notifier_add_irq,
22735diff -urNp linux-2.6.32.11/drivers/char/hvc_iucv.c linux-2.6.32.11/drivers/char/hvc_iucv.c 22953diff -urNp linux-2.6.32.12/drivers/char/hvc_iucv.c linux-2.6.32.12/drivers/char/hvc_iucv.c
22736--- linux-2.6.32.11/drivers/char/hvc_iucv.c 2010-03-15 11:52:04.000000000 -0400 22954--- linux-2.6.32.12/drivers/char/hvc_iucv.c 2010-03-15 11:52:04.000000000 -0400
22737+++ linux-2.6.32.11/drivers/char/hvc_iucv.c 2010-04-04 20:46:41.569782507 -0400 22955+++ linux-2.6.32.12/drivers/char/hvc_iucv.c 2010-04-04 20:46:41.569782507 -0400
22738@@ -922,7 +922,7 @@ static int hvc_iucv_pm_restore_thaw(stru 22956@@ -922,7 +922,7 @@ static int hvc_iucv_pm_restore_thaw(stru
22739 22957
22740 22958
@@ -22744,9 +22962,9 @@ diff -urNp linux-2.6.32.11/drivers/char/hvc_iucv.c linux-2.6.32.11/drivers/char/
22744 .get_chars = hvc_iucv_get_chars, 22962 .get_chars = hvc_iucv_get_chars,
22745 .put_chars = hvc_iucv_put_chars, 22963 .put_chars = hvc_iucv_put_chars,
22746 .notifier_add = hvc_iucv_notifier_add, 22964 .notifier_add = hvc_iucv_notifier_add,
22747diff -urNp linux-2.6.32.11/drivers/char/hvc_rtas.c linux-2.6.32.11/drivers/char/hvc_rtas.c 22965diff -urNp linux-2.6.32.12/drivers/char/hvc_rtas.c linux-2.6.32.12/drivers/char/hvc_rtas.c
22748--- linux-2.6.32.11/drivers/char/hvc_rtas.c 2010-03-15 11:52:04.000000000 -0400 22966--- linux-2.6.32.12/drivers/char/hvc_rtas.c 2010-03-15 11:52:04.000000000 -0400
22749+++ linux-2.6.32.11/drivers/char/hvc_rtas.c 2010-04-04 20:46:41.569782507 -0400 22967+++ linux-2.6.32.12/drivers/char/hvc_rtas.c 2010-04-04 20:46:41.569782507 -0400
22750@@ -71,7 +71,7 @@ static int hvc_rtas_read_console(uint32_ 22968@@ -71,7 +71,7 @@ static int hvc_rtas_read_console(uint32_
22751 return i; 22969 return i;
22752 } 22970 }
@@ -22756,9 +22974,9 @@ diff -urNp linux-2.6.32.11/drivers/char/hvc_rtas.c linux-2.6.32.11/drivers/char/
22756 .get_chars = hvc_rtas_read_console, 22974 .get_chars = hvc_rtas_read_console,
22757 .put_chars = hvc_rtas_write_console, 22975 .put_chars = hvc_rtas_write_console,
22758 }; 22976 };
22759diff -urNp linux-2.6.32.11/drivers/char/hvcs.c linux-2.6.32.11/drivers/char/hvcs.c 22977diff -urNp linux-2.6.32.12/drivers/char/hvcs.c linux-2.6.32.12/drivers/char/hvcs.c
22760--- linux-2.6.32.11/drivers/char/hvcs.c 2010-03-15 11:52:04.000000000 -0400 22978--- linux-2.6.32.12/drivers/char/hvcs.c 2010-03-15 11:52:04.000000000 -0400
22761+++ linux-2.6.32.11/drivers/char/hvcs.c 2010-04-04 20:46:41.573523483 -0400 22979+++ linux-2.6.32.12/drivers/char/hvcs.c 2010-04-04 20:46:41.573523483 -0400
22762@@ -269,7 +269,7 @@ struct hvcs_struct { 22980@@ -269,7 +269,7 @@ struct hvcs_struct {
22763 unsigned int index; 22981 unsigned int index;
22764 22982
@@ -22853,9 +23071,9 @@ diff -urNp linux-2.6.32.11/drivers/char/hvcs.c linux-2.6.32.11/drivers/char/hvcs
22853 return 0; 23071 return 0;
22854 23072
22855 return HVCS_BUFF_LEN - hvcsd->chars_in_buffer; 23073 return HVCS_BUFF_LEN - hvcsd->chars_in_buffer;
22856diff -urNp linux-2.6.32.11/drivers/char/hvc_udbg.c linux-2.6.32.11/drivers/char/hvc_udbg.c 23074diff -urNp linux-2.6.32.12/drivers/char/hvc_udbg.c linux-2.6.32.12/drivers/char/hvc_udbg.c
22857--- linux-2.6.32.11/drivers/char/hvc_udbg.c 2010-03-15 11:52:04.000000000 -0400 23075--- linux-2.6.32.12/drivers/char/hvc_udbg.c 2010-03-15 11:52:04.000000000 -0400
22858+++ linux-2.6.32.11/drivers/char/hvc_udbg.c 2010-04-04 20:46:41.573523483 -0400 23076+++ linux-2.6.32.12/drivers/char/hvc_udbg.c 2010-04-04 20:46:41.573523483 -0400
22859@@ -58,7 +58,7 @@ static int hvc_udbg_get(uint32_t vtermno 23077@@ -58,7 +58,7 @@ static int hvc_udbg_get(uint32_t vtermno
22860 return i; 23078 return i;
22861 } 23079 }
@@ -22865,9 +23083,9 @@ diff -urNp linux-2.6.32.11/drivers/char/hvc_udbg.c linux-2.6.32.11/drivers/char/
22865 .get_chars = hvc_udbg_get, 23083 .get_chars = hvc_udbg_get,
22866 .put_chars = hvc_udbg_put, 23084 .put_chars = hvc_udbg_put,
22867 }; 23085 };
22868diff -urNp linux-2.6.32.11/drivers/char/hvc_vio.c linux-2.6.32.11/drivers/char/hvc_vio.c 23086diff -urNp linux-2.6.32.12/drivers/char/hvc_vio.c linux-2.6.32.12/drivers/char/hvc_vio.c
22869--- linux-2.6.32.11/drivers/char/hvc_vio.c 2010-03-15 11:52:04.000000000 -0400 23087--- linux-2.6.32.12/drivers/char/hvc_vio.c 2010-03-15 11:52:04.000000000 -0400
22870+++ linux-2.6.32.11/drivers/char/hvc_vio.c 2010-04-04 20:46:41.573523483 -0400 23088+++ linux-2.6.32.12/drivers/char/hvc_vio.c 2010-04-04 20:46:41.573523483 -0400
22871@@ -77,7 +77,7 @@ static int filtered_get_chars(uint32_t v 23089@@ -77,7 +77,7 @@ static int filtered_get_chars(uint32_t v
22872 return got; 23090 return got;
22873 } 23091 }
@@ -22877,9 +23095,9 @@ diff -urNp linux-2.6.32.11/drivers/char/hvc_vio.c linux-2.6.32.11/drivers/char/h
22877 .get_chars = filtered_get_chars, 23095 .get_chars = filtered_get_chars,
22878 .put_chars = hvc_put_chars, 23096 .put_chars = hvc_put_chars,
22879 .notifier_add = notifier_add_irq, 23097 .notifier_add = notifier_add_irq,
22880diff -urNp linux-2.6.32.11/drivers/char/hvc_xen.c linux-2.6.32.11/drivers/char/hvc_xen.c 23098diff -urNp linux-2.6.32.12/drivers/char/hvc_xen.c linux-2.6.32.12/drivers/char/hvc_xen.c
22881--- linux-2.6.32.11/drivers/char/hvc_xen.c 2010-03-15 11:52:04.000000000 -0400 23099--- linux-2.6.32.12/drivers/char/hvc_xen.c 2010-03-15 11:52:04.000000000 -0400
22882+++ linux-2.6.32.11/drivers/char/hvc_xen.c 2010-04-04 20:46:41.573523483 -0400 23100+++ linux-2.6.32.12/drivers/char/hvc_xen.c 2010-04-04 20:46:41.573523483 -0400
22883@@ -120,7 +120,7 @@ static int read_console(uint32_t vtermno 23101@@ -120,7 +120,7 @@ static int read_console(uint32_t vtermno
22884 return recv; 23102 return recv;
22885 } 23103 }
@@ -22889,9 +23107,9 @@ diff -urNp linux-2.6.32.11/drivers/char/hvc_xen.c linux-2.6.32.11/drivers/char/h
22889 .get_chars = read_console, 23107 .get_chars = read_console,
22890 .put_chars = write_console, 23108 .put_chars = write_console,
22891 .notifier_add = notifier_add_irq, 23109 .notifier_add = notifier_add_irq,
22892diff -urNp linux-2.6.32.11/drivers/char/ipmi/ipmi_msghandler.c linux-2.6.32.11/drivers/char/ipmi/ipmi_msghandler.c 23110diff -urNp linux-2.6.32.12/drivers/char/ipmi/ipmi_msghandler.c linux-2.6.32.12/drivers/char/ipmi/ipmi_msghandler.c
22893--- linux-2.6.32.11/drivers/char/ipmi/ipmi_msghandler.c 2010-03-15 11:52:04.000000000 -0400 23111--- linux-2.6.32.12/drivers/char/ipmi/ipmi_msghandler.c 2010-03-15 11:52:04.000000000 -0400
22894+++ linux-2.6.32.11/drivers/char/ipmi/ipmi_msghandler.c 2010-04-04 20:46:41.573523483 -0400 23112+++ linux-2.6.32.12/drivers/char/ipmi/ipmi_msghandler.c 2010-04-04 20:46:41.573523483 -0400
22895@@ -414,7 +414,7 @@ struct ipmi_smi { 23113@@ -414,7 +414,7 @@ struct ipmi_smi {
22896 struct proc_dir_entry *proc_dir; 23114 struct proc_dir_entry *proc_dir;
22897 char proc_dir_name[10]; 23115 char proc_dir_name[10];
@@ -22922,9 +23140,9 @@ diff -urNp linux-2.6.32.11/drivers/char/ipmi/ipmi_msghandler.c linux-2.6.32.11/d
22922 23140
22923 intf->proc_dir = NULL; 23141 intf->proc_dir = NULL;
22924 23142
22925diff -urNp linux-2.6.32.11/drivers/char/ipmi/ipmi_si_intf.c linux-2.6.32.11/drivers/char/ipmi/ipmi_si_intf.c 23143diff -urNp linux-2.6.32.12/drivers/char/ipmi/ipmi_si_intf.c linux-2.6.32.12/drivers/char/ipmi/ipmi_si_intf.c
22926--- linux-2.6.32.11/drivers/char/ipmi/ipmi_si_intf.c 2010-03-15 11:52:04.000000000 -0400 23144--- linux-2.6.32.12/drivers/char/ipmi/ipmi_si_intf.c 2010-03-15 11:52:04.000000000 -0400
22927+++ linux-2.6.32.11/drivers/char/ipmi/ipmi_si_intf.c 2010-04-04 20:46:41.573523483 -0400 23145+++ linux-2.6.32.12/drivers/char/ipmi/ipmi_si_intf.c 2010-04-04 20:46:41.573523483 -0400
22928@@ -277,7 +277,7 @@ struct smi_info { 23146@@ -277,7 +277,7 @@ struct smi_info {
22929 unsigned char slave_addr; 23147 unsigned char slave_addr;
22930 23148
@@ -22955,9 +23173,9 @@ diff -urNp linux-2.6.32.11/drivers/char/ipmi/ipmi_si_intf.c linux-2.6.32.11/driv
22955 23173
22956 new_smi->interrupt_disabled = 0; 23174 new_smi->interrupt_disabled = 0;
22957 atomic_set(&new_smi->stop_operation, 0); 23175 atomic_set(&new_smi->stop_operation, 0);
22958diff -urNp linux-2.6.32.11/drivers/char/keyboard.c linux-2.6.32.11/drivers/char/keyboard.c 23176diff -urNp linux-2.6.32.12/drivers/char/keyboard.c linux-2.6.32.12/drivers/char/keyboard.c
22959--- linux-2.6.32.11/drivers/char/keyboard.c 2010-03-15 11:52:04.000000000 -0400 23177--- linux-2.6.32.12/drivers/char/keyboard.c 2010-03-15 11:52:04.000000000 -0400
22960+++ linux-2.6.32.11/drivers/char/keyboard.c 2010-04-04 20:46:41.573523483 -0400 23178+++ linux-2.6.32.12/drivers/char/keyboard.c 2010-04-04 20:46:41.573523483 -0400
22961@@ -635,6 +635,16 @@ static void k_spec(struct vc_data *vc, u 23179@@ -635,6 +635,16 @@ static void k_spec(struct vc_data *vc, u
22962 kbd->kbdmode == VC_MEDIUMRAW) && 23180 kbd->kbdmode == VC_MEDIUMRAW) &&
22963 value != KVAL(K_SAK)) 23181 value != KVAL(K_SAK))
@@ -22984,9 +23202,9 @@ diff -urNp linux-2.6.32.11/drivers/char/keyboard.c linux-2.6.32.11/drivers/char/
22984 }; 23202 };
22985 23203
22986 MODULE_DEVICE_TABLE(input, kbd_ids); 23204 MODULE_DEVICE_TABLE(input, kbd_ids);
22987diff -urNp linux-2.6.32.11/drivers/char/mem.c linux-2.6.32.11/drivers/char/mem.c 23205diff -urNp linux-2.6.32.12/drivers/char/mem.c linux-2.6.32.12/drivers/char/mem.c
22988--- linux-2.6.32.11/drivers/char/mem.c 2010-03-15 11:52:04.000000000 -0400 23206--- linux-2.6.32.12/drivers/char/mem.c 2010-03-15 11:52:04.000000000 -0400
22989+++ linux-2.6.32.11/drivers/char/mem.c 2010-04-04 20:46:41.573523483 -0400 23207+++ linux-2.6.32.12/drivers/char/mem.c 2010-04-04 20:46:41.573523483 -0400
22990@@ -18,6 +18,7 @@ 23208@@ -18,6 +18,7 @@
22991 #include <linux/raw.h> 23209 #include <linux/raw.h>
22992 #include <linux/tty.h> 23210 #include <linux/tty.h>
@@ -23077,9 +23295,9 @@ diff -urNp linux-2.6.32.11/drivers/char/mem.c linux-2.6.32.11/drivers/char/mem.c
23077 }; 23295 };
23078 23296
23079 static int memory_open(struct inode *inode, struct file *filp) 23297 static int memory_open(struct inode *inode, struct file *filp)
23080diff -urNp linux-2.6.32.11/drivers/char/nvram.c linux-2.6.32.11/drivers/char/nvram.c 23298diff -urNp linux-2.6.32.12/drivers/char/nvram.c linux-2.6.32.12/drivers/char/nvram.c
23081--- linux-2.6.32.11/drivers/char/nvram.c 2010-03-15 11:52:04.000000000 -0400 23299--- linux-2.6.32.12/drivers/char/nvram.c 2010-03-15 11:52:04.000000000 -0400
23082+++ linux-2.6.32.11/drivers/char/nvram.c 2010-04-04 20:46:41.573523483 -0400 23300+++ linux-2.6.32.12/drivers/char/nvram.c 2010-04-04 20:46:41.573523483 -0400
23083@@ -429,7 +429,10 @@ static const struct file_operations nvra 23301@@ -429,7 +429,10 @@ static const struct file_operations nvra
23084 static struct miscdevice nvram_dev = { 23302 static struct miscdevice nvram_dev = {
23085 NVRAM_MINOR, 23303 NVRAM_MINOR,
@@ -23092,9 +23310,9 @@ diff -urNp linux-2.6.32.11/drivers/char/nvram.c linux-2.6.32.11/drivers/char/nvr
23092 }; 23310 };
23093 23311
23094 static int __init nvram_init(void) 23312 static int __init nvram_init(void)
23095diff -urNp linux-2.6.32.11/drivers/char/pcmcia/ipwireless/tty.c linux-2.6.32.11/drivers/char/pcmcia/ipwireless/tty.c 23313diff -urNp linux-2.6.32.12/drivers/char/pcmcia/ipwireless/tty.c linux-2.6.32.12/drivers/char/pcmcia/ipwireless/tty.c
23096--- linux-2.6.32.11/drivers/char/pcmcia/ipwireless/tty.c 2010-03-15 11:52:04.000000000 -0400 23314--- linux-2.6.32.12/drivers/char/pcmcia/ipwireless/tty.c 2010-03-15 11:52:04.000000000 -0400
23097+++ linux-2.6.32.11/drivers/char/pcmcia/ipwireless/tty.c 2010-04-04 20:46:41.573523483 -0400 23315+++ linux-2.6.32.12/drivers/char/pcmcia/ipwireless/tty.c 2010-04-04 20:46:41.573523483 -0400
23098@@ -51,7 +51,7 @@ struct ipw_tty { 23316@@ -51,7 +51,7 @@ struct ipw_tty {
23099 int tty_type; 23317 int tty_type;
23100 struct ipw_network *network; 23318 struct ipw_network *network;
@@ -23209,9 +23427,9 @@ diff -urNp linux-2.6.32.11/drivers/char/pcmcia/ipwireless/tty.c linux-2.6.32.11/
23209 do_ipw_close(ttyj); 23427 do_ipw_close(ttyj);
23210 ipwireless_disassociate_network_ttys(network, 23428 ipwireless_disassociate_network_ttys(network,
23211 ttyj->channel_idx); 23429 ttyj->channel_idx);
23212diff -urNp linux-2.6.32.11/drivers/char/pty.c linux-2.6.32.11/drivers/char/pty.c 23430diff -urNp linux-2.6.32.12/drivers/char/pty.c linux-2.6.32.12/drivers/char/pty.c
23213--- linux-2.6.32.11/drivers/char/pty.c 2010-03-15 11:52:04.000000000 -0400 23431--- linux-2.6.32.12/drivers/char/pty.c 2010-03-15 11:52:04.000000000 -0400
23214+++ linux-2.6.32.11/drivers/char/pty.c 2010-04-04 20:46:41.573523483 -0400 23432+++ linux-2.6.32.12/drivers/char/pty.c 2010-04-04 20:46:41.573523483 -0400
23215@@ -682,7 +682,18 @@ static int ptmx_open(struct inode *inode 23433@@ -682,7 +682,18 @@ static int ptmx_open(struct inode *inode
23216 return ret; 23434 return ret;
23217 } 23435 }
@@ -23242,9 +23460,9 @@ diff -urNp linux-2.6.32.11/drivers/char/pty.c linux-2.6.32.11/drivers/char/pty.c
23242 cdev_init(&ptmx_cdev, &ptmx_fops); 23460 cdev_init(&ptmx_cdev, &ptmx_fops);
23243 if (cdev_add(&ptmx_cdev, MKDEV(TTYAUX_MAJOR, 2), 1) || 23461 if (cdev_add(&ptmx_cdev, MKDEV(TTYAUX_MAJOR, 2), 1) ||
23244 register_chrdev_region(MKDEV(TTYAUX_MAJOR, 2), 1, "/dev/ptmx") < 0) 23462 register_chrdev_region(MKDEV(TTYAUX_MAJOR, 2), 1, "/dev/ptmx") < 0)
23245diff -urNp linux-2.6.32.11/drivers/char/random.c linux-2.6.32.11/drivers/char/random.c 23463diff -urNp linux-2.6.32.12/drivers/char/random.c linux-2.6.32.12/drivers/char/random.c
23246--- linux-2.6.32.11/drivers/char/random.c 2010-03-15 11:52:04.000000000 -0400 23464--- linux-2.6.32.12/drivers/char/random.c 2010-03-15 11:52:04.000000000 -0400
23247+++ linux-2.6.32.11/drivers/char/random.c 2010-04-04 20:46:41.573523483 -0400 23465+++ linux-2.6.32.12/drivers/char/random.c 2010-04-04 20:46:41.573523483 -0400
23248@@ -254,8 +254,13 @@ 23466@@ -254,8 +254,13 @@
23249 /* 23467 /*
23250 * Configuration information 23468 * Configuration information
@@ -23286,9 +23504,9 @@ diff -urNp linux-2.6.32.11/drivers/char/random.c linux-2.6.32.11/drivers/char/ra
23286 static int max_write_thresh = INPUT_POOL_WORDS * 32; 23504 static int max_write_thresh = INPUT_POOL_WORDS * 32;
23287 static char sysctl_bootid[16]; 23505 static char sysctl_bootid[16];
23288 23506
23289diff -urNp linux-2.6.32.11/drivers/char/sonypi.c linux-2.6.32.11/drivers/char/sonypi.c 23507diff -urNp linux-2.6.32.12/drivers/char/sonypi.c linux-2.6.32.12/drivers/char/sonypi.c
23290--- linux-2.6.32.11/drivers/char/sonypi.c 2010-03-15 11:52:04.000000000 -0400 23508--- linux-2.6.32.12/drivers/char/sonypi.c 2010-03-15 11:52:04.000000000 -0400
23291+++ linux-2.6.32.11/drivers/char/sonypi.c 2010-04-04 20:46:41.573523483 -0400 23509+++ linux-2.6.32.12/drivers/char/sonypi.c 2010-04-04 20:46:41.573523483 -0400
23292@@ -491,7 +491,7 @@ static struct sonypi_device { 23510@@ -491,7 +491,7 @@ static struct sonypi_device {
23293 spinlock_t fifo_lock; 23511 spinlock_t fifo_lock;
23294 wait_queue_head_t fifo_proc_list; 23512 wait_queue_head_t fifo_proc_list;
@@ -23319,9 +23537,9 @@ diff -urNp linux-2.6.32.11/drivers/char/sonypi.c linux-2.6.32.11/drivers/char/so
23319 mutex_unlock(&sonypi_device.lock); 23537 mutex_unlock(&sonypi_device.lock);
23320 unlock_kernel(); 23538 unlock_kernel();
23321 return 0; 23539 return 0;
23322diff -urNp linux-2.6.32.11/drivers/char/tpm/tpm_bios.c linux-2.6.32.11/drivers/char/tpm/tpm_bios.c 23540diff -urNp linux-2.6.32.12/drivers/char/tpm/tpm_bios.c linux-2.6.32.12/drivers/char/tpm/tpm_bios.c
23323--- linux-2.6.32.11/drivers/char/tpm/tpm_bios.c 2010-03-15 11:52:04.000000000 -0400 23541--- linux-2.6.32.12/drivers/char/tpm/tpm_bios.c 2010-03-15 11:52:04.000000000 -0400
23324+++ linux-2.6.32.11/drivers/char/tpm/tpm_bios.c 2010-04-04 20:46:41.573523483 -0400 23542+++ linux-2.6.32.12/drivers/char/tpm/tpm_bios.c 2010-04-04 20:46:41.573523483 -0400
23325@@ -172,7 +172,7 @@ static void *tpm_bios_measurements_start 23543@@ -172,7 +172,7 @@ static void *tpm_bios_measurements_start
23326 event = addr; 23544 event = addr;
23327 23545
@@ -23362,9 +23580,9 @@ diff -urNp linux-2.6.32.11/drivers/char/tpm/tpm_bios.c linux-2.6.32.11/drivers/c
23362 23580
23363 memcpy(log->bios_event_log, virt, len); 23581 memcpy(log->bios_event_log, virt, len);
23364 23582
23365diff -urNp linux-2.6.32.11/drivers/char/tty_io.c linux-2.6.32.11/drivers/char/tty_io.c 23583diff -urNp linux-2.6.32.12/drivers/char/tty_io.c linux-2.6.32.12/drivers/char/tty_io.c
23366--- linux-2.6.32.11/drivers/char/tty_io.c 2010-03-15 11:52:04.000000000 -0400 23584--- linux-2.6.32.12/drivers/char/tty_io.c 2010-04-29 17:49:37.826084348 -0400
23367+++ linux-2.6.32.11/drivers/char/tty_io.c 2010-04-04 20:46:41.577798214 -0400 23585+++ linux-2.6.32.12/drivers/char/tty_io.c 2010-04-29 17:49:58.141506968 -0400
23368@@ -136,21 +136,10 @@ LIST_HEAD(tty_drivers); /* linked list 23586@@ -136,21 +136,10 @@ LIST_HEAD(tty_drivers); /* linked list
23369 DEFINE_MUTEX(tty_mutex); 23587 DEFINE_MUTEX(tty_mutex);
23370 EXPORT_SYMBOL(tty_mutex); 23588 EXPORT_SYMBOL(tty_mutex);
@@ -23423,7 +23641,7 @@ diff -urNp linux-2.6.32.11/drivers/char/tty_io.c linux-2.6.32.11/drivers/char/tt
23423 ssize_t redirected_tty_write(struct file *file, const char __user *buf, 23641 ssize_t redirected_tty_write(struct file *file, const char __user *buf,
23424 size_t count, loff_t *ppos) 23642 size_t count, loff_t *ppos)
23425 { 23643 {
23426@@ -1865,7 +1858,7 @@ static int tty_open(struct inode *inode, 23644@@ -1867,7 +1860,7 @@ static int tty_open(struct inode *inode,
23427 * Takes bkl. See tty_release_dev 23645 * Takes bkl. See tty_release_dev
23428 */ 23646 */
23429 23647
@@ -23432,7 +23650,7 @@ diff -urNp linux-2.6.32.11/drivers/char/tty_io.c linux-2.6.32.11/drivers/char/tt
23432 { 23650 {
23433 lock_kernel(); 23651 lock_kernel();
23434 tty_release_dev(filp); 23652 tty_release_dev(filp);
23435@@ -1873,6 +1866,8 @@ static int tty_release(struct inode *ino 23653@@ -1875,6 +1868,8 @@ static int tty_release(struct inode *ino
23436 return 0; 23654 return 0;
23437 } 23655 }
23438 23656
@@ -23441,7 +23659,7 @@ diff -urNp linux-2.6.32.11/drivers/char/tty_io.c linux-2.6.32.11/drivers/char/tt
23441 /** 23659 /**
23442 * tty_poll - check tty status 23660 * tty_poll - check tty status
23443 * @filp: file being polled 23661 * @filp: file being polled
23444@@ -1885,7 +1880,7 @@ static int tty_release(struct inode *ino 23662@@ -1887,7 +1882,7 @@ static int tty_release(struct inode *ino
23445 * may be re-entered freely by other callers. 23663 * may be re-entered freely by other callers.
23446 */ 23664 */
23447 23665
@@ -23450,7 +23668,7 @@ diff -urNp linux-2.6.32.11/drivers/char/tty_io.c linux-2.6.32.11/drivers/char/tt
23450 { 23668 {
23451 struct tty_struct *tty; 23669 struct tty_struct *tty;
23452 struct tty_ldisc *ld; 23670 struct tty_ldisc *ld;
23453@@ -1902,7 +1897,9 @@ static unsigned int tty_poll(struct file 23671@@ -1904,7 +1899,9 @@ static unsigned int tty_poll(struct file
23454 return ret; 23672 return ret;
23455 } 23673 }
23456 23674
@@ -23461,7 +23679,7 @@ diff -urNp linux-2.6.32.11/drivers/char/tty_io.c linux-2.6.32.11/drivers/char/tt
23461 { 23679 {
23462 struct tty_struct *tty; 23680 struct tty_struct *tty;
23463 unsigned long flags; 23681 unsigned long flags;
23464@@ -1946,6 +1943,8 @@ out: 23682@@ -1948,6 +1945,8 @@ out:
23465 return retval; 23683 return retval;
23466 } 23684 }
23467 23685
@@ -23470,7 +23688,7 @@ diff -urNp linux-2.6.32.11/drivers/char/tty_io.c linux-2.6.32.11/drivers/char/tt
23470 /** 23688 /**
23471 * tiocsti - fake input character 23689 * tiocsti - fake input character
23472 * @tty: tty to fake input into 23690 * @tty: tty to fake input into
23473@@ -2580,8 +2579,10 @@ long tty_ioctl(struct file *file, unsign 23691@@ -2582,8 +2581,10 @@ long tty_ioctl(struct file *file, unsign
23474 return retval; 23692 return retval;
23475 } 23693 }
23476 23694
@@ -23482,7 +23700,7 @@ diff -urNp linux-2.6.32.11/drivers/char/tty_io.c linux-2.6.32.11/drivers/char/tt
23482 unsigned long arg) 23700 unsigned long arg)
23483 { 23701 {
23484 struct inode *inode = file->f_dentry->d_inode; 23702 struct inode *inode = file->f_dentry->d_inode;
23485@@ -2605,6 +2606,8 @@ static long tty_compat_ioctl(struct file 23703@@ -2607,6 +2608,8 @@ static long tty_compat_ioctl(struct file
23486 23704
23487 return retval; 23705 return retval;
23488 } 23706 }
@@ -23491,7 +23709,7 @@ diff -urNp linux-2.6.32.11/drivers/char/tty_io.c linux-2.6.32.11/drivers/char/tt
23491 #endif 23709 #endif
23492 23710
23493 /* 23711 /*
23494@@ -3048,11 +3051,6 @@ struct tty_struct *get_current_tty(void) 23712@@ -3050,11 +3053,6 @@ struct tty_struct *get_current_tty(void)
23495 } 23713 }
23496 EXPORT_SYMBOL_GPL(get_current_tty); 23714 EXPORT_SYMBOL_GPL(get_current_tty);
23497 23715
@@ -23503,9 +23721,9 @@ diff -urNp linux-2.6.32.11/drivers/char/tty_io.c linux-2.6.32.11/drivers/char/tt
23503 /* 23721 /*
23504 * Initialize the console device. This is called *early*, so 23722 * Initialize the console device. This is called *early*, so
23505 * we can't necessarily depend on lots of kernel help here. 23723 * we can't necessarily depend on lots of kernel help here.
23506diff -urNp linux-2.6.32.11/drivers/char/tty_ldisc.c linux-2.6.32.11/drivers/char/tty_ldisc.c 23724diff -urNp linux-2.6.32.12/drivers/char/tty_ldisc.c linux-2.6.32.12/drivers/char/tty_ldisc.c
23507--- linux-2.6.32.11/drivers/char/tty_ldisc.c 2010-03-15 11:52:04.000000000 -0400 23725--- linux-2.6.32.12/drivers/char/tty_ldisc.c 2010-03-15 11:52:04.000000000 -0400
23508+++ linux-2.6.32.11/drivers/char/tty_ldisc.c 2010-04-04 20:46:41.577798214 -0400 23726+++ linux-2.6.32.12/drivers/char/tty_ldisc.c 2010-04-04 20:46:41.577798214 -0400
23509@@ -73,7 +73,7 @@ static void put_ldisc(struct tty_ldisc * 23727@@ -73,7 +73,7 @@ static void put_ldisc(struct tty_ldisc *
23510 if (atomic_dec_and_lock(&ld->users, &tty_ldisc_lock)) { 23728 if (atomic_dec_and_lock(&ld->users, &tty_ldisc_lock)) {
23511 struct tty_ldisc_ops *ldo = ld->ops; 23729 struct tty_ldisc_ops *ldo = ld->ops;
@@ -23551,9 +23769,9 @@ diff -urNp linux-2.6.32.11/drivers/char/tty_ldisc.c linux-2.6.32.11/drivers/char
23551 module_put(ldops->owner); 23769 module_put(ldops->owner);
23552 spin_unlock_irqrestore(&tty_ldisc_lock, flags); 23770 spin_unlock_irqrestore(&tty_ldisc_lock, flags);
23553 } 23771 }
23554diff -urNp linux-2.6.32.11/drivers/char/virtio_console.c linux-2.6.32.11/drivers/char/virtio_console.c 23772diff -urNp linux-2.6.32.12/drivers/char/virtio_console.c linux-2.6.32.12/drivers/char/virtio_console.c
23555--- linux-2.6.32.11/drivers/char/virtio_console.c 2010-03-15 11:52:04.000000000 -0400 23773--- linux-2.6.32.12/drivers/char/virtio_console.c 2010-03-15 11:52:04.000000000 -0400
23556+++ linux-2.6.32.11/drivers/char/virtio_console.c 2010-04-04 20:46:41.577798214 -0400 23774+++ linux-2.6.32.12/drivers/char/virtio_console.c 2010-04-04 20:46:41.577798214 -0400
23557@@ -44,6 +44,7 @@ static unsigned int in_len; 23775@@ -44,6 +44,7 @@ static unsigned int in_len;
23558 static char *in, *inbuf; 23776 static char *in, *inbuf;
23559 23777
@@ -23562,9 +23780,9 @@ diff -urNp linux-2.6.32.11/drivers/char/virtio_console.c linux-2.6.32.11/drivers
23562 static struct hv_ops virtio_cons; 23780 static struct hv_ops virtio_cons;
23563 23781
23564 /* The hvc device */ 23782 /* The hvc device */
23565diff -urNp linux-2.6.32.11/drivers/char/vt_ioctl.c linux-2.6.32.11/drivers/char/vt_ioctl.c 23783diff -urNp linux-2.6.32.12/drivers/char/vt_ioctl.c linux-2.6.32.12/drivers/char/vt_ioctl.c
23566--- linux-2.6.32.11/drivers/char/vt_ioctl.c 2010-03-15 11:52:04.000000000 -0400 23784--- linux-2.6.32.12/drivers/char/vt_ioctl.c 2010-03-15 11:52:04.000000000 -0400
23567+++ linux-2.6.32.11/drivers/char/vt_ioctl.c 2010-04-04 20:46:41.577798214 -0400 23785+++ linux-2.6.32.12/drivers/char/vt_ioctl.c 2010-04-04 20:46:41.577798214 -0400
23568@@ -226,6 +226,12 @@ do_kdsk_ioctl(int cmd, struct kbentry __ 23786@@ -226,6 +226,12 @@ do_kdsk_ioctl(int cmd, struct kbentry __
23569 case KDSKBENT: 23787 case KDSKBENT:
23570 if (!perm) 23788 if (!perm)
@@ -23592,9 +23810,9 @@ diff -urNp linux-2.6.32.11/drivers/char/vt_ioctl.c linux-2.6.32.11/drivers/char/
23592 q = func_table[i]; 23810 q = func_table[i];
23593 first_free = funcbufptr + (funcbufsize - funcbufleft); 23811 first_free = funcbufptr + (funcbufsize - funcbufleft);
23594 for (j = i+1; j < MAX_NR_FUNC && !func_table[j]; j++) 23812 for (j = i+1; j < MAX_NR_FUNC && !func_table[j]; j++)
23595diff -urNp linux-2.6.32.11/drivers/cpufreq/cpufreq.c linux-2.6.32.11/drivers/cpufreq/cpufreq.c 23813diff -urNp linux-2.6.32.12/drivers/cpufreq/cpufreq.c linux-2.6.32.12/drivers/cpufreq/cpufreq.c
23596--- linux-2.6.32.11/drivers/cpufreq/cpufreq.c 2010-03-15 11:52:04.000000000 -0400 23814--- linux-2.6.32.12/drivers/cpufreq/cpufreq.c 2010-03-15 11:52:04.000000000 -0400
23597+++ linux-2.6.32.11/drivers/cpufreq/cpufreq.c 2010-04-04 20:46:41.577798214 -0400 23815+++ linux-2.6.32.12/drivers/cpufreq/cpufreq.c 2010-04-04 20:46:41.577798214 -0400
23598@@ -750,7 +750,7 @@ static void cpufreq_sysfs_release(struct 23816@@ -750,7 +750,7 @@ static void cpufreq_sysfs_release(struct
23599 complete(&policy->kobj_unregister); 23817 complete(&policy->kobj_unregister);
23600 } 23818 }
@@ -23604,9 +23822,9 @@ diff -urNp linux-2.6.32.11/drivers/cpufreq/cpufreq.c linux-2.6.32.11/drivers/cpu
23604 .show = show, 23822 .show = show,
23605 .store = store, 23823 .store = store,
23606 }; 23824 };
23607diff -urNp linux-2.6.32.11/drivers/cpuidle/sysfs.c linux-2.6.32.11/drivers/cpuidle/sysfs.c 23825diff -urNp linux-2.6.32.12/drivers/cpuidle/sysfs.c linux-2.6.32.12/drivers/cpuidle/sysfs.c
23608--- linux-2.6.32.11/drivers/cpuidle/sysfs.c 2010-03-15 11:52:04.000000000 -0400 23826--- linux-2.6.32.12/drivers/cpuidle/sysfs.c 2010-03-15 11:52:04.000000000 -0400
23609+++ linux-2.6.32.11/drivers/cpuidle/sysfs.c 2010-04-04 20:46:41.577798214 -0400 23827+++ linux-2.6.32.12/drivers/cpuidle/sysfs.c 2010-04-29 17:46:36.917238919 -0400
23610@@ -191,7 +191,7 @@ static ssize_t cpuidle_store(struct kobj 23828@@ -191,7 +191,7 @@ static ssize_t cpuidle_store(struct kobj
23611 return ret; 23829 return ret;
23612 } 23830 }
@@ -23625,9 +23843,18 @@ diff -urNp linux-2.6.32.11/drivers/cpuidle/sysfs.c linux-2.6.32.11/drivers/cpuid
23625 .show = cpuidle_state_show, 23843 .show = cpuidle_state_show,
23626 }; 23844 };
23627 23845
23628diff -urNp linux-2.6.32.11/drivers/dma/ioat/dma.c linux-2.6.32.11/drivers/dma/ioat/dma.c 23846@@ -294,7 +294,7 @@ static struct kobj_type ktype_state_cpui
23629--- linux-2.6.32.11/drivers/dma/ioat/dma.c 2010-03-15 11:52:04.000000000 -0400 23847 .release = cpuidle_state_sysfs_release,
23630+++ linux-2.6.32.11/drivers/dma/ioat/dma.c 2010-04-04 20:46:41.577798214 -0400 23848 };
23849
23850-static void inline cpuidle_free_state_kobj(struct cpuidle_device *device, int i)
23851+static inline void cpuidle_free_state_kobj(struct cpuidle_device *device, int i)
23852 {
23853 kobject_put(&device->kobjs[i]->kobj);
23854 wait_for_completion(&device->kobjs[i]->kobj_unregister);
23855diff -urNp linux-2.6.32.12/drivers/dma/ioat/dma.c linux-2.6.32.12/drivers/dma/ioat/dma.c
23856--- linux-2.6.32.12/drivers/dma/ioat/dma.c 2010-03-15 11:52:04.000000000 -0400
23857+++ linux-2.6.32.12/drivers/dma/ioat/dma.c 2010-04-04 20:46:41.577798214 -0400
23631@@ -1146,7 +1146,7 @@ ioat_attr_show(struct kobject *kobj, str 23858@@ -1146,7 +1146,7 @@ ioat_attr_show(struct kobject *kobj, str
23632 return entry->show(&chan->common, page); 23859 return entry->show(&chan->common, page);
23633 } 23860 }
@@ -23637,9 +23864,9 @@ diff -urNp linux-2.6.32.11/drivers/dma/ioat/dma.c linux-2.6.32.11/drivers/dma/io
23637 .show = ioat_attr_show, 23864 .show = ioat_attr_show,
23638 }; 23865 };
23639 23866
23640diff -urNp linux-2.6.32.11/drivers/dma/ioat/dma.h linux-2.6.32.11/drivers/dma/ioat/dma.h 23867diff -urNp linux-2.6.32.12/drivers/dma/ioat/dma.h linux-2.6.32.12/drivers/dma/ioat/dma.h
23641--- linux-2.6.32.11/drivers/dma/ioat/dma.h 2010-03-15 11:52:04.000000000 -0400 23868--- linux-2.6.32.12/drivers/dma/ioat/dma.h 2010-03-15 11:52:04.000000000 -0400
23642+++ linux-2.6.32.11/drivers/dma/ioat/dma.h 2010-04-04 20:46:41.577798214 -0400 23869+++ linux-2.6.32.12/drivers/dma/ioat/dma.h 2010-04-04 20:46:41.577798214 -0400
23643@@ -347,7 +347,7 @@ bool ioat_cleanup_preamble(struct ioat_c 23870@@ -347,7 +347,7 @@ bool ioat_cleanup_preamble(struct ioat_c
23644 unsigned long *phys_complete); 23871 unsigned long *phys_complete);
23645 void ioat_kobject_add(struct ioatdma_device *device, struct kobj_type *type); 23872 void ioat_kobject_add(struct ioatdma_device *device, struct kobj_type *type);
@@ -23649,9 +23876,9 @@ diff -urNp linux-2.6.32.11/drivers/dma/ioat/dma.h linux-2.6.32.11/drivers/dma/io
23649 extern struct ioat_sysfs_entry ioat_version_attr; 23876 extern struct ioat_sysfs_entry ioat_version_attr;
23650 extern struct ioat_sysfs_entry ioat_cap_attr; 23877 extern struct ioat_sysfs_entry ioat_cap_attr;
23651 #endif /* IOATDMA_H */ 23878 #endif /* IOATDMA_H */
23652diff -urNp linux-2.6.32.11/drivers/edac/edac_core.h linux-2.6.32.11/drivers/edac/edac_core.h 23879diff -urNp linux-2.6.32.12/drivers/edac/edac_core.h linux-2.6.32.12/drivers/edac/edac_core.h
23653--- linux-2.6.32.11/drivers/edac/edac_core.h 2010-03-15 11:52:04.000000000 -0400 23880--- linux-2.6.32.12/drivers/edac/edac_core.h 2010-03-15 11:52:04.000000000 -0400
23654+++ linux-2.6.32.11/drivers/edac/edac_core.h 2010-04-04 20:46:41.577798214 -0400 23881+++ linux-2.6.32.12/drivers/edac/edac_core.h 2010-04-04 20:46:41.577798214 -0400
23655@@ -99,11 +99,11 @@ extern int edac_debug_level; 23882@@ -99,11 +99,11 @@ extern int edac_debug_level;
23656 23883
23657 #else /* !CONFIG_EDAC_DEBUG */ 23884 #else /* !CONFIG_EDAC_DEBUG */
@@ -23669,9 +23896,9 @@ diff -urNp linux-2.6.32.11/drivers/edac/edac_core.h linux-2.6.32.11/drivers/edac
23669 23896
23670 #endif /* !CONFIG_EDAC_DEBUG */ 23897 #endif /* !CONFIG_EDAC_DEBUG */
23671 23898
23672diff -urNp linux-2.6.32.11/drivers/edac/edac_device_sysfs.c linux-2.6.32.11/drivers/edac/edac_device_sysfs.c 23899diff -urNp linux-2.6.32.12/drivers/edac/edac_device_sysfs.c linux-2.6.32.12/drivers/edac/edac_device_sysfs.c
23673--- linux-2.6.32.11/drivers/edac/edac_device_sysfs.c 2010-03-15 11:52:04.000000000 -0400 23900--- linux-2.6.32.12/drivers/edac/edac_device_sysfs.c 2010-03-15 11:52:04.000000000 -0400
23674+++ linux-2.6.32.11/drivers/edac/edac_device_sysfs.c 2010-04-04 20:46:41.577798214 -0400 23901+++ linux-2.6.32.12/drivers/edac/edac_device_sysfs.c 2010-04-04 20:46:41.577798214 -0400
23675@@ -137,7 +137,7 @@ static ssize_t edac_dev_ctl_info_store(s 23902@@ -137,7 +137,7 @@ static ssize_t edac_dev_ctl_info_store(s
23676 } 23903 }
23677 23904
@@ -23699,9 +23926,9 @@ diff -urNp linux-2.6.32.11/drivers/edac/edac_device_sysfs.c linux-2.6.32.11/driv
23699 .show = edac_dev_block_show, 23926 .show = edac_dev_block_show,
23700 .store = edac_dev_block_store 23927 .store = edac_dev_block_store
23701 }; 23928 };
23702diff -urNp linux-2.6.32.11/drivers/edac/edac_mc_sysfs.c linux-2.6.32.11/drivers/edac/edac_mc_sysfs.c 23929diff -urNp linux-2.6.32.12/drivers/edac/edac_mc_sysfs.c linux-2.6.32.12/drivers/edac/edac_mc_sysfs.c
23703--- linux-2.6.32.11/drivers/edac/edac_mc_sysfs.c 2010-03-15 11:52:04.000000000 -0400 23930--- linux-2.6.32.12/drivers/edac/edac_mc_sysfs.c 2010-03-15 11:52:04.000000000 -0400
23704+++ linux-2.6.32.11/drivers/edac/edac_mc_sysfs.c 2010-04-04 20:46:41.577798214 -0400 23931+++ linux-2.6.32.12/drivers/edac/edac_mc_sysfs.c 2010-04-04 20:46:41.577798214 -0400
23705@@ -245,7 +245,7 @@ static ssize_t csrowdev_store(struct kob 23932@@ -245,7 +245,7 @@ static ssize_t csrowdev_store(struct kob
23706 return -EIO; 23933 return -EIO;
23707 } 23934 }
@@ -23720,9 +23947,9 @@ diff -urNp linux-2.6.32.11/drivers/edac/edac_mc_sysfs.c linux-2.6.32.11/drivers/
23720 .show = mcidev_show, 23947 .show = mcidev_show,
23721 .store = mcidev_store 23948 .store = mcidev_store
23722 }; 23949 };
23723diff -urNp linux-2.6.32.11/drivers/edac/edac_pci_sysfs.c linux-2.6.32.11/drivers/edac/edac_pci_sysfs.c 23950diff -urNp linux-2.6.32.12/drivers/edac/edac_pci_sysfs.c linux-2.6.32.12/drivers/edac/edac_pci_sysfs.c
23724--- linux-2.6.32.11/drivers/edac/edac_pci_sysfs.c 2010-03-15 11:52:04.000000000 -0400 23951--- linux-2.6.32.12/drivers/edac/edac_pci_sysfs.c 2010-03-15 11:52:04.000000000 -0400
23725+++ linux-2.6.32.11/drivers/edac/edac_pci_sysfs.c 2010-04-04 20:46:41.577798214 -0400 23952+++ linux-2.6.32.12/drivers/edac/edac_pci_sysfs.c 2010-04-04 20:46:41.577798214 -0400
23726@@ -121,7 +121,7 @@ static ssize_t edac_pci_instance_store(s 23953@@ -121,7 +121,7 @@ static ssize_t edac_pci_instance_store(s
23727 } 23954 }
23728 23955
@@ -23741,9 +23968,22 @@ diff -urNp linux-2.6.32.11/drivers/edac/edac_pci_sysfs.c linux-2.6.32.11/drivers
23741 .show = edac_pci_dev_show, 23968 .show = edac_pci_dev_show,
23742 .store = edac_pci_dev_store 23969 .store = edac_pci_dev_store
23743 }; 23970 };
23744diff -urNp linux-2.6.32.11/drivers/firmware/dmi_scan.c linux-2.6.32.11/drivers/firmware/dmi_scan.c 23971diff -urNp linux-2.6.32.12/drivers/firewire/core-cdev.c linux-2.6.32.12/drivers/firewire/core-cdev.c
23745--- linux-2.6.32.11/drivers/firmware/dmi_scan.c 2010-03-15 11:52:04.000000000 -0400 23972--- linux-2.6.32.12/drivers/firewire/core-cdev.c 2010-03-15 11:52:04.000000000 -0400
23746+++ linux-2.6.32.11/drivers/firmware/dmi_scan.c 2010-04-04 20:46:41.577798214 -0400 23973+++ linux-2.6.32.12/drivers/firewire/core-cdev.c 2010-04-29 17:46:37.101039010 -0400
23974@@ -1141,8 +1141,7 @@ static int init_iso_resource(struct clie
23975 int ret;
23976
23977 if ((request->channels == 0 && request->bandwidth == 0) ||
23978- request->bandwidth > BANDWIDTH_AVAILABLE_INITIAL ||
23979- request->bandwidth < 0)
23980+ request->bandwidth > BANDWIDTH_AVAILABLE_INITIAL)
23981 return -EINVAL;
23982
23983 r = kmalloc(sizeof(*r), GFP_KERNEL);
23984diff -urNp linux-2.6.32.12/drivers/firmware/dmi_scan.c linux-2.6.32.12/drivers/firmware/dmi_scan.c
23985--- linux-2.6.32.12/drivers/firmware/dmi_scan.c 2010-03-15 11:52:04.000000000 -0400
23986+++ linux-2.6.32.12/drivers/firmware/dmi_scan.c 2010-04-04 20:46:41.577798214 -0400
23747@@ -391,11 +391,6 @@ void __init dmi_scan_machine(void) 23987@@ -391,11 +391,6 @@ void __init dmi_scan_machine(void)
23748 } 23988 }
23749 } 23989 }
@@ -23756,9 +23996,9 @@ diff -urNp linux-2.6.32.11/drivers/firmware/dmi_scan.c linux-2.6.32.11/drivers/f
23756 p = dmi_ioremap(0xF0000, 0x10000); 23996 p = dmi_ioremap(0xF0000, 0x10000);
23757 if (p == NULL) 23997 if (p == NULL)
23758 goto error; 23998 goto error;
23759diff -urNp linux-2.6.32.11/drivers/firmware/edd.c linux-2.6.32.11/drivers/firmware/edd.c 23999diff -urNp linux-2.6.32.12/drivers/firmware/edd.c linux-2.6.32.12/drivers/firmware/edd.c
23760--- linux-2.6.32.11/drivers/firmware/edd.c 2010-03-15 11:52:04.000000000 -0400 24000--- linux-2.6.32.12/drivers/firmware/edd.c 2010-03-15 11:52:04.000000000 -0400
23761+++ linux-2.6.32.11/drivers/firmware/edd.c 2010-04-04 20:46:41.577798214 -0400 24001+++ linux-2.6.32.12/drivers/firmware/edd.c 2010-04-04 20:46:41.577798214 -0400
23762@@ -122,7 +122,7 @@ edd_attr_show(struct kobject * kobj, str 24002@@ -122,7 +122,7 @@ edd_attr_show(struct kobject * kobj, str
23763 return ret; 24003 return ret;
23764 } 24004 }
@@ -23768,9 +24008,9 @@ diff -urNp linux-2.6.32.11/drivers/firmware/edd.c linux-2.6.32.11/drivers/firmwa
23768 .show = edd_attr_show, 24008 .show = edd_attr_show,
23769 }; 24009 };
23770 24010
23771diff -urNp linux-2.6.32.11/drivers/firmware/efivars.c linux-2.6.32.11/drivers/firmware/efivars.c 24011diff -urNp linux-2.6.32.12/drivers/firmware/efivars.c linux-2.6.32.12/drivers/firmware/efivars.c
23772--- linux-2.6.32.11/drivers/firmware/efivars.c 2010-03-15 11:52:04.000000000 -0400 24012--- linux-2.6.32.12/drivers/firmware/efivars.c 2010-03-15 11:52:04.000000000 -0400
23773+++ linux-2.6.32.11/drivers/firmware/efivars.c 2010-04-04 20:46:41.577798214 -0400 24013+++ linux-2.6.32.12/drivers/firmware/efivars.c 2010-04-04 20:46:41.577798214 -0400
23774@@ -362,7 +362,7 @@ static ssize_t efivar_attr_store(struct 24014@@ -362,7 +362,7 @@ static ssize_t efivar_attr_store(struct
23775 return ret; 24015 return ret;
23776 } 24016 }
@@ -23780,9 +24020,9 @@ diff -urNp linux-2.6.32.11/drivers/firmware/efivars.c linux-2.6.32.11/drivers/fi
23780 .show = efivar_attr_show, 24020 .show = efivar_attr_show,
23781 .store = efivar_attr_store, 24021 .store = efivar_attr_store,
23782 }; 24022 };
23783diff -urNp linux-2.6.32.11/drivers/firmware/iscsi_ibft.c linux-2.6.32.11/drivers/firmware/iscsi_ibft.c 24023diff -urNp linux-2.6.32.12/drivers/firmware/iscsi_ibft.c linux-2.6.32.12/drivers/firmware/iscsi_ibft.c
23784--- linux-2.6.32.11/drivers/firmware/iscsi_ibft.c 2010-03-15 11:52:04.000000000 -0400 24024--- linux-2.6.32.12/drivers/firmware/iscsi_ibft.c 2010-03-15 11:52:04.000000000 -0400
23785+++ linux-2.6.32.11/drivers/firmware/iscsi_ibft.c 2010-04-04 20:46:41.581454607 -0400 24025+++ linux-2.6.32.12/drivers/firmware/iscsi_ibft.c 2010-04-04 20:46:41.581454607 -0400
23786@@ -525,7 +525,7 @@ static ssize_t ibft_show_attribute(struc 24026@@ -525,7 +525,7 @@ static ssize_t ibft_show_attribute(struc
23787 return ret; 24027 return ret;
23788 } 24028 }
@@ -23792,9 +24032,9 @@ diff -urNp linux-2.6.32.11/drivers/firmware/iscsi_ibft.c linux-2.6.32.11/drivers
23792 .show = ibft_show_attribute, 24032 .show = ibft_show_attribute,
23793 }; 24033 };
23794 24034
23795diff -urNp linux-2.6.32.11/drivers/firmware/memmap.c linux-2.6.32.11/drivers/firmware/memmap.c 24035diff -urNp linux-2.6.32.12/drivers/firmware/memmap.c linux-2.6.32.12/drivers/firmware/memmap.c
23796--- linux-2.6.32.11/drivers/firmware/memmap.c 2010-03-15 11:52:04.000000000 -0400 24036--- linux-2.6.32.12/drivers/firmware/memmap.c 2010-03-15 11:52:04.000000000 -0400
23797+++ linux-2.6.32.11/drivers/firmware/memmap.c 2010-04-04 20:46:41.581454607 -0400 24037+++ linux-2.6.32.12/drivers/firmware/memmap.c 2010-04-04 20:46:41.581454607 -0400
23798@@ -74,7 +74,7 @@ static struct attribute *def_attrs[] = { 24038@@ -74,7 +74,7 @@ static struct attribute *def_attrs[] = {
23799 NULL 24039 NULL
23800 }; 24040 };
@@ -23804,9 +24044,9 @@ diff -urNp linux-2.6.32.11/drivers/firmware/memmap.c linux-2.6.32.11/drivers/fir
23804 .show = memmap_attr_show, 24044 .show = memmap_attr_show,
23805 }; 24045 };
23806 24046
23807diff -urNp linux-2.6.32.11/drivers/gpu/drm/drm_drv.c linux-2.6.32.11/drivers/gpu/drm/drm_drv.c 24047diff -urNp linux-2.6.32.12/drivers/gpu/drm/drm_drv.c linux-2.6.32.12/drivers/gpu/drm/drm_drv.c
23808--- linux-2.6.32.11/drivers/gpu/drm/drm_drv.c 2010-03-15 11:52:04.000000000 -0400 24048--- linux-2.6.32.12/drivers/gpu/drm/drm_drv.c 2010-03-15 11:52:04.000000000 -0400
23809+++ linux-2.6.32.11/drivers/gpu/drm/drm_drv.c 2010-04-04 20:46:41.581454607 -0400 24049+++ linux-2.6.32.12/drivers/gpu/drm/drm_drv.c 2010-04-04 20:46:41.581454607 -0400
23810@@ -417,7 +417,7 @@ int drm_ioctl(struct inode *inode, struc 24050@@ -417,7 +417,7 @@ int drm_ioctl(struct inode *inode, struc
23811 char *kdata = NULL; 24051 char *kdata = NULL;
23812 24052
@@ -23816,9 +24056,9 @@ diff -urNp linux-2.6.32.11/drivers/gpu/drm/drm_drv.c linux-2.6.32.11/drivers/gpu
23816 ++file_priv->ioctl_count; 24056 ++file_priv->ioctl_count;
23817 24057
23818 DRM_DEBUG("pid=%d, cmd=0x%02x, nr=0x%02x, dev 0x%lx, auth=%d\n", 24058 DRM_DEBUG("pid=%d, cmd=0x%02x, nr=0x%02x, dev 0x%lx, auth=%d\n",
23819diff -urNp linux-2.6.32.11/drivers/gpu/drm/drm_fops.c linux-2.6.32.11/drivers/gpu/drm/drm_fops.c 24059diff -urNp linux-2.6.32.12/drivers/gpu/drm/drm_fops.c linux-2.6.32.12/drivers/gpu/drm/drm_fops.c
23820--- linux-2.6.32.11/drivers/gpu/drm/drm_fops.c 2010-03-15 11:52:04.000000000 -0400 24060--- linux-2.6.32.12/drivers/gpu/drm/drm_fops.c 2010-04-29 17:49:37.845185844 -0400
23821+++ linux-2.6.32.11/drivers/gpu/drm/drm_fops.c 2010-04-04 20:46:41.581454607 -0400 24061+++ linux-2.6.32.12/drivers/gpu/drm/drm_fops.c 2010-04-29 17:49:58.154995647 -0400
23822@@ -66,7 +66,7 @@ static int drm_setup(struct drm_device * 24062@@ -66,7 +66,7 @@ static int drm_setup(struct drm_device *
23823 } 24063 }
23824 24064
@@ -23840,7 +24080,7 @@ diff -urNp linux-2.6.32.11/drivers/gpu/drm/drm_fops.c linux-2.6.32.11/drivers/gp
23840 spin_unlock(&dev->count_lock); 24080 spin_unlock(&dev->count_lock);
23841 retcode = drm_setup(dev); 24081 retcode = drm_setup(dev);
23842 goto out; 24082 goto out;
23843@@ -433,7 +433,7 @@ int drm_release(struct inode *inode, str 24083@@ -435,7 +435,7 @@ int drm_release(struct inode *inode, str
23844 24084
23845 lock_kernel(); 24085 lock_kernel();
23846 24086
@@ -23849,7 +24089,7 @@ diff -urNp linux-2.6.32.11/drivers/gpu/drm/drm_fops.c linux-2.6.32.11/drivers/gp
23849 24089
23850 if (dev->driver->preclose) 24090 if (dev->driver->preclose)
23851 dev->driver->preclose(dev, file_priv); 24091 dev->driver->preclose(dev, file_priv);
23852@@ -445,7 +445,7 @@ int drm_release(struct inode *inode, str 24092@@ -447,7 +447,7 @@ int drm_release(struct inode *inode, str
23853 DRM_DEBUG("pid = %d, device = 0x%lx, open_count = %d\n", 24093 DRM_DEBUG("pid = %d, device = 0x%lx, open_count = %d\n",
23854 task_pid_nr(current), 24094 task_pid_nr(current),
23855 (long)old_encode_dev(file_priv->minor->device), 24095 (long)old_encode_dev(file_priv->minor->device),
@@ -23858,7 +24098,7 @@ diff -urNp linux-2.6.32.11/drivers/gpu/drm/drm_fops.c linux-2.6.32.11/drivers/gp
23858 24098
23859 /* if the master has gone away we can't do anything with the lock */ 24099 /* if the master has gone away we can't do anything with the lock */
23860 if (file_priv->minor->master) 24100 if (file_priv->minor->master)
23861@@ -522,9 +522,9 @@ int drm_release(struct inode *inode, str 24101@@ -524,9 +524,9 @@ int drm_release(struct inode *inode, str
23862 * End inline drm_release 24102 * End inline drm_release
23863 */ 24103 */
23864 24104
@@ -23870,9 +24110,9 @@ diff -urNp linux-2.6.32.11/drivers/gpu/drm/drm_fops.c linux-2.6.32.11/drivers/gp
23870 if (atomic_read(&dev->ioctl_count)) { 24110 if (atomic_read(&dev->ioctl_count)) {
23871 DRM_ERROR("Device busy: %d\n", 24111 DRM_ERROR("Device busy: %d\n",
23872 atomic_read(&dev->ioctl_count)); 24112 atomic_read(&dev->ioctl_count));
23873diff -urNp linux-2.6.32.11/drivers/gpu/drm/drm_ioctl.c linux-2.6.32.11/drivers/gpu/drm/drm_ioctl.c 24113diff -urNp linux-2.6.32.12/drivers/gpu/drm/drm_ioctl.c linux-2.6.32.12/drivers/gpu/drm/drm_ioctl.c
23874--- linux-2.6.32.11/drivers/gpu/drm/drm_ioctl.c 2010-03-15 11:52:04.000000000 -0400 24114--- linux-2.6.32.12/drivers/gpu/drm/drm_ioctl.c 2010-03-15 11:52:04.000000000 -0400
23875+++ linux-2.6.32.11/drivers/gpu/drm/drm_ioctl.c 2010-04-04 20:46:41.581454607 -0400 24115+++ linux-2.6.32.12/drivers/gpu/drm/drm_ioctl.c 2010-04-04 20:46:41.581454607 -0400
23876@@ -283,7 +283,7 @@ int drm_getstats(struct drm_device *dev, 24116@@ -283,7 +283,7 @@ int drm_getstats(struct drm_device *dev,
23877 stats->data[i].value = 24117 stats->data[i].value =
23878 (file_priv->master->lock.hw_lock ? file_priv->master->lock.hw_lock->lock : 0); 24118 (file_priv->master->lock.hw_lock ? file_priv->master->lock.hw_lock->lock : 0);
@@ -23882,9 +24122,9 @@ diff -urNp linux-2.6.32.11/drivers/gpu/drm/drm_ioctl.c linux-2.6.32.11/drivers/g
23882 stats->data[i].type = dev->types[i]; 24122 stats->data[i].type = dev->types[i];
23883 } 24123 }
23884 24124
23885diff -urNp linux-2.6.32.11/drivers/gpu/drm/drm_lock.c linux-2.6.32.11/drivers/gpu/drm/drm_lock.c 24125diff -urNp linux-2.6.32.12/drivers/gpu/drm/drm_lock.c linux-2.6.32.12/drivers/gpu/drm/drm_lock.c
23886--- linux-2.6.32.11/drivers/gpu/drm/drm_lock.c 2010-03-15 11:52:04.000000000 -0400 24126--- linux-2.6.32.12/drivers/gpu/drm/drm_lock.c 2010-03-15 11:52:04.000000000 -0400
23887+++ linux-2.6.32.11/drivers/gpu/drm/drm_lock.c 2010-04-04 20:46:41.581454607 -0400 24127+++ linux-2.6.32.12/drivers/gpu/drm/drm_lock.c 2010-04-04 20:46:41.581454607 -0400
23888@@ -87,7 +87,7 @@ int drm_lock(struct drm_device *dev, voi 24128@@ -87,7 +87,7 @@ int drm_lock(struct drm_device *dev, voi
23889 if (drm_lock_take(&master->lock, lock->context)) { 24129 if (drm_lock_take(&master->lock, lock->context)) {
23890 master->lock.file_priv = file_priv; 24130 master->lock.file_priv = file_priv;
@@ -23903,9 +24143,9 @@ diff -urNp linux-2.6.32.11/drivers/gpu/drm/drm_lock.c linux-2.6.32.11/drivers/gp
23903 24143
23904 /* kernel_context_switch isn't used by any of the x86 drm 24144 /* kernel_context_switch isn't used by any of the x86 drm
23905 * modules but is required by the Sparc driver. 24145 * modules but is required by the Sparc driver.
23906diff -urNp linux-2.6.32.11/drivers/gpu/drm/i810/i810_dma.c linux-2.6.32.11/drivers/gpu/drm/i810/i810_dma.c 24146diff -urNp linux-2.6.32.12/drivers/gpu/drm/i810/i810_dma.c linux-2.6.32.12/drivers/gpu/drm/i810/i810_dma.c
23907--- linux-2.6.32.11/drivers/gpu/drm/i810/i810_dma.c 2010-03-15 11:52:04.000000000 -0400 24147--- linux-2.6.32.12/drivers/gpu/drm/i810/i810_dma.c 2010-03-15 11:52:04.000000000 -0400
23908+++ linux-2.6.32.11/drivers/gpu/drm/i810/i810_dma.c 2010-04-04 20:46:41.581454607 -0400 24148+++ linux-2.6.32.12/drivers/gpu/drm/i810/i810_dma.c 2010-04-04 20:46:41.581454607 -0400
23909@@ -952,8 +952,8 @@ static int i810_dma_vertex(struct drm_de 24149@@ -952,8 +952,8 @@ static int i810_dma_vertex(struct drm_de
23910 dma->buflist[vertex->idx], 24150 dma->buflist[vertex->idx],
23911 vertex->discard, vertex->used); 24151 vertex->discard, vertex->used);
@@ -23928,9 +24168,9 @@ diff -urNp linux-2.6.32.11/drivers/gpu/drm/i810/i810_dma.c linux-2.6.32.11/drive
23928 sarea_priv->last_enqueue = dev_priv->counter - 1; 24168 sarea_priv->last_enqueue = dev_priv->counter - 1;
23929 sarea_priv->last_dispatch = (int)hw_status[5]; 24169 sarea_priv->last_dispatch = (int)hw_status[5];
23930 24170
23931diff -urNp linux-2.6.32.11/drivers/gpu/drm/i915/dvo_ch7017.c linux-2.6.32.11/drivers/gpu/drm/i915/dvo_ch7017.c 24171diff -urNp linux-2.6.32.12/drivers/gpu/drm/i915/dvo_ch7017.c linux-2.6.32.12/drivers/gpu/drm/i915/dvo_ch7017.c
23932--- linux-2.6.32.11/drivers/gpu/drm/i915/dvo_ch7017.c 2010-03-15 11:52:04.000000000 -0400 24172--- linux-2.6.32.12/drivers/gpu/drm/i915/dvo_ch7017.c 2010-03-15 11:52:04.000000000 -0400
23933+++ linux-2.6.32.11/drivers/gpu/drm/i915/dvo_ch7017.c 2010-04-04 20:46:41.581454607 -0400 24173+++ linux-2.6.32.12/drivers/gpu/drm/i915/dvo_ch7017.c 2010-04-04 20:46:41.581454607 -0400
23934@@ -443,7 +443,7 @@ static void ch7017_destroy(struct intel_ 24174@@ -443,7 +443,7 @@ static void ch7017_destroy(struct intel_
23935 } 24175 }
23936 } 24176 }
@@ -23940,9 +24180,9 @@ diff -urNp linux-2.6.32.11/drivers/gpu/drm/i915/dvo_ch7017.c linux-2.6.32.11/dri
23940 .init = ch7017_init, 24180 .init = ch7017_init,
23941 .detect = ch7017_detect, 24181 .detect = ch7017_detect,
23942 .mode_valid = ch7017_mode_valid, 24182 .mode_valid = ch7017_mode_valid,
23943diff -urNp linux-2.6.32.11/drivers/gpu/drm/i915/dvo_ch7xxx.c linux-2.6.32.11/drivers/gpu/drm/i915/dvo_ch7xxx.c 24183diff -urNp linux-2.6.32.12/drivers/gpu/drm/i915/dvo_ch7xxx.c linux-2.6.32.12/drivers/gpu/drm/i915/dvo_ch7xxx.c
23944--- linux-2.6.32.11/drivers/gpu/drm/i915/dvo_ch7xxx.c 2010-03-15 11:52:04.000000000 -0400 24184--- linux-2.6.32.12/drivers/gpu/drm/i915/dvo_ch7xxx.c 2010-03-15 11:52:04.000000000 -0400
23945+++ linux-2.6.32.11/drivers/gpu/drm/i915/dvo_ch7xxx.c 2010-04-04 20:46:41.581454607 -0400 24185+++ linux-2.6.32.12/drivers/gpu/drm/i915/dvo_ch7xxx.c 2010-04-04 20:46:41.581454607 -0400
23946@@ -356,7 +356,7 @@ static void ch7xxx_destroy(struct intel_ 24186@@ -356,7 +356,7 @@ static void ch7xxx_destroy(struct intel_
23947 } 24187 }
23948 } 24188 }
@@ -23952,9 +24192,9 @@ diff -urNp linux-2.6.32.11/drivers/gpu/drm/i915/dvo_ch7xxx.c linux-2.6.32.11/dri
23952 .init = ch7xxx_init, 24192 .init = ch7xxx_init,
23953 .detect = ch7xxx_detect, 24193 .detect = ch7xxx_detect,
23954 .mode_valid = ch7xxx_mode_valid, 24194 .mode_valid = ch7xxx_mode_valid,
23955diff -urNp linux-2.6.32.11/drivers/gpu/drm/i915/dvo.h linux-2.6.32.11/drivers/gpu/drm/i915/dvo.h 24195diff -urNp linux-2.6.32.12/drivers/gpu/drm/i915/dvo.h linux-2.6.32.12/drivers/gpu/drm/i915/dvo.h
23956--- linux-2.6.32.11/drivers/gpu/drm/i915/dvo.h 2010-03-15 11:52:04.000000000 -0400 24196--- linux-2.6.32.12/drivers/gpu/drm/i915/dvo.h 2010-03-15 11:52:04.000000000 -0400
23957+++ linux-2.6.32.11/drivers/gpu/drm/i915/dvo.h 2010-04-04 20:46:41.581454607 -0400 24197+++ linux-2.6.32.12/drivers/gpu/drm/i915/dvo.h 2010-04-04 20:46:41.581454607 -0400
23958@@ -135,23 +135,23 @@ struct intel_dvo_dev_ops { 24198@@ -135,23 +135,23 @@ struct intel_dvo_dev_ops {
23959 * 24199 *
23960 * \return singly-linked list of modes or NULL if no modes found. 24200 * \return singly-linked list of modes or NULL if no modes found.
@@ -23987,9 +24227,9 @@ diff -urNp linux-2.6.32.11/drivers/gpu/drm/i915/dvo.h linux-2.6.32.11/drivers/gp
23987+extern const struct intel_dvo_dev_ops ch7017_ops; 24227+extern const struct intel_dvo_dev_ops ch7017_ops;
23988 24228
23989 #endif /* _INTEL_DVO_H */ 24229 #endif /* _INTEL_DVO_H */
23990diff -urNp linux-2.6.32.11/drivers/gpu/drm/i915/dvo_ivch.c linux-2.6.32.11/drivers/gpu/drm/i915/dvo_ivch.c 24230diff -urNp linux-2.6.32.12/drivers/gpu/drm/i915/dvo_ivch.c linux-2.6.32.12/drivers/gpu/drm/i915/dvo_ivch.c
23991--- linux-2.6.32.11/drivers/gpu/drm/i915/dvo_ivch.c 2010-03-15 11:52:04.000000000 -0400 24231--- linux-2.6.32.12/drivers/gpu/drm/i915/dvo_ivch.c 2010-03-15 11:52:04.000000000 -0400
23992+++ linux-2.6.32.11/drivers/gpu/drm/i915/dvo_ivch.c 2010-04-04 20:46:41.581454607 -0400 24232+++ linux-2.6.32.12/drivers/gpu/drm/i915/dvo_ivch.c 2010-04-04 20:46:41.581454607 -0400
23993@@ -430,7 +430,7 @@ static void ivch_destroy(struct intel_dv 24233@@ -430,7 +430,7 @@ static void ivch_destroy(struct intel_dv
23994 } 24234 }
23995 } 24235 }
@@ -23999,9 +24239,9 @@ diff -urNp linux-2.6.32.11/drivers/gpu/drm/i915/dvo_ivch.c linux-2.6.32.11/drive
23999 .init = ivch_init, 24239 .init = ivch_init,
24000 .dpms = ivch_dpms, 24240 .dpms = ivch_dpms,
24001 .save = ivch_save, 24241 .save = ivch_save,
24002diff -urNp linux-2.6.32.11/drivers/gpu/drm/i915/dvo_sil164.c linux-2.6.32.11/drivers/gpu/drm/i915/dvo_sil164.c 24242diff -urNp linux-2.6.32.12/drivers/gpu/drm/i915/dvo_sil164.c linux-2.6.32.12/drivers/gpu/drm/i915/dvo_sil164.c
24003--- linux-2.6.32.11/drivers/gpu/drm/i915/dvo_sil164.c 2010-03-15 11:52:04.000000000 -0400 24243--- linux-2.6.32.12/drivers/gpu/drm/i915/dvo_sil164.c 2010-03-15 11:52:04.000000000 -0400
24004+++ linux-2.6.32.11/drivers/gpu/drm/i915/dvo_sil164.c 2010-04-04 20:46:41.581454607 -0400 24244+++ linux-2.6.32.12/drivers/gpu/drm/i915/dvo_sil164.c 2010-04-04 20:46:41.581454607 -0400
24005@@ -290,7 +290,7 @@ static void sil164_destroy(struct intel_ 24245@@ -290,7 +290,7 @@ static void sil164_destroy(struct intel_
24006 } 24246 }
24007 } 24247 }
@@ -24011,9 +24251,9 @@ diff -urNp linux-2.6.32.11/drivers/gpu/drm/i915/dvo_sil164.c linux-2.6.32.11/dri
24011 .init = sil164_init, 24251 .init = sil164_init,
24012 .detect = sil164_detect, 24252 .detect = sil164_detect,
24013 .mode_valid = sil164_mode_valid, 24253 .mode_valid = sil164_mode_valid,
24014diff -urNp linux-2.6.32.11/drivers/gpu/drm/i915/dvo_tfp410.c linux-2.6.32.11/drivers/gpu/drm/i915/dvo_tfp410.c 24254diff -urNp linux-2.6.32.12/drivers/gpu/drm/i915/dvo_tfp410.c linux-2.6.32.12/drivers/gpu/drm/i915/dvo_tfp410.c
24015--- linux-2.6.32.11/drivers/gpu/drm/i915/dvo_tfp410.c 2010-03-15 11:52:04.000000000 -0400 24255--- linux-2.6.32.12/drivers/gpu/drm/i915/dvo_tfp410.c 2010-03-15 11:52:04.000000000 -0400
24016+++ linux-2.6.32.11/drivers/gpu/drm/i915/dvo_tfp410.c 2010-04-04 20:46:41.581454607 -0400 24256+++ linux-2.6.32.12/drivers/gpu/drm/i915/dvo_tfp410.c 2010-04-04 20:46:41.581454607 -0400
24017@@ -323,7 +323,7 @@ static void tfp410_destroy(struct intel_ 24257@@ -323,7 +323,7 @@ static void tfp410_destroy(struct intel_
24018 } 24258 }
24019 } 24259 }
@@ -24023,9 +24263,9 @@ diff -urNp linux-2.6.32.11/drivers/gpu/drm/i915/dvo_tfp410.c linux-2.6.32.11/dri
24023 .init = tfp410_init, 24263 .init = tfp410_init,
24024 .detect = tfp410_detect, 24264 .detect = tfp410_detect,
24025 .mode_valid = tfp410_mode_valid, 24265 .mode_valid = tfp410_mode_valid,
24026diff -urNp linux-2.6.32.11/drivers/gpu/drm/i915/i915_drv.c linux-2.6.32.11/drivers/gpu/drm/i915/i915_drv.c 24266diff -urNp linux-2.6.32.12/drivers/gpu/drm/i915/i915_drv.c linux-2.6.32.12/drivers/gpu/drm/i915/i915_drv.c
24027--- linux-2.6.32.11/drivers/gpu/drm/i915/i915_drv.c 2010-03-15 11:52:04.000000000 -0400 24267--- linux-2.6.32.12/drivers/gpu/drm/i915/i915_drv.c 2010-03-15 11:52:04.000000000 -0400
24028+++ linux-2.6.32.11/drivers/gpu/drm/i915/i915_drv.c 2010-04-04 20:46:41.581454607 -0400 24268+++ linux-2.6.32.12/drivers/gpu/drm/i915/i915_drv.c 2010-04-04 20:46:41.581454607 -0400
24029@@ -284,7 +284,7 @@ i915_pci_resume(struct pci_dev *pdev) 24269@@ -284,7 +284,7 @@ i915_pci_resume(struct pci_dev *pdev)
24030 return i915_resume(dev); 24270 return i915_resume(dev);
24031 } 24271 }
@@ -24035,9 +24275,9 @@ diff -urNp linux-2.6.32.11/drivers/gpu/drm/i915/i915_drv.c linux-2.6.32.11/drive
24035 .fault = i915_gem_fault, 24275 .fault = i915_gem_fault,
24036 .open = drm_gem_vm_open, 24276 .open = drm_gem_vm_open,
24037 .close = drm_gem_vm_close, 24277 .close = drm_gem_vm_close,
24038diff -urNp linux-2.6.32.11/drivers/gpu/drm/radeon/mkregtable.c linux-2.6.32.11/drivers/gpu/drm/radeon/mkregtable.c 24278diff -urNp linux-2.6.32.12/drivers/gpu/drm/radeon/mkregtable.c linux-2.6.32.12/drivers/gpu/drm/radeon/mkregtable.c
24039--- linux-2.6.32.11/drivers/gpu/drm/radeon/mkregtable.c 2010-03-15 11:52:04.000000000 -0400 24279--- linux-2.6.32.12/drivers/gpu/drm/radeon/mkregtable.c 2010-03-15 11:52:04.000000000 -0400
24040+++ linux-2.6.32.11/drivers/gpu/drm/radeon/mkregtable.c 2010-04-04 20:46:41.581454607 -0400 24280+++ linux-2.6.32.12/drivers/gpu/drm/radeon/mkregtable.c 2010-04-04 20:46:41.581454607 -0400
24041@@ -637,14 +637,14 @@ static int parser_auth(struct table *t, 24281@@ -637,14 +637,14 @@ static int parser_auth(struct table *t,
24042 regex_t mask_rex; 24282 regex_t mask_rex;
24043 regmatch_t match[4]; 24283 regmatch_t match[4];
@@ -24055,9 +24295,9 @@ diff -urNp linux-2.6.32.11/drivers/gpu/drm/radeon/mkregtable.c linux-2.6.32.11/d
24055 24295
24056 if (regcomp 24296 if (regcomp
24057 (&mask_rex, "(0x[0-9a-fA-F]*) *([_a-zA-Z0-9]*)", REG_EXTENDED)) { 24297 (&mask_rex, "(0x[0-9a-fA-F]*) *([_a-zA-Z0-9]*)", REG_EXTENDED)) {
24058diff -urNp linux-2.6.32.11/drivers/gpu/drm/radeon/radeon_atombios.c linux-2.6.32.11/drivers/gpu/drm/radeon/radeon_atombios.c 24298diff -urNp linux-2.6.32.12/drivers/gpu/drm/radeon/radeon_atombios.c linux-2.6.32.12/drivers/gpu/drm/radeon/radeon_atombios.c
24059--- linux-2.6.32.11/drivers/gpu/drm/radeon/radeon_atombios.c 2010-03-15 11:52:04.000000000 -0400 24299--- linux-2.6.32.12/drivers/gpu/drm/radeon/radeon_atombios.c 2010-03-15 11:52:04.000000000 -0400
24060+++ linux-2.6.32.11/drivers/gpu/drm/radeon/radeon_atombios.c 2010-04-04 20:46:41.581454607 -0400 24300+++ linux-2.6.32.12/drivers/gpu/drm/radeon/radeon_atombios.c 2010-04-04 20:46:41.581454607 -0400
24061@@ -504,13 +504,13 @@ static uint16_t atombios_get_connector_o 24301@@ -504,13 +504,13 @@ static uint16_t atombios_get_connector_o
24062 } 24302 }
24063 } 24303 }
@@ -24082,9 +24322,21 @@ diff -urNp linux-2.6.32.11/drivers/gpu/drm/radeon/radeon_atombios.c linux-2.6.32
24082 24322
24083 atom_parse_data_header(ctx, index, &size, &frev, &crev, &data_offset); 24323 atom_parse_data_header(ctx, index, &size, &frev, &crev, &data_offset);
24084 24324
24085diff -urNp linux-2.6.32.11/drivers/gpu/drm/radeon/radeon_state.c linux-2.6.32.11/drivers/gpu/drm/radeon/radeon_state.c 24325diff -urNp linux-2.6.32.12/drivers/gpu/drm/radeon/radeon_display.c linux-2.6.32.12/drivers/gpu/drm/radeon/radeon_display.c
24086--- linux-2.6.32.11/drivers/gpu/drm/radeon/radeon_state.c 2010-03-15 11:52:04.000000000 -0400 24326--- linux-2.6.32.12/drivers/gpu/drm/radeon/radeon_display.c 2010-03-15 11:52:04.000000000 -0400
24087+++ linux-2.6.32.11/drivers/gpu/drm/radeon/radeon_state.c 2010-04-04 20:46:41.581454607 -0400 24327+++ linux-2.6.32.12/drivers/gpu/drm/radeon/radeon_display.c 2010-04-29 17:46:37.101039010 -0400
24328@@ -482,7 +482,7 @@ void radeon_compute_pll(struct radeon_pl
24329
24330 if (flags & RADEON_PLL_PREFER_CLOSEST_LOWER) {
24331 error = freq - current_freq;
24332- error = error < 0 ? 0xffffffff : error;
24333+ error = (int32_t)error < 0 ? 0xffffffff : error;
24334 } else
24335 error = abs(current_freq - freq);
24336 vco_diff = abs(vco - best_vco);
24337diff -urNp linux-2.6.32.12/drivers/gpu/drm/radeon/radeon_state.c linux-2.6.32.12/drivers/gpu/drm/radeon/radeon_state.c
24338--- linux-2.6.32.12/drivers/gpu/drm/radeon/radeon_state.c 2010-03-15 11:52:04.000000000 -0400
24339+++ linux-2.6.32.12/drivers/gpu/drm/radeon/radeon_state.c 2010-04-04 20:46:41.581454607 -0400
24088@@ -3014,7 +3014,7 @@ static int radeon_cp_getparam(struct drm 24340@@ -3014,7 +3014,7 @@ static int radeon_cp_getparam(struct drm
24089 { 24341 {
24090 drm_radeon_private_t *dev_priv = dev->dev_private; 24342 drm_radeon_private_t *dev_priv = dev->dev_private;
@@ -24094,9 +24346,9 @@ diff -urNp linux-2.6.32.11/drivers/gpu/drm/radeon/radeon_state.c linux-2.6.32.11
24094 24346
24095 DRM_DEBUG("pid=%d\n", DRM_CURRENTPID); 24347 DRM_DEBUG("pid=%d\n", DRM_CURRENTPID);
24096 24348
24097diff -urNp linux-2.6.32.11/drivers/gpu/drm/radeon/radeon_ttm.c linux-2.6.32.11/drivers/gpu/drm/radeon/radeon_ttm.c 24349diff -urNp linux-2.6.32.12/drivers/gpu/drm/radeon/radeon_ttm.c linux-2.6.32.12/drivers/gpu/drm/radeon/radeon_ttm.c
24098--- linux-2.6.32.11/drivers/gpu/drm/radeon/radeon_ttm.c 2010-03-15 11:52:04.000000000 -0400 24350--- linux-2.6.32.12/drivers/gpu/drm/radeon/radeon_ttm.c 2010-03-15 11:52:04.000000000 -0400
24099+++ linux-2.6.32.11/drivers/gpu/drm/radeon/radeon_ttm.c 2010-04-04 20:46:41.581454607 -0400 24351+++ linux-2.6.32.12/drivers/gpu/drm/radeon/radeon_ttm.c 2010-04-04 20:46:41.581454607 -0400
24100@@ -535,27 +535,10 @@ void radeon_ttm_fini(struct radeon_devic 24352@@ -535,27 +535,10 @@ void radeon_ttm_fini(struct radeon_devic
24101 DRM_INFO("radeon: ttm finalized\n"); 24353 DRM_INFO("radeon: ttm finalized\n");
24102 } 24354 }
@@ -24148,9 +24400,18 @@ diff -urNp linux-2.6.32.11/drivers/gpu/drm/radeon/radeon_ttm.c linux-2.6.32.11/d
24148 } 24400 }
24149 24401
24150 24402
24151diff -urNp linux-2.6.32.11/drivers/gpu/drm/ttm/ttm_bo.c linux-2.6.32.11/drivers/gpu/drm/ttm/ttm_bo.c 24403diff -urNp linux-2.6.32.12/drivers/gpu/drm/ttm/ttm_bo.c linux-2.6.32.12/drivers/gpu/drm/ttm/ttm_bo.c
24152--- linux-2.6.32.11/drivers/gpu/drm/ttm/ttm_bo.c 2010-03-15 11:52:04.000000000 -0400 24404--- linux-2.6.32.12/drivers/gpu/drm/ttm/ttm_bo.c 2010-03-15 11:52:04.000000000 -0400
24153+++ linux-2.6.32.11/drivers/gpu/drm/ttm/ttm_bo.c 2010-04-04 20:46:41.581454607 -0400 24405+++ linux-2.6.32.12/drivers/gpu/drm/ttm/ttm_bo.c 2010-04-29 17:46:36.939238869 -0400
24406@@ -39,7 +39,7 @@
24407 #include <linux/module.h>
24408
24409 #define TTM_ASSERT_LOCKED(param)
24410-#define TTM_DEBUG(fmt, arg...)
24411+#define TTM_DEBUG(fmt, arg...) do {} while (0)
24412 #define TTM_BO_HASH_ORDER 13
24413
24414 static int ttm_bo_setup_vm(struct ttm_buffer_object *bo);
24154@@ -67,7 +67,7 @@ static struct attribute *ttm_bo_global_a 24415@@ -67,7 +67,7 @@ static struct attribute *ttm_bo_global_a
24155 NULL 24416 NULL
24156 }; 24417 };
@@ -24160,9 +24421,9 @@ diff -urNp linux-2.6.32.11/drivers/gpu/drm/ttm/ttm_bo.c linux-2.6.32.11/drivers/
24160 .show = &ttm_bo_global_show 24421 .show = &ttm_bo_global_show
24161 }; 24422 };
24162 24423
24163diff -urNp linux-2.6.32.11/drivers/gpu/drm/ttm/ttm_bo_vm.c linux-2.6.32.11/drivers/gpu/drm/ttm/ttm_bo_vm.c 24424diff -urNp linux-2.6.32.12/drivers/gpu/drm/ttm/ttm_bo_vm.c linux-2.6.32.12/drivers/gpu/drm/ttm/ttm_bo_vm.c
24164--- linux-2.6.32.11/drivers/gpu/drm/ttm/ttm_bo_vm.c 2010-03-15 11:52:04.000000000 -0400 24425--- linux-2.6.32.12/drivers/gpu/drm/ttm/ttm_bo_vm.c 2010-03-15 11:52:04.000000000 -0400
24165+++ linux-2.6.32.11/drivers/gpu/drm/ttm/ttm_bo_vm.c 2010-04-04 20:46:41.585591308 -0400 24426+++ linux-2.6.32.12/drivers/gpu/drm/ttm/ttm_bo_vm.c 2010-04-04 20:46:41.585591308 -0400
24166@@ -73,7 +73,7 @@ static int ttm_bo_vm_fault(struct vm_are 24427@@ -73,7 +73,7 @@ static int ttm_bo_vm_fault(struct vm_are
24167 { 24428 {
24168 struct ttm_buffer_object *bo = (struct ttm_buffer_object *) 24429 struct ttm_buffer_object *bo = (struct ttm_buffer_object *)
@@ -24183,9 +24444,9 @@ diff -urNp linux-2.6.32.11/drivers/gpu/drm/ttm/ttm_bo_vm.c linux-2.6.32.11/drive
24183 /* 24444 /*
24184 * Work around locking order reversal in fault / nopfn 24445 * Work around locking order reversal in fault / nopfn
24185 * between mmap_sem and bo_reserve: Perform a trylock operation 24446 * between mmap_sem and bo_reserve: Perform a trylock operation
24186diff -urNp linux-2.6.32.11/drivers/gpu/drm/ttm/ttm_global.c linux-2.6.32.11/drivers/gpu/drm/ttm/ttm_global.c 24447diff -urNp linux-2.6.32.12/drivers/gpu/drm/ttm/ttm_global.c linux-2.6.32.12/drivers/gpu/drm/ttm/ttm_global.c
24187--- linux-2.6.32.11/drivers/gpu/drm/ttm/ttm_global.c 2010-03-15 11:52:04.000000000 -0400 24448--- linux-2.6.32.12/drivers/gpu/drm/ttm/ttm_global.c 2010-03-15 11:52:04.000000000 -0400
24188+++ linux-2.6.32.11/drivers/gpu/drm/ttm/ttm_global.c 2010-04-04 20:46:41.585591308 -0400 24449+++ linux-2.6.32.12/drivers/gpu/drm/ttm/ttm_global.c 2010-04-04 20:46:41.585591308 -0400
24189@@ -36,7 +36,7 @@ 24450@@ -36,7 +36,7 @@
24190 struct ttm_global_item { 24451 struct ttm_global_item {
24191 struct mutex mutex; 24452 struct mutex mutex;
@@ -24243,9 +24504,9 @@ diff -urNp linux-2.6.32.11/drivers/gpu/drm/ttm/ttm_global.c linux-2.6.32.11/driv
24243 ref->release(ref); 24504 ref->release(ref);
24244 item->object = NULL; 24505 item->object = NULL;
24245 } 24506 }
24246diff -urNp linux-2.6.32.11/drivers/gpu/drm/ttm/ttm_memory.c linux-2.6.32.11/drivers/gpu/drm/ttm/ttm_memory.c 24507diff -urNp linux-2.6.32.12/drivers/gpu/drm/ttm/ttm_memory.c linux-2.6.32.12/drivers/gpu/drm/ttm/ttm_memory.c
24247--- linux-2.6.32.11/drivers/gpu/drm/ttm/ttm_memory.c 2010-03-15 11:52:04.000000000 -0400 24508--- linux-2.6.32.12/drivers/gpu/drm/ttm/ttm_memory.c 2010-03-15 11:52:04.000000000 -0400
24248+++ linux-2.6.32.11/drivers/gpu/drm/ttm/ttm_memory.c 2010-04-04 20:46:41.585591308 -0400 24509+++ linux-2.6.32.12/drivers/gpu/drm/ttm/ttm_memory.c 2010-04-04 20:46:41.585591308 -0400
24249@@ -152,7 +152,7 @@ static struct attribute *ttm_mem_zone_at 24510@@ -152,7 +152,7 @@ static struct attribute *ttm_mem_zone_at
24250 NULL 24511 NULL
24251 }; 24512 };
@@ -24255,21 +24516,21 @@ diff -urNp linux-2.6.32.11/drivers/gpu/drm/ttm/ttm_memory.c linux-2.6.32.11/driv
24255 .show = &ttm_mem_zone_show, 24516 .show = &ttm_mem_zone_show,
24256 .store = &ttm_mem_zone_store 24517 .store = &ttm_mem_zone_store
24257 }; 24518 };
24258diff -urNp linux-2.6.32.11/drivers/gpu/vga/vgaarb.c linux-2.6.32.11/drivers/gpu/vga/vgaarb.c 24519diff -urNp linux-2.6.32.12/drivers/hid/usbhid/hiddev.c linux-2.6.32.12/drivers/hid/usbhid/hiddev.c
24259--- linux-2.6.32.11/drivers/gpu/vga/vgaarb.c 2010-03-15 11:52:04.000000000 -0400 24520--- linux-2.6.32.12/drivers/hid/usbhid/hiddev.c 2010-03-15 11:52:04.000000000 -0400
24260+++ linux-2.6.32.11/drivers/gpu/vga/vgaarb.c 2010-04-04 20:46:41.585591308 -0400 24521+++ linux-2.6.32.12/drivers/hid/usbhid/hiddev.c 2010-04-29 17:46:37.113104605 -0400
24261@@ -961,7 +961,7 @@ static ssize_t vga_arb_write(struct file 24522@@ -617,7 +617,7 @@ static long hiddev_ioctl(struct file *fi
24262 remaining -= 7; 24523 return put_user(HID_VERSION, (int __user *)arg);
24263 pr_devel("client 0x%p called 'target'\n", priv); 24524
24264 /* if target is default */ 24525 case HIDIOCAPPLICATION:
24265- if (!strncmp(buf, "default", 7)) 24526- if (arg < 0 || arg >= hid->maxapplication)
24266+ if (!strncmp(curr_pos, "default", 7)) 24527+ if (arg >= hid->maxapplication)
24267 pdev = pci_dev_get(vga_default_device()); 24528 return -EINVAL;
24268 else { 24529
24269 if (!vga_pci_str_to_vars(curr_pos, remaining, 24530 for (i = 0; i < hid->maxcollection; i++)
24270diff -urNp linux-2.6.32.11/drivers/hwmon/k8temp.c linux-2.6.32.11/drivers/hwmon/k8temp.c 24531diff -urNp linux-2.6.32.12/drivers/hwmon/k8temp.c linux-2.6.32.12/drivers/hwmon/k8temp.c
24271--- linux-2.6.32.11/drivers/hwmon/k8temp.c 2010-03-15 11:52:04.000000000 -0400 24532--- linux-2.6.32.12/drivers/hwmon/k8temp.c 2010-03-15 11:52:04.000000000 -0400
24272+++ linux-2.6.32.11/drivers/hwmon/k8temp.c 2010-04-04 20:46:41.585591308 -0400 24533+++ linux-2.6.32.12/drivers/hwmon/k8temp.c 2010-04-04 20:46:41.585591308 -0400
24273@@ -138,7 +138,7 @@ static DEVICE_ATTR(name, S_IRUGO, show_n 24534@@ -138,7 +138,7 @@ static DEVICE_ATTR(name, S_IRUGO, show_n
24274 24535
24275 static struct pci_device_id k8temp_ids[] = { 24536 static struct pci_device_id k8temp_ids[] = {
@@ -24279,9 +24540,9 @@ diff -urNp linux-2.6.32.11/drivers/hwmon/k8temp.c linux-2.6.32.11/drivers/hwmon/
24279 }; 24540 };
24280 24541
24281 MODULE_DEVICE_TABLE(pci, k8temp_ids); 24542 MODULE_DEVICE_TABLE(pci, k8temp_ids);
24282diff -urNp linux-2.6.32.11/drivers/hwmon/sis5595.c linux-2.6.32.11/drivers/hwmon/sis5595.c 24543diff -urNp linux-2.6.32.12/drivers/hwmon/sis5595.c linux-2.6.32.12/drivers/hwmon/sis5595.c
24283--- linux-2.6.32.11/drivers/hwmon/sis5595.c 2010-03-15 11:52:04.000000000 -0400 24544--- linux-2.6.32.12/drivers/hwmon/sis5595.c 2010-03-15 11:52:04.000000000 -0400
24284+++ linux-2.6.32.11/drivers/hwmon/sis5595.c 2010-04-04 20:46:41.585591308 -0400 24545+++ linux-2.6.32.12/drivers/hwmon/sis5595.c 2010-04-04 20:46:41.585591308 -0400
24285@@ -699,7 +699,7 @@ static struct sis5595_data *sis5595_upda 24546@@ -699,7 +699,7 @@ static struct sis5595_data *sis5595_upda
24286 24547
24287 static struct pci_device_id sis5595_pci_ids[] = { 24548 static struct pci_device_id sis5595_pci_ids[] = {
@@ -24291,9 +24552,9 @@ diff -urNp linux-2.6.32.11/drivers/hwmon/sis5595.c linux-2.6.32.11/drivers/hwmon
24291 }; 24552 };
24292 24553
24293 MODULE_DEVICE_TABLE(pci, sis5595_pci_ids); 24554 MODULE_DEVICE_TABLE(pci, sis5595_pci_ids);
24294diff -urNp linux-2.6.32.11/drivers/hwmon/via686a.c linux-2.6.32.11/drivers/hwmon/via686a.c 24555diff -urNp linux-2.6.32.12/drivers/hwmon/via686a.c linux-2.6.32.12/drivers/hwmon/via686a.c
24295--- linux-2.6.32.11/drivers/hwmon/via686a.c 2010-03-15 11:52:04.000000000 -0400 24556--- linux-2.6.32.12/drivers/hwmon/via686a.c 2010-03-15 11:52:04.000000000 -0400
24296+++ linux-2.6.32.11/drivers/hwmon/via686a.c 2010-04-04 20:46:41.585591308 -0400 24557+++ linux-2.6.32.12/drivers/hwmon/via686a.c 2010-04-04 20:46:41.585591308 -0400
24297@@ -769,7 +769,7 @@ static struct via686a_data *via686a_upda 24558@@ -769,7 +769,7 @@ static struct via686a_data *via686a_upda
24298 24559
24299 static struct pci_device_id via686a_pci_ids[] = { 24560 static struct pci_device_id via686a_pci_ids[] = {
@@ -24303,9 +24564,9 @@ diff -urNp linux-2.6.32.11/drivers/hwmon/via686a.c linux-2.6.32.11/drivers/hwmon
24303 }; 24564 };
24304 24565
24305 MODULE_DEVICE_TABLE(pci, via686a_pci_ids); 24566 MODULE_DEVICE_TABLE(pci, via686a_pci_ids);
24306diff -urNp linux-2.6.32.11/drivers/hwmon/vt8231.c linux-2.6.32.11/drivers/hwmon/vt8231.c 24567diff -urNp linux-2.6.32.12/drivers/hwmon/vt8231.c linux-2.6.32.12/drivers/hwmon/vt8231.c
24307--- linux-2.6.32.11/drivers/hwmon/vt8231.c 2010-03-15 11:52:04.000000000 -0400 24568--- linux-2.6.32.12/drivers/hwmon/vt8231.c 2010-03-15 11:52:04.000000000 -0400
24308+++ linux-2.6.32.11/drivers/hwmon/vt8231.c 2010-04-04 20:46:41.585591308 -0400 24569+++ linux-2.6.32.12/drivers/hwmon/vt8231.c 2010-04-04 20:46:41.585591308 -0400
24309@@ -699,7 +699,7 @@ static struct platform_driver vt8231_dri 24570@@ -699,7 +699,7 @@ static struct platform_driver vt8231_dri
24310 24571
24311 static struct pci_device_id vt8231_pci_ids[] = { 24572 static struct pci_device_id vt8231_pci_ids[] = {
@@ -24315,9 +24576,9 @@ diff -urNp linux-2.6.32.11/drivers/hwmon/vt8231.c linux-2.6.32.11/drivers/hwmon/
24315 }; 24576 };
24316 24577
24317 MODULE_DEVICE_TABLE(pci, vt8231_pci_ids); 24578 MODULE_DEVICE_TABLE(pci, vt8231_pci_ids);
24318diff -urNp linux-2.6.32.11/drivers/hwmon/w83791d.c linux-2.6.32.11/drivers/hwmon/w83791d.c 24579diff -urNp linux-2.6.32.12/drivers/hwmon/w83791d.c linux-2.6.32.12/drivers/hwmon/w83791d.c
24319--- linux-2.6.32.11/drivers/hwmon/w83791d.c 2010-03-15 11:52:04.000000000 -0400 24580--- linux-2.6.32.12/drivers/hwmon/w83791d.c 2010-03-15 11:52:04.000000000 -0400
24320+++ linux-2.6.32.11/drivers/hwmon/w83791d.c 2010-04-04 20:46:41.585591308 -0400 24581+++ linux-2.6.32.12/drivers/hwmon/w83791d.c 2010-04-04 20:46:41.585591308 -0400
24321@@ -330,8 +330,8 @@ static int w83791d_detect(struct i2c_cli 24582@@ -330,8 +330,8 @@ static int w83791d_detect(struct i2c_cli
24322 struct i2c_board_info *info); 24583 struct i2c_board_info *info);
24323 static int w83791d_remove(struct i2c_client *client); 24584 static int w83791d_remove(struct i2c_client *client);
@@ -24329,21 +24590,21 @@ diff -urNp linux-2.6.32.11/drivers/hwmon/w83791d.c linux-2.6.32.11/drivers/hwmon
24329 static struct w83791d_data *w83791d_update_device(struct device *dev); 24590 static struct w83791d_data *w83791d_update_device(struct device *dev);
24330 24591
24331 #ifdef DEBUG 24592 #ifdef DEBUG
24332diff -urNp linux-2.6.32.11/drivers/i2c/busses/i2c-i801.c linux-2.6.32.11/drivers/i2c/busses/i2c-i801.c 24593diff -urNp linux-2.6.32.12/drivers/i2c/busses/i2c-i801.c linux-2.6.32.12/drivers/i2c/busses/i2c-i801.c
24333--- linux-2.6.32.11/drivers/i2c/busses/i2c-i801.c 2010-04-04 20:41:49.952923765 -0400 24594--- linux-2.6.32.12/drivers/i2c/busses/i2c-i801.c 2010-04-29 17:49:37.945518391 -0400
24334+++ linux-2.6.32.11/drivers/i2c/busses/i2c-i801.c 2010-04-04 20:46:41.585591308 -0400 24595+++ linux-2.6.32.12/drivers/i2c/busses/i2c-i801.c 2010-04-29 18:00:43.521920899 -0400
24335@@ -580,7 +580,7 @@ static struct pci_device_id i801_ids[] = 24596@@ -582,7 +582,7 @@ static struct pci_device_id i801_ids[] =
24336 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH10_4) },
24337 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH10_5) }, 24597 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH10_5) },
24338 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_PCH_SMBUS) }, 24598 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_PCH_SMBUS) },
24599 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_CPT_SMBUS) },
24339- { 0, } 24600- { 0, }
24340+ { 0, 0, 0, 0, 0, 0, 0 } 24601+ { 0, 0, 0, 0, 0, 0, 0 }
24341 }; 24602 };
24342 24603
24343 MODULE_DEVICE_TABLE (pci, i801_ids); 24604 MODULE_DEVICE_TABLE (pci, i801_ids);
24344diff -urNp linux-2.6.32.11/drivers/i2c/busses/i2c-piix4.c linux-2.6.32.11/drivers/i2c/busses/i2c-piix4.c 24605diff -urNp linux-2.6.32.12/drivers/i2c/busses/i2c-piix4.c linux-2.6.32.12/drivers/i2c/busses/i2c-piix4.c
24345--- linux-2.6.32.11/drivers/i2c/busses/i2c-piix4.c 2010-03-15 11:52:04.000000000 -0400 24606--- linux-2.6.32.12/drivers/i2c/busses/i2c-piix4.c 2010-03-15 11:52:04.000000000 -0400
24346+++ linux-2.6.32.11/drivers/i2c/busses/i2c-piix4.c 2010-04-04 20:46:41.585591308 -0400 24607+++ linux-2.6.32.12/drivers/i2c/busses/i2c-piix4.c 2010-04-04 20:46:41.585591308 -0400
24347@@ -124,7 +124,7 @@ static struct dmi_system_id __devinitdat 24608@@ -124,7 +124,7 @@ static struct dmi_system_id __devinitdat
24348 .ident = "IBM", 24609 .ident = "IBM",
24349 .matches = { DMI_MATCH(DMI_SYS_VENDOR, "IBM"), }, 24610 .matches = { DMI_MATCH(DMI_SYS_VENDOR, "IBM"), },
@@ -24362,9 +24623,9 @@ diff -urNp linux-2.6.32.11/drivers/i2c/busses/i2c-piix4.c linux-2.6.32.11/driver
24362 }; 24623 };
24363 24624
24364 MODULE_DEVICE_TABLE (pci, piix4_ids); 24625 MODULE_DEVICE_TABLE (pci, piix4_ids);
24365diff -urNp linux-2.6.32.11/drivers/i2c/busses/i2c-sis630.c linux-2.6.32.11/drivers/i2c/busses/i2c-sis630.c 24626diff -urNp linux-2.6.32.12/drivers/i2c/busses/i2c-sis630.c linux-2.6.32.12/drivers/i2c/busses/i2c-sis630.c
24366--- linux-2.6.32.11/drivers/i2c/busses/i2c-sis630.c 2010-03-15 11:52:04.000000000 -0400 24627--- linux-2.6.32.12/drivers/i2c/busses/i2c-sis630.c 2010-03-15 11:52:04.000000000 -0400
24367+++ linux-2.6.32.11/drivers/i2c/busses/i2c-sis630.c 2010-04-04 20:46:41.585591308 -0400 24628+++ linux-2.6.32.12/drivers/i2c/busses/i2c-sis630.c 2010-04-04 20:46:41.585591308 -0400
24368@@ -471,7 +471,7 @@ static struct i2c_adapter sis630_adapter 24629@@ -471,7 +471,7 @@ static struct i2c_adapter sis630_adapter
24369 static struct pci_device_id sis630_ids[] __devinitdata = { 24630 static struct pci_device_id sis630_ids[] __devinitdata = {
24370 { PCI_DEVICE(PCI_VENDOR_ID_SI, PCI_DEVICE_ID_SI_503) }, 24631 { PCI_DEVICE(PCI_VENDOR_ID_SI, PCI_DEVICE_ID_SI_503) },
@@ -24374,9 +24635,9 @@ diff -urNp linux-2.6.32.11/drivers/i2c/busses/i2c-sis630.c linux-2.6.32.11/drive
24374 }; 24635 };
24375 24636
24376 MODULE_DEVICE_TABLE (pci, sis630_ids); 24637 MODULE_DEVICE_TABLE (pci, sis630_ids);
24377diff -urNp linux-2.6.32.11/drivers/i2c/busses/i2c-sis96x.c linux-2.6.32.11/drivers/i2c/busses/i2c-sis96x.c 24638diff -urNp linux-2.6.32.12/drivers/i2c/busses/i2c-sis96x.c linux-2.6.32.12/drivers/i2c/busses/i2c-sis96x.c
24378--- linux-2.6.32.11/drivers/i2c/busses/i2c-sis96x.c 2010-03-15 11:52:04.000000000 -0400 24639--- linux-2.6.32.12/drivers/i2c/busses/i2c-sis96x.c 2010-03-15 11:52:04.000000000 -0400
24379+++ linux-2.6.32.11/drivers/i2c/busses/i2c-sis96x.c 2010-04-04 20:46:41.585591308 -0400 24640+++ linux-2.6.32.12/drivers/i2c/busses/i2c-sis96x.c 2010-04-04 20:46:41.585591308 -0400
24380@@ -247,7 +247,7 @@ static struct i2c_adapter sis96x_adapter 24641@@ -247,7 +247,7 @@ static struct i2c_adapter sis96x_adapter
24381 24642
24382 static struct pci_device_id sis96x_ids[] = { 24643 static struct pci_device_id sis96x_ids[] = {
@@ -24386,9 +24647,9 @@ diff -urNp linux-2.6.32.11/drivers/i2c/busses/i2c-sis96x.c linux-2.6.32.11/drive
24386 }; 24647 };
24387 24648
24388 MODULE_DEVICE_TABLE (pci, sis96x_ids); 24649 MODULE_DEVICE_TABLE (pci, sis96x_ids);
24389diff -urNp linux-2.6.32.11/drivers/ide/ide-cd.c linux-2.6.32.11/drivers/ide/ide-cd.c 24650diff -urNp linux-2.6.32.12/drivers/ide/ide-cd.c linux-2.6.32.12/drivers/ide/ide-cd.c
24390--- linux-2.6.32.11/drivers/ide/ide-cd.c 2010-03-15 11:52:04.000000000 -0400 24651--- linux-2.6.32.12/drivers/ide/ide-cd.c 2010-03-15 11:52:04.000000000 -0400
24391+++ linux-2.6.32.11/drivers/ide/ide-cd.c 2010-04-04 20:46:41.585591308 -0400 24652+++ linux-2.6.32.12/drivers/ide/ide-cd.c 2010-04-04 20:46:41.585591308 -0400
24392@@ -766,7 +766,7 @@ static void cdrom_do_block_pc(ide_drive_ 24653@@ -766,7 +766,7 @@ static void cdrom_do_block_pc(ide_drive_
24393 alignment = queue_dma_alignment(q) | q->dma_pad_mask; 24654 alignment = queue_dma_alignment(q) | q->dma_pad_mask;
24394 if ((unsigned long)buf & alignment 24655 if ((unsigned long)buf & alignment
@@ -24398,9 +24659,9 @@ diff -urNp linux-2.6.32.11/drivers/ide/ide-cd.c linux-2.6.32.11/drivers/ide/ide-
24398 drive->dma = 0; 24659 drive->dma = 0;
24399 } 24660 }
24400 } 24661 }
24401diff -urNp linux-2.6.32.11/drivers/ieee1394/dv1394.c linux-2.6.32.11/drivers/ieee1394/dv1394.c 24662diff -urNp linux-2.6.32.12/drivers/ieee1394/dv1394.c linux-2.6.32.12/drivers/ieee1394/dv1394.c
24402--- linux-2.6.32.11/drivers/ieee1394/dv1394.c 2010-03-15 11:52:04.000000000 -0400 24663--- linux-2.6.32.12/drivers/ieee1394/dv1394.c 2010-03-15 11:52:04.000000000 -0400
24403+++ linux-2.6.32.11/drivers/ieee1394/dv1394.c 2010-04-04 20:46:41.585591308 -0400 24664+++ linux-2.6.32.12/drivers/ieee1394/dv1394.c 2010-04-04 20:46:41.585591308 -0400
24404@@ -739,7 +739,7 @@ static void frame_prepare(struct video_c 24665@@ -739,7 +739,7 @@ static void frame_prepare(struct video_c
24405 based upon DIF section and sequence 24666 based upon DIF section and sequence
24406 */ 24667 */
@@ -24419,9 +24680,9 @@ diff -urNp linux-2.6.32.11/drivers/ieee1394/dv1394.c linux-2.6.32.11/drivers/iee
24419 }; 24680 };
24420 24681
24421 MODULE_DEVICE_TABLE(ieee1394, dv1394_id_table); 24682 MODULE_DEVICE_TABLE(ieee1394, dv1394_id_table);
24422diff -urNp linux-2.6.32.11/drivers/ieee1394/eth1394.c linux-2.6.32.11/drivers/ieee1394/eth1394.c 24683diff -urNp linux-2.6.32.12/drivers/ieee1394/eth1394.c linux-2.6.32.12/drivers/ieee1394/eth1394.c
24423--- linux-2.6.32.11/drivers/ieee1394/eth1394.c 2010-03-15 11:52:04.000000000 -0400 24684--- linux-2.6.32.12/drivers/ieee1394/eth1394.c 2010-03-15 11:52:04.000000000 -0400
24424+++ linux-2.6.32.11/drivers/ieee1394/eth1394.c 2010-04-04 20:46:41.585591308 -0400 24685+++ linux-2.6.32.12/drivers/ieee1394/eth1394.c 2010-04-04 20:46:41.585591308 -0400
24425@@ -446,7 +446,7 @@ static const struct ieee1394_device_id e 24686@@ -446,7 +446,7 @@ static const struct ieee1394_device_id e
24426 .specifier_id = ETHER1394_GASP_SPECIFIER_ID, 24687 .specifier_id = ETHER1394_GASP_SPECIFIER_ID,
24427 .version = ETHER1394_GASP_VERSION, 24688 .version = ETHER1394_GASP_VERSION,
@@ -24431,9 +24692,9 @@ diff -urNp linux-2.6.32.11/drivers/ieee1394/eth1394.c linux-2.6.32.11/drivers/ie
24431 }; 24692 };
24432 24693
24433 MODULE_DEVICE_TABLE(ieee1394, eth1394_id_table); 24694 MODULE_DEVICE_TABLE(ieee1394, eth1394_id_table);
24434diff -urNp linux-2.6.32.11/drivers/ieee1394/hosts.c linux-2.6.32.11/drivers/ieee1394/hosts.c 24695diff -urNp linux-2.6.32.12/drivers/ieee1394/hosts.c linux-2.6.32.12/drivers/ieee1394/hosts.c
24435--- linux-2.6.32.11/drivers/ieee1394/hosts.c 2010-03-15 11:52:04.000000000 -0400 24696--- linux-2.6.32.12/drivers/ieee1394/hosts.c 2010-03-15 11:52:04.000000000 -0400
24436+++ linux-2.6.32.11/drivers/ieee1394/hosts.c 2010-04-04 20:46:41.589782410 -0400 24697+++ linux-2.6.32.12/drivers/ieee1394/hosts.c 2010-04-04 20:46:41.589782410 -0400
24437@@ -78,6 +78,7 @@ static int dummy_isoctl(struct hpsb_iso 24698@@ -78,6 +78,7 @@ static int dummy_isoctl(struct hpsb_iso
24438 } 24699 }
24439 24700
@@ -24442,9 +24703,9 @@ diff -urNp linux-2.6.32.11/drivers/ieee1394/hosts.c linux-2.6.32.11/drivers/ieee
24442 .transmit_packet = dummy_transmit_packet, 24703 .transmit_packet = dummy_transmit_packet,
24443 .devctl = dummy_devctl, 24704 .devctl = dummy_devctl,
24444 .isoctl = dummy_isoctl 24705 .isoctl = dummy_isoctl
24445diff -urNp linux-2.6.32.11/drivers/ieee1394/ohci1394.c linux-2.6.32.11/drivers/ieee1394/ohci1394.c 24706diff -urNp linux-2.6.32.12/drivers/ieee1394/ohci1394.c linux-2.6.32.12/drivers/ieee1394/ohci1394.c
24446--- linux-2.6.32.11/drivers/ieee1394/ohci1394.c 2010-03-15 11:52:04.000000000 -0400 24707--- linux-2.6.32.12/drivers/ieee1394/ohci1394.c 2010-03-15 11:52:04.000000000 -0400
24447+++ linux-2.6.32.11/drivers/ieee1394/ohci1394.c 2010-04-04 20:46:41.589782410 -0400 24708+++ linux-2.6.32.12/drivers/ieee1394/ohci1394.c 2010-04-04 20:46:41.589782410 -0400
24448@@ -147,9 +147,9 @@ printk(level "%s: " fmt "\n" , OHCI1394_ 24709@@ -147,9 +147,9 @@ printk(level "%s: " fmt "\n" , OHCI1394_
24449 printk(level "%s: fw-host%d: " fmt "\n" , OHCI1394_DRIVER_NAME, ohci->host->id , ## args) 24710 printk(level "%s: fw-host%d: " fmt "\n" , OHCI1394_DRIVER_NAME, ohci->host->id , ## args)
24450 24711
@@ -24466,9 +24727,9 @@ diff -urNp linux-2.6.32.11/drivers/ieee1394/ohci1394.c linux-2.6.32.11/drivers/i
24466 }; 24727 };
24467 24728
24468 MODULE_DEVICE_TABLE(pci, ohci1394_pci_tbl); 24729 MODULE_DEVICE_TABLE(pci, ohci1394_pci_tbl);
24469diff -urNp linux-2.6.32.11/drivers/ieee1394/raw1394.c linux-2.6.32.11/drivers/ieee1394/raw1394.c 24730diff -urNp linux-2.6.32.12/drivers/ieee1394/raw1394.c linux-2.6.32.12/drivers/ieee1394/raw1394.c
24470--- linux-2.6.32.11/drivers/ieee1394/raw1394.c 2010-03-15 11:52:04.000000000 -0400 24731--- linux-2.6.32.12/drivers/ieee1394/raw1394.c 2010-03-15 11:52:04.000000000 -0400
24471+++ linux-2.6.32.11/drivers/ieee1394/raw1394.c 2010-04-04 20:46:41.589782410 -0400 24732+++ linux-2.6.32.12/drivers/ieee1394/raw1394.c 2010-04-04 20:46:41.589782410 -0400
24472@@ -3002,7 +3002,7 @@ static const struct ieee1394_device_id r 24733@@ -3002,7 +3002,7 @@ static const struct ieee1394_device_id r
24473 .match_flags = IEEE1394_MATCH_SPECIFIER_ID | IEEE1394_MATCH_VERSION, 24734 .match_flags = IEEE1394_MATCH_SPECIFIER_ID | IEEE1394_MATCH_VERSION,
24474 .specifier_id = CAMERA_UNIT_SPEC_ID_ENTRY & 0xffffff, 24735 .specifier_id = CAMERA_UNIT_SPEC_ID_ENTRY & 0xffffff,
@@ -24478,9 +24739,9 @@ diff -urNp linux-2.6.32.11/drivers/ieee1394/raw1394.c linux-2.6.32.11/drivers/ie
24478 }; 24739 };
24479 24740
24480 MODULE_DEVICE_TABLE(ieee1394, raw1394_id_table); 24741 MODULE_DEVICE_TABLE(ieee1394, raw1394_id_table);
24481diff -urNp linux-2.6.32.11/drivers/ieee1394/sbp2.c linux-2.6.32.11/drivers/ieee1394/sbp2.c 24742diff -urNp linux-2.6.32.12/drivers/ieee1394/sbp2.c linux-2.6.32.12/drivers/ieee1394/sbp2.c
24482--- linux-2.6.32.11/drivers/ieee1394/sbp2.c 2010-03-15 11:52:04.000000000 -0400 24743--- linux-2.6.32.12/drivers/ieee1394/sbp2.c 2010-03-15 11:52:04.000000000 -0400
24483+++ linux-2.6.32.11/drivers/ieee1394/sbp2.c 2010-04-04 20:46:41.589782410 -0400 24744+++ linux-2.6.32.12/drivers/ieee1394/sbp2.c 2010-04-04 20:46:41.589782410 -0400
24484@@ -290,7 +290,7 @@ static const struct ieee1394_device_id s 24745@@ -290,7 +290,7 @@ static const struct ieee1394_device_id s
24485 .match_flags = IEEE1394_MATCH_SPECIFIER_ID | IEEE1394_MATCH_VERSION, 24746 .match_flags = IEEE1394_MATCH_SPECIFIER_ID | IEEE1394_MATCH_VERSION,
24486 .specifier_id = SBP2_UNIT_SPEC_ID_ENTRY & 0xffffff, 24747 .specifier_id = SBP2_UNIT_SPEC_ID_ENTRY & 0xffffff,
@@ -24499,9 +24760,9 @@ diff -urNp linux-2.6.32.11/drivers/ieee1394/sbp2.c linux-2.6.32.11/drivers/ieee1
24499 { 24760 {
24500 int ret; 24761 int ret;
24501 24762
24502diff -urNp linux-2.6.32.11/drivers/ieee1394/video1394.c linux-2.6.32.11/drivers/ieee1394/video1394.c 24763diff -urNp linux-2.6.32.12/drivers/ieee1394/video1394.c linux-2.6.32.12/drivers/ieee1394/video1394.c
24503--- linux-2.6.32.11/drivers/ieee1394/video1394.c 2010-03-15 11:52:04.000000000 -0400 24764--- linux-2.6.32.12/drivers/ieee1394/video1394.c 2010-03-15 11:52:04.000000000 -0400
24504+++ linux-2.6.32.11/drivers/ieee1394/video1394.c 2010-04-04 20:46:41.589782410 -0400 24765+++ linux-2.6.32.12/drivers/ieee1394/video1394.c 2010-04-04 20:46:41.589782410 -0400
24505@@ -1311,7 +1311,7 @@ static const struct ieee1394_device_id v 24766@@ -1311,7 +1311,7 @@ static const struct ieee1394_device_id v
24506 .specifier_id = CAMERA_UNIT_SPEC_ID_ENTRY & 0xffffff, 24767 .specifier_id = CAMERA_UNIT_SPEC_ID_ENTRY & 0xffffff,
24507 .version = (CAMERA_SW_VERSION_ENTRY + 2) & 0xffffff 24768 .version = (CAMERA_SW_VERSION_ENTRY + 2) & 0xffffff
@@ -24511,9 +24772,9 @@ diff -urNp linux-2.6.32.11/drivers/ieee1394/video1394.c linux-2.6.32.11/drivers/
24511 }; 24772 };
24512 24773
24513 MODULE_DEVICE_TABLE(ieee1394, video1394_id_table); 24774 MODULE_DEVICE_TABLE(ieee1394, video1394_id_table);
24514diff -urNp linux-2.6.32.11/drivers/infiniband/core/cm.c linux-2.6.32.11/drivers/infiniband/core/cm.c 24775diff -urNp linux-2.6.32.12/drivers/infiniband/core/cm.c linux-2.6.32.12/drivers/infiniband/core/cm.c
24515--- linux-2.6.32.11/drivers/infiniband/core/cm.c 2010-03-15 11:52:04.000000000 -0400 24776--- linux-2.6.32.12/drivers/infiniband/core/cm.c 2010-03-15 11:52:04.000000000 -0400
24516+++ linux-2.6.32.11/drivers/infiniband/core/cm.c 2010-04-04 20:46:41.589782410 -0400 24777+++ linux-2.6.32.12/drivers/infiniband/core/cm.c 2010-04-04 20:46:41.589782410 -0400
24517@@ -112,7 +112,7 @@ static char const counter_group_names[CM 24778@@ -112,7 +112,7 @@ static char const counter_group_names[CM
24518 24779
24519 struct cm_counter_group { 24780 struct cm_counter_group {
@@ -24657,9 +24918,9 @@ diff -urNp linux-2.6.32.11/drivers/infiniband/core/cm.c linux-2.6.32.11/drivers/
24657 .show = cm_show_counter 24918 .show = cm_show_counter
24658 }; 24919 };
24659 24920
24660diff -urNp linux-2.6.32.11/drivers/infiniband/core/sysfs.c linux-2.6.32.11/drivers/infiniband/core/sysfs.c 24921diff -urNp linux-2.6.32.12/drivers/infiniband/core/sysfs.c linux-2.6.32.12/drivers/infiniband/core/sysfs.c
24661--- linux-2.6.32.11/drivers/infiniband/core/sysfs.c 2010-03-15 11:52:04.000000000 -0400 24922--- linux-2.6.32.12/drivers/infiniband/core/sysfs.c 2010-03-15 11:52:04.000000000 -0400
24662+++ linux-2.6.32.11/drivers/infiniband/core/sysfs.c 2010-04-04 20:46:41.589782410 -0400 24923+++ linux-2.6.32.12/drivers/infiniband/core/sysfs.c 2010-04-04 20:46:41.589782410 -0400
24663@@ -79,7 +79,7 @@ static ssize_t port_attr_show(struct kob 24924@@ -79,7 +79,7 @@ static ssize_t port_attr_show(struct kob
24664 return port_attr->show(p, port_attr, buf); 24925 return port_attr->show(p, port_attr, buf);
24665 } 24926 }
@@ -24669,9 +24930,9 @@ diff -urNp linux-2.6.32.11/drivers/infiniband/core/sysfs.c linux-2.6.32.11/drive
24669 .show = port_attr_show 24930 .show = port_attr_show
24670 }; 24931 };
24671 24932
24672diff -urNp linux-2.6.32.11/drivers/input/keyboard/atkbd.c linux-2.6.32.11/drivers/input/keyboard/atkbd.c 24933diff -urNp linux-2.6.32.12/drivers/input/keyboard/atkbd.c linux-2.6.32.12/drivers/input/keyboard/atkbd.c
24673--- linux-2.6.32.11/drivers/input/keyboard/atkbd.c 2010-03-15 11:52:04.000000000 -0400 24934--- linux-2.6.32.12/drivers/input/keyboard/atkbd.c 2010-03-15 11:52:04.000000000 -0400
24674+++ linux-2.6.32.11/drivers/input/keyboard/atkbd.c 2010-04-04 20:46:41.589782410 -0400 24935+++ linux-2.6.32.12/drivers/input/keyboard/atkbd.c 2010-04-04 20:46:41.589782410 -0400
24675@@ -1212,7 +1212,7 @@ static struct serio_device_id atkbd_seri 24936@@ -1212,7 +1212,7 @@ static struct serio_device_id atkbd_seri
24676 .id = SERIO_ANY, 24937 .id = SERIO_ANY,
24677 .extra = SERIO_ANY, 24938 .extra = SERIO_ANY,
@@ -24681,9 +24942,9 @@ diff -urNp linux-2.6.32.11/drivers/input/keyboard/atkbd.c linux-2.6.32.11/driver
24681 }; 24942 };
24682 24943
24683 MODULE_DEVICE_TABLE(serio, atkbd_serio_ids); 24944 MODULE_DEVICE_TABLE(serio, atkbd_serio_ids);
24684diff -urNp linux-2.6.32.11/drivers/input/mouse/lifebook.c linux-2.6.32.11/drivers/input/mouse/lifebook.c 24945diff -urNp linux-2.6.32.12/drivers/input/mouse/lifebook.c linux-2.6.32.12/drivers/input/mouse/lifebook.c
24685--- linux-2.6.32.11/drivers/input/mouse/lifebook.c 2010-03-15 11:52:04.000000000 -0400 24946--- linux-2.6.32.12/drivers/input/mouse/lifebook.c 2010-03-15 11:52:04.000000000 -0400
24686+++ linux-2.6.32.11/drivers/input/mouse/lifebook.c 2010-04-04 20:46:41.589782410 -0400 24947+++ linux-2.6.32.12/drivers/input/mouse/lifebook.c 2010-04-04 20:46:41.589782410 -0400
24687@@ -115,7 +115,7 @@ static const struct dmi_system_id lifebo 24948@@ -115,7 +115,7 @@ static const struct dmi_system_id lifebo
24688 DMI_MATCH(DMI_PRODUCT_NAME, "LifeBook B142"), 24949 DMI_MATCH(DMI_PRODUCT_NAME, "LifeBook B142"),
24689 }, 24950 },
@@ -24693,9 +24954,9 @@ diff -urNp linux-2.6.32.11/drivers/input/mouse/lifebook.c linux-2.6.32.11/driver
24693 }; 24954 };
24694 24955
24695 static psmouse_ret_t lifebook_process_byte(struct psmouse *psmouse) 24956 static psmouse_ret_t lifebook_process_byte(struct psmouse *psmouse)
24696diff -urNp linux-2.6.32.11/drivers/input/mouse/psmouse-base.c linux-2.6.32.11/drivers/input/mouse/psmouse-base.c 24957diff -urNp linux-2.6.32.12/drivers/input/mouse/psmouse-base.c linux-2.6.32.12/drivers/input/mouse/psmouse-base.c
24697--- linux-2.6.32.11/drivers/input/mouse/psmouse-base.c 2010-03-15 11:52:04.000000000 -0400 24958--- linux-2.6.32.12/drivers/input/mouse/psmouse-base.c 2010-03-15 11:52:04.000000000 -0400
24698+++ linux-2.6.32.11/drivers/input/mouse/psmouse-base.c 2010-04-04 20:46:41.593451026 -0400 24959+++ linux-2.6.32.12/drivers/input/mouse/psmouse-base.c 2010-04-04 20:46:41.593451026 -0400
24699@@ -1409,7 +1409,7 @@ static struct serio_device_id psmouse_se 24960@@ -1409,7 +1409,7 @@ static struct serio_device_id psmouse_se
24700 .id = SERIO_ANY, 24961 .id = SERIO_ANY,
24701 .extra = SERIO_ANY, 24962 .extra = SERIO_ANY,
@@ -24705,9 +24966,9 @@ diff -urNp linux-2.6.32.11/drivers/input/mouse/psmouse-base.c linux-2.6.32.11/dr
24705 }; 24966 };
24706 24967
24707 MODULE_DEVICE_TABLE(serio, psmouse_serio_ids); 24968 MODULE_DEVICE_TABLE(serio, psmouse_serio_ids);
24708diff -urNp linux-2.6.32.11/drivers/input/mouse/synaptics.c linux-2.6.32.11/drivers/input/mouse/synaptics.c 24969diff -urNp linux-2.6.32.12/drivers/input/mouse/synaptics.c linux-2.6.32.12/drivers/input/mouse/synaptics.c
24709--- linux-2.6.32.11/drivers/input/mouse/synaptics.c 2010-03-15 11:52:04.000000000 -0400 24970--- linux-2.6.32.12/drivers/input/mouse/synaptics.c 2010-03-15 11:52:04.000000000 -0400
24710+++ linux-2.6.32.11/drivers/input/mouse/synaptics.c 2010-04-04 20:46:41.593451026 -0400 24971+++ linux-2.6.32.12/drivers/input/mouse/synaptics.c 2010-04-04 20:46:41.593451026 -0400
24711@@ -437,7 +437,7 @@ static void synaptics_process_packet(str 24972@@ -437,7 +437,7 @@ static void synaptics_process_packet(str
24712 break; 24973 break;
24713 case 2: 24974 case 2:
@@ -24736,9 +24997,9 @@ diff -urNp linux-2.6.32.11/drivers/input/mouse/synaptics.c linux-2.6.32.11/drive
24736 }; 24997 };
24737 #endif 24998 #endif
24738 24999
24739diff -urNp linux-2.6.32.11/drivers/input/mousedev.c linux-2.6.32.11/drivers/input/mousedev.c 25000diff -urNp linux-2.6.32.12/drivers/input/mousedev.c linux-2.6.32.12/drivers/input/mousedev.c
24740--- linux-2.6.32.11/drivers/input/mousedev.c 2010-03-15 11:52:04.000000000 -0400 25001--- linux-2.6.32.12/drivers/input/mousedev.c 2010-03-15 11:52:04.000000000 -0400
24741+++ linux-2.6.32.11/drivers/input/mousedev.c 2010-04-04 20:46:41.593451026 -0400 25002+++ linux-2.6.32.12/drivers/input/mousedev.c 2010-04-04 20:46:41.593451026 -0400
24742@@ -1057,7 +1057,7 @@ static struct input_handler mousedev_han 25003@@ -1057,7 +1057,7 @@ static struct input_handler mousedev_han
24743 25004
24744 #ifdef CONFIG_INPUT_MOUSEDEV_PSAUX 25005 #ifdef CONFIG_INPUT_MOUSEDEV_PSAUX
@@ -24748,9 +25009,9 @@ diff -urNp linux-2.6.32.11/drivers/input/mousedev.c linux-2.6.32.11/drivers/inpu
24748 }; 25009 };
24749 static int psaux_registered; 25010 static int psaux_registered;
24750 #endif 25011 #endif
24751diff -urNp linux-2.6.32.11/drivers/input/serio/i8042-x86ia64io.h linux-2.6.32.11/drivers/input/serio/i8042-x86ia64io.h 25012diff -urNp linux-2.6.32.12/drivers/input/serio/i8042-x86ia64io.h linux-2.6.32.12/drivers/input/serio/i8042-x86ia64io.h
24752--- linux-2.6.32.11/drivers/input/serio/i8042-x86ia64io.h 2010-04-04 20:41:49.956500002 -0400 25013--- linux-2.6.32.12/drivers/input/serio/i8042-x86ia64io.h 2010-04-04 20:41:49.956500002 -0400
24753+++ linux-2.6.32.11/drivers/input/serio/i8042-x86ia64io.h 2010-04-04 20:46:41.593451026 -0400 25014+++ linux-2.6.32.12/drivers/input/serio/i8042-x86ia64io.h 2010-04-04 20:46:41.593451026 -0400
24754@@ -172,7 +172,7 @@ static const struct dmi_system_id __init 25015@@ -172,7 +172,7 @@ static const struct dmi_system_id __init
24755 DMI_MATCH(DMI_PRODUCT_VERSION, "Rev 1"), 25016 DMI_MATCH(DMI_PRODUCT_VERSION, "Rev 1"),
24756 }, 25017 },
@@ -24805,9 +25066,9 @@ diff -urNp linux-2.6.32.11/drivers/input/serio/i8042-x86ia64io.h linux-2.6.32.11
24805 }; 25066 };
24806 25067
24807 #endif /* CONFIG_X86 */ 25068 #endif /* CONFIG_X86 */
24808diff -urNp linux-2.6.32.11/drivers/input/serio/serio_raw.c linux-2.6.32.11/drivers/input/serio/serio_raw.c 25069diff -urNp linux-2.6.32.12/drivers/input/serio/serio_raw.c linux-2.6.32.12/drivers/input/serio/serio_raw.c
24809--- linux-2.6.32.11/drivers/input/serio/serio_raw.c 2010-03-15 11:52:04.000000000 -0400 25070--- linux-2.6.32.12/drivers/input/serio/serio_raw.c 2010-03-15 11:52:04.000000000 -0400
24810+++ linux-2.6.32.11/drivers/input/serio/serio_raw.c 2010-04-04 20:46:41.593451026 -0400 25071+++ linux-2.6.32.12/drivers/input/serio/serio_raw.c 2010-04-04 20:46:41.593451026 -0400
24811@@ -377,7 +377,7 @@ static struct serio_device_id serio_raw_ 25072@@ -377,7 +377,7 @@ static struct serio_device_id serio_raw_
24812 .id = SERIO_ANY, 25073 .id = SERIO_ANY,
24813 .extra = SERIO_ANY, 25074 .extra = SERIO_ANY,
@@ -24817,9 +25078,9 @@ diff -urNp linux-2.6.32.11/drivers/input/serio/serio_raw.c linux-2.6.32.11/drive
24817 }; 25078 };
24818 25079
24819 MODULE_DEVICE_TABLE(serio, serio_raw_serio_ids); 25080 MODULE_DEVICE_TABLE(serio, serio_raw_serio_ids);
24820diff -urNp linux-2.6.32.11/drivers/isdn/gigaset/common.c linux-2.6.32.11/drivers/isdn/gigaset/common.c 25081diff -urNp linux-2.6.32.12/drivers/isdn/gigaset/common.c linux-2.6.32.12/drivers/isdn/gigaset/common.c
24821--- linux-2.6.32.11/drivers/isdn/gigaset/common.c 2010-03-15 11:52:04.000000000 -0400 25082--- linux-2.6.32.12/drivers/isdn/gigaset/common.c 2010-03-15 11:52:04.000000000 -0400
24822+++ linux-2.6.32.11/drivers/isdn/gigaset/common.c 2010-04-04 20:46:41.593451026 -0400 25083+++ linux-2.6.32.12/drivers/isdn/gigaset/common.c 2010-04-04 20:46:41.593451026 -0400
24823@@ -712,7 +712,7 @@ struct cardstate *gigaset_initcs(struct 25084@@ -712,7 +712,7 @@ struct cardstate *gigaset_initcs(struct
24824 cs->commands_pending = 0; 25085 cs->commands_pending = 0;
24825 cs->cur_at_seq = 0; 25086 cs->cur_at_seq = 0;
@@ -24829,9 +25090,9 @@ diff -urNp linux-2.6.32.11/drivers/isdn/gigaset/common.c linux-2.6.32.11/drivers
24829 cs->dev = NULL; 25090 cs->dev = NULL;
24830 cs->tty = NULL; 25091 cs->tty = NULL;
24831 cs->tty_dev = NULL; 25092 cs->tty_dev = NULL;
24832diff -urNp linux-2.6.32.11/drivers/isdn/gigaset/gigaset.h linux-2.6.32.11/drivers/isdn/gigaset/gigaset.h 25093diff -urNp linux-2.6.32.12/drivers/isdn/gigaset/gigaset.h linux-2.6.32.12/drivers/isdn/gigaset/gigaset.h
24833--- linux-2.6.32.11/drivers/isdn/gigaset/gigaset.h 2010-03-15 11:52:04.000000000 -0400 25094--- linux-2.6.32.12/drivers/isdn/gigaset/gigaset.h 2010-03-15 11:52:04.000000000 -0400
24834+++ linux-2.6.32.11/drivers/isdn/gigaset/gigaset.h 2010-04-04 20:46:41.593451026 -0400 25095+++ linux-2.6.32.12/drivers/isdn/gigaset/gigaset.h 2010-04-04 20:46:41.593451026 -0400
24835@@ -446,7 +446,7 @@ struct cardstate { 25096@@ -446,7 +446,7 @@ struct cardstate {
24836 spinlock_t cmdlock; 25097 spinlock_t cmdlock;
24837 unsigned curlen, cmdbytes; 25098 unsigned curlen, cmdbytes;
@@ -24841,9 +25102,9 @@ diff -urNp linux-2.6.32.11/drivers/isdn/gigaset/gigaset.h linux-2.6.32.11/driver
24841 struct tty_struct *tty; 25102 struct tty_struct *tty;
24842 struct tasklet_struct if_wake_tasklet; 25103 struct tasklet_struct if_wake_tasklet;
24843 unsigned control_state; 25104 unsigned control_state;
24844diff -urNp linux-2.6.32.11/drivers/isdn/gigaset/interface.c linux-2.6.32.11/drivers/isdn/gigaset/interface.c 25105diff -urNp linux-2.6.32.12/drivers/isdn/gigaset/interface.c linux-2.6.32.12/drivers/isdn/gigaset/interface.c
24845--- linux-2.6.32.11/drivers/isdn/gigaset/interface.c 2010-04-04 20:41:49.956500002 -0400 25106--- linux-2.6.32.12/drivers/isdn/gigaset/interface.c 2010-04-04 20:41:49.956500002 -0400
24846+++ linux-2.6.32.11/drivers/isdn/gigaset/interface.c 2010-04-04 20:46:41.593451026 -0400 25107+++ linux-2.6.32.12/drivers/isdn/gigaset/interface.c 2010-04-04 20:46:41.593451026 -0400
24847@@ -165,9 +165,7 @@ static int if_open(struct tty_struct *tt 25108@@ -165,9 +165,7 @@ static int if_open(struct tty_struct *tt
24848 return -ERESTARTSYS; // FIXME -EINTR? 25109 return -ERESTARTSYS; // FIXME -EINTR?
24849 tty->driver_data = cs; 25110 tty->driver_data = cs;
@@ -24931,9 +25192,9 @@ diff -urNp linux-2.6.32.11/drivers/isdn/gigaset/interface.c linux-2.6.32.11/driv
24931 dev_warn(cs->dev, "%s: device not opened\n", __func__); 25192 dev_warn(cs->dev, "%s: device not opened\n", __func__);
24932 goto out; 25193 goto out;
24933 } 25194 }
24934diff -urNp linux-2.6.32.11/drivers/isdn/hardware/avm/b1.c linux-2.6.32.11/drivers/isdn/hardware/avm/b1.c 25195diff -urNp linux-2.6.32.12/drivers/isdn/hardware/avm/b1.c linux-2.6.32.12/drivers/isdn/hardware/avm/b1.c
24935--- linux-2.6.32.11/drivers/isdn/hardware/avm/b1.c 2010-03-15 11:52:04.000000000 -0400 25196--- linux-2.6.32.12/drivers/isdn/hardware/avm/b1.c 2010-03-15 11:52:04.000000000 -0400
24936+++ linux-2.6.32.11/drivers/isdn/hardware/avm/b1.c 2010-04-04 20:46:41.593451026 -0400 25197+++ linux-2.6.32.12/drivers/isdn/hardware/avm/b1.c 2010-04-04 20:46:41.593451026 -0400
24937@@ -173,7 +173,7 @@ int b1_load_t4file(avmcard *card, capilo 25198@@ -173,7 +173,7 @@ int b1_load_t4file(avmcard *card, capilo
24938 } 25199 }
24939 if (left) { 25200 if (left) {
@@ -24952,9 +25213,9 @@ diff -urNp linux-2.6.32.11/drivers/isdn/hardware/avm/b1.c linux-2.6.32.11/driver
24952 return -EFAULT; 25213 return -EFAULT;
24953 } else { 25214 } else {
24954 memcpy(buf, dp, left); 25215 memcpy(buf, dp, left);
24955diff -urNp linux-2.6.32.11/drivers/isdn/icn/icn.c linux-2.6.32.11/drivers/isdn/icn/icn.c 25216diff -urNp linux-2.6.32.12/drivers/isdn/icn/icn.c linux-2.6.32.12/drivers/isdn/icn/icn.c
24956--- linux-2.6.32.11/drivers/isdn/icn/icn.c 2010-03-15 11:52:04.000000000 -0400 25217--- linux-2.6.32.12/drivers/isdn/icn/icn.c 2010-03-15 11:52:04.000000000 -0400
24957+++ linux-2.6.32.11/drivers/isdn/icn/icn.c 2010-04-04 20:46:41.593451026 -0400 25218+++ linux-2.6.32.12/drivers/isdn/icn/icn.c 2010-04-04 20:46:41.593451026 -0400
24958@@ -1044,7 +1044,7 @@ icn_writecmd(const u_char * buf, int len 25219@@ -1044,7 +1044,7 @@ icn_writecmd(const u_char * buf, int len
24959 if (count > len) 25220 if (count > len)
24960 count = len; 25221 count = len;
@@ -24964,9 +25225,9 @@ diff -urNp linux-2.6.32.11/drivers/isdn/icn/icn.c linux-2.6.32.11/drivers/isdn/i
24964 return -EFAULT; 25225 return -EFAULT;
24965 } else 25226 } else
24966 memcpy(msg, buf, count); 25227 memcpy(msg, buf, count);
24967diff -urNp linux-2.6.32.11/drivers/lguest/core.c linux-2.6.32.11/drivers/lguest/core.c 25228diff -urNp linux-2.6.32.12/drivers/lguest/core.c linux-2.6.32.12/drivers/lguest/core.c
24968--- linux-2.6.32.11/drivers/lguest/core.c 2010-03-15 11:52:04.000000000 -0400 25229--- linux-2.6.32.12/drivers/lguest/core.c 2010-03-15 11:52:04.000000000 -0400
24969+++ linux-2.6.32.11/drivers/lguest/core.c 2010-04-04 20:46:41.593451026 -0400 25230+++ linux-2.6.32.12/drivers/lguest/core.c 2010-04-04 20:46:41.593451026 -0400
24970@@ -91,9 +91,17 @@ static __init int map_switcher(void) 25231@@ -91,9 +91,17 @@ static __init int map_switcher(void)
24971 * it's worked so far. The end address needs +1 because __get_vm_area 25232 * it's worked so far. The end address needs +1 because __get_vm_area
24972 * allocates an extra guard page, so we need space for that. 25233 * allocates an extra guard page, so we need space for that.
@@ -24985,9 +25246,9 @@ diff -urNp linux-2.6.32.11/drivers/lguest/core.c linux-2.6.32.11/drivers/lguest/
24985 if (!switcher_vma) { 25246 if (!switcher_vma) {
24986 err = -ENOMEM; 25247 err = -ENOMEM;
24987 printk("lguest: could not map switcher pages high\n"); 25248 printk("lguest: could not map switcher pages high\n");
24988diff -urNp linux-2.6.32.11/drivers/macintosh/via-pmu-backlight.c linux-2.6.32.11/drivers/macintosh/via-pmu-backlight.c 25249diff -urNp linux-2.6.32.12/drivers/macintosh/via-pmu-backlight.c linux-2.6.32.12/drivers/macintosh/via-pmu-backlight.c
24989--- linux-2.6.32.11/drivers/macintosh/via-pmu-backlight.c 2010-03-15 11:52:04.000000000 -0400 25250--- linux-2.6.32.12/drivers/macintosh/via-pmu-backlight.c 2010-03-15 11:52:04.000000000 -0400
24990+++ linux-2.6.32.11/drivers/macintosh/via-pmu-backlight.c 2010-04-04 20:46:41.593451026 -0400 25251+++ linux-2.6.32.12/drivers/macintosh/via-pmu-backlight.c 2010-04-04 20:46:41.593451026 -0400
24991@@ -15,7 +15,7 @@ 25252@@ -15,7 +15,7 @@
24992 25253
24993 #define MAX_PMU_LEVEL 0xFF 25254 #define MAX_PMU_LEVEL 0xFF
@@ -25006,9 +25267,9 @@ diff -urNp linux-2.6.32.11/drivers/macintosh/via-pmu-backlight.c linux-2.6.32.11
25006 .get_brightness = pmu_backlight_get_brightness, 25267 .get_brightness = pmu_backlight_get_brightness,
25007 .update_status = pmu_backlight_update_status, 25268 .update_status = pmu_backlight_update_status,
25008 25269
25009diff -urNp linux-2.6.32.11/drivers/macintosh/via-pmu.c linux-2.6.32.11/drivers/macintosh/via-pmu.c 25270diff -urNp linux-2.6.32.12/drivers/macintosh/via-pmu.c linux-2.6.32.12/drivers/macintosh/via-pmu.c
25010--- linux-2.6.32.11/drivers/macintosh/via-pmu.c 2010-03-15 11:52:04.000000000 -0400 25271--- linux-2.6.32.12/drivers/macintosh/via-pmu.c 2010-03-15 11:52:04.000000000 -0400
25011+++ linux-2.6.32.11/drivers/macintosh/via-pmu.c 2010-04-04 20:46:41.593451026 -0400 25272+++ linux-2.6.32.12/drivers/macintosh/via-pmu.c 2010-04-04 20:46:41.593451026 -0400
25012@@ -2232,7 +2232,7 @@ static int pmu_sleep_valid(suspend_state 25273@@ -2232,7 +2232,7 @@ static int pmu_sleep_valid(suspend_state
25013 && (pmac_call_feature(PMAC_FTR_SLEEP_STATE, NULL, 0, -1) >= 0); 25274 && (pmac_call_feature(PMAC_FTR_SLEEP_STATE, NULL, 0, -1) >= 0);
25014 } 25275 }
@@ -25018,9 +25279,9 @@ diff -urNp linux-2.6.32.11/drivers/macintosh/via-pmu.c linux-2.6.32.11/drivers/m
25018 .enter = powerbook_sleep, 25279 .enter = powerbook_sleep,
25019 .valid = pmu_sleep_valid, 25280 .valid = pmu_sleep_valid,
25020 }; 25281 };
25021diff -urNp linux-2.6.32.11/drivers/md/bitmap.c linux-2.6.32.11/drivers/md/bitmap.c 25282diff -urNp linux-2.6.32.12/drivers/md/bitmap.c linux-2.6.32.12/drivers/md/bitmap.c
25022--- linux-2.6.32.11/drivers/md/bitmap.c 2010-03-15 11:52:04.000000000 -0400 25283--- linux-2.6.32.12/drivers/md/bitmap.c 2010-03-15 11:52:04.000000000 -0400
25023+++ linux-2.6.32.11/drivers/md/bitmap.c 2010-04-04 20:46:41.593451026 -0400 25284+++ linux-2.6.32.12/drivers/md/bitmap.c 2010-04-04 20:46:41.593451026 -0400
25024@@ -58,7 +58,7 @@ 25285@@ -58,7 +58,7 @@
25025 # if DEBUG > 0 25286 # if DEBUG > 0
25026 # define PRINTK(x...) printk(KERN_DEBUG x) 25287 # define PRINTK(x...) printk(KERN_DEBUG x)
@@ -25030,9 +25291,9 @@ diff -urNp linux-2.6.32.11/drivers/md/bitmap.c linux-2.6.32.11/drivers/md/bitmap
25030 # endif 25291 # endif
25031 #endif 25292 #endif
25032 25293
25033diff -urNp linux-2.6.32.11/drivers/md/dm-sysfs.c linux-2.6.32.11/drivers/md/dm-sysfs.c 25294diff -urNp linux-2.6.32.12/drivers/md/dm-sysfs.c linux-2.6.32.12/drivers/md/dm-sysfs.c
25034--- linux-2.6.32.11/drivers/md/dm-sysfs.c 2010-03-15 11:52:04.000000000 -0400 25295--- linux-2.6.32.12/drivers/md/dm-sysfs.c 2010-03-15 11:52:04.000000000 -0400
25035+++ linux-2.6.32.11/drivers/md/dm-sysfs.c 2010-04-04 20:46:41.593451026 -0400 25296+++ linux-2.6.32.12/drivers/md/dm-sysfs.c 2010-04-04 20:46:41.593451026 -0400
25036@@ -75,7 +75,7 @@ static struct attribute *dm_attrs[] = { 25297@@ -75,7 +75,7 @@ static struct attribute *dm_attrs[] = {
25037 NULL, 25298 NULL,
25038 }; 25299 };
@@ -25042,9 +25303,9 @@ diff -urNp linux-2.6.32.11/drivers/md/dm-sysfs.c linux-2.6.32.11/drivers/md/dm-s
25042 .show = dm_attr_show, 25303 .show = dm_attr_show,
25043 }; 25304 };
25044 25305
25045diff -urNp linux-2.6.32.11/drivers/md/dm-table.c linux-2.6.32.11/drivers/md/dm-table.c 25306diff -urNp linux-2.6.32.12/drivers/md/dm-table.c linux-2.6.32.12/drivers/md/dm-table.c
25046--- linux-2.6.32.11/drivers/md/dm-table.c 2010-03-15 11:52:04.000000000 -0400 25307--- linux-2.6.32.12/drivers/md/dm-table.c 2010-03-15 11:52:04.000000000 -0400
25047+++ linux-2.6.32.11/drivers/md/dm-table.c 2010-04-04 20:46:41.593451026 -0400 25308+++ linux-2.6.32.12/drivers/md/dm-table.c 2010-04-04 20:46:41.593451026 -0400
25048@@ -359,7 +359,7 @@ static int device_area_is_invalid(struct 25309@@ -359,7 +359,7 @@ static int device_area_is_invalid(struct
25049 if (!dev_size) 25310 if (!dev_size)
25050 return 0; 25311 return 0;
@@ -25054,9 +25315,9 @@ diff -urNp linux-2.6.32.11/drivers/md/dm-table.c linux-2.6.32.11/drivers/md/dm-t
25054 DMWARN("%s: %s too small for target: " 25315 DMWARN("%s: %s too small for target: "
25055 "start=%llu, len=%llu, dev_size=%llu", 25316 "start=%llu, len=%llu, dev_size=%llu",
25056 dm_device_name(ti->table->md), bdevname(bdev, b), 25317 dm_device_name(ti->table->md), bdevname(bdev, b),
25057diff -urNp linux-2.6.32.11/drivers/md/md.c linux-2.6.32.11/drivers/md/md.c 25318diff -urNp linux-2.6.32.12/drivers/md/md.c linux-2.6.32.12/drivers/md/md.c
25058--- linux-2.6.32.11/drivers/md/md.c 2010-03-15 11:52:04.000000000 -0400 25319--- linux-2.6.32.12/drivers/md/md.c 2010-03-15 11:52:04.000000000 -0400
25059+++ linux-2.6.32.11/drivers/md/md.c 2010-04-04 20:46:41.597784214 -0400 25320+++ linux-2.6.32.12/drivers/md/md.c 2010-04-04 20:46:41.597784214 -0400
25060@@ -2508,7 +2508,7 @@ static void rdev_free(struct kobject *ko 25321@@ -2508,7 +2508,7 @@ static void rdev_free(struct kobject *ko
25061 mdk_rdev_t *rdev = container_of(ko, mdk_rdev_t, kobj); 25322 mdk_rdev_t *rdev = container_of(ko, mdk_rdev_t, kobj);
25062 kfree(rdev); 25323 kfree(rdev);
@@ -25093,9 +25354,9 @@ diff -urNp linux-2.6.32.11/drivers/md/md.c linux-2.6.32.11/drivers/md/md.c
25093 /* sync IO will cause sync_io to increase before the disk_stats 25354 /* sync IO will cause sync_io to increase before the disk_stats
25094 * as sync_io is counted when a request starts, and 25355 * as sync_io is counted when a request starts, and
25095 * disk_stats is counted when it completes. 25356 * disk_stats is counted when it completes.
25096diff -urNp linux-2.6.32.11/drivers/md/md.h linux-2.6.32.11/drivers/md/md.h 25357diff -urNp linux-2.6.32.12/drivers/md/md.h linux-2.6.32.12/drivers/md/md.h
25097--- linux-2.6.32.11/drivers/md/md.h 2010-03-15 11:52:04.000000000 -0400 25358--- linux-2.6.32.12/drivers/md/md.h 2010-03-15 11:52:04.000000000 -0400
25098+++ linux-2.6.32.11/drivers/md/md.h 2010-04-04 20:46:41.597784214 -0400 25359+++ linux-2.6.32.12/drivers/md/md.h 2010-04-04 20:46:41.597784214 -0400
25099@@ -304,7 +304,7 @@ static inline void rdev_dec_pending(mdk_ 25360@@ -304,7 +304,7 @@ static inline void rdev_dec_pending(mdk_
25100 25361
25101 static inline void md_sync_acct(struct block_device *bdev, unsigned long nr_sectors) 25362 static inline void md_sync_acct(struct block_device *bdev, unsigned long nr_sectors)
@@ -25105,9 +25366,9 @@ diff -urNp linux-2.6.32.11/drivers/md/md.h linux-2.6.32.11/drivers/md/md.h
25105 } 25366 }
25106 25367
25107 struct mdk_personality 25368 struct mdk_personality
25108diff -urNp linux-2.6.32.11/drivers/media/dvb/dvb-core/dvbdev.c linux-2.6.32.11/drivers/media/dvb/dvb-core/dvbdev.c 25369diff -urNp linux-2.6.32.12/drivers/media/dvb/dvb-core/dvbdev.c linux-2.6.32.12/drivers/media/dvb/dvb-core/dvbdev.c
25109--- linux-2.6.32.11/drivers/media/dvb/dvb-core/dvbdev.c 2010-03-15 11:52:04.000000000 -0400 25370--- linux-2.6.32.12/drivers/media/dvb/dvb-core/dvbdev.c 2010-03-15 11:52:04.000000000 -0400
25110+++ linux-2.6.32.11/drivers/media/dvb/dvb-core/dvbdev.c 2010-04-04 20:46:41.597784214 -0400 25371+++ linux-2.6.32.12/drivers/media/dvb/dvb-core/dvbdev.c 2010-04-04 20:46:41.597784214 -0400
25111@@ -191,6 +191,7 @@ int dvb_register_device(struct dvb_adapt 25372@@ -191,6 +191,7 @@ int dvb_register_device(struct dvb_adapt
25112 const struct dvb_device *template, void *priv, int type) 25373 const struct dvb_device *template, void *priv, int type)
25113 { 25374 {
@@ -25116,9 +25377,9 @@ diff -urNp linux-2.6.32.11/drivers/media/dvb/dvb-core/dvbdev.c linux-2.6.32.11/d
25116 struct file_operations *dvbdevfops; 25377 struct file_operations *dvbdevfops;
25117 struct device *clsdev; 25378 struct device *clsdev;
25118 int minor; 25379 int minor;
25119diff -urNp linux-2.6.32.11/drivers/media/radio/radio-cadet.c linux-2.6.32.11/drivers/media/radio/radio-cadet.c 25380diff -urNp linux-2.6.32.12/drivers/media/radio/radio-cadet.c linux-2.6.32.12/drivers/media/radio/radio-cadet.c
25120--- linux-2.6.32.11/drivers/media/radio/radio-cadet.c 2010-03-15 11:52:04.000000000 -0400 25381--- linux-2.6.32.12/drivers/media/radio/radio-cadet.c 2010-03-15 11:52:04.000000000 -0400
25121+++ linux-2.6.32.11/drivers/media/radio/radio-cadet.c 2010-04-04 20:46:41.597784214 -0400 25382+++ linux-2.6.32.12/drivers/media/radio/radio-cadet.c 2010-04-04 20:46:41.597784214 -0400
25122@@ -347,7 +347,7 @@ static ssize_t cadet_read(struct file *f 25383@@ -347,7 +347,7 @@ static ssize_t cadet_read(struct file *f
25123 while (i < count && dev->rdsin != dev->rdsout) 25384 while (i < count && dev->rdsin != dev->rdsout)
25124 readbuf[i++] = dev->rdsbuf[dev->rdsout++]; 25385 readbuf[i++] = dev->rdsbuf[dev->rdsout++];
@@ -25128,9 +25389,9 @@ diff -urNp linux-2.6.32.11/drivers/media/radio/radio-cadet.c linux-2.6.32.11/dri
25128 return -EFAULT; 25389 return -EFAULT;
25129 return i; 25390 return i;
25130 } 25391 }
25131diff -urNp linux-2.6.32.11/drivers/media/video/usbvideo/konicawc.c linux-2.6.32.11/drivers/media/video/usbvideo/konicawc.c 25392diff -urNp linux-2.6.32.12/drivers/media/video/usbvideo/konicawc.c linux-2.6.32.12/drivers/media/video/usbvideo/konicawc.c
25132--- linux-2.6.32.11/drivers/media/video/usbvideo/konicawc.c 2010-03-15 11:52:04.000000000 -0400 25393--- linux-2.6.32.12/drivers/media/video/usbvideo/konicawc.c 2010-03-15 11:52:04.000000000 -0400
25133+++ linux-2.6.32.11/drivers/media/video/usbvideo/konicawc.c 2010-04-04 20:46:41.597784214 -0400 25394+++ linux-2.6.32.12/drivers/media/video/usbvideo/konicawc.c 2010-04-04 20:46:41.597784214 -0400
25134@@ -225,7 +225,7 @@ static void konicawc_register_input(stru 25395@@ -225,7 +225,7 @@ static void konicawc_register_input(stru
25135 int error; 25396 int error;
25136 25397
@@ -25140,9 +25401,9 @@ diff -urNp linux-2.6.32.11/drivers/media/video/usbvideo/konicawc.c linux-2.6.32.
25140 25401
25141 cam->input = input_dev = input_allocate_device(); 25402 cam->input = input_dev = input_allocate_device();
25142 if (!input_dev) { 25403 if (!input_dev) {
25143diff -urNp linux-2.6.32.11/drivers/media/video/usbvideo/quickcam_messenger.c linux-2.6.32.11/drivers/media/video/usbvideo/quickcam_messenger.c 25404diff -urNp linux-2.6.32.12/drivers/media/video/usbvideo/quickcam_messenger.c linux-2.6.32.12/drivers/media/video/usbvideo/quickcam_messenger.c
25144--- linux-2.6.32.11/drivers/media/video/usbvideo/quickcam_messenger.c 2010-03-15 11:52:04.000000000 -0400 25405--- linux-2.6.32.12/drivers/media/video/usbvideo/quickcam_messenger.c 2010-03-15 11:52:04.000000000 -0400
25145+++ linux-2.6.32.11/drivers/media/video/usbvideo/quickcam_messenger.c 2010-04-04 20:46:41.597784214 -0400 25406+++ linux-2.6.32.12/drivers/media/video/usbvideo/quickcam_messenger.c 2010-04-04 20:46:41.597784214 -0400
25146@@ -89,7 +89,7 @@ static void qcm_register_input(struct qc 25407@@ -89,7 +89,7 @@ static void qcm_register_input(struct qc
25147 int error; 25408 int error;
25148 25409
@@ -25152,9 +25413,72 @@ diff -urNp linux-2.6.32.11/drivers/media/video/usbvideo/quickcam_messenger.c lin
25152 25413
25153 cam->input = input_dev = input_allocate_device(); 25414 cam->input = input_dev = input_allocate_device();
25154 if (!input_dev) { 25415 if (!input_dev) {
25155diff -urNp linux-2.6.32.11/drivers/message/i2o/i2o_proc.c linux-2.6.32.11/drivers/message/i2o/i2o_proc.c 25416diff -urNp linux-2.6.32.12/drivers/message/fusion/mptdebug.h linux-2.6.32.12/drivers/message/fusion/mptdebug.h
25156--- linux-2.6.32.11/drivers/message/i2o/i2o_proc.c 2010-03-15 11:52:04.000000000 -0400 25417--- linux-2.6.32.12/drivers/message/fusion/mptdebug.h 2010-03-15 11:52:04.000000000 -0400
25157+++ linux-2.6.32.11/drivers/message/i2o/i2o_proc.c 2010-04-04 20:46:41.597784214 -0400 25418+++ linux-2.6.32.12/drivers/message/fusion/mptdebug.h 2010-04-29 17:46:37.113104605 -0400
25419@@ -71,7 +71,7 @@
25420 CMD; \
25421 }
25422 #else
25423-#define MPT_CHECK_LOGGING(IOC, CMD, BITS)
25424+#define MPT_CHECK_LOGGING(IOC, CMD, BITS) do {} while (0)
25425 #endif
25426
25427
25428diff -urNp linux-2.6.32.12/drivers/message/fusion/mptsas.c linux-2.6.32.12/drivers/message/fusion/mptsas.c
25429--- linux-2.6.32.12/drivers/message/fusion/mptsas.c 2010-03-15 11:52:04.000000000 -0400
25430+++ linux-2.6.32.12/drivers/message/fusion/mptsas.c 2010-04-29 17:46:37.113104605 -0400
25431@@ -436,6 +436,23 @@ mptsas_is_end_device(struct mptsas_devin
25432 return 0;
25433 }
25434
25435+static inline void
25436+mptsas_set_rphy(MPT_ADAPTER *ioc, struct mptsas_phyinfo *phy_info, struct sas_rphy *rphy)
25437+{
25438+ if (phy_info->port_details) {
25439+ phy_info->port_details->rphy = rphy;
25440+ dsaswideprintk(ioc, printk(MYIOC_s_DEBUG_FMT "sas_rphy_add: rphy=%p\n",
25441+ ioc->name, rphy));
25442+ }
25443+
25444+ if (rphy) {
25445+ dsaswideprintk(ioc, dev_printk(KERN_DEBUG,
25446+ &rphy->dev, MYIOC_s_FMT "add:", ioc->name));
25447+ dsaswideprintk(ioc, printk(MYIOC_s_DEBUG_FMT "rphy=%p release=%p\n",
25448+ ioc->name, rphy, rphy->dev.release));
25449+ }
25450+}
25451+
25452 /* no mutex */
25453 static void
25454 mptsas_port_delete(MPT_ADAPTER *ioc, struct mptsas_portinfo_details * port_details)
25455@@ -474,23 +491,6 @@ mptsas_get_rphy(struct mptsas_phyinfo *p
25456 return NULL;
25457 }
25458
25459-static inline void
25460-mptsas_set_rphy(MPT_ADAPTER *ioc, struct mptsas_phyinfo *phy_info, struct sas_rphy *rphy)
25461-{
25462- if (phy_info->port_details) {
25463- phy_info->port_details->rphy = rphy;
25464- dsaswideprintk(ioc, printk(MYIOC_s_DEBUG_FMT "sas_rphy_add: rphy=%p\n",
25465- ioc->name, rphy));
25466- }
25467-
25468- if (rphy) {
25469- dsaswideprintk(ioc, dev_printk(KERN_DEBUG,
25470- &rphy->dev, MYIOC_s_FMT "add:", ioc->name));
25471- dsaswideprintk(ioc, printk(MYIOC_s_DEBUG_FMT "rphy=%p release=%p\n",
25472- ioc->name, rphy, rphy->dev.release));
25473- }
25474-}
25475-
25476 static inline struct sas_port *
25477 mptsas_get_port(struct mptsas_phyinfo *phy_info)
25478 {
25479diff -urNp linux-2.6.32.12/drivers/message/i2o/i2o_proc.c linux-2.6.32.12/drivers/message/i2o/i2o_proc.c
25480--- linux-2.6.32.12/drivers/message/i2o/i2o_proc.c 2010-03-15 11:52:04.000000000 -0400
25481+++ linux-2.6.32.12/drivers/message/i2o/i2o_proc.c 2010-04-04 20:46:41.597784214 -0400
25158@@ -259,13 +259,6 @@ static char *scsi_devices[] = { 25482@@ -259,13 +259,6 @@ static char *scsi_devices[] = {
25159 "Array Controller Device" 25483 "Array Controller Device"
25160 }; 25484 };
@@ -25241,9 +25565,9 @@ diff -urNp linux-2.6.32.11/drivers/message/i2o/i2o_proc.c linux-2.6.32.11/driver
25241 25565
25242 return 0; 25566 return 0;
25243 } 25567 }
25244diff -urNp linux-2.6.32.11/drivers/misc/kgdbts.c linux-2.6.32.11/drivers/misc/kgdbts.c 25568diff -urNp linux-2.6.32.12/drivers/misc/kgdbts.c linux-2.6.32.12/drivers/misc/kgdbts.c
25245--- linux-2.6.32.11/drivers/misc/kgdbts.c 2010-03-15 11:52:04.000000000 -0400 25569--- linux-2.6.32.12/drivers/misc/kgdbts.c 2010-03-15 11:52:04.000000000 -0400
25246+++ linux-2.6.32.11/drivers/misc/kgdbts.c 2010-04-04 20:46:41.597784214 -0400 25570+++ linux-2.6.32.12/drivers/misc/kgdbts.c 2010-04-04 20:46:41.597784214 -0400
25247@@ -118,7 +118,7 @@ 25571@@ -118,7 +118,7 @@
25248 } while (0) 25572 } while (0)
25249 #define MAX_CONFIG_LEN 40 25573 #define MAX_CONFIG_LEN 40
@@ -25262,9 +25586,9 @@ diff -urNp linux-2.6.32.11/drivers/misc/kgdbts.c linux-2.6.32.11/drivers/misc/kg
25262 .name = "kgdbts", 25586 .name = "kgdbts",
25263 .read_char = kgdbts_get_char, 25587 .read_char = kgdbts_get_char,
25264 .write_char = kgdbts_put_char, 25588 .write_char = kgdbts_put_char,
25265diff -urNp linux-2.6.32.11/drivers/misc/sgi-gru/gruhandles.c linux-2.6.32.11/drivers/misc/sgi-gru/gruhandles.c 25589diff -urNp linux-2.6.32.12/drivers/misc/sgi-gru/gruhandles.c linux-2.6.32.12/drivers/misc/sgi-gru/gruhandles.c
25266--- linux-2.6.32.11/drivers/misc/sgi-gru/gruhandles.c 2010-03-15 11:52:04.000000000 -0400 25590--- linux-2.6.32.12/drivers/misc/sgi-gru/gruhandles.c 2010-03-15 11:52:04.000000000 -0400
25267+++ linux-2.6.32.11/drivers/misc/sgi-gru/gruhandles.c 2010-04-04 20:46:41.597784214 -0400 25591+++ linux-2.6.32.12/drivers/misc/sgi-gru/gruhandles.c 2010-04-04 20:46:41.597784214 -0400
25268@@ -39,8 +39,8 @@ struct mcs_op_statistic mcs_op_statistic 25592@@ -39,8 +39,8 @@ struct mcs_op_statistic mcs_op_statistic
25269 25593
25270 static void update_mcs_stats(enum mcs_op op, unsigned long clks) 25594 static void update_mcs_stats(enum mcs_op op, unsigned long clks)
@@ -25276,9 +25600,9 @@ diff -urNp linux-2.6.32.11/drivers/misc/sgi-gru/gruhandles.c linux-2.6.32.11/dri
25276 if (mcs_op_statistics[op].max < clks) 25600 if (mcs_op_statistics[op].max < clks)
25277 mcs_op_statistics[op].max = clks; 25601 mcs_op_statistics[op].max = clks;
25278 } 25602 }
25279diff -urNp linux-2.6.32.11/drivers/misc/sgi-gru/gruprocfs.c linux-2.6.32.11/drivers/misc/sgi-gru/gruprocfs.c 25603diff -urNp linux-2.6.32.12/drivers/misc/sgi-gru/gruprocfs.c linux-2.6.32.12/drivers/misc/sgi-gru/gruprocfs.c
25280--- linux-2.6.32.11/drivers/misc/sgi-gru/gruprocfs.c 2010-03-15 11:52:04.000000000 -0400 25604--- linux-2.6.32.12/drivers/misc/sgi-gru/gruprocfs.c 2010-03-15 11:52:04.000000000 -0400
25281+++ linux-2.6.32.11/drivers/misc/sgi-gru/gruprocfs.c 2010-04-04 20:46:41.597784214 -0400 25605+++ linux-2.6.32.12/drivers/misc/sgi-gru/gruprocfs.c 2010-04-04 20:46:41.597784214 -0400
25282@@ -32,9 +32,9 @@ 25606@@ -32,9 +32,9 @@
25283 25607
25284 #define printstat(s, f) printstat_val(s, &gru_stats.f, #f) 25608 #define printstat(s, f) printstat_val(s, &gru_stats.f, #f)
@@ -25302,9 +25626,9 @@ diff -urNp linux-2.6.32.11/drivers/misc/sgi-gru/gruprocfs.c linux-2.6.32.11/driv
25302 max = mcs_op_statistics[op].max; 25626 max = mcs_op_statistics[op].max;
25303 seq_printf(s, "%-20s%12ld%12ld%12ld\n", id[op], count, 25627 seq_printf(s, "%-20s%12ld%12ld%12ld\n", id[op], count,
25304 count ? total / count : 0, max); 25628 count ? total / count : 0, max);
25305diff -urNp linux-2.6.32.11/drivers/misc/sgi-gru/grutables.h linux-2.6.32.11/drivers/misc/sgi-gru/grutables.h 25629diff -urNp linux-2.6.32.12/drivers/misc/sgi-gru/grutables.h linux-2.6.32.12/drivers/misc/sgi-gru/grutables.h
25306--- linux-2.6.32.11/drivers/misc/sgi-gru/grutables.h 2010-03-15 11:52:04.000000000 -0400 25630--- linux-2.6.32.12/drivers/misc/sgi-gru/grutables.h 2010-03-15 11:52:04.000000000 -0400
25307+++ linux-2.6.32.11/drivers/misc/sgi-gru/grutables.h 2010-04-04 20:46:41.597784214 -0400 25631+++ linux-2.6.32.12/drivers/misc/sgi-gru/grutables.h 2010-04-04 20:46:41.597784214 -0400
25308@@ -167,84 +167,84 @@ extern unsigned int gru_max_gids; 25632@@ -167,84 +167,84 @@ extern unsigned int gru_max_gids;
25309 * GRU statistics. 25633 * GRU statistics.
25310 */ 25634 */
@@ -25488,9 +25812,9 @@ diff -urNp linux-2.6.32.11/drivers/misc/sgi-gru/grutables.h linux-2.6.32.11/driv
25488 } while (0) 25812 } while (0)
25489 25813
25490 #ifdef CONFIG_SGI_GRU_DEBUG 25814 #ifdef CONFIG_SGI_GRU_DEBUG
25491diff -urNp linux-2.6.32.11/drivers/mtd/devices/doc2000.c linux-2.6.32.11/drivers/mtd/devices/doc2000.c 25815diff -urNp linux-2.6.32.12/drivers/mtd/devices/doc2000.c linux-2.6.32.12/drivers/mtd/devices/doc2000.c
25492--- linux-2.6.32.11/drivers/mtd/devices/doc2000.c 2010-03-15 11:52:04.000000000 -0400 25816--- linux-2.6.32.12/drivers/mtd/devices/doc2000.c 2010-03-15 11:52:04.000000000 -0400
25493+++ linux-2.6.32.11/drivers/mtd/devices/doc2000.c 2010-04-04 20:46:41.597784214 -0400 25817+++ linux-2.6.32.12/drivers/mtd/devices/doc2000.c 2010-04-04 20:46:41.597784214 -0400
25494@@ -776,7 +776,7 @@ static int doc_write(struct mtd_info *mt 25818@@ -776,7 +776,7 @@ static int doc_write(struct mtd_info *mt
25495 25819
25496 /* The ECC will not be calculated correctly if less than 512 is written */ 25820 /* The ECC will not be calculated correctly if less than 512 is written */
@@ -25500,9 +25824,9 @@ diff -urNp linux-2.6.32.11/drivers/mtd/devices/doc2000.c linux-2.6.32.11/drivers
25500 printk(KERN_WARNING 25824 printk(KERN_WARNING
25501 "ECC needs a full sector write (adr: %lx size %lx)\n", 25825 "ECC needs a full sector write (adr: %lx size %lx)\n",
25502 (long) to, (long) len); 25826 (long) to, (long) len);
25503diff -urNp linux-2.6.32.11/drivers/mtd/devices/doc2001.c linux-2.6.32.11/drivers/mtd/devices/doc2001.c 25827diff -urNp linux-2.6.32.12/drivers/mtd/devices/doc2001.c linux-2.6.32.12/drivers/mtd/devices/doc2001.c
25504--- linux-2.6.32.11/drivers/mtd/devices/doc2001.c 2010-03-15 11:52:04.000000000 -0400 25828--- linux-2.6.32.12/drivers/mtd/devices/doc2001.c 2010-03-15 11:52:04.000000000 -0400
25505+++ linux-2.6.32.11/drivers/mtd/devices/doc2001.c 2010-04-04 20:46:41.597784214 -0400 25829+++ linux-2.6.32.12/drivers/mtd/devices/doc2001.c 2010-04-04 20:46:41.597784214 -0400
25506@@ -393,7 +393,7 @@ static int doc_read (struct mtd_info *mt 25830@@ -393,7 +393,7 @@ static int doc_read (struct mtd_info *mt
25507 struct Nand *mychip = &this->chips[from >> (this->chipshift)]; 25831 struct Nand *mychip = &this->chips[from >> (this->chipshift)];
25508 25832
@@ -25512,9 +25836,9 @@ diff -urNp linux-2.6.32.11/drivers/mtd/devices/doc2001.c linux-2.6.32.11/drivers
25512 return -EINVAL; 25836 return -EINVAL;
25513 25837
25514 /* Don't allow a single read to cross a 512-byte block boundary */ 25838 /* Don't allow a single read to cross a 512-byte block boundary */
25515diff -urNp linux-2.6.32.11/drivers/mtd/ubi/build.c linux-2.6.32.11/drivers/mtd/ubi/build.c 25839diff -urNp linux-2.6.32.12/drivers/mtd/ubi/build.c linux-2.6.32.12/drivers/mtd/ubi/build.c
25516--- linux-2.6.32.11/drivers/mtd/ubi/build.c 2010-03-15 11:52:04.000000000 -0400 25840--- linux-2.6.32.12/drivers/mtd/ubi/build.c 2010-03-15 11:52:04.000000000 -0400
25517+++ linux-2.6.32.11/drivers/mtd/ubi/build.c 2010-04-04 20:46:41.597784214 -0400 25841+++ linux-2.6.32.12/drivers/mtd/ubi/build.c 2010-04-04 20:46:41.597784214 -0400
25518@@ -1255,7 +1255,7 @@ module_exit(ubi_exit); 25842@@ -1255,7 +1255,7 @@ module_exit(ubi_exit);
25519 static int __init bytes_str_to_int(const char *str) 25843 static int __init bytes_str_to_int(const char *str)
25520 { 25844 {
@@ -25554,9 +25878,9 @@ diff -urNp linux-2.6.32.11/drivers/mtd/ubi/build.c linux-2.6.32.11/drivers/mtd/u
25554 } 25878 }
25555 25879
25556 /** 25880 /**
25557diff -urNp linux-2.6.32.11/drivers/net/e1000e/82571.c linux-2.6.32.11/drivers/net/e1000e/82571.c 25881diff -urNp linux-2.6.32.12/drivers/net/e1000e/82571.c linux-2.6.32.12/drivers/net/e1000e/82571.c
25558--- linux-2.6.32.11/drivers/net/e1000e/82571.c 2010-03-15 11:52:04.000000000 -0400 25882--- linux-2.6.32.12/drivers/net/e1000e/82571.c 2010-03-15 11:52:04.000000000 -0400
25559+++ linux-2.6.32.11/drivers/net/e1000e/82571.c 2010-04-04 20:46:41.597784214 -0400 25883+++ linux-2.6.32.12/drivers/net/e1000e/82571.c 2010-04-04 20:46:41.597784214 -0400
25560@@ -212,6 +212,7 @@ static s32 e1000_init_mac_params_82571(s 25884@@ -212,6 +212,7 @@ static s32 e1000_init_mac_params_82571(s
25561 { 25885 {
25562 struct e1000_hw *hw = &adapter->hw; 25886 struct e1000_hw *hw = &adapter->hw;
@@ -25610,9 +25934,9 @@ diff -urNp linux-2.6.32.11/drivers/net/e1000e/82571.c linux-2.6.32.11/drivers/ne
25610 .acquire_nvm = e1000_acquire_nvm_82571, 25934 .acquire_nvm = e1000_acquire_nvm_82571,
25611 .read_nvm = e1000e_read_nvm_eerd, 25935 .read_nvm = e1000e_read_nvm_eerd,
25612 .release_nvm = e1000_release_nvm_82571, 25936 .release_nvm = e1000_release_nvm_82571,
25613diff -urNp linux-2.6.32.11/drivers/net/e1000e/e1000.h linux-2.6.32.11/drivers/net/e1000e/e1000.h 25937diff -urNp linux-2.6.32.12/drivers/net/e1000e/e1000.h linux-2.6.32.12/drivers/net/e1000e/e1000.h
25614--- linux-2.6.32.11/drivers/net/e1000e/e1000.h 2010-03-15 11:52:04.000000000 -0400 25938--- linux-2.6.32.12/drivers/net/e1000e/e1000.h 2010-03-15 11:52:04.000000000 -0400
25615+++ linux-2.6.32.11/drivers/net/e1000e/e1000.h 2010-04-04 20:46:41.597784214 -0400 25939+++ linux-2.6.32.12/drivers/net/e1000e/e1000.h 2010-04-04 20:46:41.597784214 -0400
25616@@ -375,9 +375,9 @@ struct e1000_info { 25940@@ -375,9 +375,9 @@ struct e1000_info {
25617 u32 pba; 25941 u32 pba;
25618 u32 max_hw_frame_size; 25942 u32 max_hw_frame_size;
@@ -25626,9 +25950,9 @@ diff -urNp linux-2.6.32.11/drivers/net/e1000e/e1000.h linux-2.6.32.11/drivers/ne
25626 }; 25950 };
25627 25951
25628 /* hardware capability, feature, and workaround flags */ 25952 /* hardware capability, feature, and workaround flags */
25629diff -urNp linux-2.6.32.11/drivers/net/e1000e/es2lan.c linux-2.6.32.11/drivers/net/e1000e/es2lan.c 25953diff -urNp linux-2.6.32.12/drivers/net/e1000e/es2lan.c linux-2.6.32.12/drivers/net/e1000e/es2lan.c
25630--- linux-2.6.32.11/drivers/net/e1000e/es2lan.c 2010-03-15 11:52:04.000000000 -0400 25954--- linux-2.6.32.12/drivers/net/e1000e/es2lan.c 2010-03-15 11:52:04.000000000 -0400
25631+++ linux-2.6.32.11/drivers/net/e1000e/es2lan.c 2010-04-04 20:46:41.597784214 -0400 25955+++ linux-2.6.32.12/drivers/net/e1000e/es2lan.c 2010-04-04 20:46:41.597784214 -0400
25632@@ -207,6 +207,7 @@ static s32 e1000_init_mac_params_80003es 25956@@ -207,6 +207,7 @@ static s32 e1000_init_mac_params_80003es
25633 { 25957 {
25634 struct e1000_hw *hw = &adapter->hw; 25958 struct e1000_hw *hw = &adapter->hw;
@@ -25664,9 +25988,9 @@ diff -urNp linux-2.6.32.11/drivers/net/e1000e/es2lan.c linux-2.6.32.11/drivers/n
25664 .acquire_nvm = e1000_acquire_nvm_80003es2lan, 25988 .acquire_nvm = e1000_acquire_nvm_80003es2lan,
25665 .read_nvm = e1000e_read_nvm_eerd, 25989 .read_nvm = e1000e_read_nvm_eerd,
25666 .release_nvm = e1000_release_nvm_80003es2lan, 25990 .release_nvm = e1000_release_nvm_80003es2lan,
25667diff -urNp linux-2.6.32.11/drivers/net/e1000e/hw.h linux-2.6.32.11/drivers/net/e1000e/hw.h 25991diff -urNp linux-2.6.32.12/drivers/net/e1000e/hw.h linux-2.6.32.12/drivers/net/e1000e/hw.h
25668--- linux-2.6.32.11/drivers/net/e1000e/hw.h 2010-04-04 20:41:49.956500002 -0400 25992--- linux-2.6.32.12/drivers/net/e1000e/hw.h 2010-04-04 20:41:49.956500002 -0400
25669+++ linux-2.6.32.11/drivers/net/e1000e/hw.h 2010-04-04 20:46:41.601781347 -0400 25993+++ linux-2.6.32.12/drivers/net/e1000e/hw.h 2010-04-04 20:46:41.601781347 -0400
25670@@ -756,34 +756,34 @@ struct e1000_mac_operations { 25994@@ -756,34 +756,34 @@ struct e1000_mac_operations {
25671 25995
25672 /* Function pointers for the PHY. */ 25996 /* Function pointers for the PHY. */
@@ -25726,9 +26050,9 @@ diff -urNp linux-2.6.32.11/drivers/net/e1000e/hw.h linux-2.6.32.11/drivers/net/e
25726 }; 26050 };
25727 26051
25728 struct e1000_mac_info { 26052 struct e1000_mac_info {
25729diff -urNp linux-2.6.32.11/drivers/net/e1000e/ich8lan.c linux-2.6.32.11/drivers/net/e1000e/ich8lan.c 26053diff -urNp linux-2.6.32.12/drivers/net/e1000e/ich8lan.c linux-2.6.32.12/drivers/net/e1000e/ich8lan.c
25730--- linux-2.6.32.11/drivers/net/e1000e/ich8lan.c 2010-04-04 20:41:49.960543003 -0400 26054--- linux-2.6.32.12/drivers/net/e1000e/ich8lan.c 2010-04-04 20:41:49.960543003 -0400
25731+++ linux-2.6.32.11/drivers/net/e1000e/ich8lan.c 2010-04-04 20:46:41.601781347 -0400 26055+++ linux-2.6.32.12/drivers/net/e1000e/ich8lan.c 2010-04-04 20:46:41.601781347 -0400
25732@@ -3452,7 +3452,7 @@ static void e1000_clear_hw_cntrs_ich8lan 26056@@ -3452,7 +3452,7 @@ static void e1000_clear_hw_cntrs_ich8lan
25733 } 26057 }
25734 } 26058 }
@@ -25756,9 +26080,9 @@ diff -urNp linux-2.6.32.11/drivers/net/e1000e/ich8lan.c linux-2.6.32.11/drivers/
25756 .acquire_nvm = e1000_acquire_nvm_ich8lan, 26080 .acquire_nvm = e1000_acquire_nvm_ich8lan,
25757 .read_nvm = e1000_read_nvm_ich8lan, 26081 .read_nvm = e1000_read_nvm_ich8lan,
25758 .release_nvm = e1000_release_nvm_ich8lan, 26082 .release_nvm = e1000_release_nvm_ich8lan,
25759diff -urNp linux-2.6.32.11/drivers/net/ibmveth.c linux-2.6.32.11/drivers/net/ibmveth.c 26083diff -urNp linux-2.6.32.12/drivers/net/ibmveth.c linux-2.6.32.12/drivers/net/ibmveth.c
25760--- linux-2.6.32.11/drivers/net/ibmveth.c 2010-03-15 11:52:04.000000000 -0400 26084--- linux-2.6.32.12/drivers/net/ibmveth.c 2010-03-15 11:52:04.000000000 -0400
25761+++ linux-2.6.32.11/drivers/net/ibmveth.c 2010-04-04 20:46:41.601781347 -0400 26085+++ linux-2.6.32.12/drivers/net/ibmveth.c 2010-04-04 20:46:41.601781347 -0400
25762@@ -1577,7 +1577,7 @@ static struct attribute * veth_pool_attr 26086@@ -1577,7 +1577,7 @@ static struct attribute * veth_pool_attr
25763 NULL, 26087 NULL,
25764 }; 26088 };
@@ -25768,10 +26092,10 @@ diff -urNp linux-2.6.32.11/drivers/net/ibmveth.c linux-2.6.32.11/drivers/net/ibm
25768 .show = veth_pool_show, 26092 .show = veth_pool_show,
25769 .store = veth_pool_store, 26093 .store = veth_pool_store,
25770 }; 26094 };
25771diff -urNp linux-2.6.32.11/drivers/net/igb/e1000_82575.c linux-2.6.32.11/drivers/net/igb/e1000_82575.c 26095diff -urNp linux-2.6.32.12/drivers/net/igb/e1000_82575.c linux-2.6.32.12/drivers/net/igb/e1000_82575.c
25772--- linux-2.6.32.11/drivers/net/igb/e1000_82575.c 2010-03-15 11:52:04.000000000 -0400 26096--- linux-2.6.32.12/drivers/net/igb/e1000_82575.c 2010-04-29 17:49:38.085476187 -0400
25773+++ linux-2.6.32.11/drivers/net/igb/e1000_82575.c 2010-04-04 20:46:41.601781347 -0400 26097+++ linux-2.6.32.12/drivers/net/igb/e1000_82575.c 2010-04-29 17:49:58.193505226 -0400
25774@@ -1400,7 +1400,7 @@ void igb_vmdq_set_replication_pf(struct 26098@@ -1401,7 +1401,7 @@ void igb_vmdq_set_replication_pf(struct
25775 wr32(E1000_VT_CTL, vt_ctl); 26099 wr32(E1000_VT_CTL, vt_ctl);
25776 } 26100 }
25777 26101
@@ -25780,7 +26104,7 @@ diff -urNp linux-2.6.32.11/drivers/net/igb/e1000_82575.c linux-2.6.32.11/drivers
25780 .reset_hw = igb_reset_hw_82575, 26104 .reset_hw = igb_reset_hw_82575,
25781 .init_hw = igb_init_hw_82575, 26105 .init_hw = igb_init_hw_82575,
25782 .check_for_link = igb_check_for_link_82575, 26106 .check_for_link = igb_check_for_link_82575,
25783@@ -1409,13 +1409,13 @@ static struct e1000_mac_operations e1000 26107@@ -1410,13 +1410,13 @@ static struct e1000_mac_operations e1000
25784 .get_speed_and_duplex = igb_get_speed_and_duplex_copper, 26108 .get_speed_and_duplex = igb_get_speed_and_duplex_copper,
25785 }; 26109 };
25786 26110
@@ -25796,10 +26120,10 @@ diff -urNp linux-2.6.32.11/drivers/net/igb/e1000_82575.c linux-2.6.32.11/drivers
25796 .acquire = igb_acquire_nvm_82575, 26120 .acquire = igb_acquire_nvm_82575,
25797 .read = igb_read_nvm_eerd, 26121 .read = igb_read_nvm_eerd,
25798 .release = igb_release_nvm_82575, 26122 .release = igb_release_nvm_82575,
25799diff -urNp linux-2.6.32.11/drivers/net/igb/e1000_hw.h linux-2.6.32.11/drivers/net/igb/e1000_hw.h 26123diff -urNp linux-2.6.32.12/drivers/net/igb/e1000_hw.h linux-2.6.32.12/drivers/net/igb/e1000_hw.h
25800--- linux-2.6.32.11/drivers/net/igb/e1000_hw.h 2010-03-15 11:52:04.000000000 -0400 26124--- linux-2.6.32.12/drivers/net/igb/e1000_hw.h 2010-04-29 17:49:38.085476187 -0400
25801+++ linux-2.6.32.11/drivers/net/igb/e1000_hw.h 2010-04-04 20:46:41.601781347 -0400 26125+++ linux-2.6.32.12/drivers/net/igb/e1000_hw.h 2010-04-29 17:49:58.197572571 -0400
25802@@ -302,17 +302,17 @@ struct e1000_phy_operations { 26126@@ -303,17 +303,17 @@ struct e1000_phy_operations {
25803 }; 26127 };
25804 26128
25805 struct e1000_nvm_operations { 26129 struct e1000_nvm_operations {
@@ -25824,9 +26148,9 @@ diff -urNp linux-2.6.32.11/drivers/net/igb/e1000_hw.h linux-2.6.32.11/drivers/ne
25824 }; 26148 };
25825 26149
25826 extern const struct e1000_info e1000_82575_info; 26150 extern const struct e1000_info e1000_82575_info;
25827diff -urNp linux-2.6.32.11/drivers/net/irda/vlsi_ir.c linux-2.6.32.11/drivers/net/irda/vlsi_ir.c 26151diff -urNp linux-2.6.32.12/drivers/net/irda/vlsi_ir.c linux-2.6.32.12/drivers/net/irda/vlsi_ir.c
25828--- linux-2.6.32.11/drivers/net/irda/vlsi_ir.c 2010-03-15 11:52:04.000000000 -0400 26152--- linux-2.6.32.12/drivers/net/irda/vlsi_ir.c 2010-03-15 11:52:04.000000000 -0400
25829+++ linux-2.6.32.11/drivers/net/irda/vlsi_ir.c 2010-04-04 20:46:41.601781347 -0400 26153+++ linux-2.6.32.12/drivers/net/irda/vlsi_ir.c 2010-04-04 20:46:41.601781347 -0400
25830@@ -907,13 +907,12 @@ static netdev_tx_t vlsi_hard_start_xmit( 26154@@ -907,13 +907,12 @@ static netdev_tx_t vlsi_hard_start_xmit(
25831 /* no race - tx-ring already empty */ 26155 /* no race - tx-ring already empty */
25832 vlsi_set_baud(idev, iobase); 26156 vlsi_set_baud(idev, iobase);
@@ -25843,9 +26167,9 @@ diff -urNp linux-2.6.32.11/drivers/net/irda/vlsi_ir.c linux-2.6.32.11/drivers/ne
25843 spin_unlock_irqrestore(&idev->lock, flags); 26167 spin_unlock_irqrestore(&idev->lock, flags);
25844 dev_kfree_skb_any(skb); 26168 dev_kfree_skb_any(skb);
25845 return NETDEV_TX_OK; 26169 return NETDEV_TX_OK;
25846diff -urNp linux-2.6.32.11/drivers/net/iseries_veth.c linux-2.6.32.11/drivers/net/iseries_veth.c 26170diff -urNp linux-2.6.32.12/drivers/net/iseries_veth.c linux-2.6.32.12/drivers/net/iseries_veth.c
25847--- linux-2.6.32.11/drivers/net/iseries_veth.c 2010-03-15 11:52:04.000000000 -0400 26171--- linux-2.6.32.12/drivers/net/iseries_veth.c 2010-03-15 11:52:04.000000000 -0400
25848+++ linux-2.6.32.11/drivers/net/iseries_veth.c 2010-04-04 20:46:41.601781347 -0400 26172+++ linux-2.6.32.12/drivers/net/iseries_veth.c 2010-04-04 20:46:41.601781347 -0400
25849@@ -384,7 +384,7 @@ static struct attribute *veth_cnx_defaul 26173@@ -384,7 +384,7 @@ static struct attribute *veth_cnx_defaul
25850 NULL 26174 NULL
25851 }; 26175 };
@@ -25864,9 +26188,9 @@ diff -urNp linux-2.6.32.11/drivers/net/iseries_veth.c linux-2.6.32.11/drivers/ne
25864 .show = veth_port_attribute_show 26188 .show = veth_port_attribute_show
25865 }; 26189 };
25866 26190
25867diff -urNp linux-2.6.32.11/drivers/net/pcnet32.c linux-2.6.32.11/drivers/net/pcnet32.c 26191diff -urNp linux-2.6.32.12/drivers/net/pcnet32.c linux-2.6.32.12/drivers/net/pcnet32.c
25868--- linux-2.6.32.11/drivers/net/pcnet32.c 2010-03-15 11:52:04.000000000 -0400 26192--- linux-2.6.32.12/drivers/net/pcnet32.c 2010-03-15 11:52:04.000000000 -0400
25869+++ linux-2.6.32.11/drivers/net/pcnet32.c 2010-04-04 20:46:41.601781347 -0400 26193+++ linux-2.6.32.12/drivers/net/pcnet32.c 2010-04-04 20:46:41.601781347 -0400
25870@@ -79,7 +79,7 @@ static int cards_found; 26194@@ -79,7 +79,7 @@ static int cards_found;
25871 /* 26195 /*
25872 * VLB I/O addresses 26196 * VLB I/O addresses
@@ -25876,9 +26200,9 @@ diff -urNp linux-2.6.32.11/drivers/net/pcnet32.c linux-2.6.32.11/drivers/net/pcn
25876 { 0x300, 0x320, 0x340, 0x360, 0 }; 26200 { 0x300, 0x320, 0x340, 0x360, 0 };
25877 26201
25878 static int pcnet32_debug = 0; 26202 static int pcnet32_debug = 0;
25879diff -urNp linux-2.6.32.11/drivers/net/tg3.h linux-2.6.32.11/drivers/net/tg3.h 26203diff -urNp linux-2.6.32.12/drivers/net/tg3.h linux-2.6.32.12/drivers/net/tg3.h
25880--- linux-2.6.32.11/drivers/net/tg3.h 2010-04-04 20:41:49.968494922 -0400 26204--- linux-2.6.32.12/drivers/net/tg3.h 2010-04-04 20:41:49.968494922 -0400
25881+++ linux-2.6.32.11/drivers/net/tg3.h 2010-04-04 20:46:41.601781347 -0400 26205+++ linux-2.6.32.12/drivers/net/tg3.h 2010-04-04 20:46:41.601781347 -0400
25882@@ -95,6 +95,7 @@ 26206@@ -95,6 +95,7 @@
25883 #define CHIPREV_ID_5750_A0 0x4000 26207 #define CHIPREV_ID_5750_A0 0x4000
25884 #define CHIPREV_ID_5750_A1 0x4001 26208 #define CHIPREV_ID_5750_A1 0x4001
@@ -25887,9 +26211,9 @@ diff -urNp linux-2.6.32.11/drivers/net/tg3.h linux-2.6.32.11/drivers/net/tg3.h
25887 #define CHIPREV_ID_5750_C2 0x4202 26211 #define CHIPREV_ID_5750_C2 0x4202
25888 #define CHIPREV_ID_5752_A0_HW 0x5000 26212 #define CHIPREV_ID_5752_A0_HW 0x5000
25889 #define CHIPREV_ID_5752_A0 0x6000 26213 #define CHIPREV_ID_5752_A0 0x6000
25890diff -urNp linux-2.6.32.11/drivers/net/tulip/de4x5.c linux-2.6.32.11/drivers/net/tulip/de4x5.c 26214diff -urNp linux-2.6.32.12/drivers/net/tulip/de4x5.c linux-2.6.32.12/drivers/net/tulip/de4x5.c
25891--- linux-2.6.32.11/drivers/net/tulip/de4x5.c 2010-03-15 11:52:04.000000000 -0400 26215--- linux-2.6.32.12/drivers/net/tulip/de4x5.c 2010-03-15 11:52:04.000000000 -0400
25892+++ linux-2.6.32.11/drivers/net/tulip/de4x5.c 2010-04-04 20:46:41.601781347 -0400 26216+++ linux-2.6.32.12/drivers/net/tulip/de4x5.c 2010-04-04 20:46:41.601781347 -0400
25893@@ -5472,7 +5472,7 @@ de4x5_ioctl(struct net_device *dev, stru 26217@@ -5472,7 +5472,7 @@ de4x5_ioctl(struct net_device *dev, stru
25894 for (i=0; i<ETH_ALEN; i++) { 26218 for (i=0; i<ETH_ALEN; i++) {
25895 tmp.addr[i] = dev->dev_addr[i]; 26219 tmp.addr[i] = dev->dev_addr[i];
@@ -25908,9 +26232,9 @@ diff -urNp linux-2.6.32.11/drivers/net/tulip/de4x5.c linux-2.6.32.11/drivers/net
25908 return -EFAULT; 26232 return -EFAULT;
25909 break; 26233 break;
25910 } 26234 }
25911diff -urNp linux-2.6.32.11/drivers/net/usb/hso.c linux-2.6.32.11/drivers/net/usb/hso.c 26235diff -urNp linux-2.6.32.12/drivers/net/usb/hso.c linux-2.6.32.12/drivers/net/usb/hso.c
25912--- linux-2.6.32.11/drivers/net/usb/hso.c 2010-03-15 11:52:04.000000000 -0400 26236--- linux-2.6.32.12/drivers/net/usb/hso.c 2010-03-15 11:52:04.000000000 -0400
25913+++ linux-2.6.32.11/drivers/net/usb/hso.c 2010-04-04 20:46:41.605567348 -0400 26237+++ linux-2.6.32.12/drivers/net/usb/hso.c 2010-04-04 20:46:41.605567348 -0400
25914@@ -258,7 +258,7 @@ struct hso_serial { 26238@@ -258,7 +258,7 @@ struct hso_serial {
25915 26239
25916 /* from usb_serial_port */ 26240 /* from usb_serial_port */
@@ -25989,9 +26313,9 @@ diff -urNp linux-2.6.32.11/drivers/net/usb/hso.c linux-2.6.32.11/drivers/net/usb
25989 result = 26313 result =
25990 hso_start_serial_device(serial_table[i], GFP_NOIO); 26314 hso_start_serial_device(serial_table[i], GFP_NOIO);
25991 hso_kick_transmit(dev2ser(serial_table[i])); 26315 hso_kick_transmit(dev2ser(serial_table[i]));
25992diff -urNp linux-2.6.32.11/drivers/net/wireless/b43/debugfs.c linux-2.6.32.11/drivers/net/wireless/b43/debugfs.c 26316diff -urNp linux-2.6.32.12/drivers/net/wireless/b43/debugfs.c linux-2.6.32.12/drivers/net/wireless/b43/debugfs.c
25993--- linux-2.6.32.11/drivers/net/wireless/b43/debugfs.c 2010-03-15 11:52:04.000000000 -0400 26317--- linux-2.6.32.12/drivers/net/wireless/b43/debugfs.c 2010-03-15 11:52:04.000000000 -0400
25994+++ linux-2.6.32.11/drivers/net/wireless/b43/debugfs.c 2010-04-04 20:46:41.605567348 -0400 26318+++ linux-2.6.32.12/drivers/net/wireless/b43/debugfs.c 2010-04-04 20:46:41.605567348 -0400
25995@@ -43,7 +43,7 @@ static struct dentry *rootdir; 26319@@ -43,7 +43,7 @@ static struct dentry *rootdir;
25996 struct b43_debugfs_fops { 26320 struct b43_debugfs_fops {
25997 ssize_t (*read)(struct b43_wldev *dev, char *buf, size_t bufsize); 26321 ssize_t (*read)(struct b43_wldev *dev, char *buf, size_t bufsize);
@@ -26001,9 +26325,9 @@ diff -urNp linux-2.6.32.11/drivers/net/wireless/b43/debugfs.c linux-2.6.32.11/dr
26001 /* Offset of struct b43_dfs_file in struct b43_dfsentry */ 26325 /* Offset of struct b43_dfs_file in struct b43_dfsentry */
26002 size_t file_struct_offset; 26326 size_t file_struct_offset;
26003 }; 26327 };
26004diff -urNp linux-2.6.32.11/drivers/net/wireless/b43legacy/debugfs.c linux-2.6.32.11/drivers/net/wireless/b43legacy/debugfs.c 26328diff -urNp linux-2.6.32.12/drivers/net/wireless/b43legacy/debugfs.c linux-2.6.32.12/drivers/net/wireless/b43legacy/debugfs.c
26005--- linux-2.6.32.11/drivers/net/wireless/b43legacy/debugfs.c 2010-03-15 11:52:04.000000000 -0400 26329--- linux-2.6.32.12/drivers/net/wireless/b43legacy/debugfs.c 2010-03-15 11:52:04.000000000 -0400
26006+++ linux-2.6.32.11/drivers/net/wireless/b43legacy/debugfs.c 2010-04-04 20:46:41.605567348 -0400 26330+++ linux-2.6.32.12/drivers/net/wireless/b43legacy/debugfs.c 2010-04-04 20:46:41.605567348 -0400
26007@@ -44,7 +44,7 @@ static struct dentry *rootdir; 26331@@ -44,7 +44,7 @@ static struct dentry *rootdir;
26008 struct b43legacy_debugfs_fops { 26332 struct b43legacy_debugfs_fops {
26009 ssize_t (*read)(struct b43legacy_wldev *dev, char *buf, size_t bufsize); 26333 ssize_t (*read)(struct b43legacy_wldev *dev, char *buf, size_t bufsize);
@@ -26013,9 +26337,9 @@ diff -urNp linux-2.6.32.11/drivers/net/wireless/b43legacy/debugfs.c linux-2.6.32
26013 /* Offset of struct b43legacy_dfs_file in struct b43legacy_dfsentry */ 26337 /* Offset of struct b43legacy_dfs_file in struct b43legacy_dfsentry */
26014 size_t file_struct_offset; 26338 size_t file_struct_offset;
26015 /* Take wl->irq_lock before calling read/write? */ 26339 /* Take wl->irq_lock before calling read/write? */
26016diff -urNp linux-2.6.32.11/drivers/net/wireless/iwlwifi/iwl-1000.c linux-2.6.32.11/drivers/net/wireless/iwlwifi/iwl-1000.c 26340diff -urNp linux-2.6.32.12/drivers/net/wireless/iwlwifi/iwl-1000.c linux-2.6.32.12/drivers/net/wireless/iwlwifi/iwl-1000.c
26017--- linux-2.6.32.11/drivers/net/wireless/iwlwifi/iwl-1000.c 2010-03-15 11:52:04.000000000 -0400 26341--- linux-2.6.32.12/drivers/net/wireless/iwlwifi/iwl-1000.c 2010-03-15 11:52:04.000000000 -0400
26018+++ linux-2.6.32.11/drivers/net/wireless/iwlwifi/iwl-1000.c 2010-04-04 20:46:41.605567348 -0400 26342+++ linux-2.6.32.12/drivers/net/wireless/iwlwifi/iwl-1000.c 2010-04-04 20:46:41.605567348 -0400
26019@@ -137,7 +137,7 @@ static struct iwl_lib_ops iwl1000_lib = 26343@@ -137,7 +137,7 @@ static struct iwl_lib_ops iwl1000_lib =
26020 }, 26344 },
26021 }; 26345 };
@@ -26025,9 +26349,9 @@ diff -urNp linux-2.6.32.11/drivers/net/wireless/iwlwifi/iwl-1000.c linux-2.6.32.
26025 .ucode = &iwl5000_ucode, 26349 .ucode = &iwl5000_ucode,
26026 .lib = &iwl1000_lib, 26350 .lib = &iwl1000_lib,
26027 .hcmd = &iwl5000_hcmd, 26351 .hcmd = &iwl5000_hcmd,
26028diff -urNp linux-2.6.32.11/drivers/net/wireless/iwlwifi/iwl-3945.c linux-2.6.32.11/drivers/net/wireless/iwlwifi/iwl-3945.c 26352diff -urNp linux-2.6.32.12/drivers/net/wireless/iwlwifi/iwl-3945.c linux-2.6.32.12/drivers/net/wireless/iwlwifi/iwl-3945.c
26029--- linux-2.6.32.11/drivers/net/wireless/iwlwifi/iwl-3945.c 2010-04-04 20:41:49.972919715 -0400 26353--- linux-2.6.32.12/drivers/net/wireless/iwlwifi/iwl-3945.c 2010-04-04 20:41:49.972919715 -0400
26030+++ linux-2.6.32.11/drivers/net/wireless/iwlwifi/iwl-3945.c 2010-04-04 20:46:41.605567348 -0400 26354+++ linux-2.6.32.12/drivers/net/wireless/iwlwifi/iwl-3945.c 2010-04-04 20:46:41.605567348 -0400
26031@@ -2874,7 +2874,7 @@ static struct iwl_hcmd_utils_ops iwl3945 26355@@ -2874,7 +2874,7 @@ static struct iwl_hcmd_utils_ops iwl3945
26032 .build_addsta_hcmd = iwl3945_build_addsta_hcmd, 26356 .build_addsta_hcmd = iwl3945_build_addsta_hcmd,
26033 }; 26357 };
@@ -26037,10 +26361,10 @@ diff -urNp linux-2.6.32.11/drivers/net/wireless/iwlwifi/iwl-3945.c linux-2.6.32.
26037 .ucode = &iwl3945_ucode, 26361 .ucode = &iwl3945_ucode,
26038 .lib = &iwl3945_lib, 26362 .lib = &iwl3945_lib,
26039 .hcmd = &iwl3945_hcmd, 26363 .hcmd = &iwl3945_hcmd,
26040diff -urNp linux-2.6.32.11/drivers/net/wireless/iwlwifi/iwl-4965.c linux-2.6.32.11/drivers/net/wireless/iwlwifi/iwl-4965.c 26364diff -urNp linux-2.6.32.12/drivers/net/wireless/iwlwifi/iwl-4965.c linux-2.6.32.12/drivers/net/wireless/iwlwifi/iwl-4965.c
26041--- linux-2.6.32.11/drivers/net/wireless/iwlwifi/iwl-4965.c 2010-03-15 11:52:04.000000000 -0400 26365--- linux-2.6.32.12/drivers/net/wireless/iwlwifi/iwl-4965.c 2010-04-29 17:49:38.221487644 -0400
26042+++ linux-2.6.32.11/drivers/net/wireless/iwlwifi/iwl-4965.c 2010-04-04 20:46:41.605567348 -0400 26366+++ linux-2.6.32.12/drivers/net/wireless/iwlwifi/iwl-4965.c 2010-04-29 17:49:58.277496729 -0400
26043@@ -2335,7 +2335,7 @@ static struct iwl_lib_ops iwl4965_lib = 26367@@ -2340,7 +2340,7 @@ static struct iwl_lib_ops iwl4965_lib =
26044 }, 26368 },
26045 }; 26369 };
26046 26370
@@ -26049,10 +26373,10 @@ diff -urNp linux-2.6.32.11/drivers/net/wireless/iwlwifi/iwl-4965.c linux-2.6.32.
26049 .ucode = &iwl4965_ucode, 26373 .ucode = &iwl4965_ucode,
26050 .lib = &iwl4965_lib, 26374 .lib = &iwl4965_lib,
26051 .hcmd = &iwl4965_hcmd, 26375 .hcmd = &iwl4965_hcmd,
26052diff -urNp linux-2.6.32.11/drivers/net/wireless/iwlwifi/iwl-5000.c linux-2.6.32.11/drivers/net/wireless/iwlwifi/iwl-5000.c 26376diff -urNp linux-2.6.32.12/drivers/net/wireless/iwlwifi/iwl-5000.c linux-2.6.32.12/drivers/net/wireless/iwlwifi/iwl-5000.c
26053--- linux-2.6.32.11/drivers/net/wireless/iwlwifi/iwl-5000.c 2010-03-15 11:52:04.000000000 -0400 26377--- linux-2.6.32.12/drivers/net/wireless/iwlwifi/iwl-5000.c 2010-04-29 17:49:38.221487644 -0400
26054+++ linux-2.6.32.11/drivers/net/wireless/iwlwifi/iwl-5000.c 2010-04-04 20:46:41.605567348 -0400 26378+++ linux-2.6.32.12/drivers/net/wireless/iwlwifi/iwl-5000.c 2010-04-29 17:49:58.285504530 -0400
26055@@ -1626,14 +1626,14 @@ static struct iwl_lib_ops iwl5150_lib = 26379@@ -1628,14 +1628,14 @@ static struct iwl_lib_ops iwl5150_lib =
26056 }, 26380 },
26057 }; 26381 };
26058 26382
@@ -26069,9 +26393,9 @@ diff -urNp linux-2.6.32.11/drivers/net/wireless/iwlwifi/iwl-5000.c linux-2.6.32.
26069 .ucode = &iwl5000_ucode, 26393 .ucode = &iwl5000_ucode,
26070 .lib = &iwl5150_lib, 26394 .lib = &iwl5150_lib,
26071 .hcmd = &iwl5000_hcmd, 26395 .hcmd = &iwl5000_hcmd,
26072diff -urNp linux-2.6.32.11/drivers/net/wireless/iwlwifi/iwl-6000.c linux-2.6.32.11/drivers/net/wireless/iwlwifi/iwl-6000.c 26396diff -urNp linux-2.6.32.12/drivers/net/wireless/iwlwifi/iwl-6000.c linux-2.6.32.12/drivers/net/wireless/iwlwifi/iwl-6000.c
26073--- linux-2.6.32.11/drivers/net/wireless/iwlwifi/iwl-6000.c 2010-03-15 11:52:04.000000000 -0400 26397--- linux-2.6.32.12/drivers/net/wireless/iwlwifi/iwl-6000.c 2010-03-15 11:52:04.000000000 -0400
26074+++ linux-2.6.32.11/drivers/net/wireless/iwlwifi/iwl-6000.c 2010-04-04 20:46:41.605567348 -0400 26398+++ linux-2.6.32.12/drivers/net/wireless/iwlwifi/iwl-6000.c 2010-04-04 20:46:41.605567348 -0400
26075@@ -146,7 +146,7 @@ static struct iwl_hcmd_utils_ops iwl6000 26399@@ -146,7 +146,7 @@ static struct iwl_hcmd_utils_ops iwl6000
26076 .calc_rssi = iwl5000_calc_rssi, 26400 .calc_rssi = iwl5000_calc_rssi,
26077 }; 26401 };
@@ -26081,9 +26405,23 @@ diff -urNp linux-2.6.32.11/drivers/net/wireless/iwlwifi/iwl-6000.c linux-2.6.32.
26081 .ucode = &iwl5000_ucode, 26405 .ucode = &iwl5000_ucode,
26082 .lib = &iwl6000_lib, 26406 .lib = &iwl6000_lib,
26083 .hcmd = &iwl5000_hcmd, 26407 .hcmd = &iwl5000_hcmd,
26084diff -urNp linux-2.6.32.11/drivers/net/wireless/iwlwifi/iwl-dev.h linux-2.6.32.11/drivers/net/wireless/iwlwifi/iwl-dev.h 26408diff -urNp linux-2.6.32.12/drivers/net/wireless/iwlwifi/iwl-debug.h linux-2.6.32.12/drivers/net/wireless/iwlwifi/iwl-debug.h
26085--- linux-2.6.32.11/drivers/net/wireless/iwlwifi/iwl-dev.h 2010-03-15 11:52:04.000000000 -0400 26409--- linux-2.6.32.12/drivers/net/wireless/iwlwifi/iwl-debug.h 2010-03-15 11:52:04.000000000 -0400
26086+++ linux-2.6.32.11/drivers/net/wireless/iwlwifi/iwl-dev.h 2010-04-04 20:46:41.605567348 -0400 26410+++ linux-2.6.32.12/drivers/net/wireless/iwlwifi/iwl-debug.h 2010-04-29 17:46:37.170092362 -0400
26411@@ -118,8 +118,8 @@ void iwl_dbgfs_unregister(struct iwl_pri
26412 #endif
26413
26414 #else
26415-#define IWL_DEBUG(__priv, level, fmt, args...)
26416-#define IWL_DEBUG_LIMIT(__priv, level, fmt, args...)
26417+#define IWL_DEBUG(__priv, level, fmt, args...) do {} while (0)
26418+#define IWL_DEBUG_LIMIT(__priv, level, fmt, args...) do {} while (0)
26419 static inline void iwl_print_hex_dump(struct iwl_priv *priv, int level,
26420 void *p, u32 len)
26421 {}
26422diff -urNp linux-2.6.32.12/drivers/net/wireless/iwlwifi/iwl-dev.h linux-2.6.32.12/drivers/net/wireless/iwlwifi/iwl-dev.h
26423--- linux-2.6.32.12/drivers/net/wireless/iwlwifi/iwl-dev.h 2010-03-15 11:52:04.000000000 -0400
26424+++ linux-2.6.32.12/drivers/net/wireless/iwlwifi/iwl-dev.h 2010-04-04 20:46:41.605567348 -0400
26087@@ -67,7 +67,7 @@ struct iwl_tx_queue; 26425@@ -67,7 +67,7 @@ struct iwl_tx_queue;
26088 26426
26089 /* shared structures from iwl-5000.c */ 26427 /* shared structures from iwl-5000.c */
@@ -26093,9 +26431,9 @@ diff -urNp linux-2.6.32.11/drivers/net/wireless/iwlwifi/iwl-dev.h linux-2.6.32.1
26093 extern struct iwl_ucode_ops iwl5000_ucode; 26431 extern struct iwl_ucode_ops iwl5000_ucode;
26094 extern struct iwl_lib_ops iwl5000_lib; 26432 extern struct iwl_lib_ops iwl5000_lib;
26095 extern struct iwl_hcmd_ops iwl5000_hcmd; 26433 extern struct iwl_hcmd_ops iwl5000_hcmd;
26096diff -urNp linux-2.6.32.11/drivers/net/wireless/libertas/debugfs.c linux-2.6.32.11/drivers/net/wireless/libertas/debugfs.c 26434diff -urNp linux-2.6.32.12/drivers/net/wireless/libertas/debugfs.c linux-2.6.32.12/drivers/net/wireless/libertas/debugfs.c
26097--- linux-2.6.32.11/drivers/net/wireless/libertas/debugfs.c 2010-03-15 11:52:04.000000000 -0400 26435--- linux-2.6.32.12/drivers/net/wireless/libertas/debugfs.c 2010-03-15 11:52:04.000000000 -0400
26098+++ linux-2.6.32.11/drivers/net/wireless/libertas/debugfs.c 2010-04-04 20:46:41.605567348 -0400 26436+++ linux-2.6.32.12/drivers/net/wireless/libertas/debugfs.c 2010-04-04 20:46:41.605567348 -0400
26099@@ -708,7 +708,7 @@ out_unlock: 26437@@ -708,7 +708,7 @@ out_unlock:
26100 struct lbs_debugfs_files { 26438 struct lbs_debugfs_files {
26101 const char *name; 26439 const char *name;
@@ -26105,9 +26443,21 @@ diff -urNp linux-2.6.32.11/drivers/net/wireless/libertas/debugfs.c linux-2.6.32.
26105 }; 26443 };
26106 26444
26107 static const struct lbs_debugfs_files debugfs_files[] = { 26445 static const struct lbs_debugfs_files debugfs_files[] = {
26108diff -urNp linux-2.6.32.11/drivers/oprofile/buffer_sync.c linux-2.6.32.11/drivers/oprofile/buffer_sync.c 26446diff -urNp linux-2.6.32.12/drivers/net/wireless/rndis_wlan.c linux-2.6.32.12/drivers/net/wireless/rndis_wlan.c
26109--- linux-2.6.32.11/drivers/oprofile/buffer_sync.c 2010-03-15 11:52:04.000000000 -0400 26447--- linux-2.6.32.12/drivers/net/wireless/rndis_wlan.c 2010-03-15 11:52:04.000000000 -0400
26110+++ linux-2.6.32.11/drivers/oprofile/buffer_sync.c 2010-04-04 20:46:41.605567348 -0400 26448+++ linux-2.6.32.12/drivers/net/wireless/rndis_wlan.c 2010-04-29 17:46:37.185749089 -0400
26449@@ -1176,7 +1176,7 @@ static int set_rts_threshold(struct usbn
26450
26451 devdbg(usbdev, "set_rts_threshold %i", rts_threshold);
26452
26453- if (rts_threshold < 0 || rts_threshold > 2347)
26454+ if (rts_threshold > 2347)
26455 rts_threshold = 2347;
26456
26457 tmp = cpu_to_le32(rts_threshold);
26458diff -urNp linux-2.6.32.12/drivers/oprofile/buffer_sync.c linux-2.6.32.12/drivers/oprofile/buffer_sync.c
26459--- linux-2.6.32.12/drivers/oprofile/buffer_sync.c 2010-03-15 11:52:04.000000000 -0400
26460+++ linux-2.6.32.12/drivers/oprofile/buffer_sync.c 2010-04-04 20:46:41.605567348 -0400
26111@@ -340,7 +340,7 @@ static void add_data(struct op_entry *en 26461@@ -340,7 +340,7 @@ static void add_data(struct op_entry *en
26112 if (cookie == NO_COOKIE) 26462 if (cookie == NO_COOKIE)
26113 offset = pc; 26463 offset = pc;
@@ -26143,9 +26493,9 @@ diff -urNp linux-2.6.32.11/drivers/oprofile/buffer_sync.c linux-2.6.32.11/driver
26143 } 26493 }
26144 } 26494 }
26145 release_mm(mm); 26495 release_mm(mm);
26146diff -urNp linux-2.6.32.11/drivers/oprofile/event_buffer.c linux-2.6.32.11/drivers/oprofile/event_buffer.c 26496diff -urNp linux-2.6.32.12/drivers/oprofile/event_buffer.c linux-2.6.32.12/drivers/oprofile/event_buffer.c
26147--- linux-2.6.32.11/drivers/oprofile/event_buffer.c 2010-03-15 11:52:04.000000000 -0400 26497--- linux-2.6.32.12/drivers/oprofile/event_buffer.c 2010-03-15 11:52:04.000000000 -0400
26148+++ linux-2.6.32.11/drivers/oprofile/event_buffer.c 2010-04-04 20:46:41.605567348 -0400 26498+++ linux-2.6.32.12/drivers/oprofile/event_buffer.c 2010-04-04 20:46:41.605567348 -0400
26149@@ -53,7 +53,7 @@ void add_event_entry(unsigned long value 26499@@ -53,7 +53,7 @@ void add_event_entry(unsigned long value
26150 } 26500 }
26151 26501
@@ -26155,9 +26505,9 @@ diff -urNp linux-2.6.32.11/drivers/oprofile/event_buffer.c linux-2.6.32.11/drive
26155 return; 26505 return;
26156 } 26506 }
26157 26507
26158diff -urNp linux-2.6.32.11/drivers/oprofile/oprof.c linux-2.6.32.11/drivers/oprofile/oprof.c 26508diff -urNp linux-2.6.32.12/drivers/oprofile/oprof.c linux-2.6.32.12/drivers/oprofile/oprof.c
26159--- linux-2.6.32.11/drivers/oprofile/oprof.c 2010-03-15 11:52:04.000000000 -0400 26509--- linux-2.6.32.12/drivers/oprofile/oprof.c 2010-03-15 11:52:04.000000000 -0400
26160+++ linux-2.6.32.11/drivers/oprofile/oprof.c 2010-04-04 20:46:41.605567348 -0400 26510+++ linux-2.6.32.12/drivers/oprofile/oprof.c 2010-04-04 20:46:41.605567348 -0400
26161@@ -110,7 +110,7 @@ static void switch_worker(struct work_st 26511@@ -110,7 +110,7 @@ static void switch_worker(struct work_st
26162 if (oprofile_ops.switch_events()) 26512 if (oprofile_ops.switch_events())
26163 return; 26513 return;
@@ -26167,9 +26517,9 @@ diff -urNp linux-2.6.32.11/drivers/oprofile/oprof.c linux-2.6.32.11/drivers/opro
26167 start_switch_worker(); 26517 start_switch_worker();
26168 } 26518 }
26169 26519
26170diff -urNp linux-2.6.32.11/drivers/oprofile/oprofilefs.c linux-2.6.32.11/drivers/oprofile/oprofilefs.c 26520diff -urNp linux-2.6.32.12/drivers/oprofile/oprofilefs.c linux-2.6.32.12/drivers/oprofile/oprofilefs.c
26171--- linux-2.6.32.11/drivers/oprofile/oprofilefs.c 2010-03-15 11:52:04.000000000 -0400 26521--- linux-2.6.32.12/drivers/oprofile/oprofilefs.c 2010-03-15 11:52:04.000000000 -0400
26172+++ linux-2.6.32.11/drivers/oprofile/oprofilefs.c 2010-04-04 20:46:41.609229988 -0400 26522+++ linux-2.6.32.12/drivers/oprofile/oprofilefs.c 2010-04-04 20:46:41.609229988 -0400
26173@@ -187,7 +187,7 @@ static const struct file_operations atom 26523@@ -187,7 +187,7 @@ static const struct file_operations atom
26174 26524
26175 26525
@@ -26179,9 +26529,9 @@ diff -urNp linux-2.6.32.11/drivers/oprofile/oprofilefs.c linux-2.6.32.11/drivers
26179 { 26529 {
26180 struct dentry *d = __oprofilefs_create_file(sb, root, name, 26530 struct dentry *d = __oprofilefs_create_file(sb, root, name,
26181 &atomic_ro_fops, 0444); 26531 &atomic_ro_fops, 0444);
26182diff -urNp linux-2.6.32.11/drivers/oprofile/oprofile_stats.c linux-2.6.32.11/drivers/oprofile/oprofile_stats.c 26532diff -urNp linux-2.6.32.12/drivers/oprofile/oprofile_stats.c linux-2.6.32.12/drivers/oprofile/oprofile_stats.c
26183--- linux-2.6.32.11/drivers/oprofile/oprofile_stats.c 2010-03-15 11:52:04.000000000 -0400 26533--- linux-2.6.32.12/drivers/oprofile/oprofile_stats.c 2010-03-15 11:52:04.000000000 -0400
26184+++ linux-2.6.32.11/drivers/oprofile/oprofile_stats.c 2010-04-04 20:46:41.609229988 -0400 26534+++ linux-2.6.32.12/drivers/oprofile/oprofile_stats.c 2010-04-04 20:46:41.609229988 -0400
26185@@ -30,11 +30,11 @@ void oprofile_reset_stats(void) 26535@@ -30,11 +30,11 @@ void oprofile_reset_stats(void)
26186 cpu_buf->sample_invalid_eip = 0; 26536 cpu_buf->sample_invalid_eip = 0;
26187 } 26537 }
@@ -26199,9 +26549,9 @@ diff -urNp linux-2.6.32.11/drivers/oprofile/oprofile_stats.c linux-2.6.32.11/dri
26199 } 26549 }
26200 26550
26201 26551
26202diff -urNp linux-2.6.32.11/drivers/oprofile/oprofile_stats.h linux-2.6.32.11/drivers/oprofile/oprofile_stats.h 26552diff -urNp linux-2.6.32.12/drivers/oprofile/oprofile_stats.h linux-2.6.32.12/drivers/oprofile/oprofile_stats.h
26203--- linux-2.6.32.11/drivers/oprofile/oprofile_stats.h 2010-03-15 11:52:04.000000000 -0400 26553--- linux-2.6.32.12/drivers/oprofile/oprofile_stats.h 2010-03-15 11:52:04.000000000 -0400
26204+++ linux-2.6.32.11/drivers/oprofile/oprofile_stats.h 2010-04-04 20:46:41.609229988 -0400 26554+++ linux-2.6.32.12/drivers/oprofile/oprofile_stats.h 2010-04-04 20:46:41.609229988 -0400
26205@@ -13,11 +13,11 @@ 26555@@ -13,11 +13,11 @@
26206 #include <asm/atomic.h> 26556 #include <asm/atomic.h>
26207 26557
@@ -26219,9 +26569,9 @@ diff -urNp linux-2.6.32.11/drivers/oprofile/oprofile_stats.h linux-2.6.32.11/dri
26219 }; 26569 };
26220 26570
26221 extern struct oprofile_stat_struct oprofile_stats; 26571 extern struct oprofile_stat_struct oprofile_stats;
26222diff -urNp linux-2.6.32.11/drivers/parisc/pdc_stable.c linux-2.6.32.11/drivers/parisc/pdc_stable.c 26572diff -urNp linux-2.6.32.12/drivers/parisc/pdc_stable.c linux-2.6.32.12/drivers/parisc/pdc_stable.c
26223--- linux-2.6.32.11/drivers/parisc/pdc_stable.c 2010-03-15 11:52:04.000000000 -0400 26573--- linux-2.6.32.12/drivers/parisc/pdc_stable.c 2010-03-15 11:52:04.000000000 -0400
26224+++ linux-2.6.32.11/drivers/parisc/pdc_stable.c 2010-04-04 20:46:41.609229988 -0400 26574+++ linux-2.6.32.12/drivers/parisc/pdc_stable.c 2010-04-04 20:46:41.609229988 -0400
26225@@ -481,7 +481,7 @@ pdcspath_attr_store(struct kobject *kobj 26575@@ -481,7 +481,7 @@ pdcspath_attr_store(struct kobject *kobj
26226 return ret; 26576 return ret;
26227 } 26577 }
@@ -26231,9 +26581,9 @@ diff -urNp linux-2.6.32.11/drivers/parisc/pdc_stable.c linux-2.6.32.11/drivers/p
26231 .show = pdcspath_attr_show, 26581 .show = pdcspath_attr_show,
26232 .store = pdcspath_attr_store, 26582 .store = pdcspath_attr_store,
26233 }; 26583 };
26234diff -urNp linux-2.6.32.11/drivers/parport/procfs.c linux-2.6.32.11/drivers/parport/procfs.c 26584diff -urNp linux-2.6.32.12/drivers/parport/procfs.c linux-2.6.32.12/drivers/parport/procfs.c
26235--- linux-2.6.32.11/drivers/parport/procfs.c 2010-03-15 11:52:04.000000000 -0400 26585--- linux-2.6.32.12/drivers/parport/procfs.c 2010-03-15 11:52:04.000000000 -0400
26236+++ linux-2.6.32.11/drivers/parport/procfs.c 2010-04-04 20:46:41.609229988 -0400 26586+++ linux-2.6.32.12/drivers/parport/procfs.c 2010-04-04 20:46:41.609229988 -0400
26237@@ -64,7 +64,7 @@ static int do_active_device(ctl_table *t 26587@@ -64,7 +64,7 @@ static int do_active_device(ctl_table *t
26238 26588
26239 *ppos += len; 26589 *ppos += len;
@@ -26252,9 +26602,9 @@ diff -urNp linux-2.6.32.11/drivers/parport/procfs.c linux-2.6.32.11/drivers/parp
26252 } 26602 }
26253 #endif /* IEEE1284.3 support. */ 26603 #endif /* IEEE1284.3 support. */
26254 26604
26255diff -urNp linux-2.6.32.11/drivers/pci/hotplug/acpiphp_glue.c linux-2.6.32.11/drivers/pci/hotplug/acpiphp_glue.c 26605diff -urNp linux-2.6.32.12/drivers/pci/hotplug/acpiphp_glue.c linux-2.6.32.12/drivers/pci/hotplug/acpiphp_glue.c
26256--- linux-2.6.32.11/drivers/pci/hotplug/acpiphp_glue.c 2010-03-15 11:52:04.000000000 -0400 26606--- linux-2.6.32.12/drivers/pci/hotplug/acpiphp_glue.c 2010-03-15 11:52:04.000000000 -0400
26257+++ linux-2.6.32.11/drivers/pci/hotplug/acpiphp_glue.c 2010-04-04 20:46:41.609229988 -0400 26607+++ linux-2.6.32.12/drivers/pci/hotplug/acpiphp_glue.c 2010-04-04 20:46:41.609229988 -0400
26258@@ -111,7 +111,7 @@ static int post_dock_fixups(struct notif 26608@@ -111,7 +111,7 @@ static int post_dock_fixups(struct notif
26259 } 26609 }
26260 26610
@@ -26264,9 +26614,9 @@ diff -urNp linux-2.6.32.11/drivers/pci/hotplug/acpiphp_glue.c linux-2.6.32.11/dr
26264 .handler = handle_hotplug_event_func, 26614 .handler = handle_hotplug_event_func,
26265 }; 26615 };
26266 26616
26267diff -urNp linux-2.6.32.11/drivers/pci/hotplug/cpqphp_nvram.c linux-2.6.32.11/drivers/pci/hotplug/cpqphp_nvram.c 26617diff -urNp linux-2.6.32.12/drivers/pci/hotplug/cpqphp_nvram.c linux-2.6.32.12/drivers/pci/hotplug/cpqphp_nvram.c
26268--- linux-2.6.32.11/drivers/pci/hotplug/cpqphp_nvram.c 2010-03-15 11:52:04.000000000 -0400 26618--- linux-2.6.32.12/drivers/pci/hotplug/cpqphp_nvram.c 2010-03-15 11:52:04.000000000 -0400
26269+++ linux-2.6.32.11/drivers/pci/hotplug/cpqphp_nvram.c 2010-04-04 20:46:41.609229988 -0400 26619+++ linux-2.6.32.12/drivers/pci/hotplug/cpqphp_nvram.c 2010-04-04 20:46:41.609229988 -0400
26270@@ -428,9 +428,13 @@ static u32 store_HRT (void __iomem *rom_ 26620@@ -428,9 +428,13 @@ static u32 store_HRT (void __iomem *rom_
26271 26621
26272 void compaq_nvram_init (void __iomem *rom_start) 26622 void compaq_nvram_init (void __iomem *rom_start)
@@ -26281,9 +26631,9 @@ diff -urNp linux-2.6.32.11/drivers/pci/hotplug/cpqphp_nvram.c linux-2.6.32.11/dr
26281 dbg("int15 entry = %p\n", compaq_int15_entry_point); 26631 dbg("int15 entry = %p\n", compaq_int15_entry_point);
26282 26632
26283 /* initialize our int15 lock */ 26633 /* initialize our int15 lock */
26284diff -urNp linux-2.6.32.11/drivers/pci/hotplug/fakephp.c linux-2.6.32.11/drivers/pci/hotplug/fakephp.c 26634diff -urNp linux-2.6.32.12/drivers/pci/hotplug/fakephp.c linux-2.6.32.12/drivers/pci/hotplug/fakephp.c
26285--- linux-2.6.32.11/drivers/pci/hotplug/fakephp.c 2010-03-15 11:52:04.000000000 -0400 26635--- linux-2.6.32.12/drivers/pci/hotplug/fakephp.c 2010-03-15 11:52:04.000000000 -0400
26286+++ linux-2.6.32.11/drivers/pci/hotplug/fakephp.c 2010-04-04 20:46:41.609229988 -0400 26636+++ linux-2.6.32.12/drivers/pci/hotplug/fakephp.c 2010-04-04 20:46:41.609229988 -0400
26287@@ -73,7 +73,7 @@ static void legacy_release(struct kobjec 26637@@ -73,7 +73,7 @@ static void legacy_release(struct kobjec
26288 } 26638 }
26289 26639
@@ -26293,9 +26643,9 @@ diff -urNp linux-2.6.32.11/drivers/pci/hotplug/fakephp.c linux-2.6.32.11/drivers
26293 .store = legacy_store, .show = legacy_show 26643 .store = legacy_store, .show = legacy_show
26294 }, 26644 },
26295 .release = &legacy_release, 26645 .release = &legacy_release,
26296diff -urNp linux-2.6.32.11/drivers/pci/intel-iommu.c linux-2.6.32.11/drivers/pci/intel-iommu.c 26646diff -urNp linux-2.6.32.12/drivers/pci/intel-iommu.c linux-2.6.32.12/drivers/pci/intel-iommu.c
26297--- linux-2.6.32.11/drivers/pci/intel-iommu.c 2010-03-15 11:52:04.000000000 -0400 26647--- linux-2.6.32.12/drivers/pci/intel-iommu.c 2010-03-15 11:52:04.000000000 -0400
26298+++ linux-2.6.32.11/drivers/pci/intel-iommu.c 2010-04-04 20:46:41.609229988 -0400 26648+++ linux-2.6.32.12/drivers/pci/intel-iommu.c 2010-04-04 20:46:41.609229988 -0400
26299@@ -2950,7 +2950,7 @@ static int intel_mapping_error(struct de 26649@@ -2950,7 +2950,7 @@ static int intel_mapping_error(struct de
26300 return !dma_addr; 26650 return !dma_addr;
26301 } 26651 }
@@ -26305,9 +26655,9 @@ diff -urNp linux-2.6.32.11/drivers/pci/intel-iommu.c linux-2.6.32.11/drivers/pci
26305 .alloc_coherent = intel_alloc_coherent, 26655 .alloc_coherent = intel_alloc_coherent,
26306 .free_coherent = intel_free_coherent, 26656 .free_coherent = intel_free_coherent,
26307 .map_sg = intel_map_sg, 26657 .map_sg = intel_map_sg,
26308diff -urNp linux-2.6.32.11/drivers/pci/pcie/portdrv_pci.c linux-2.6.32.11/drivers/pci/pcie/portdrv_pci.c 26658diff -urNp linux-2.6.32.12/drivers/pci/pcie/portdrv_pci.c linux-2.6.32.12/drivers/pci/pcie/portdrv_pci.c
26309--- linux-2.6.32.11/drivers/pci/pcie/portdrv_pci.c 2010-03-15 11:52:04.000000000 -0400 26659--- linux-2.6.32.12/drivers/pci/pcie/portdrv_pci.c 2010-03-15 11:52:04.000000000 -0400
26310+++ linux-2.6.32.11/drivers/pci/pcie/portdrv_pci.c 2010-04-04 20:46:41.609229988 -0400 26660+++ linux-2.6.32.12/drivers/pci/pcie/portdrv_pci.c 2010-04-04 20:46:41.609229988 -0400
26311@@ -249,7 +249,7 @@ static void pcie_portdrv_err_resume(stru 26661@@ -249,7 +249,7 @@ static void pcie_portdrv_err_resume(stru
26312 static const struct pci_device_id port_pci_ids[] = { { 26662 static const struct pci_device_id port_pci_ids[] = { {
26313 /* handle any PCI-Express port */ 26663 /* handle any PCI-Express port */
@@ -26317,9 +26667,29 @@ diff -urNp linux-2.6.32.11/drivers/pci/pcie/portdrv_pci.c linux-2.6.32.11/driver
26317 }; 26667 };
26318 MODULE_DEVICE_TABLE(pci, port_pci_ids); 26668 MODULE_DEVICE_TABLE(pci, port_pci_ids);
26319 26669
26320diff -urNp linux-2.6.32.11/drivers/pci/proc.c linux-2.6.32.11/drivers/pci/proc.c 26670diff -urNp linux-2.6.32.12/drivers/pci/probe.c linux-2.6.32.12/drivers/pci/probe.c
26321--- linux-2.6.32.11/drivers/pci/proc.c 2010-03-15 11:52:04.000000000 -0400 26671--- linux-2.6.32.12/drivers/pci/probe.c 2010-03-15 11:52:04.000000000 -0400
26322+++ linux-2.6.32.11/drivers/pci/proc.c 2010-04-04 20:46:41.609229988 -0400 26672+++ linux-2.6.32.12/drivers/pci/probe.c 2010-04-29 17:46:37.193749810 -0400
26673@@ -62,14 +62,14 @@ static ssize_t pci_bus_show_cpuaffinity(
26674 return ret;
26675 }
26676
26677-static ssize_t inline pci_bus_show_cpumaskaffinity(struct device *dev,
26678+static inline ssize_t pci_bus_show_cpumaskaffinity(struct device *dev,
26679 struct device_attribute *attr,
26680 char *buf)
26681 {
26682 return pci_bus_show_cpuaffinity(dev, 0, attr, buf);
26683 }
26684
26685-static ssize_t inline pci_bus_show_cpulistaffinity(struct device *dev,
26686+static inline ssize_t pci_bus_show_cpulistaffinity(struct device *dev,
26687 struct device_attribute *attr,
26688 char *buf)
26689 {
26690diff -urNp linux-2.6.32.12/drivers/pci/proc.c linux-2.6.32.12/drivers/pci/proc.c
26691--- linux-2.6.32.12/drivers/pci/proc.c 2010-03-15 11:52:04.000000000 -0400
26692+++ linux-2.6.32.12/drivers/pci/proc.c 2010-04-04 20:46:41.609229988 -0400
26323@@ -480,7 +480,16 @@ static const struct file_operations proc 26693@@ -480,7 +480,16 @@ static const struct file_operations proc
26324 static int __init pci_proc_init(void) 26694 static int __init pci_proc_init(void)
26325 { 26695 {
@@ -26337,9 +26707,9 @@ diff -urNp linux-2.6.32.11/drivers/pci/proc.c linux-2.6.32.11/drivers/pci/proc.c
26337 proc_create("devices", 0, proc_bus_pci_dir, 26707 proc_create("devices", 0, proc_bus_pci_dir,
26338 &proc_bus_pci_dev_operations); 26708 &proc_bus_pci_dev_operations);
26339 proc_initialized = 1; 26709 proc_initialized = 1;
26340diff -urNp linux-2.6.32.11/drivers/pci/slot.c linux-2.6.32.11/drivers/pci/slot.c 26710diff -urNp linux-2.6.32.12/drivers/pci/slot.c linux-2.6.32.12/drivers/pci/slot.c
26341--- linux-2.6.32.11/drivers/pci/slot.c 2010-03-15 11:52:04.000000000 -0400 26711--- linux-2.6.32.12/drivers/pci/slot.c 2010-03-15 11:52:04.000000000 -0400
26342+++ linux-2.6.32.11/drivers/pci/slot.c 2010-04-04 20:46:41.609229988 -0400 26712+++ linux-2.6.32.12/drivers/pci/slot.c 2010-04-04 20:46:41.609229988 -0400
26343@@ -29,7 +29,7 @@ static ssize_t pci_slot_attr_store(struc 26713@@ -29,7 +29,7 @@ static ssize_t pci_slot_attr_store(struc
26344 return attribute->store ? attribute->store(slot, buf, len) : -EIO; 26714 return attribute->store ? attribute->store(slot, buf, len) : -EIO;
26345 } 26715 }
@@ -26349,9 +26719,9 @@ diff -urNp linux-2.6.32.11/drivers/pci/slot.c linux-2.6.32.11/drivers/pci/slot.c
26349 .show = pci_slot_attr_show, 26719 .show = pci_slot_attr_show,
26350 .store = pci_slot_attr_store, 26720 .store = pci_slot_attr_store,
26351 }; 26721 };
26352diff -urNp linux-2.6.32.11/drivers/pcmcia/ti113x.h linux-2.6.32.11/drivers/pcmcia/ti113x.h 26722diff -urNp linux-2.6.32.12/drivers/pcmcia/ti113x.h linux-2.6.32.12/drivers/pcmcia/ti113x.h
26353--- linux-2.6.32.11/drivers/pcmcia/ti113x.h 2010-03-15 11:52:04.000000000 -0400 26723--- linux-2.6.32.12/drivers/pcmcia/ti113x.h 2010-03-15 11:52:04.000000000 -0400
26354+++ linux-2.6.32.11/drivers/pcmcia/ti113x.h 2010-04-04 20:46:41.609229988 -0400 26724+++ linux-2.6.32.12/drivers/pcmcia/ti113x.h 2010-04-04 20:46:41.609229988 -0400
26355@@ -903,7 +903,7 @@ static struct pci_device_id ene_tune_tbl 26725@@ -903,7 +903,7 @@ static struct pci_device_id ene_tune_tbl
26356 DEVID(PCI_VENDOR_ID_MOTOROLA, 0x3410, 0xECC0, PCI_ANY_ID, 26726 DEVID(PCI_VENDOR_ID_MOTOROLA, 0x3410, 0xECC0, PCI_ANY_ID,
26357 ENE_TEST_C9_TLTENABLE | ENE_TEST_C9_PFENABLE, ENE_TEST_C9_TLTENABLE), 26727 ENE_TEST_C9_TLTENABLE | ENE_TEST_C9_PFENABLE, ENE_TEST_C9_TLTENABLE),
@@ -26361,9 +26731,9 @@ diff -urNp linux-2.6.32.11/drivers/pcmcia/ti113x.h linux-2.6.32.11/drivers/pcmci
26361 }; 26731 };
26362 26732
26363 static void ene_tune_bridge(struct pcmcia_socket *sock, struct pci_bus *bus) 26733 static void ene_tune_bridge(struct pcmcia_socket *sock, struct pci_bus *bus)
26364diff -urNp linux-2.6.32.11/drivers/pcmcia/yenta_socket.c linux-2.6.32.11/drivers/pcmcia/yenta_socket.c 26734diff -urNp linux-2.6.32.12/drivers/pcmcia/yenta_socket.c linux-2.6.32.12/drivers/pcmcia/yenta_socket.c
26365--- linux-2.6.32.11/drivers/pcmcia/yenta_socket.c 2010-03-15 11:52:04.000000000 -0400 26735--- linux-2.6.32.12/drivers/pcmcia/yenta_socket.c 2010-03-15 11:52:04.000000000 -0400
26366+++ linux-2.6.32.11/drivers/pcmcia/yenta_socket.c 2010-04-04 20:46:41.609229988 -0400 26736+++ linux-2.6.32.12/drivers/pcmcia/yenta_socket.c 2010-04-04 20:46:41.609229988 -0400
26367@@ -1387,7 +1387,7 @@ static struct pci_device_id yenta_table 26737@@ -1387,7 +1387,7 @@ static struct pci_device_id yenta_table
26368 26738
26369 /* match any cardbus bridge */ 26739 /* match any cardbus bridge */
@@ -26373,9 +26743,9 @@ diff -urNp linux-2.6.32.11/drivers/pcmcia/yenta_socket.c linux-2.6.32.11/drivers
26373 }; 26743 };
26374 MODULE_DEVICE_TABLE(pci, yenta_table); 26744 MODULE_DEVICE_TABLE(pci, yenta_table);
26375 26745
26376diff -urNp linux-2.6.32.11/drivers/platform/x86/acer-wmi.c linux-2.6.32.11/drivers/platform/x86/acer-wmi.c 26746diff -urNp linux-2.6.32.12/drivers/platform/x86/acer-wmi.c linux-2.6.32.12/drivers/platform/x86/acer-wmi.c
26377--- linux-2.6.32.11/drivers/platform/x86/acer-wmi.c 2010-03-15 11:52:04.000000000 -0400 26747--- linux-2.6.32.12/drivers/platform/x86/acer-wmi.c 2010-03-15 11:52:04.000000000 -0400
26378+++ linux-2.6.32.11/drivers/platform/x86/acer-wmi.c 2010-04-04 20:46:41.609229988 -0400 26748+++ linux-2.6.32.12/drivers/platform/x86/acer-wmi.c 2010-04-04 20:46:41.609229988 -0400
26379@@ -918,7 +918,7 @@ static int update_bl_status(struct backl 26749@@ -918,7 +918,7 @@ static int update_bl_status(struct backl
26380 return 0; 26750 return 0;
26381 } 26751 }
@@ -26385,9 +26755,9 @@ diff -urNp linux-2.6.32.11/drivers/platform/x86/acer-wmi.c linux-2.6.32.11/drive
26385 .get_brightness = read_brightness, 26755 .get_brightness = read_brightness,
26386 .update_status = update_bl_status, 26756 .update_status = update_bl_status,
26387 }; 26757 };
26388diff -urNp linux-2.6.32.11/drivers/platform/x86/asus_acpi.c linux-2.6.32.11/drivers/platform/x86/asus_acpi.c 26758diff -urNp linux-2.6.32.12/drivers/platform/x86/asus_acpi.c linux-2.6.32.12/drivers/platform/x86/asus_acpi.c
26389--- linux-2.6.32.11/drivers/platform/x86/asus_acpi.c 2010-03-15 11:52:04.000000000 -0400 26759--- linux-2.6.32.12/drivers/platform/x86/asus_acpi.c 2010-03-15 11:52:04.000000000 -0400
26390+++ linux-2.6.32.11/drivers/platform/x86/asus_acpi.c 2010-04-04 20:46:41.609229988 -0400 26760+++ linux-2.6.32.12/drivers/platform/x86/asus_acpi.c 2010-04-04 20:46:41.609229988 -0400
26391@@ -1402,7 +1402,7 @@ static int asus_hotk_remove(struct acpi_ 26761@@ -1402,7 +1402,7 @@ static int asus_hotk_remove(struct acpi_
26392 return 0; 26762 return 0;
26393 } 26763 }
@@ -26397,9 +26767,9 @@ diff -urNp linux-2.6.32.11/drivers/platform/x86/asus_acpi.c linux-2.6.32.11/driv
26397 .get_brightness = read_brightness, 26767 .get_brightness = read_brightness,
26398 .update_status = set_brightness_status, 26768 .update_status = set_brightness_status,
26399 }; 26769 };
26400diff -urNp linux-2.6.32.11/drivers/platform/x86/asus-laptop.c linux-2.6.32.11/drivers/platform/x86/asus-laptop.c 26770diff -urNp linux-2.6.32.12/drivers/platform/x86/asus-laptop.c linux-2.6.32.12/drivers/platform/x86/asus-laptop.c
26401--- linux-2.6.32.11/drivers/platform/x86/asus-laptop.c 2010-03-15 11:52:04.000000000 -0400 26771--- linux-2.6.32.12/drivers/platform/x86/asus-laptop.c 2010-03-15 11:52:04.000000000 -0400
26402+++ linux-2.6.32.11/drivers/platform/x86/asus-laptop.c 2010-04-04 20:46:41.609229988 -0400 26772+++ linux-2.6.32.12/drivers/platform/x86/asus-laptop.c 2010-04-04 20:46:41.609229988 -0400
26403@@ -250,7 +250,7 @@ static struct backlight_device *asus_bac 26773@@ -250,7 +250,7 @@ static struct backlight_device *asus_bac
26404 */ 26774 */
26405 static int read_brightness(struct backlight_device *bd); 26775 static int read_brightness(struct backlight_device *bd);
@@ -26409,9 +26779,9 @@ diff -urNp linux-2.6.32.11/drivers/platform/x86/asus-laptop.c linux-2.6.32.11/dr
26409 .get_brightness = read_brightness, 26779 .get_brightness = read_brightness,
26410 .update_status = update_bl_status, 26780 .update_status = update_bl_status,
26411 }; 26781 };
26412diff -urNp linux-2.6.32.11/drivers/platform/x86/compal-laptop.c linux-2.6.32.11/drivers/platform/x86/compal-laptop.c 26782diff -urNp linux-2.6.32.12/drivers/platform/x86/compal-laptop.c linux-2.6.32.12/drivers/platform/x86/compal-laptop.c
26413--- linux-2.6.32.11/drivers/platform/x86/compal-laptop.c 2010-03-15 11:52:04.000000000 -0400 26783--- linux-2.6.32.12/drivers/platform/x86/compal-laptop.c 2010-03-15 11:52:04.000000000 -0400
26414+++ linux-2.6.32.11/drivers/platform/x86/compal-laptop.c 2010-04-04 20:46:41.612789562 -0400 26784+++ linux-2.6.32.12/drivers/platform/x86/compal-laptop.c 2010-04-04 20:46:41.612789562 -0400
26415@@ -163,7 +163,7 @@ static int bl_update_status(struct backl 26785@@ -163,7 +163,7 @@ static int bl_update_status(struct backl
26416 return set_lcd_level(b->props.brightness); 26786 return set_lcd_level(b->props.brightness);
26417 } 26787 }
@@ -26421,9 +26791,9 @@ diff -urNp linux-2.6.32.11/drivers/platform/x86/compal-laptop.c linux-2.6.32.11/
26421 .get_brightness = bl_get_brightness, 26791 .get_brightness = bl_get_brightness,
26422 .update_status = bl_update_status, 26792 .update_status = bl_update_status,
26423 }; 26793 };
26424diff -urNp linux-2.6.32.11/drivers/platform/x86/dell-laptop.c linux-2.6.32.11/drivers/platform/x86/dell-laptop.c 26794diff -urNp linux-2.6.32.12/drivers/platform/x86/dell-laptop.c linux-2.6.32.12/drivers/platform/x86/dell-laptop.c
26425--- linux-2.6.32.11/drivers/platform/x86/dell-laptop.c 2010-03-15 11:52:04.000000000 -0400 26795--- linux-2.6.32.12/drivers/platform/x86/dell-laptop.c 2010-03-15 11:52:04.000000000 -0400
26426+++ linux-2.6.32.11/drivers/platform/x86/dell-laptop.c 2010-04-04 20:46:41.612789562 -0400 26796+++ linux-2.6.32.12/drivers/platform/x86/dell-laptop.c 2010-04-04 20:46:41.612789562 -0400
26427@@ -305,7 +305,7 @@ static int dell_get_intensity(struct bac 26797@@ -305,7 +305,7 @@ static int dell_get_intensity(struct bac
26428 return buffer.output[1]; 26798 return buffer.output[1];
26429 } 26799 }
@@ -26433,10 +26803,10 @@ diff -urNp linux-2.6.32.11/drivers/platform/x86/dell-laptop.c linux-2.6.32.11/dr
26433 .get_brightness = dell_get_intensity, 26803 .get_brightness = dell_get_intensity,
26434 .update_status = dell_send_intensity, 26804 .update_status = dell_send_intensity,
26435 }; 26805 };
26436diff -urNp linux-2.6.32.11/drivers/platform/x86/eeepc-laptop.c linux-2.6.32.11/drivers/platform/x86/eeepc-laptop.c 26806diff -urNp linux-2.6.32.12/drivers/platform/x86/eeepc-laptop.c linux-2.6.32.12/drivers/platform/x86/eeepc-laptop.c
26437--- linux-2.6.32.11/drivers/platform/x86/eeepc-laptop.c 2010-03-15 11:52:04.000000000 -0400 26807--- linux-2.6.32.12/drivers/platform/x86/eeepc-laptop.c 2010-04-29 17:49:38.317493070 -0400
26438+++ linux-2.6.32.11/drivers/platform/x86/eeepc-laptop.c 2010-04-04 20:46:41.612789562 -0400 26808+++ linux-2.6.32.12/drivers/platform/x86/eeepc-laptop.c 2010-04-29 17:49:58.337509449 -0400
26439@@ -242,7 +242,7 @@ static struct device *eeepc_hwmon_device 26809@@ -245,7 +245,7 @@ static struct device *eeepc_hwmon_device
26440 */ 26810 */
26441 static int read_brightness(struct backlight_device *bd); 26811 static int read_brightness(struct backlight_device *bd);
26442 static int update_bl_status(struct backlight_device *bd); 26812 static int update_bl_status(struct backlight_device *bd);
@@ -26445,9 +26815,9 @@ diff -urNp linux-2.6.32.11/drivers/platform/x86/eeepc-laptop.c linux-2.6.32.11/d
26445 .get_brightness = read_brightness, 26815 .get_brightness = read_brightness,
26446 .update_status = update_bl_status, 26816 .update_status = update_bl_status,
26447 }; 26817 };
26448diff -urNp linux-2.6.32.11/drivers/platform/x86/fujitsu-laptop.c linux-2.6.32.11/drivers/platform/x86/fujitsu-laptop.c 26818diff -urNp linux-2.6.32.12/drivers/platform/x86/fujitsu-laptop.c linux-2.6.32.12/drivers/platform/x86/fujitsu-laptop.c
26449--- linux-2.6.32.11/drivers/platform/x86/fujitsu-laptop.c 2010-03-15 11:52:04.000000000 -0400 26819--- linux-2.6.32.12/drivers/platform/x86/fujitsu-laptop.c 2010-03-15 11:52:04.000000000 -0400
26450+++ linux-2.6.32.11/drivers/platform/x86/fujitsu-laptop.c 2010-04-04 20:46:41.612789562 -0400 26820+++ linux-2.6.32.12/drivers/platform/x86/fujitsu-laptop.c 2010-04-04 20:46:41.612789562 -0400
26451@@ -436,7 +436,7 @@ static int bl_update_status(struct backl 26821@@ -436,7 +436,7 @@ static int bl_update_status(struct backl
26452 return ret; 26822 return ret;
26453 } 26823 }
@@ -26457,9 +26827,9 @@ diff -urNp linux-2.6.32.11/drivers/platform/x86/fujitsu-laptop.c linux-2.6.32.11
26457 .get_brightness = bl_get_brightness, 26827 .get_brightness = bl_get_brightness,
26458 .update_status = bl_update_status, 26828 .update_status = bl_update_status,
26459 }; 26829 };
26460diff -urNp linux-2.6.32.11/drivers/platform/x86/msi-laptop.c linux-2.6.32.11/drivers/platform/x86/msi-laptop.c 26830diff -urNp linux-2.6.32.12/drivers/platform/x86/msi-laptop.c linux-2.6.32.12/drivers/platform/x86/msi-laptop.c
26461--- linux-2.6.32.11/drivers/platform/x86/msi-laptop.c 2010-03-15 11:52:04.000000000 -0400 26831--- linux-2.6.32.12/drivers/platform/x86/msi-laptop.c 2010-03-15 11:52:04.000000000 -0400
26462+++ linux-2.6.32.11/drivers/platform/x86/msi-laptop.c 2010-04-04 20:46:41.612789562 -0400 26832+++ linux-2.6.32.12/drivers/platform/x86/msi-laptop.c 2010-04-04 20:46:41.612789562 -0400
26463@@ -161,7 +161,7 @@ static int bl_update_status(struct backl 26833@@ -161,7 +161,7 @@ static int bl_update_status(struct backl
26464 return set_lcd_level(b->props.brightness); 26834 return set_lcd_level(b->props.brightness);
26465 } 26835 }
@@ -26469,9 +26839,9 @@ diff -urNp linux-2.6.32.11/drivers/platform/x86/msi-laptop.c linux-2.6.32.11/dri
26469 .get_brightness = bl_get_brightness, 26839 .get_brightness = bl_get_brightness,
26470 .update_status = bl_update_status, 26840 .update_status = bl_update_status,
26471 }; 26841 };
26472diff -urNp linux-2.6.32.11/drivers/platform/x86/panasonic-laptop.c linux-2.6.32.11/drivers/platform/x86/panasonic-laptop.c 26842diff -urNp linux-2.6.32.12/drivers/platform/x86/panasonic-laptop.c linux-2.6.32.12/drivers/platform/x86/panasonic-laptop.c
26473--- linux-2.6.32.11/drivers/platform/x86/panasonic-laptop.c 2010-03-15 11:52:04.000000000 -0400 26843--- linux-2.6.32.12/drivers/platform/x86/panasonic-laptop.c 2010-03-15 11:52:04.000000000 -0400
26474+++ linux-2.6.32.11/drivers/platform/x86/panasonic-laptop.c 2010-04-04 20:46:41.612789562 -0400 26844+++ linux-2.6.32.12/drivers/platform/x86/panasonic-laptop.c 2010-04-04 20:46:41.612789562 -0400
26475@@ -352,7 +352,7 @@ static int bl_set_status(struct backligh 26845@@ -352,7 +352,7 @@ static int bl_set_status(struct backligh
26476 return acpi_pcc_write_sset(pcc, SINF_DC_CUR_BRIGHT, bright); 26846 return acpi_pcc_write_sset(pcc, SINF_DC_CUR_BRIGHT, bright);
26477 } 26847 }
@@ -26481,9 +26851,9 @@ diff -urNp linux-2.6.32.11/drivers/platform/x86/panasonic-laptop.c linux-2.6.32.
26481 .get_brightness = bl_get, 26851 .get_brightness = bl_get,
26482 .update_status = bl_set_status, 26852 .update_status = bl_set_status,
26483 }; 26853 };
26484diff -urNp linux-2.6.32.11/drivers/platform/x86/sony-laptop.c linux-2.6.32.11/drivers/platform/x86/sony-laptop.c 26854diff -urNp linux-2.6.32.12/drivers/platform/x86/sony-laptop.c linux-2.6.32.12/drivers/platform/x86/sony-laptop.c
26485--- linux-2.6.32.11/drivers/platform/x86/sony-laptop.c 2010-03-15 11:52:04.000000000 -0400 26855--- linux-2.6.32.12/drivers/platform/x86/sony-laptop.c 2010-03-15 11:52:04.000000000 -0400
26486+++ linux-2.6.32.11/drivers/platform/x86/sony-laptop.c 2010-04-04 20:46:41.612789562 -0400 26856+++ linux-2.6.32.12/drivers/platform/x86/sony-laptop.c 2010-04-04 20:46:41.612789562 -0400
26487@@ -850,7 +850,7 @@ static int sony_backlight_get_brightness 26857@@ -850,7 +850,7 @@ static int sony_backlight_get_brightness
26488 } 26858 }
26489 26859
@@ -26493,11 +26863,11 @@ diff -urNp linux-2.6.32.11/drivers/platform/x86/sony-laptop.c linux-2.6.32.11/dr
26493 .update_status = sony_backlight_update_status, 26863 .update_status = sony_backlight_update_status,
26494 .get_brightness = sony_backlight_get_brightness, 26864 .get_brightness = sony_backlight_get_brightness,
26495 }; 26865 };
26496diff -urNp linux-2.6.32.11/drivers/platform/x86/thinkpad_acpi.c linux-2.6.32.11/drivers/platform/x86/thinkpad_acpi.c 26866diff -urNp linux-2.6.32.12/drivers/platform/x86/thinkpad_acpi.c linux-2.6.32.12/drivers/platform/x86/thinkpad_acpi.c
26497--- linux-2.6.32.11/drivers/platform/x86/thinkpad_acpi.c 2010-03-15 11:52:04.000000000 -0400 26867--- linux-2.6.32.12/drivers/platform/x86/thinkpad_acpi.c 2010-04-29 17:49:38.333363657 -0400
26498+++ linux-2.6.32.11/drivers/platform/x86/thinkpad_acpi.c 2010-04-04 20:46:41.612789562 -0400 26868+++ linux-2.6.32.12/drivers/platform/x86/thinkpad_acpi.c 2010-04-29 18:04:08.901389713 -0400
26499@@ -6083,7 +6083,7 @@ static int brightness_get(struct backlig 26869@@ -6122,7 +6122,7 @@ static void tpacpi_brightness_notify_cha
26500 return status & TP_EC_BACKLIGHT_LVLMSK; 26870 BACKLIGHT_UPDATE_HOTKEY);
26501 } 26871 }
26502 26872
26503-static struct backlight_ops ibm_backlight_data = { 26873-static struct backlight_ops ibm_backlight_data = {
@@ -26505,9 +26875,9 @@ diff -urNp linux-2.6.32.11/drivers/platform/x86/thinkpad_acpi.c linux-2.6.32.11/
26505 .get_brightness = brightness_get, 26875 .get_brightness = brightness_get,
26506 .update_status = brightness_update_status, 26876 .update_status = brightness_update_status,
26507 }; 26877 };
26508diff -urNp linux-2.6.32.11/drivers/platform/x86/toshiba_acpi.c linux-2.6.32.11/drivers/platform/x86/toshiba_acpi.c 26878diff -urNp linux-2.6.32.12/drivers/platform/x86/toshiba_acpi.c linux-2.6.32.12/drivers/platform/x86/toshiba_acpi.c
26509--- linux-2.6.32.11/drivers/platform/x86/toshiba_acpi.c 2010-03-15 11:52:04.000000000 -0400 26879--- linux-2.6.32.12/drivers/platform/x86/toshiba_acpi.c 2010-03-15 11:52:04.000000000 -0400
26510+++ linux-2.6.32.11/drivers/platform/x86/toshiba_acpi.c 2010-04-04 20:46:41.612789562 -0400 26880+++ linux-2.6.32.12/drivers/platform/x86/toshiba_acpi.c 2010-04-04 20:46:41.612789562 -0400
26511@@ -671,7 +671,7 @@ static acpi_status remove_device(void) 26881@@ -671,7 +671,7 @@ static acpi_status remove_device(void)
26512 return AE_OK; 26882 return AE_OK;
26513 } 26883 }
@@ -26517,9 +26887,9 @@ diff -urNp linux-2.6.32.11/drivers/platform/x86/toshiba_acpi.c linux-2.6.32.11/d
26517 .get_brightness = get_lcd, 26887 .get_brightness = get_lcd,
26518 .update_status = set_lcd_status, 26888 .update_status = set_lcd_status,
26519 }; 26889 };
26520diff -urNp linux-2.6.32.11/drivers/pnp/pnpbios/bioscalls.c linux-2.6.32.11/drivers/pnp/pnpbios/bioscalls.c 26890diff -urNp linux-2.6.32.12/drivers/pnp/pnpbios/bioscalls.c linux-2.6.32.12/drivers/pnp/pnpbios/bioscalls.c
26521--- linux-2.6.32.11/drivers/pnp/pnpbios/bioscalls.c 2010-03-15 11:52:04.000000000 -0400 26891--- linux-2.6.32.12/drivers/pnp/pnpbios/bioscalls.c 2010-03-15 11:52:04.000000000 -0400
26522+++ linux-2.6.32.11/drivers/pnp/pnpbios/bioscalls.c 2010-04-04 20:46:41.612789562 -0400 26892+++ linux-2.6.32.12/drivers/pnp/pnpbios/bioscalls.c 2010-04-04 20:46:41.612789562 -0400
26523@@ -60,7 +60,7 @@ do { \ 26893@@ -60,7 +60,7 @@ do { \
26524 set_desc_limit(&gdt[(selname) >> 3], (size) - 1); \ 26894 set_desc_limit(&gdt[(selname) >> 3], (size) - 1); \
26525 } while(0) 26895 } while(0)
@@ -26576,9 +26946,9 @@ diff -urNp linux-2.6.32.11/drivers/pnp/pnpbios/bioscalls.c linux-2.6.32.11/drive
26576+ 26946+
26577+ pax_close_kernel(); 26947+ pax_close_kernel();
26578 } 26948 }
26579diff -urNp linux-2.6.32.11/drivers/pnp/quirks.c linux-2.6.32.11/drivers/pnp/quirks.c 26949diff -urNp linux-2.6.32.12/drivers/pnp/quirks.c linux-2.6.32.12/drivers/pnp/quirks.c
26580--- linux-2.6.32.11/drivers/pnp/quirks.c 2010-03-15 11:52:04.000000000 -0400 26950--- linux-2.6.32.12/drivers/pnp/quirks.c 2010-03-15 11:52:04.000000000 -0400
26581+++ linux-2.6.32.11/drivers/pnp/quirks.c 2010-04-04 20:46:41.612789562 -0400 26951+++ linux-2.6.32.12/drivers/pnp/quirks.c 2010-04-04 20:46:41.612789562 -0400
26582@@ -327,7 +327,7 @@ static struct pnp_fixup pnp_fixups[] = { 26952@@ -327,7 +327,7 @@ static struct pnp_fixup pnp_fixups[] = {
26583 /* PnP resources that might overlap PCI BARs */ 26953 /* PnP resources that might overlap PCI BARs */
26584 {"PNP0c01", quirk_system_pci_resources}, 26954 {"PNP0c01", quirk_system_pci_resources},
@@ -26588,9 +26958,9 @@ diff -urNp linux-2.6.32.11/drivers/pnp/quirks.c linux-2.6.32.11/drivers/pnp/quir
26588 }; 26958 };
26589 26959
26590 void pnp_fixup_device(struct pnp_dev *dev) 26960 void pnp_fixup_device(struct pnp_dev *dev)
26591diff -urNp linux-2.6.32.11/drivers/pnp/resource.c linux-2.6.32.11/drivers/pnp/resource.c 26961diff -urNp linux-2.6.32.12/drivers/pnp/resource.c linux-2.6.32.12/drivers/pnp/resource.c
26592--- linux-2.6.32.11/drivers/pnp/resource.c 2010-03-15 11:52:04.000000000 -0400 26962--- linux-2.6.32.12/drivers/pnp/resource.c 2010-03-15 11:52:04.000000000 -0400
26593+++ linux-2.6.32.11/drivers/pnp/resource.c 2010-04-04 20:46:41.612789562 -0400 26963+++ linux-2.6.32.12/drivers/pnp/resource.c 2010-04-04 20:46:41.612789562 -0400
26594@@ -355,7 +355,7 @@ int pnp_check_irq(struct pnp_dev *dev, s 26964@@ -355,7 +355,7 @@ int pnp_check_irq(struct pnp_dev *dev, s
26595 return 1; 26965 return 1;
26596 26966
@@ -26609,9 +26979,9 @@ diff -urNp linux-2.6.32.11/drivers/pnp/resource.c linux-2.6.32.11/drivers/pnp/re
26609 return 0; 26979 return 0;
26610 26980
26611 /* check if the resource is reserved */ 26981 /* check if the resource is reserved */
26612diff -urNp linux-2.6.32.11/drivers/s390/cio/qdio_perf.c linux-2.6.32.11/drivers/s390/cio/qdio_perf.c 26982diff -urNp linux-2.6.32.12/drivers/s390/cio/qdio_perf.c linux-2.6.32.12/drivers/s390/cio/qdio_perf.c
26613--- linux-2.6.32.11/drivers/s390/cio/qdio_perf.c 2010-03-15 11:52:04.000000000 -0400 26983--- linux-2.6.32.12/drivers/s390/cio/qdio_perf.c 2010-03-15 11:52:04.000000000 -0400
26614+++ linux-2.6.32.11/drivers/s390/cio/qdio_perf.c 2010-04-04 20:46:41.612789562 -0400 26984+++ linux-2.6.32.12/drivers/s390/cio/qdio_perf.c 2010-04-04 20:46:41.612789562 -0400
26615@@ -31,51 +31,51 @@ static struct proc_dir_entry *qdio_perf_ 26985@@ -31,51 +31,51 @@ static struct proc_dir_entry *qdio_perf_
26616 static int qdio_perf_proc_show(struct seq_file *m, void *v) 26986 static int qdio_perf_proc_show(struct seq_file *m, void *v)
26617 { 26987 {
@@ -26687,9 +27057,9 @@ diff -urNp linux-2.6.32.11/drivers/s390/cio/qdio_perf.c linux-2.6.32.11/drivers/
26687 seq_printf(m, "\n"); 27057 seq_printf(m, "\n");
26688 return 0; 27058 return 0;
26689 } 27059 }
26690diff -urNp linux-2.6.32.11/drivers/s390/cio/qdio_perf.h linux-2.6.32.11/drivers/s390/cio/qdio_perf.h 27060diff -urNp linux-2.6.32.12/drivers/s390/cio/qdio_perf.h linux-2.6.32.12/drivers/s390/cio/qdio_perf.h
26691--- linux-2.6.32.11/drivers/s390/cio/qdio_perf.h 2010-03-15 11:52:04.000000000 -0400 27061--- linux-2.6.32.12/drivers/s390/cio/qdio_perf.h 2010-03-15 11:52:04.000000000 -0400
26692+++ linux-2.6.32.11/drivers/s390/cio/qdio_perf.h 2010-04-04 20:46:41.612789562 -0400 27062+++ linux-2.6.32.12/drivers/s390/cio/qdio_perf.h 2010-04-04 20:46:41.612789562 -0400
26693@@ -13,46 +13,46 @@ 27063@@ -13,46 +13,46 @@
26694 27064
26695 struct qdio_perf_stats { 27065 struct qdio_perf_stats {
@@ -26762,9 +27132,9 @@ diff -urNp linux-2.6.32.11/drivers/s390/cio/qdio_perf.h linux-2.6.32.11/drivers/
26762 } 27132 }
26763 27133
26764 int qdio_setup_perf_stats(void); 27134 int qdio_setup_perf_stats(void);
26765diff -urNp linux-2.6.32.11/drivers/scsi/ipr.c linux-2.6.32.11/drivers/scsi/ipr.c 27135diff -urNp linux-2.6.32.12/drivers/scsi/ipr.c linux-2.6.32.12/drivers/scsi/ipr.c
26766--- linux-2.6.32.11/drivers/scsi/ipr.c 2010-03-15 11:52:04.000000000 -0400 27136--- linux-2.6.32.12/drivers/scsi/ipr.c 2010-03-15 11:52:04.000000000 -0400
26767+++ linux-2.6.32.11/drivers/scsi/ipr.c 2010-04-04 20:46:41.616874360 -0400 27137+++ linux-2.6.32.12/drivers/scsi/ipr.c 2010-04-04 20:46:41.616874360 -0400
26768@@ -5286,7 +5286,7 @@ static bool ipr_qc_fill_rtf(struct ata_q 27138@@ -5286,7 +5286,7 @@ static bool ipr_qc_fill_rtf(struct ata_q
26769 return true; 27139 return true;
26770 } 27140 }
@@ -26774,9 +27144,9 @@ diff -urNp linux-2.6.32.11/drivers/scsi/ipr.c linux-2.6.32.11/drivers/scsi/ipr.c
26774 .phy_reset = ipr_ata_phy_reset, 27144 .phy_reset = ipr_ata_phy_reset,
26775 .hardreset = ipr_sata_reset, 27145 .hardreset = ipr_sata_reset,
26776 .post_internal_cmd = ipr_ata_post_internal, 27146 .post_internal_cmd = ipr_ata_post_internal,
26777diff -urNp linux-2.6.32.11/drivers/scsi/libfc/fc_exch.c linux-2.6.32.11/drivers/scsi/libfc/fc_exch.c 27147diff -urNp linux-2.6.32.12/drivers/scsi/libfc/fc_exch.c linux-2.6.32.12/drivers/scsi/libfc/fc_exch.c
26778--- linux-2.6.32.11/drivers/scsi/libfc/fc_exch.c 2010-03-15 11:52:04.000000000 -0400 27148--- linux-2.6.32.12/drivers/scsi/libfc/fc_exch.c 2010-03-15 11:52:04.000000000 -0400
26779+++ linux-2.6.32.11/drivers/scsi/libfc/fc_exch.c 2010-04-04 20:46:41.616874360 -0400 27149+++ linux-2.6.32.12/drivers/scsi/libfc/fc_exch.c 2010-04-04 20:46:41.616874360 -0400
26780@@ -86,12 +86,12 @@ struct fc_exch_mgr { 27150@@ -86,12 +86,12 @@ struct fc_exch_mgr {
26781 * all together if not used XXX 27151 * all together if not used XXX
26782 */ 27152 */
@@ -26898,9 +27268,9 @@ diff -urNp linux-2.6.32.11/drivers/scsi/libfc/fc_exch.c linux-2.6.32.11/drivers/
26898 27268
26899 fc_frame_free(fp); 27269 fc_frame_free(fp);
26900 } 27270 }
26901diff -urNp linux-2.6.32.11/drivers/scsi/libsas/sas_ata.c linux-2.6.32.11/drivers/scsi/libsas/sas_ata.c 27271diff -urNp linux-2.6.32.12/drivers/scsi/libsas/sas_ata.c linux-2.6.32.12/drivers/scsi/libsas/sas_ata.c
26902--- linux-2.6.32.11/drivers/scsi/libsas/sas_ata.c 2010-03-15 11:52:04.000000000 -0400 27272--- linux-2.6.32.12/drivers/scsi/libsas/sas_ata.c 2010-03-15 11:52:04.000000000 -0400
26903+++ linux-2.6.32.11/drivers/scsi/libsas/sas_ata.c 2010-04-04 20:46:41.616874360 -0400 27273+++ linux-2.6.32.12/drivers/scsi/libsas/sas_ata.c 2010-04-04 20:46:41.616874360 -0400
26904@@ -343,7 +343,7 @@ static int sas_ata_scr_read(struct ata_l 27274@@ -343,7 +343,7 @@ static int sas_ata_scr_read(struct ata_l
26905 } 27275 }
26906 } 27276 }
@@ -26910,9 +27280,21 @@ diff -urNp linux-2.6.32.11/drivers/scsi/libsas/sas_ata.c linux-2.6.32.11/drivers
26910 .phy_reset = sas_ata_phy_reset, 27280 .phy_reset = sas_ata_phy_reset,
26911 .post_internal_cmd = sas_ata_post_internal, 27281 .post_internal_cmd = sas_ata_post_internal,
26912 .qc_prep = ata_noop_qc_prep, 27282 .qc_prep = ata_noop_qc_prep,
26913diff -urNp linux-2.6.32.11/drivers/scsi/scsi_logging.h linux-2.6.32.11/drivers/scsi/scsi_logging.h 27283diff -urNp linux-2.6.32.12/drivers/scsi/mpt2sas/mpt2sas_debug.h linux-2.6.32.12/drivers/scsi/mpt2sas/mpt2sas_debug.h
26914--- linux-2.6.32.11/drivers/scsi/scsi_logging.h 2010-03-15 11:52:04.000000000 -0400 27284--- linux-2.6.32.12/drivers/scsi/mpt2sas/mpt2sas_debug.h 2010-03-15 11:52:04.000000000 -0400
26915+++ linux-2.6.32.11/drivers/scsi/scsi_logging.h 2010-04-04 20:46:41.616874360 -0400 27285+++ linux-2.6.32.12/drivers/scsi/mpt2sas/mpt2sas_debug.h 2010-04-29 17:46:37.209772088 -0400
27286@@ -79,7 +79,7 @@
27287 CMD; \
27288 }
27289 #else
27290-#define MPT_CHECK_LOGGING(IOC, CMD, BITS)
27291+#define MPT_CHECK_LOGGING(IOC, CMD, BITS) do {} while (0)
27292 #endif /* CONFIG_SCSI_MPT2SAS_LOGGING */
27293
27294
27295diff -urNp linux-2.6.32.12/drivers/scsi/scsi_logging.h linux-2.6.32.12/drivers/scsi/scsi_logging.h
27296--- linux-2.6.32.12/drivers/scsi/scsi_logging.h 2010-03-15 11:52:04.000000000 -0400
27297+++ linux-2.6.32.12/drivers/scsi/scsi_logging.h 2010-04-04 20:46:41.616874360 -0400
26916@@ -51,7 +51,7 @@ do { \ 27298@@ -51,7 +51,7 @@ do { \
26917 } while (0); \ 27299 } while (0); \
26918 } while (0) 27300 } while (0)
@@ -26922,9 +27304,9 @@ diff -urNp linux-2.6.32.11/drivers/scsi/scsi_logging.h linux-2.6.32.11/drivers/s
26922 #endif /* CONFIG_SCSI_LOGGING */ 27304 #endif /* CONFIG_SCSI_LOGGING */
26923 27305
26924 /* 27306 /*
26925diff -urNp linux-2.6.32.11/drivers/scsi/sg.c linux-2.6.32.11/drivers/scsi/sg.c 27307diff -urNp linux-2.6.32.12/drivers/scsi/sg.c linux-2.6.32.12/drivers/scsi/sg.c
26926--- linux-2.6.32.11/drivers/scsi/sg.c 2010-03-15 11:52:04.000000000 -0400 27308--- linux-2.6.32.12/drivers/scsi/sg.c 2010-03-15 11:52:04.000000000 -0400
26927+++ linux-2.6.32.11/drivers/scsi/sg.c 2010-04-04 20:46:41.616874360 -0400 27309+++ linux-2.6.32.12/drivers/scsi/sg.c 2010-04-04 20:46:41.616874360 -0400
26928@@ -2292,7 +2292,7 @@ struct sg_proc_leaf { 27310@@ -2292,7 +2292,7 @@ struct sg_proc_leaf {
26929 const struct file_operations * fops; 27311 const struct file_operations * fops;
26930 }; 27312 };
@@ -26943,9 +27325,9 @@ diff -urNp linux-2.6.32.11/drivers/scsi/sg.c linux-2.6.32.11/drivers/scsi/sg.c
26943 27325
26944 sg_proc_sgp = proc_mkdir(sg_proc_sg_dirname, NULL); 27326 sg_proc_sgp = proc_mkdir(sg_proc_sg_dirname, NULL);
26945 if (!sg_proc_sgp) 27327 if (!sg_proc_sgp)
26946diff -urNp linux-2.6.32.11/drivers/serial/8250_pci.c linux-2.6.32.11/drivers/serial/8250_pci.c 27328diff -urNp linux-2.6.32.12/drivers/serial/8250_pci.c linux-2.6.32.12/drivers/serial/8250_pci.c
26947--- linux-2.6.32.11/drivers/serial/8250_pci.c 2010-03-15 11:52:04.000000000 -0400 27329--- linux-2.6.32.12/drivers/serial/8250_pci.c 2010-03-15 11:52:04.000000000 -0400
26948+++ linux-2.6.32.11/drivers/serial/8250_pci.c 2010-04-04 20:46:41.616874360 -0400 27330+++ linux-2.6.32.12/drivers/serial/8250_pci.c 2010-04-04 20:46:41.616874360 -0400
26949@@ -3664,7 +3664,7 @@ static struct pci_device_id serial_pci_t 27331@@ -3664,7 +3664,7 @@ static struct pci_device_id serial_pci_t
26950 PCI_ANY_ID, PCI_ANY_ID, 27332 PCI_ANY_ID, PCI_ANY_ID,
26951 PCI_CLASS_COMMUNICATION_MULTISERIAL << 8, 27333 PCI_CLASS_COMMUNICATION_MULTISERIAL << 8,
@@ -26955,9 +27337,9 @@ diff -urNp linux-2.6.32.11/drivers/serial/8250_pci.c linux-2.6.32.11/drivers/ser
26955 }; 27337 };
26956 27338
26957 static struct pci_driver serial_pci_driver = { 27339 static struct pci_driver serial_pci_driver = {
26958diff -urNp linux-2.6.32.11/drivers/serial/kgdboc.c linux-2.6.32.11/drivers/serial/kgdboc.c 27340diff -urNp linux-2.6.32.12/drivers/serial/kgdboc.c linux-2.6.32.12/drivers/serial/kgdboc.c
26959--- linux-2.6.32.11/drivers/serial/kgdboc.c 2010-03-15 11:52:04.000000000 -0400 27341--- linux-2.6.32.12/drivers/serial/kgdboc.c 2010-03-15 11:52:04.000000000 -0400
26960+++ linux-2.6.32.11/drivers/serial/kgdboc.c 2010-04-04 20:46:41.616874360 -0400 27342+++ linux-2.6.32.12/drivers/serial/kgdboc.c 2010-04-04 20:46:41.616874360 -0400
26961@@ -18,7 +18,7 @@ 27343@@ -18,7 +18,7 @@
26962 27344
26963 #define MAX_CONFIG_LEN 40 27345 #define MAX_CONFIG_LEN 40
@@ -26976,9 +27358,9 @@ diff -urNp linux-2.6.32.11/drivers/serial/kgdboc.c linux-2.6.32.11/drivers/seria
26976 .name = "kgdboc", 27358 .name = "kgdboc",
26977 .read_char = kgdboc_get_char, 27359 .read_char = kgdboc_get_char,
26978 .write_char = kgdboc_put_char, 27360 .write_char = kgdboc_put_char,
26979diff -urNp linux-2.6.32.11/drivers/staging/android/binder.c linux-2.6.32.11/drivers/staging/android/binder.c 27361diff -urNp linux-2.6.32.12/drivers/staging/android/binder.c linux-2.6.32.12/drivers/staging/android/binder.c
26980--- linux-2.6.32.11/drivers/staging/android/binder.c 2010-03-15 11:52:04.000000000 -0400 27362--- linux-2.6.32.12/drivers/staging/android/binder.c 2010-03-15 11:52:04.000000000 -0400
26981+++ linux-2.6.32.11/drivers/staging/android/binder.c 2010-04-04 20:46:41.616874360 -0400 27363+++ linux-2.6.32.12/drivers/staging/android/binder.c 2010-04-04 20:46:41.616874360 -0400
26982@@ -2756,7 +2756,7 @@ static void binder_vma_close(struct vm_a 27364@@ -2756,7 +2756,7 @@ static void binder_vma_close(struct vm_a
26983 binder_defer_work(proc, BINDER_DEFERRED_PUT_FILES); 27365 binder_defer_work(proc, BINDER_DEFERRED_PUT_FILES);
26984 } 27366 }
@@ -26988,9 +27370,9 @@ diff -urNp linux-2.6.32.11/drivers/staging/android/binder.c linux-2.6.32.11/driv
26988 .open = binder_vma_open, 27370 .open = binder_vma_open,
26989 .close = binder_vma_close, 27371 .close = binder_vma_close,
26990 }; 27372 };
26991diff -urNp linux-2.6.32.11/drivers/staging/b3dfg/b3dfg.c linux-2.6.32.11/drivers/staging/b3dfg/b3dfg.c 27373diff -urNp linux-2.6.32.12/drivers/staging/b3dfg/b3dfg.c linux-2.6.32.12/drivers/staging/b3dfg/b3dfg.c
26992--- linux-2.6.32.11/drivers/staging/b3dfg/b3dfg.c 2010-03-15 11:52:04.000000000 -0400 27374--- linux-2.6.32.12/drivers/staging/b3dfg/b3dfg.c 2010-03-15 11:52:04.000000000 -0400
26993+++ linux-2.6.32.11/drivers/staging/b3dfg/b3dfg.c 2010-04-04 20:46:41.616874360 -0400 27375+++ linux-2.6.32.12/drivers/staging/b3dfg/b3dfg.c 2010-04-04 20:46:41.616874360 -0400
26994@@ -455,7 +455,7 @@ static int b3dfg_vma_fault(struct vm_are 27376@@ -455,7 +455,7 @@ static int b3dfg_vma_fault(struct vm_are
26995 return VM_FAULT_NOPAGE; 27377 return VM_FAULT_NOPAGE;
26996 } 27378 }
@@ -27009,9 +27391,9 @@ diff -urNp linux-2.6.32.11/drivers/staging/b3dfg/b3dfg.c linux-2.6.32.11/drivers
27009 .owner = THIS_MODULE, 27391 .owner = THIS_MODULE,
27010 .open = b3dfg_open, 27392 .open = b3dfg_open,
27011 .release = b3dfg_release, 27393 .release = b3dfg_release,
27012diff -urNp linux-2.6.32.11/drivers/staging/comedi/comedi_fops.c linux-2.6.32.11/drivers/staging/comedi/comedi_fops.c 27394diff -urNp linux-2.6.32.12/drivers/staging/comedi/comedi_fops.c linux-2.6.32.12/drivers/staging/comedi/comedi_fops.c
27013--- linux-2.6.32.11/drivers/staging/comedi/comedi_fops.c 2010-03-15 11:52:04.000000000 -0400 27395--- linux-2.6.32.12/drivers/staging/comedi/comedi_fops.c 2010-03-15 11:52:04.000000000 -0400
27014+++ linux-2.6.32.11/drivers/staging/comedi/comedi_fops.c 2010-04-04 20:46:41.616874360 -0400 27396+++ linux-2.6.32.12/drivers/staging/comedi/comedi_fops.c 2010-04-04 20:46:41.616874360 -0400
27015@@ -1389,7 +1389,7 @@ void comedi_unmap(struct vm_area_struct 27397@@ -1389,7 +1389,7 @@ void comedi_unmap(struct vm_area_struct
27016 mutex_unlock(&dev->mutex); 27398 mutex_unlock(&dev->mutex);
27017 } 27399 }
@@ -27021,9 +27403,9 @@ diff -urNp linux-2.6.32.11/drivers/staging/comedi/comedi_fops.c linux-2.6.32.11/
27021 .close = comedi_unmap, 27403 .close = comedi_unmap,
27022 }; 27404 };
27023 27405
27024diff -urNp linux-2.6.32.11/drivers/staging/dream/qdsp5/adsp_driver.c linux-2.6.32.11/drivers/staging/dream/qdsp5/adsp_driver.c 27406diff -urNp linux-2.6.32.12/drivers/staging/dream/qdsp5/adsp_driver.c linux-2.6.32.12/drivers/staging/dream/qdsp5/adsp_driver.c
27025--- linux-2.6.32.11/drivers/staging/dream/qdsp5/adsp_driver.c 2010-03-15 11:52:04.000000000 -0400 27407--- linux-2.6.32.12/drivers/staging/dream/qdsp5/adsp_driver.c 2010-03-15 11:52:04.000000000 -0400
27026+++ linux-2.6.32.11/drivers/staging/dream/qdsp5/adsp_driver.c 2010-04-04 20:46:41.616874360 -0400 27408+++ linux-2.6.32.12/drivers/staging/dream/qdsp5/adsp_driver.c 2010-04-04 20:46:41.616874360 -0400
27027@@ -576,7 +576,7 @@ static struct adsp_device *inode_to_devi 27409@@ -576,7 +576,7 @@ static struct adsp_device *inode_to_devi
27028 static dev_t adsp_devno; 27410 static dev_t adsp_devno;
27029 static struct class *adsp_class; 27411 static struct class *adsp_class;
@@ -27033,9 +27415,9 @@ diff -urNp linux-2.6.32.11/drivers/staging/dream/qdsp5/adsp_driver.c linux-2.6.3
27033 .owner = THIS_MODULE, 27415 .owner = THIS_MODULE,
27034 .open = adsp_open, 27416 .open = adsp_open,
27035 .unlocked_ioctl = adsp_ioctl, 27417 .unlocked_ioctl = adsp_ioctl,
27036diff -urNp linux-2.6.32.11/drivers/staging/dream/qdsp5/audio_aac.c linux-2.6.32.11/drivers/staging/dream/qdsp5/audio_aac.c 27418diff -urNp linux-2.6.32.12/drivers/staging/dream/qdsp5/audio_aac.c linux-2.6.32.12/drivers/staging/dream/qdsp5/audio_aac.c
27037--- linux-2.6.32.11/drivers/staging/dream/qdsp5/audio_aac.c 2010-03-15 11:52:04.000000000 -0400 27419--- linux-2.6.32.12/drivers/staging/dream/qdsp5/audio_aac.c 2010-03-15 11:52:04.000000000 -0400
27038+++ linux-2.6.32.11/drivers/staging/dream/qdsp5/audio_aac.c 2010-04-04 20:46:41.621505029 -0400 27420+++ linux-2.6.32.12/drivers/staging/dream/qdsp5/audio_aac.c 2010-04-04 20:46:41.621505029 -0400
27039@@ -1022,7 +1022,7 @@ done: 27421@@ -1022,7 +1022,7 @@ done:
27040 return rc; 27422 return rc;
27041 } 27423 }
@@ -27045,9 +27427,9 @@ diff -urNp linux-2.6.32.11/drivers/staging/dream/qdsp5/audio_aac.c linux-2.6.32.
27045 .owner = THIS_MODULE, 27427 .owner = THIS_MODULE,
27046 .open = audio_open, 27428 .open = audio_open,
27047 .release = audio_release, 27429 .release = audio_release,
27048diff -urNp linux-2.6.32.11/drivers/staging/dream/qdsp5/audio_amrnb.c linux-2.6.32.11/drivers/staging/dream/qdsp5/audio_amrnb.c 27430diff -urNp linux-2.6.32.12/drivers/staging/dream/qdsp5/audio_amrnb.c linux-2.6.32.12/drivers/staging/dream/qdsp5/audio_amrnb.c
27049--- linux-2.6.32.11/drivers/staging/dream/qdsp5/audio_amrnb.c 2010-03-15 11:52:04.000000000 -0400 27431--- linux-2.6.32.12/drivers/staging/dream/qdsp5/audio_amrnb.c 2010-03-15 11:52:04.000000000 -0400
27050+++ linux-2.6.32.11/drivers/staging/dream/qdsp5/audio_amrnb.c 2010-04-04 20:46:41.621505029 -0400 27432+++ linux-2.6.32.12/drivers/staging/dream/qdsp5/audio_amrnb.c 2010-04-04 20:46:41.621505029 -0400
27051@@ -833,7 +833,7 @@ done: 27433@@ -833,7 +833,7 @@ done:
27052 return rc; 27434 return rc;
27053 } 27435 }
@@ -27057,9 +27439,9 @@ diff -urNp linux-2.6.32.11/drivers/staging/dream/qdsp5/audio_amrnb.c linux-2.6.3
27057 .owner = THIS_MODULE, 27439 .owner = THIS_MODULE,
27058 .open = audamrnb_open, 27440 .open = audamrnb_open,
27059 .release = audamrnb_release, 27441 .release = audamrnb_release,
27060diff -urNp linux-2.6.32.11/drivers/staging/dream/qdsp5/audio_evrc.c linux-2.6.32.11/drivers/staging/dream/qdsp5/audio_evrc.c 27442diff -urNp linux-2.6.32.12/drivers/staging/dream/qdsp5/audio_evrc.c linux-2.6.32.12/drivers/staging/dream/qdsp5/audio_evrc.c
27061--- linux-2.6.32.11/drivers/staging/dream/qdsp5/audio_evrc.c 2010-03-15 11:52:04.000000000 -0400 27443--- linux-2.6.32.12/drivers/staging/dream/qdsp5/audio_evrc.c 2010-03-15 11:52:04.000000000 -0400
27062+++ linux-2.6.32.11/drivers/staging/dream/qdsp5/audio_evrc.c 2010-04-04 20:46:41.621505029 -0400 27444+++ linux-2.6.32.12/drivers/staging/dream/qdsp5/audio_evrc.c 2010-04-04 20:46:41.621505029 -0400
27063@@ -805,7 +805,7 @@ dma_fail: 27445@@ -805,7 +805,7 @@ dma_fail:
27064 return rc; 27446 return rc;
27065 } 27447 }
@@ -27069,9 +27451,9 @@ diff -urNp linux-2.6.32.11/drivers/staging/dream/qdsp5/audio_evrc.c linux-2.6.32
27069 .owner = THIS_MODULE, 27451 .owner = THIS_MODULE,
27070 .open = audevrc_open, 27452 .open = audevrc_open,
27071 .release = audevrc_release, 27453 .release = audevrc_release,
27072diff -urNp linux-2.6.32.11/drivers/staging/dream/qdsp5/audio_in.c linux-2.6.32.11/drivers/staging/dream/qdsp5/audio_in.c 27454diff -urNp linux-2.6.32.12/drivers/staging/dream/qdsp5/audio_in.c linux-2.6.32.12/drivers/staging/dream/qdsp5/audio_in.c
27073--- linux-2.6.32.11/drivers/staging/dream/qdsp5/audio_in.c 2010-03-15 11:52:04.000000000 -0400 27455--- linux-2.6.32.12/drivers/staging/dream/qdsp5/audio_in.c 2010-03-15 11:52:04.000000000 -0400
27074+++ linux-2.6.32.11/drivers/staging/dream/qdsp5/audio_in.c 2010-04-04 20:46:41.621505029 -0400 27456+++ linux-2.6.32.12/drivers/staging/dream/qdsp5/audio_in.c 2010-04-04 20:46:41.621505029 -0400
27075@@ -913,7 +913,7 @@ static int audpre_open(struct inode *ino 27457@@ -913,7 +913,7 @@ static int audpre_open(struct inode *ino
27076 return 0; 27458 return 0;
27077 } 27459 }
@@ -27090,9 +27472,9 @@ diff -urNp linux-2.6.32.11/drivers/staging/dream/qdsp5/audio_in.c linux-2.6.32.1
27090 .owner = THIS_MODULE, 27472 .owner = THIS_MODULE,
27091 .open = audpre_open, 27473 .open = audpre_open,
27092 .unlocked_ioctl = audpre_ioctl, 27474 .unlocked_ioctl = audpre_ioctl,
27093diff -urNp linux-2.6.32.11/drivers/staging/dream/qdsp5/audio_mp3.c linux-2.6.32.11/drivers/staging/dream/qdsp5/audio_mp3.c 27475diff -urNp linux-2.6.32.12/drivers/staging/dream/qdsp5/audio_mp3.c linux-2.6.32.12/drivers/staging/dream/qdsp5/audio_mp3.c
27094--- linux-2.6.32.11/drivers/staging/dream/qdsp5/audio_mp3.c 2010-03-15 11:52:04.000000000 -0400 27476--- linux-2.6.32.12/drivers/staging/dream/qdsp5/audio_mp3.c 2010-03-15 11:52:04.000000000 -0400
27095+++ linux-2.6.32.11/drivers/staging/dream/qdsp5/audio_mp3.c 2010-04-04 20:46:41.621505029 -0400 27477+++ linux-2.6.32.12/drivers/staging/dream/qdsp5/audio_mp3.c 2010-04-04 20:46:41.621505029 -0400
27096@@ -941,7 +941,7 @@ done: 27478@@ -941,7 +941,7 @@ done:
27097 return rc; 27479 return rc;
27098 } 27480 }
@@ -27102,9 +27484,9 @@ diff -urNp linux-2.6.32.11/drivers/staging/dream/qdsp5/audio_mp3.c linux-2.6.32.
27102 .owner = THIS_MODULE, 27484 .owner = THIS_MODULE,
27103 .open = audio_open, 27485 .open = audio_open,
27104 .release = audio_release, 27486 .release = audio_release,
27105diff -urNp linux-2.6.32.11/drivers/staging/dream/qdsp5/audio_out.c linux-2.6.32.11/drivers/staging/dream/qdsp5/audio_out.c 27487diff -urNp linux-2.6.32.12/drivers/staging/dream/qdsp5/audio_out.c linux-2.6.32.12/drivers/staging/dream/qdsp5/audio_out.c
27106--- linux-2.6.32.11/drivers/staging/dream/qdsp5/audio_out.c 2010-03-15 11:52:04.000000000 -0400 27488--- linux-2.6.32.12/drivers/staging/dream/qdsp5/audio_out.c 2010-03-15 11:52:04.000000000 -0400
27107+++ linux-2.6.32.11/drivers/staging/dream/qdsp5/audio_out.c 2010-04-04 20:46:41.621505029 -0400 27489+++ linux-2.6.32.12/drivers/staging/dream/qdsp5/audio_out.c 2010-04-04 20:46:41.621505029 -0400
27108@@ -810,7 +810,7 @@ static int audpp_open(struct inode *inod 27490@@ -810,7 +810,7 @@ static int audpp_open(struct inode *inod
27109 return 0; 27491 return 0;
27110 } 27492 }
@@ -27123,9 +27505,9 @@ diff -urNp linux-2.6.32.11/drivers/staging/dream/qdsp5/audio_out.c linux-2.6.32.
27123 .owner = THIS_MODULE, 27505 .owner = THIS_MODULE,
27124 .open = audpp_open, 27506 .open = audpp_open,
27125 .unlocked_ioctl = audpp_ioctl, 27507 .unlocked_ioctl = audpp_ioctl,
27126diff -urNp linux-2.6.32.11/drivers/staging/dream/qdsp5/audio_qcelp.c linux-2.6.32.11/drivers/staging/dream/qdsp5/audio_qcelp.c 27508diff -urNp linux-2.6.32.12/drivers/staging/dream/qdsp5/audio_qcelp.c linux-2.6.32.12/drivers/staging/dream/qdsp5/audio_qcelp.c
27127--- linux-2.6.32.11/drivers/staging/dream/qdsp5/audio_qcelp.c 2010-03-15 11:52:04.000000000 -0400 27509--- linux-2.6.32.12/drivers/staging/dream/qdsp5/audio_qcelp.c 2010-03-15 11:52:04.000000000 -0400
27128+++ linux-2.6.32.11/drivers/staging/dream/qdsp5/audio_qcelp.c 2010-04-04 20:46:41.621505029 -0400 27510+++ linux-2.6.32.12/drivers/staging/dream/qdsp5/audio_qcelp.c 2010-04-04 20:46:41.621505029 -0400
27129@@ -816,7 +816,7 @@ err: 27511@@ -816,7 +816,7 @@ err:
27130 return rc; 27512 return rc;
27131 } 27513 }
@@ -27135,9 +27517,9 @@ diff -urNp linux-2.6.32.11/drivers/staging/dream/qdsp5/audio_qcelp.c linux-2.6.3
27135 .owner = THIS_MODULE, 27517 .owner = THIS_MODULE,
27136 .open = audqcelp_open, 27518 .open = audqcelp_open,
27137 .release = audqcelp_release, 27519 .release = audqcelp_release,
27138diff -urNp linux-2.6.32.11/drivers/staging/dream/qdsp5/snd.c linux-2.6.32.11/drivers/staging/dream/qdsp5/snd.c 27520diff -urNp linux-2.6.32.12/drivers/staging/dream/qdsp5/snd.c linux-2.6.32.12/drivers/staging/dream/qdsp5/snd.c
27139--- linux-2.6.32.11/drivers/staging/dream/qdsp5/snd.c 2010-03-15 11:52:04.000000000 -0400 27521--- linux-2.6.32.12/drivers/staging/dream/qdsp5/snd.c 2010-03-15 11:52:04.000000000 -0400
27140+++ linux-2.6.32.11/drivers/staging/dream/qdsp5/snd.c 2010-04-04 20:46:41.621505029 -0400 27522+++ linux-2.6.32.12/drivers/staging/dream/qdsp5/snd.c 2010-04-04 20:46:41.621505029 -0400
27141@@ -242,7 +242,7 @@ err: 27523@@ -242,7 +242,7 @@ err:
27142 return rc; 27524 return rc;
27143 } 27525 }
@@ -27147,9 +27529,9 @@ diff -urNp linux-2.6.32.11/drivers/staging/dream/qdsp5/snd.c linux-2.6.32.11/dri
27147 .owner = THIS_MODULE, 27529 .owner = THIS_MODULE,
27148 .open = snd_open, 27530 .open = snd_open,
27149 .release = snd_release, 27531 .release = snd_release,
27150diff -urNp linux-2.6.32.11/drivers/staging/dream/smd/smd_qmi.c linux-2.6.32.11/drivers/staging/dream/smd/smd_qmi.c 27532diff -urNp linux-2.6.32.12/drivers/staging/dream/smd/smd_qmi.c linux-2.6.32.12/drivers/staging/dream/smd/smd_qmi.c
27151--- linux-2.6.32.11/drivers/staging/dream/smd/smd_qmi.c 2010-03-15 11:52:04.000000000 -0400 27533--- linux-2.6.32.12/drivers/staging/dream/smd/smd_qmi.c 2010-03-15 11:52:04.000000000 -0400
27152+++ linux-2.6.32.11/drivers/staging/dream/smd/smd_qmi.c 2010-04-04 20:46:41.621505029 -0400 27534+++ linux-2.6.32.12/drivers/staging/dream/smd/smd_qmi.c 2010-04-04 20:46:41.621505029 -0400
27153@@ -793,7 +793,7 @@ static int qmi_release(struct inode *ip, 27535@@ -793,7 +793,7 @@ static int qmi_release(struct inode *ip,
27154 return 0; 27536 return 0;
27155 } 27537 }
@@ -27159,9 +27541,9 @@ diff -urNp linux-2.6.32.11/drivers/staging/dream/smd/smd_qmi.c linux-2.6.32.11/d
27159 .owner = THIS_MODULE, 27541 .owner = THIS_MODULE,
27160 .read = qmi_read, 27542 .read = qmi_read,
27161 .write = qmi_write, 27543 .write = qmi_write,
27162diff -urNp linux-2.6.32.11/drivers/staging/dream/smd/smd_rpcrouter_device.c linux-2.6.32.11/drivers/staging/dream/smd/smd_rpcrouter_device.c 27544diff -urNp linux-2.6.32.12/drivers/staging/dream/smd/smd_rpcrouter_device.c linux-2.6.32.12/drivers/staging/dream/smd/smd_rpcrouter_device.c
27163--- linux-2.6.32.11/drivers/staging/dream/smd/smd_rpcrouter_device.c 2010-03-15 11:52:04.000000000 -0400 27545--- linux-2.6.32.12/drivers/staging/dream/smd/smd_rpcrouter_device.c 2010-03-15 11:52:04.000000000 -0400
27164+++ linux-2.6.32.11/drivers/staging/dream/smd/smd_rpcrouter_device.c 2010-04-04 20:46:41.621505029 -0400 27546+++ linux-2.6.32.12/drivers/staging/dream/smd/smd_rpcrouter_device.c 2010-04-04 20:46:41.621505029 -0400
27165@@ -214,7 +214,7 @@ static long rpcrouter_ioctl(struct file 27547@@ -214,7 +214,7 @@ static long rpcrouter_ioctl(struct file
27166 return rc; 27548 return rc;
27167 } 27549 }
@@ -27180,9 +27562,9 @@ diff -urNp linux-2.6.32.11/drivers/staging/dream/smd/smd_rpcrouter_device.c linu
27180 .owner = THIS_MODULE, 27562 .owner = THIS_MODULE,
27181 .open = rpcrouter_open, 27563 .open = rpcrouter_open,
27182 .release = rpcrouter_release, 27564 .release = rpcrouter_release,
27183diff -urNp linux-2.6.32.11/drivers/staging/dst/dcore.c linux-2.6.32.11/drivers/staging/dst/dcore.c 27565diff -urNp linux-2.6.32.12/drivers/staging/dst/dcore.c linux-2.6.32.12/drivers/staging/dst/dcore.c
27184--- linux-2.6.32.11/drivers/staging/dst/dcore.c 2010-03-15 11:52:04.000000000 -0400 27566--- linux-2.6.32.12/drivers/staging/dst/dcore.c 2010-03-15 11:52:04.000000000 -0400
27185+++ linux-2.6.32.11/drivers/staging/dst/dcore.c 2010-04-04 20:46:41.621505029 -0400 27567+++ linux-2.6.32.12/drivers/staging/dst/dcore.c 2010-04-04 20:46:41.621505029 -0400
27186@@ -149,7 +149,7 @@ static int dst_bdev_release(struct gendi 27568@@ -149,7 +149,7 @@ static int dst_bdev_release(struct gendi
27187 return 0; 27569 return 0;
27188 } 27570 }
@@ -27201,9 +27583,9 @@ diff -urNp linux-2.6.32.11/drivers/staging/dst/dcore.c linux-2.6.32.11/drivers/s
27201 snprintf(n->name, sizeof(n->name), "%s", ctl->name); 27583 snprintf(n->name, sizeof(n->name), "%s", ctl->name);
27202 27584
27203 err = dst_node_sysfs_init(n); 27585 err = dst_node_sysfs_init(n);
27204diff -urNp linux-2.6.32.11/drivers/staging/dst/trans.c linux-2.6.32.11/drivers/staging/dst/trans.c 27586diff -urNp linux-2.6.32.12/drivers/staging/dst/trans.c linux-2.6.32.12/drivers/staging/dst/trans.c
27205--- linux-2.6.32.11/drivers/staging/dst/trans.c 2010-03-15 11:52:04.000000000 -0400 27587--- linux-2.6.32.12/drivers/staging/dst/trans.c 2010-03-15 11:52:04.000000000 -0400
27206+++ linux-2.6.32.11/drivers/staging/dst/trans.c 2010-04-04 20:46:41.621505029 -0400 27588+++ linux-2.6.32.12/drivers/staging/dst/trans.c 2010-04-04 20:46:41.621505029 -0400
27207@@ -169,7 +169,7 @@ int dst_process_bio(struct dst_node *n, 27589@@ -169,7 +169,7 @@ int dst_process_bio(struct dst_node *n,
27208 t->error = 0; 27590 t->error = 0;
27209 t->retries = 0; 27591 t->retries = 0;
@@ -27213,9 +27595,9 @@ diff -urNp linux-2.6.32.11/drivers/staging/dst/trans.c linux-2.6.32.11/drivers/s
27213 27595
27214 t->enc = bio_data_dir(bio); 27596 t->enc = bio_data_dir(bio);
27215 dst_bio_to_cmd(bio, &t->cmd, DST_IO, t->gen); 27597 dst_bio_to_cmd(bio, &t->cmd, DST_IO, t->gen);
27216diff -urNp linux-2.6.32.11/drivers/staging/go7007/go7007-v4l2.c linux-2.6.32.11/drivers/staging/go7007/go7007-v4l2.c 27598diff -urNp linux-2.6.32.12/drivers/staging/go7007/go7007-v4l2.c linux-2.6.32.12/drivers/staging/go7007/go7007-v4l2.c
27217--- linux-2.6.32.11/drivers/staging/go7007/go7007-v4l2.c 2010-03-15 11:52:04.000000000 -0400 27599--- linux-2.6.32.12/drivers/staging/go7007/go7007-v4l2.c 2010-03-15 11:52:04.000000000 -0400
27218+++ linux-2.6.32.11/drivers/staging/go7007/go7007-v4l2.c 2010-04-04 20:46:41.621505029 -0400 27600+++ linux-2.6.32.12/drivers/staging/go7007/go7007-v4l2.c 2010-04-04 20:46:41.621505029 -0400
27219@@ -1700,7 +1700,7 @@ static int go7007_vm_fault(struct vm_are 27601@@ -1700,7 +1700,7 @@ static int go7007_vm_fault(struct vm_are
27220 return 0; 27602 return 0;
27221 } 27603 }
@@ -27225,9 +27607,9 @@ diff -urNp linux-2.6.32.11/drivers/staging/go7007/go7007-v4l2.c linux-2.6.32.11/
27225 .open = go7007_vm_open, 27607 .open = go7007_vm_open,
27226 .close = go7007_vm_close, 27608 .close = go7007_vm_close,
27227 .fault = go7007_vm_fault, 27609 .fault = go7007_vm_fault,
27228diff -urNp linux-2.6.32.11/drivers/staging/hv/blkvsc_drv.c linux-2.6.32.11/drivers/staging/hv/blkvsc_drv.c 27610diff -urNp linux-2.6.32.12/drivers/staging/hv/blkvsc_drv.c linux-2.6.32.12/drivers/staging/hv/blkvsc_drv.c
27229--- linux-2.6.32.11/drivers/staging/hv/blkvsc_drv.c 2010-03-15 11:52:04.000000000 -0400 27611--- linux-2.6.32.12/drivers/staging/hv/blkvsc_drv.c 2010-03-15 11:52:04.000000000 -0400
27230+++ linux-2.6.32.11/drivers/staging/hv/blkvsc_drv.c 2010-04-04 20:46:41.621505029 -0400 27612+++ linux-2.6.32.12/drivers/staging/hv/blkvsc_drv.c 2010-04-04 20:46:41.621505029 -0400
27231@@ -153,7 +153,7 @@ static int blkvsc_ringbuffer_size = BLKV 27613@@ -153,7 +153,7 @@ static int blkvsc_ringbuffer_size = BLKV
27232 /* The one and only one */ 27614 /* The one and only one */
27233 static struct blkvsc_driver_context g_blkvsc_drv; 27615 static struct blkvsc_driver_context g_blkvsc_drv;
@@ -27237,9 +27619,9 @@ diff -urNp linux-2.6.32.11/drivers/staging/hv/blkvsc_drv.c linux-2.6.32.11/drive
27237 .owner = THIS_MODULE, 27619 .owner = THIS_MODULE,
27238 .open = blkvsc_open, 27620 .open = blkvsc_open,
27239 .release = blkvsc_release, 27621 .release = blkvsc_release,
27240diff -urNp linux-2.6.32.11/drivers/staging/panel/panel.c linux-2.6.32.11/drivers/staging/panel/panel.c 27622diff -urNp linux-2.6.32.12/drivers/staging/panel/panel.c linux-2.6.32.12/drivers/staging/panel/panel.c
27241--- linux-2.6.32.11/drivers/staging/panel/panel.c 2010-03-15 11:52:04.000000000 -0400 27623--- linux-2.6.32.12/drivers/staging/panel/panel.c 2010-03-15 11:52:04.000000000 -0400
27242+++ linux-2.6.32.11/drivers/staging/panel/panel.c 2010-04-04 20:46:41.621505029 -0400 27624+++ linux-2.6.32.12/drivers/staging/panel/panel.c 2010-04-04 20:46:41.621505029 -0400
27243@@ -1305,7 +1305,7 @@ static int lcd_release(struct inode *ino 27625@@ -1305,7 +1305,7 @@ static int lcd_release(struct inode *ino
27244 return 0; 27626 return 0;
27245 } 27627 }
@@ -27258,9 +27640,9 @@ diff -urNp linux-2.6.32.11/drivers/staging/panel/panel.c linux-2.6.32.11/drivers
27258 .read = keypad_read, /* read */ 27640 .read = keypad_read, /* read */
27259 .open = keypad_open, /* open */ 27641 .open = keypad_open, /* open */
27260 .release = keypad_release, /* close */ 27642 .release = keypad_release, /* close */
27261diff -urNp linux-2.6.32.11/drivers/staging/phison/phison.c linux-2.6.32.11/drivers/staging/phison/phison.c 27643diff -urNp linux-2.6.32.12/drivers/staging/phison/phison.c linux-2.6.32.12/drivers/staging/phison/phison.c
27262--- linux-2.6.32.11/drivers/staging/phison/phison.c 2010-03-15 11:52:04.000000000 -0400 27644--- linux-2.6.32.12/drivers/staging/phison/phison.c 2010-03-15 11:52:04.000000000 -0400
27263+++ linux-2.6.32.11/drivers/staging/phison/phison.c 2010-04-04 20:46:41.621505029 -0400 27645+++ linux-2.6.32.12/drivers/staging/phison/phison.c 2010-04-04 20:46:41.621505029 -0400
27264@@ -43,7 +43,7 @@ static struct scsi_host_template phison_ 27646@@ -43,7 +43,7 @@ static struct scsi_host_template phison_
27265 ATA_BMDMA_SHT(DRV_NAME), 27647 ATA_BMDMA_SHT(DRV_NAME),
27266 }; 27648 };
@@ -27270,9 +27652,9 @@ diff -urNp linux-2.6.32.11/drivers/staging/phison/phison.c linux-2.6.32.11/drive
27270 .inherits = &ata_bmdma_port_ops, 27652 .inherits = &ata_bmdma_port_ops,
27271 .prereset = phison_pre_reset, 27653 .prereset = phison_pre_reset,
27272 }; 27654 };
27273diff -urNp linux-2.6.32.11/drivers/staging/poch/poch.c linux-2.6.32.11/drivers/staging/poch/poch.c 27655diff -urNp linux-2.6.32.12/drivers/staging/poch/poch.c linux-2.6.32.12/drivers/staging/poch/poch.c
27274--- linux-2.6.32.11/drivers/staging/poch/poch.c 2010-03-15 11:52:04.000000000 -0400 27656--- linux-2.6.32.12/drivers/staging/poch/poch.c 2010-03-15 11:52:04.000000000 -0400
27275+++ linux-2.6.32.11/drivers/staging/poch/poch.c 2010-04-04 20:46:41.625742858 -0400 27657+++ linux-2.6.32.12/drivers/staging/poch/poch.c 2010-04-04 20:46:41.625742858 -0400
27276@@ -1057,7 +1057,7 @@ static int poch_ioctl(struct inode *inod 27658@@ -1057,7 +1057,7 @@ static int poch_ioctl(struct inode *inod
27277 return 0; 27659 return 0;
27278 } 27660 }
@@ -27282,9 +27664,9 @@ diff -urNp linux-2.6.32.11/drivers/staging/poch/poch.c linux-2.6.32.11/drivers/s
27282 .owner = THIS_MODULE, 27664 .owner = THIS_MODULE,
27283 .open = poch_open, 27665 .open = poch_open,
27284 .release = poch_release, 27666 .release = poch_release,
27285diff -urNp linux-2.6.32.11/drivers/staging/pohmelfs/inode.c linux-2.6.32.11/drivers/staging/pohmelfs/inode.c 27667diff -urNp linux-2.6.32.12/drivers/staging/pohmelfs/inode.c linux-2.6.32.12/drivers/staging/pohmelfs/inode.c
27286--- linux-2.6.32.11/drivers/staging/pohmelfs/inode.c 2010-03-15 11:52:04.000000000 -0400 27668--- linux-2.6.32.12/drivers/staging/pohmelfs/inode.c 2010-03-15 11:52:04.000000000 -0400
27287+++ linux-2.6.32.11/drivers/staging/pohmelfs/inode.c 2010-04-04 20:46:41.625742858 -0400 27669+++ linux-2.6.32.12/drivers/staging/pohmelfs/inode.c 2010-04-04 20:46:41.625742858 -0400
27288@@ -1850,7 +1850,7 @@ static int pohmelfs_fill_super(struct su 27670@@ -1850,7 +1850,7 @@ static int pohmelfs_fill_super(struct su
27289 mutex_init(&psb->mcache_lock); 27671 mutex_init(&psb->mcache_lock);
27290 psb->mcache_root = RB_ROOT; 27672 psb->mcache_root = RB_ROOT;
@@ -27294,9 +27676,9 @@ diff -urNp linux-2.6.32.11/drivers/staging/pohmelfs/inode.c linux-2.6.32.11/driv
27294 27676
27295 psb->trans_max_pages = 100; 27677 psb->trans_max_pages = 100;
27296 27678
27297diff -urNp linux-2.6.32.11/drivers/staging/pohmelfs/mcache.c linux-2.6.32.11/drivers/staging/pohmelfs/mcache.c 27679diff -urNp linux-2.6.32.12/drivers/staging/pohmelfs/mcache.c linux-2.6.32.12/drivers/staging/pohmelfs/mcache.c
27298--- linux-2.6.32.11/drivers/staging/pohmelfs/mcache.c 2010-03-15 11:52:04.000000000 -0400 27680--- linux-2.6.32.12/drivers/staging/pohmelfs/mcache.c 2010-03-15 11:52:04.000000000 -0400
27299+++ linux-2.6.32.11/drivers/staging/pohmelfs/mcache.c 2010-04-04 20:46:41.625742858 -0400 27681+++ linux-2.6.32.12/drivers/staging/pohmelfs/mcache.c 2010-04-04 20:46:41.625742858 -0400
27300@@ -121,7 +121,7 @@ struct pohmelfs_mcache *pohmelfs_mcache_ 27682@@ -121,7 +121,7 @@ struct pohmelfs_mcache *pohmelfs_mcache_
27301 m->data = data; 27683 m->data = data;
27302 m->start = start; 27684 m->start = start;
@@ -27306,9 +27688,9 @@ diff -urNp linux-2.6.32.11/drivers/staging/pohmelfs/mcache.c linux-2.6.32.11/dri
27306 27688
27307 mutex_lock(&psb->mcache_lock); 27689 mutex_lock(&psb->mcache_lock);
27308 err = pohmelfs_mcache_insert(psb, m); 27690 err = pohmelfs_mcache_insert(psb, m);
27309diff -urNp linux-2.6.32.11/drivers/staging/pohmelfs/netfs.h linux-2.6.32.11/drivers/staging/pohmelfs/netfs.h 27691diff -urNp linux-2.6.32.12/drivers/staging/pohmelfs/netfs.h linux-2.6.32.12/drivers/staging/pohmelfs/netfs.h
27310--- linux-2.6.32.11/drivers/staging/pohmelfs/netfs.h 2010-03-15 11:52:04.000000000 -0400 27692--- linux-2.6.32.12/drivers/staging/pohmelfs/netfs.h 2010-03-15 11:52:04.000000000 -0400
27311+++ linux-2.6.32.11/drivers/staging/pohmelfs/netfs.h 2010-04-04 20:46:41.625742858 -0400 27693+++ linux-2.6.32.12/drivers/staging/pohmelfs/netfs.h 2010-04-04 20:46:41.625742858 -0400
27312@@ -570,7 +570,7 @@ struct pohmelfs_config; 27694@@ -570,7 +570,7 @@ struct pohmelfs_config;
27313 struct pohmelfs_sb { 27695 struct pohmelfs_sb {
27314 struct rb_root mcache_root; 27696 struct rb_root mcache_root;
@@ -27318,9 +27700,9 @@ diff -urNp linux-2.6.32.11/drivers/staging/pohmelfs/netfs.h linux-2.6.32.11/driv
27318 unsigned long mcache_timeout; 27700 unsigned long mcache_timeout;
27319 27701
27320 unsigned int idx; 27702 unsigned int idx;
27321diff -urNp linux-2.6.32.11/drivers/staging/sep/sep_driver.c linux-2.6.32.11/drivers/staging/sep/sep_driver.c 27703diff -urNp linux-2.6.32.12/drivers/staging/sep/sep_driver.c linux-2.6.32.12/drivers/staging/sep/sep_driver.c
27322--- linux-2.6.32.11/drivers/staging/sep/sep_driver.c 2010-03-15 11:52:04.000000000 -0400 27704--- linux-2.6.32.12/drivers/staging/sep/sep_driver.c 2010-03-15 11:52:04.000000000 -0400
27323+++ linux-2.6.32.11/drivers/staging/sep/sep_driver.c 2010-04-04 20:46:41.625742858 -0400 27705+++ linux-2.6.32.12/drivers/staging/sep/sep_driver.c 2010-04-04 20:46:41.625742858 -0400
27324@@ -2603,7 +2603,7 @@ static struct pci_driver sep_pci_driver 27706@@ -2603,7 +2603,7 @@ static struct pci_driver sep_pci_driver
27325 static dev_t sep_devno; 27707 static dev_t sep_devno;
27326 27708
@@ -27330,9 +27712,9 @@ diff -urNp linux-2.6.32.11/drivers/staging/sep/sep_driver.c linux-2.6.32.11/driv
27330 .owner = THIS_MODULE, 27712 .owner = THIS_MODULE,
27331 .ioctl = sep_ioctl, 27713 .ioctl = sep_ioctl,
27332 .poll = sep_poll, 27714 .poll = sep_poll,
27333diff -urNp linux-2.6.32.11/drivers/staging/vme/devices/vme_user.c linux-2.6.32.11/drivers/staging/vme/devices/vme_user.c 27715diff -urNp linux-2.6.32.12/drivers/staging/vme/devices/vme_user.c linux-2.6.32.12/drivers/staging/vme/devices/vme_user.c
27334--- linux-2.6.32.11/drivers/staging/vme/devices/vme_user.c 2010-03-15 11:52:04.000000000 -0400 27716--- linux-2.6.32.12/drivers/staging/vme/devices/vme_user.c 2010-03-15 11:52:04.000000000 -0400
27335+++ linux-2.6.32.11/drivers/staging/vme/devices/vme_user.c 2010-04-04 20:46:41.625742858 -0400 27717+++ linux-2.6.32.12/drivers/staging/vme/devices/vme_user.c 2010-04-04 20:46:41.625742858 -0400
27336@@ -136,7 +136,7 @@ static int vme_user_ioctl(struct inode * 27718@@ -136,7 +136,7 @@ static int vme_user_ioctl(struct inode *
27337 static int __init vme_user_probe(struct device *, int, int); 27719 static int __init vme_user_probe(struct device *, int, int);
27338 static int __exit vme_user_remove(struct device *, int, int); 27720 static int __exit vme_user_remove(struct device *, int, int);
@@ -27342,9 +27724,9 @@ diff -urNp linux-2.6.32.11/drivers/staging/vme/devices/vme_user.c linux-2.6.32.1
27342 .open = vme_user_open, 27724 .open = vme_user_open,
27343 .release = vme_user_release, 27725 .release = vme_user_release,
27344 .read = vme_user_read, 27726 .read = vme_user_read,
27345diff -urNp linux-2.6.32.11/drivers/uio/uio.c linux-2.6.32.11/drivers/uio/uio.c 27727diff -urNp linux-2.6.32.12/drivers/uio/uio.c linux-2.6.32.12/drivers/uio/uio.c
27346--- linux-2.6.32.11/drivers/uio/uio.c 2010-03-15 11:52:04.000000000 -0400 27728--- linux-2.6.32.12/drivers/uio/uio.c 2010-03-15 11:52:04.000000000 -0400
27347+++ linux-2.6.32.11/drivers/uio/uio.c 2010-04-04 20:46:41.625742858 -0400 27729+++ linux-2.6.32.12/drivers/uio/uio.c 2010-04-04 20:46:41.625742858 -0400
27348@@ -129,7 +129,7 @@ static ssize_t map_type_show(struct kobj 27730@@ -129,7 +129,7 @@ static ssize_t map_type_show(struct kobj
27349 return entry->show(mem, buf); 27731 return entry->show(mem, buf);
27350 } 27732 }
@@ -27363,9 +27745,9 @@ diff -urNp linux-2.6.32.11/drivers/uio/uio.c linux-2.6.32.11/drivers/uio/uio.c
27363 .show = portio_type_show, 27745 .show = portio_type_show,
27364 }; 27746 };
27365 27747
27366diff -urNp linux-2.6.32.11/drivers/usb/atm/usbatm.c linux-2.6.32.11/drivers/usb/atm/usbatm.c 27748diff -urNp linux-2.6.32.12/drivers/usb/atm/usbatm.c linux-2.6.32.12/drivers/usb/atm/usbatm.c
27367--- linux-2.6.32.11/drivers/usb/atm/usbatm.c 2010-03-15 11:52:04.000000000 -0400 27749--- linux-2.6.32.12/drivers/usb/atm/usbatm.c 2010-03-15 11:52:04.000000000 -0400
27368+++ linux-2.6.32.11/drivers/usb/atm/usbatm.c 2010-04-04 20:46:41.625742858 -0400 27750+++ linux-2.6.32.12/drivers/usb/atm/usbatm.c 2010-04-04 20:46:41.625742858 -0400
27369@@ -333,7 +333,7 @@ static void usbatm_extract_one_cell(stru 27751@@ -333,7 +333,7 @@ static void usbatm_extract_one_cell(stru
27370 if (printk_ratelimit()) 27752 if (printk_ratelimit())
27371 atm_warn(instance, "%s: OAM not supported (vpi %d, vci %d)!\n", 27753 atm_warn(instance, "%s: OAM not supported (vpi %d, vci %d)!\n",
@@ -27445,10 +27827,10 @@ diff -urNp linux-2.6.32.11/drivers/usb/atm/usbatm.c linux-2.6.32.11/drivers/usb/
27445 27827
27446 if (!left--) { 27828 if (!left--) {
27447 if (instance->disconnected) 27829 if (instance->disconnected)
27448diff -urNp linux-2.6.32.11/drivers/usb/class/cdc-acm.c linux-2.6.32.11/drivers/usb/class/cdc-acm.c 27830diff -urNp linux-2.6.32.12/drivers/usb/class/cdc-acm.c linux-2.6.32.12/drivers/usb/class/cdc-acm.c
27449--- linux-2.6.32.11/drivers/usb/class/cdc-acm.c 2010-03-15 11:52:04.000000000 -0400 27831--- linux-2.6.32.12/drivers/usb/class/cdc-acm.c 2010-04-29 17:49:38.389083173 -0400
27450+++ linux-2.6.32.11/drivers/usb/class/cdc-acm.c 2010-04-04 20:46:41.625742858 -0400 27832+++ linux-2.6.32.12/drivers/usb/class/cdc-acm.c 2010-04-29 17:49:58.429105010 -0400
27451@@ -1534,7 +1534,7 @@ static struct usb_device_id acm_ids[] = 27833@@ -1535,7 +1535,7 @@ static struct usb_device_id acm_ids[] =
27452 USB_CDC_ACM_PROTO_AT_CDMA) }, 27834 USB_CDC_ACM_PROTO_AT_CDMA) },
27453 27835
27454 /* NOTE: COMM/ACM/0xff is likely MSFT RNDIS ... NOT a modem!! */ 27836 /* NOTE: COMM/ACM/0xff is likely MSFT RNDIS ... NOT a modem!! */
@@ -27457,9 +27839,9 @@ diff -urNp linux-2.6.32.11/drivers/usb/class/cdc-acm.c linux-2.6.32.11/drivers/u
27457 }; 27839 };
27458 27840
27459 MODULE_DEVICE_TABLE(usb, acm_ids); 27841 MODULE_DEVICE_TABLE(usb, acm_ids);
27460diff -urNp linux-2.6.32.11/drivers/usb/class/usblp.c linux-2.6.32.11/drivers/usb/class/usblp.c 27842diff -urNp linux-2.6.32.12/drivers/usb/class/usblp.c linux-2.6.32.12/drivers/usb/class/usblp.c
27461--- linux-2.6.32.11/drivers/usb/class/usblp.c 2010-03-15 11:52:04.000000000 -0400 27843--- linux-2.6.32.12/drivers/usb/class/usblp.c 2010-03-15 11:52:04.000000000 -0400
27462+++ linux-2.6.32.11/drivers/usb/class/usblp.c 2010-04-04 20:46:41.625742858 -0400 27844+++ linux-2.6.32.12/drivers/usb/class/usblp.c 2010-04-04 20:46:41.625742858 -0400
27463@@ -228,7 +228,7 @@ static const struct quirk_printer_struct 27845@@ -228,7 +228,7 @@ static const struct quirk_printer_struct
27464 { 0x0482, 0x0010, USBLP_QUIRK_BIDIR }, /* Kyocera Mita FS 820, by zut <kernel@zut.de> */ 27846 { 0x0482, 0x0010, USBLP_QUIRK_BIDIR }, /* Kyocera Mita FS 820, by zut <kernel@zut.de> */
27465 { 0x04f9, 0x000d, USBLP_QUIRK_BIDIR }, /* Brother Industries, Ltd HL-1440 Laser Printer */ 27847 { 0x04f9, 0x000d, USBLP_QUIRK_BIDIR }, /* Brother Industries, Ltd HL-1440 Laser Printer */
@@ -27478,9 +27860,9 @@ diff -urNp linux-2.6.32.11/drivers/usb/class/usblp.c linux-2.6.32.11/drivers/usb
27478 }; 27860 };
27479 27861
27480 MODULE_DEVICE_TABLE (usb, usblp_ids); 27862 MODULE_DEVICE_TABLE (usb, usblp_ids);
27481diff -urNp linux-2.6.32.11/drivers/usb/core/hcd.c linux-2.6.32.11/drivers/usb/core/hcd.c 27863diff -urNp linux-2.6.32.12/drivers/usb/core/hcd.c linux-2.6.32.12/drivers/usb/core/hcd.c
27482--- linux-2.6.32.11/drivers/usb/core/hcd.c 2010-03-15 11:52:04.000000000 -0400 27864--- linux-2.6.32.12/drivers/usb/core/hcd.c 2010-03-15 11:52:04.000000000 -0400
27483+++ linux-2.6.32.11/drivers/usb/core/hcd.c 2010-04-04 20:46:41.625742858 -0400 27865+++ linux-2.6.32.12/drivers/usb/core/hcd.c 2010-04-04 20:46:41.625742858 -0400
27484@@ -2216,7 +2216,7 @@ EXPORT_SYMBOL_GPL(usb_hcd_platform_shutd 27866@@ -2216,7 +2216,7 @@ EXPORT_SYMBOL_GPL(usb_hcd_platform_shutd
27485 27867
27486 #if defined(CONFIG_USB_MON) || defined(CONFIG_USB_MON_MODULE) 27868 #if defined(CONFIG_USB_MON) || defined(CONFIG_USB_MON_MODULE)
@@ -27499,9 +27881,9 @@ diff -urNp linux-2.6.32.11/drivers/usb/core/hcd.c linux-2.6.32.11/drivers/usb/co
27499 { 27881 {
27500 27882
27501 if (mon_ops) 27883 if (mon_ops)
27502diff -urNp linux-2.6.32.11/drivers/usb/core/hcd.h linux-2.6.32.11/drivers/usb/core/hcd.h 27884diff -urNp linux-2.6.32.12/drivers/usb/core/hcd.h linux-2.6.32.12/drivers/usb/core/hcd.h
27503--- linux-2.6.32.11/drivers/usb/core/hcd.h 2010-03-15 11:52:04.000000000 -0400 27885--- linux-2.6.32.12/drivers/usb/core/hcd.h 2010-03-15 11:52:04.000000000 -0400
27504+++ linux-2.6.32.11/drivers/usb/core/hcd.h 2010-04-04 20:46:41.625742858 -0400 27886+++ linux-2.6.32.12/drivers/usb/core/hcd.h 2010-04-04 20:46:41.625742858 -0400
27505@@ -486,13 +486,13 @@ static inline void usbfs_cleanup(void) { 27887@@ -486,13 +486,13 @@ static inline void usbfs_cleanup(void) {
27506 #if defined(CONFIG_USB_MON) || defined(CONFIG_USB_MON_MODULE) 27888 #if defined(CONFIG_USB_MON) || defined(CONFIG_USB_MON_MODULE)
27507 27889
@@ -27529,9 +27911,9 @@ diff -urNp linux-2.6.32.11/drivers/usb/core/hcd.h linux-2.6.32.11/drivers/usb/co
27529 void usb_mon_deregister(void); 27911 void usb_mon_deregister(void);
27530 27912
27531 #else 27913 #else
27532diff -urNp linux-2.6.32.11/drivers/usb/core/hub.c linux-2.6.32.11/drivers/usb/core/hub.c 27914diff -urNp linux-2.6.32.12/drivers/usb/core/hub.c linux-2.6.32.12/drivers/usb/core/hub.c
27533--- linux-2.6.32.11/drivers/usb/core/hub.c 2010-03-15 11:52:04.000000000 -0400 27915--- linux-2.6.32.12/drivers/usb/core/hub.c 2010-03-15 11:52:04.000000000 -0400
27534+++ linux-2.6.32.11/drivers/usb/core/hub.c 2010-04-04 20:46:41.625742858 -0400 27916+++ linux-2.6.32.12/drivers/usb/core/hub.c 2010-04-04 20:46:41.625742858 -0400
27535@@ -3397,7 +3397,7 @@ static struct usb_device_id hub_id_table 27917@@ -3397,7 +3397,7 @@ static struct usb_device_id hub_id_table
27536 .bDeviceClass = USB_CLASS_HUB}, 27918 .bDeviceClass = USB_CLASS_HUB},
27537 { .match_flags = USB_DEVICE_ID_MATCH_INT_CLASS, 27919 { .match_flags = USB_DEVICE_ID_MATCH_INT_CLASS,
@@ -27541,9 +27923,9 @@ diff -urNp linux-2.6.32.11/drivers/usb/core/hub.c linux-2.6.32.11/drivers/usb/co
27541 }; 27923 };
27542 27924
27543 MODULE_DEVICE_TABLE (usb, hub_id_table); 27925 MODULE_DEVICE_TABLE (usb, hub_id_table);
27544diff -urNp linux-2.6.32.11/drivers/usb/core/message.c linux-2.6.32.11/drivers/usb/core/message.c 27926diff -urNp linux-2.6.32.12/drivers/usb/core/message.c linux-2.6.32.12/drivers/usb/core/message.c
27545--- linux-2.6.32.11/drivers/usb/core/message.c 2010-03-15 11:52:04.000000000 -0400 27927--- linux-2.6.32.12/drivers/usb/core/message.c 2010-03-15 11:52:04.000000000 -0400
27546+++ linux-2.6.32.11/drivers/usb/core/message.c 2010-04-04 20:46:41.629706570 -0400 27928+++ linux-2.6.32.12/drivers/usb/core/message.c 2010-04-04 20:46:41.629706570 -0400
27547@@ -914,8 +914,8 @@ char *usb_cache_string(struct usb_device 27929@@ -914,8 +914,8 @@ char *usb_cache_string(struct usb_device
27548 buf = kmalloc(MAX_USB_STRING_SIZE, GFP_NOIO); 27930 buf = kmalloc(MAX_USB_STRING_SIZE, GFP_NOIO);
27549 if (buf) { 27931 if (buf) {
@@ -27555,9 +27937,9 @@ diff -urNp linux-2.6.32.11/drivers/usb/core/message.c linux-2.6.32.11/drivers/us
27555 if (!smallbuf) 27937 if (!smallbuf)
27556 return buf; 27938 return buf;
27557 memcpy(smallbuf, buf, len); 27939 memcpy(smallbuf, buf, len);
27558diff -urNp linux-2.6.32.11/drivers/usb/host/ehci-pci.c linux-2.6.32.11/drivers/usb/host/ehci-pci.c 27940diff -urNp linux-2.6.32.12/drivers/usb/host/ehci-pci.c linux-2.6.32.12/drivers/usb/host/ehci-pci.c
27559--- linux-2.6.32.11/drivers/usb/host/ehci-pci.c 2010-03-15 11:52:04.000000000 -0400 27941--- linux-2.6.32.12/drivers/usb/host/ehci-pci.c 2010-03-15 11:52:04.000000000 -0400
27560+++ linux-2.6.32.11/drivers/usb/host/ehci-pci.c 2010-04-04 20:46:41.629706570 -0400 27942+++ linux-2.6.32.12/drivers/usb/host/ehci-pci.c 2010-04-04 20:46:41.629706570 -0400
27561@@ -422,7 +422,7 @@ static const struct pci_device_id pci_id 27943@@ -422,7 +422,7 @@ static const struct pci_device_id pci_id
27562 PCI_DEVICE_CLASS(PCI_CLASS_SERIAL_USB_EHCI, ~0), 27944 PCI_DEVICE_CLASS(PCI_CLASS_SERIAL_USB_EHCI, ~0),
27563 .driver_data = (unsigned long) &ehci_pci_hc_driver, 27945 .driver_data = (unsigned long) &ehci_pci_hc_driver,
@@ -27567,9 +27949,9 @@ diff -urNp linux-2.6.32.11/drivers/usb/host/ehci-pci.c linux-2.6.32.11/drivers/u
27567 }; 27949 };
27568 MODULE_DEVICE_TABLE(pci, pci_ids); 27950 MODULE_DEVICE_TABLE(pci, pci_ids);
27569 27951
27570diff -urNp linux-2.6.32.11/drivers/usb/host/uhci-hcd.c linux-2.6.32.11/drivers/usb/host/uhci-hcd.c 27952diff -urNp linux-2.6.32.12/drivers/usb/host/uhci-hcd.c linux-2.6.32.12/drivers/usb/host/uhci-hcd.c
27571--- linux-2.6.32.11/drivers/usb/host/uhci-hcd.c 2010-03-15 11:52:04.000000000 -0400 27953--- linux-2.6.32.12/drivers/usb/host/uhci-hcd.c 2010-03-15 11:52:04.000000000 -0400
27572+++ linux-2.6.32.11/drivers/usb/host/uhci-hcd.c 2010-04-04 20:46:41.629706570 -0400 27954+++ linux-2.6.32.12/drivers/usb/host/uhci-hcd.c 2010-04-04 20:46:41.629706570 -0400
27573@@ -941,7 +941,7 @@ static const struct pci_device_id uhci_p 27955@@ -941,7 +941,7 @@ static const struct pci_device_id uhci_p
27574 /* handle any USB UHCI controller */ 27956 /* handle any USB UHCI controller */
27575 PCI_DEVICE_CLASS(PCI_CLASS_SERIAL_USB_UHCI, ~0), 27957 PCI_DEVICE_CLASS(PCI_CLASS_SERIAL_USB_UHCI, ~0),
@@ -27579,9 +27961,9 @@ diff -urNp linux-2.6.32.11/drivers/usb/host/uhci-hcd.c linux-2.6.32.11/drivers/u
27579 }; 27961 };
27580 27962
27581 MODULE_DEVICE_TABLE(pci, uhci_pci_ids); 27963 MODULE_DEVICE_TABLE(pci, uhci_pci_ids);
27582diff -urNp linux-2.6.32.11/drivers/usb/misc/appledisplay.c linux-2.6.32.11/drivers/usb/misc/appledisplay.c 27964diff -urNp linux-2.6.32.12/drivers/usb/misc/appledisplay.c linux-2.6.32.12/drivers/usb/misc/appledisplay.c
27583--- linux-2.6.32.11/drivers/usb/misc/appledisplay.c 2010-03-15 11:52:04.000000000 -0400 27965--- linux-2.6.32.12/drivers/usb/misc/appledisplay.c 2010-03-15 11:52:04.000000000 -0400
27584+++ linux-2.6.32.11/drivers/usb/misc/appledisplay.c 2010-04-04 20:46:41.629706570 -0400 27966+++ linux-2.6.32.12/drivers/usb/misc/appledisplay.c 2010-04-04 20:46:41.629706570 -0400
27585@@ -178,7 +178,7 @@ static int appledisplay_bl_get_brightnes 27967@@ -178,7 +178,7 @@ static int appledisplay_bl_get_brightnes
27586 return pdata->msgdata[1]; 27968 return pdata->msgdata[1];
27587 } 27969 }
@@ -27591,9 +27973,9 @@ diff -urNp linux-2.6.32.11/drivers/usb/misc/appledisplay.c linux-2.6.32.11/drive
27591 .get_brightness = appledisplay_bl_get_brightness, 27973 .get_brightness = appledisplay_bl_get_brightness,
27592 .update_status = appledisplay_bl_update_status, 27974 .update_status = appledisplay_bl_update_status,
27593 }; 27975 };
27594diff -urNp linux-2.6.32.11/drivers/usb/mon/mon_main.c linux-2.6.32.11/drivers/usb/mon/mon_main.c 27976diff -urNp linux-2.6.32.12/drivers/usb/mon/mon_main.c linux-2.6.32.12/drivers/usb/mon/mon_main.c
27595--- linux-2.6.32.11/drivers/usb/mon/mon_main.c 2010-03-15 11:52:04.000000000 -0400 27977--- linux-2.6.32.12/drivers/usb/mon/mon_main.c 2010-03-15 11:52:04.000000000 -0400
27596+++ linux-2.6.32.11/drivers/usb/mon/mon_main.c 2010-04-04 20:46:41.629706570 -0400 27978+++ linux-2.6.32.12/drivers/usb/mon/mon_main.c 2010-04-04 20:46:41.629706570 -0400
27597@@ -238,7 +238,7 @@ static struct notifier_block mon_nb = { 27979@@ -238,7 +238,7 @@ static struct notifier_block mon_nb = {
27598 /* 27980 /*
27599 * Ops 27981 * Ops
@@ -27603,9 +27985,9 @@ diff -urNp linux-2.6.32.11/drivers/usb/mon/mon_main.c linux-2.6.32.11/drivers/us
27603 .urb_submit = mon_submit, 27985 .urb_submit = mon_submit,
27604 .urb_submit_error = mon_submit_error, 27986 .urb_submit_error = mon_submit_error,
27605 .urb_complete = mon_complete, 27987 .urb_complete = mon_complete,
27606diff -urNp linux-2.6.32.11/drivers/usb/storage/debug.h linux-2.6.32.11/drivers/usb/storage/debug.h 27988diff -urNp linux-2.6.32.12/drivers/usb/storage/debug.h linux-2.6.32.12/drivers/usb/storage/debug.h
27607--- linux-2.6.32.11/drivers/usb/storage/debug.h 2010-03-15 11:52:04.000000000 -0400 27989--- linux-2.6.32.12/drivers/usb/storage/debug.h 2010-03-15 11:52:04.000000000 -0400
27608+++ linux-2.6.32.11/drivers/usb/storage/debug.h 2010-04-04 20:46:41.629706570 -0400 27990+++ linux-2.6.32.12/drivers/usb/storage/debug.h 2010-04-04 20:46:41.629706570 -0400
27609@@ -54,9 +54,9 @@ void usb_stor_show_sense( unsigned char 27991@@ -54,9 +54,9 @@ void usb_stor_show_sense( unsigned char
27610 #define US_DEBUGPX(x...) printk( x ) 27992 #define US_DEBUGPX(x...) printk( x )
27611 #define US_DEBUG(x) x 27993 #define US_DEBUG(x) x
@@ -27619,9 +28001,9 @@ diff -urNp linux-2.6.32.11/drivers/usb/storage/debug.h linux-2.6.32.11/drivers/u
27619 #endif 28001 #endif
27620 28002
27621 #endif 28003 #endif
27622diff -urNp linux-2.6.32.11/drivers/usb/storage/usb.c linux-2.6.32.11/drivers/usb/storage/usb.c 28004diff -urNp linux-2.6.32.12/drivers/usb/storage/usb.c linux-2.6.32.12/drivers/usb/storage/usb.c
27623--- linux-2.6.32.11/drivers/usb/storage/usb.c 2010-03-15 11:52:04.000000000 -0400 28005--- linux-2.6.32.12/drivers/usb/storage/usb.c 2010-03-15 11:52:04.000000000 -0400
27624+++ linux-2.6.32.11/drivers/usb/storage/usb.c 2010-04-04 20:46:41.629706570 -0400 28006+++ linux-2.6.32.12/drivers/usb/storage/usb.c 2010-04-04 20:46:41.629706570 -0400
27625@@ -118,7 +118,7 @@ MODULE_PARM_DESC(quirks, "supplemental l 28007@@ -118,7 +118,7 @@ MODULE_PARM_DESC(quirks, "supplemental l
27626 28008
27627 static struct us_unusual_dev us_unusual_dev_list[] = { 28009 static struct us_unusual_dev us_unusual_dev_list[] = {
@@ -27631,9 +28013,9 @@ diff -urNp linux-2.6.32.11/drivers/usb/storage/usb.c linux-2.6.32.11/drivers/usb
27631 }; 28013 };
27632 28014
27633 #undef UNUSUAL_DEV 28015 #undef UNUSUAL_DEV
27634diff -urNp linux-2.6.32.11/drivers/usb/storage/usual-tables.c linux-2.6.32.11/drivers/usb/storage/usual-tables.c 28016diff -urNp linux-2.6.32.12/drivers/usb/storage/usual-tables.c linux-2.6.32.12/drivers/usb/storage/usual-tables.c
27635--- linux-2.6.32.11/drivers/usb/storage/usual-tables.c 2010-03-15 11:52:04.000000000 -0400 28017--- linux-2.6.32.12/drivers/usb/storage/usual-tables.c 2010-03-15 11:52:04.000000000 -0400
27636+++ linux-2.6.32.11/drivers/usb/storage/usual-tables.c 2010-04-04 20:46:41.629706570 -0400 28018+++ linux-2.6.32.12/drivers/usb/storage/usual-tables.c 2010-04-04 20:46:41.629706570 -0400
27637@@ -48,7 +48,7 @@ 28019@@ -48,7 +48,7 @@
27638 28020
27639 struct usb_device_id usb_storage_usb_ids[] = { 28021 struct usb_device_id usb_storage_usb_ids[] = {
@@ -27643,9 +28025,9 @@ diff -urNp linux-2.6.32.11/drivers/usb/storage/usual-tables.c linux-2.6.32.11/dr
27643 }; 28025 };
27644 EXPORT_SYMBOL_GPL(usb_storage_usb_ids); 28026 EXPORT_SYMBOL_GPL(usb_storage_usb_ids);
27645 28027
27646diff -urNp linux-2.6.32.11/drivers/uwb/wlp/messages.c linux-2.6.32.11/drivers/uwb/wlp/messages.c 28028diff -urNp linux-2.6.32.12/drivers/uwb/wlp/messages.c linux-2.6.32.12/drivers/uwb/wlp/messages.c
27647--- linux-2.6.32.11/drivers/uwb/wlp/messages.c 2010-03-15 11:52:04.000000000 -0400 28029--- linux-2.6.32.12/drivers/uwb/wlp/messages.c 2010-03-15 11:52:04.000000000 -0400
27648+++ linux-2.6.32.11/drivers/uwb/wlp/messages.c 2010-04-04 20:46:41.629706570 -0400 28030+++ linux-2.6.32.12/drivers/uwb/wlp/messages.c 2010-04-04 20:46:41.629706570 -0400
27649@@ -903,7 +903,7 @@ int wlp_parse_f0(struct wlp *wlp, struct 28031@@ -903,7 +903,7 @@ int wlp_parse_f0(struct wlp *wlp, struct
27650 size_t len = skb->len; 28032 size_t len = skb->len;
27651 size_t used; 28033 size_t used;
@@ -27655,9 +28037,9 @@ diff -urNp linux-2.6.32.11/drivers/uwb/wlp/messages.c linux-2.6.32.11/drivers/uw
27655 enum wlp_assc_error assc_err; 28037 enum wlp_assc_error assc_err;
27656 char enonce_buf[WLP_WSS_NONCE_STRSIZE]; 28038 char enonce_buf[WLP_WSS_NONCE_STRSIZE];
27657 char rnonce_buf[WLP_WSS_NONCE_STRSIZE]; 28039 char rnonce_buf[WLP_WSS_NONCE_STRSIZE];
27658diff -urNp linux-2.6.32.11/drivers/uwb/wlp/sysfs.c linux-2.6.32.11/drivers/uwb/wlp/sysfs.c 28040diff -urNp linux-2.6.32.12/drivers/uwb/wlp/sysfs.c linux-2.6.32.12/drivers/uwb/wlp/sysfs.c
27659--- linux-2.6.32.11/drivers/uwb/wlp/sysfs.c 2010-03-15 11:52:04.000000000 -0400 28041--- linux-2.6.32.12/drivers/uwb/wlp/sysfs.c 2010-03-15 11:52:04.000000000 -0400
27660+++ linux-2.6.32.11/drivers/uwb/wlp/sysfs.c 2010-04-04 20:46:41.629706570 -0400 28042+++ linux-2.6.32.12/drivers/uwb/wlp/sysfs.c 2010-04-04 20:46:41.629706570 -0400
27661@@ -615,8 +615,7 @@ ssize_t wlp_wss_attr_store(struct kobjec 28043@@ -615,8 +615,7 @@ ssize_t wlp_wss_attr_store(struct kobjec
27662 return ret; 28044 return ret;
27663 } 28045 }
@@ -27668,9 +28050,9 @@ diff -urNp linux-2.6.32.11/drivers/uwb/wlp/sysfs.c linux-2.6.32.11/drivers/uwb/w
27668 .show = wlp_wss_attr_show, 28050 .show = wlp_wss_attr_show,
27669 .store = wlp_wss_attr_store, 28051 .store = wlp_wss_attr_store,
27670 }; 28052 };
27671diff -urNp linux-2.6.32.11/drivers/video/atmel_lcdfb.c linux-2.6.32.11/drivers/video/atmel_lcdfb.c 28053diff -urNp linux-2.6.32.12/drivers/video/atmel_lcdfb.c linux-2.6.32.12/drivers/video/atmel_lcdfb.c
27672--- linux-2.6.32.11/drivers/video/atmel_lcdfb.c 2010-03-15 11:52:04.000000000 -0400 28054--- linux-2.6.32.12/drivers/video/atmel_lcdfb.c 2010-03-15 11:52:04.000000000 -0400
27673+++ linux-2.6.32.11/drivers/video/atmel_lcdfb.c 2010-04-04 20:46:41.629706570 -0400 28055+++ linux-2.6.32.12/drivers/video/atmel_lcdfb.c 2010-04-04 20:46:41.629706570 -0400
27674@@ -110,7 +110,7 @@ static int atmel_bl_get_brightness(struc 28056@@ -110,7 +110,7 @@ static int atmel_bl_get_brightness(struc
27675 return lcdc_readl(sinfo, ATMEL_LCDC_CONTRAST_VAL); 28057 return lcdc_readl(sinfo, ATMEL_LCDC_CONTRAST_VAL);
27676 } 28058 }
@@ -27680,9 +28062,9 @@ diff -urNp linux-2.6.32.11/drivers/video/atmel_lcdfb.c linux-2.6.32.11/drivers/v
27680 .update_status = atmel_bl_update_status, 28062 .update_status = atmel_bl_update_status,
27681 .get_brightness = atmel_bl_get_brightness, 28063 .get_brightness = atmel_bl_get_brightness,
27682 }; 28064 };
27683diff -urNp linux-2.6.32.11/drivers/video/aty/aty128fb.c linux-2.6.32.11/drivers/video/aty/aty128fb.c 28065diff -urNp linux-2.6.32.12/drivers/video/aty/aty128fb.c linux-2.6.32.12/drivers/video/aty/aty128fb.c
27684--- linux-2.6.32.11/drivers/video/aty/aty128fb.c 2010-03-15 11:52:04.000000000 -0400 28066--- linux-2.6.32.12/drivers/video/aty/aty128fb.c 2010-03-15 11:52:04.000000000 -0400
27685+++ linux-2.6.32.11/drivers/video/aty/aty128fb.c 2010-04-04 20:46:41.629706570 -0400 28067+++ linux-2.6.32.12/drivers/video/aty/aty128fb.c 2010-04-04 20:46:41.629706570 -0400
27686@@ -1787,7 +1787,7 @@ static int aty128_bl_get_brightness(stru 28068@@ -1787,7 +1787,7 @@ static int aty128_bl_get_brightness(stru
27687 return bd->props.brightness; 28069 return bd->props.brightness;
27688 } 28070 }
@@ -27692,9 +28074,9 @@ diff -urNp linux-2.6.32.11/drivers/video/aty/aty128fb.c linux-2.6.32.11/drivers/
27692 .get_brightness = aty128_bl_get_brightness, 28074 .get_brightness = aty128_bl_get_brightness,
27693 .update_status = aty128_bl_update_status, 28075 .update_status = aty128_bl_update_status,
27694 }; 28076 };
27695diff -urNp linux-2.6.32.11/drivers/video/aty/atyfb_base.c linux-2.6.32.11/drivers/video/aty/atyfb_base.c 28077diff -urNp linux-2.6.32.12/drivers/video/aty/atyfb_base.c linux-2.6.32.12/drivers/video/aty/atyfb_base.c
27696--- linux-2.6.32.11/drivers/video/aty/atyfb_base.c 2010-03-15 11:52:04.000000000 -0400 28078--- linux-2.6.32.12/drivers/video/aty/atyfb_base.c 2010-03-15 11:52:04.000000000 -0400
27697+++ linux-2.6.32.11/drivers/video/aty/atyfb_base.c 2010-04-04 20:46:41.629706570 -0400 28079+++ linux-2.6.32.12/drivers/video/aty/atyfb_base.c 2010-04-04 20:46:41.629706570 -0400
27698@@ -2225,7 +2225,7 @@ static int aty_bl_get_brightness(struct 28080@@ -2225,7 +2225,7 @@ static int aty_bl_get_brightness(struct
27699 return bd->props.brightness; 28081 return bd->props.brightness;
27700 } 28082 }
@@ -27704,9 +28086,9 @@ diff -urNp linux-2.6.32.11/drivers/video/aty/atyfb_base.c linux-2.6.32.11/driver
27704 .get_brightness = aty_bl_get_brightness, 28086 .get_brightness = aty_bl_get_brightness,
27705 .update_status = aty_bl_update_status, 28087 .update_status = aty_bl_update_status,
27706 }; 28088 };
27707diff -urNp linux-2.6.32.11/drivers/video/aty/radeon_backlight.c linux-2.6.32.11/drivers/video/aty/radeon_backlight.c 28089diff -urNp linux-2.6.32.12/drivers/video/aty/radeon_backlight.c linux-2.6.32.12/drivers/video/aty/radeon_backlight.c
27708--- linux-2.6.32.11/drivers/video/aty/radeon_backlight.c 2010-03-15 11:52:04.000000000 -0400 28090--- linux-2.6.32.12/drivers/video/aty/radeon_backlight.c 2010-03-15 11:52:04.000000000 -0400
27709+++ linux-2.6.32.11/drivers/video/aty/radeon_backlight.c 2010-04-04 20:46:41.629706570 -0400 28091+++ linux-2.6.32.12/drivers/video/aty/radeon_backlight.c 2010-04-04 20:46:41.629706570 -0400
27710@@ -127,7 +127,7 @@ static int radeon_bl_get_brightness(stru 28092@@ -127,7 +127,7 @@ static int radeon_bl_get_brightness(stru
27711 return bd->props.brightness; 28093 return bd->props.brightness;
27712 } 28094 }
@@ -27716,9 +28098,9 @@ diff -urNp linux-2.6.32.11/drivers/video/aty/radeon_backlight.c linux-2.6.32.11/
27716 .get_brightness = radeon_bl_get_brightness, 28098 .get_brightness = radeon_bl_get_brightness,
27717 .update_status = radeon_bl_update_status, 28099 .update_status = radeon_bl_update_status,
27718 }; 28100 };
27719diff -urNp linux-2.6.32.11/drivers/video/backlight/adp5520_bl.c linux-2.6.32.11/drivers/video/backlight/adp5520_bl.c 28101diff -urNp linux-2.6.32.12/drivers/video/backlight/adp5520_bl.c linux-2.6.32.12/drivers/video/backlight/adp5520_bl.c
27720--- linux-2.6.32.11/drivers/video/backlight/adp5520_bl.c 2010-03-15 11:52:04.000000000 -0400 28102--- linux-2.6.32.12/drivers/video/backlight/adp5520_bl.c 2010-03-15 11:52:04.000000000 -0400
27721+++ linux-2.6.32.11/drivers/video/backlight/adp5520_bl.c 2010-04-04 20:46:41.629706570 -0400 28103+++ linux-2.6.32.12/drivers/video/backlight/adp5520_bl.c 2010-04-04 20:46:41.629706570 -0400
27722@@ -84,7 +84,7 @@ static int adp5520_bl_get_brightness(str 28104@@ -84,7 +84,7 @@ static int adp5520_bl_get_brightness(str
27723 return error ? data->current_brightness : reg_val; 28105 return error ? data->current_brightness : reg_val;
27724 } 28106 }
@@ -27728,9 +28110,9 @@ diff -urNp linux-2.6.32.11/drivers/video/backlight/adp5520_bl.c linux-2.6.32.11/
27728 .update_status = adp5520_bl_update_status, 28110 .update_status = adp5520_bl_update_status,
27729 .get_brightness = adp5520_bl_get_brightness, 28111 .get_brightness = adp5520_bl_get_brightness,
27730 }; 28112 };
27731diff -urNp linux-2.6.32.11/drivers/video/backlight/adx_bl.c linux-2.6.32.11/drivers/video/backlight/adx_bl.c 28113diff -urNp linux-2.6.32.12/drivers/video/backlight/adx_bl.c linux-2.6.32.12/drivers/video/backlight/adx_bl.c
27732--- linux-2.6.32.11/drivers/video/backlight/adx_bl.c 2010-03-15 11:52:04.000000000 -0400 28114--- linux-2.6.32.12/drivers/video/backlight/adx_bl.c 2010-03-15 11:52:04.000000000 -0400
27733+++ linux-2.6.32.11/drivers/video/backlight/adx_bl.c 2010-04-04 20:46:41.633638271 -0400 28115+++ linux-2.6.32.12/drivers/video/backlight/adx_bl.c 2010-04-04 20:46:41.633638271 -0400
27734@@ -61,7 +61,7 @@ static int adx_backlight_check_fb(struct 28116@@ -61,7 +61,7 @@ static int adx_backlight_check_fb(struct
27735 return 1; 28117 return 1;
27736 } 28118 }
@@ -27740,9 +28122,9 @@ diff -urNp linux-2.6.32.11/drivers/video/backlight/adx_bl.c linux-2.6.32.11/driv
27740 .options = 0, 28122 .options = 0,
27741 .update_status = adx_backlight_update_status, 28123 .update_status = adx_backlight_update_status,
27742 .get_brightness = adx_backlight_get_brightness, 28124 .get_brightness = adx_backlight_get_brightness,
27743diff -urNp linux-2.6.32.11/drivers/video/backlight/atmel-pwm-bl.c linux-2.6.32.11/drivers/video/backlight/atmel-pwm-bl.c 28125diff -urNp linux-2.6.32.12/drivers/video/backlight/atmel-pwm-bl.c linux-2.6.32.12/drivers/video/backlight/atmel-pwm-bl.c
27744--- linux-2.6.32.11/drivers/video/backlight/atmel-pwm-bl.c 2010-03-15 11:52:04.000000000 -0400 28126--- linux-2.6.32.12/drivers/video/backlight/atmel-pwm-bl.c 2010-03-15 11:52:04.000000000 -0400
27745+++ linux-2.6.32.11/drivers/video/backlight/atmel-pwm-bl.c 2010-04-04 20:46:41.633638271 -0400 28127+++ linux-2.6.32.12/drivers/video/backlight/atmel-pwm-bl.c 2010-04-04 20:46:41.633638271 -0400
27746@@ -113,7 +113,7 @@ static int atmel_pwm_bl_init_pwm(struct 28128@@ -113,7 +113,7 @@ static int atmel_pwm_bl_init_pwm(struct
27747 return pwm_channel_enable(&pwmbl->pwmc); 28129 return pwm_channel_enable(&pwmbl->pwmc);
27748 } 28130 }
@@ -27752,9 +28134,9 @@ diff -urNp linux-2.6.32.11/drivers/video/backlight/atmel-pwm-bl.c linux-2.6.32.1
27752 .get_brightness = atmel_pwm_bl_get_intensity, 28134 .get_brightness = atmel_pwm_bl_get_intensity,
27753 .update_status = atmel_pwm_bl_set_intensity, 28135 .update_status = atmel_pwm_bl_set_intensity,
27754 }; 28136 };
27755diff -urNp linux-2.6.32.11/drivers/video/backlight/backlight.c linux-2.6.32.11/drivers/video/backlight/backlight.c 28137diff -urNp linux-2.6.32.12/drivers/video/backlight/backlight.c linux-2.6.32.12/drivers/video/backlight/backlight.c
27756--- linux-2.6.32.11/drivers/video/backlight/backlight.c 2010-03-15 11:52:04.000000000 -0400 28138--- linux-2.6.32.12/drivers/video/backlight/backlight.c 2010-03-15 11:52:04.000000000 -0400
27757+++ linux-2.6.32.11/drivers/video/backlight/backlight.c 2010-04-04 20:46:41.633638271 -0400 28139+++ linux-2.6.32.12/drivers/video/backlight/backlight.c 2010-04-04 20:46:41.633638271 -0400
27758@@ -269,7 +269,7 @@ EXPORT_SYMBOL(backlight_force_update); 28140@@ -269,7 +269,7 @@ EXPORT_SYMBOL(backlight_force_update);
27759 * ERR_PTR() or a pointer to the newly allocated device. 28141 * ERR_PTR() or a pointer to the newly allocated device.
27760 */ 28142 */
@@ -27764,9 +28146,9 @@ diff -urNp linux-2.6.32.11/drivers/video/backlight/backlight.c linux-2.6.32.11/d
27764 { 28146 {
27765 struct backlight_device *new_bd; 28147 struct backlight_device *new_bd;
27766 int rc; 28148 int rc;
27767diff -urNp linux-2.6.32.11/drivers/video/backlight/corgi_lcd.c linux-2.6.32.11/drivers/video/backlight/corgi_lcd.c 28149diff -urNp linux-2.6.32.12/drivers/video/backlight/corgi_lcd.c linux-2.6.32.12/drivers/video/backlight/corgi_lcd.c
27768--- linux-2.6.32.11/drivers/video/backlight/corgi_lcd.c 2010-03-15 11:52:04.000000000 -0400 28150--- linux-2.6.32.12/drivers/video/backlight/corgi_lcd.c 2010-03-15 11:52:04.000000000 -0400
27769+++ linux-2.6.32.11/drivers/video/backlight/corgi_lcd.c 2010-04-04 20:46:41.633638271 -0400 28151+++ linux-2.6.32.12/drivers/video/backlight/corgi_lcd.c 2010-04-04 20:46:41.633638271 -0400
27770@@ -451,7 +451,7 @@ void corgi_lcd_limit_intensity(int limit 28152@@ -451,7 +451,7 @@ void corgi_lcd_limit_intensity(int limit
27771 } 28153 }
27772 EXPORT_SYMBOL(corgi_lcd_limit_intensity); 28154 EXPORT_SYMBOL(corgi_lcd_limit_intensity);
@@ -27776,9 +28158,9 @@ diff -urNp linux-2.6.32.11/drivers/video/backlight/corgi_lcd.c linux-2.6.32.11/d
27776 .get_brightness = corgi_bl_get_intensity, 28158 .get_brightness = corgi_bl_get_intensity,
27777 .update_status = corgi_bl_update_status, 28159 .update_status = corgi_bl_update_status,
27778 }; 28160 };
27779diff -urNp linux-2.6.32.11/drivers/video/backlight/cr_bllcd.c linux-2.6.32.11/drivers/video/backlight/cr_bllcd.c 28161diff -urNp linux-2.6.32.12/drivers/video/backlight/cr_bllcd.c linux-2.6.32.12/drivers/video/backlight/cr_bllcd.c
27780--- linux-2.6.32.11/drivers/video/backlight/cr_bllcd.c 2010-03-15 11:52:04.000000000 -0400 28162--- linux-2.6.32.12/drivers/video/backlight/cr_bllcd.c 2010-03-15 11:52:04.000000000 -0400
27781+++ linux-2.6.32.11/drivers/video/backlight/cr_bllcd.c 2010-04-04 20:46:41.633638271 -0400 28163+++ linux-2.6.32.12/drivers/video/backlight/cr_bllcd.c 2010-04-04 20:46:41.633638271 -0400
27782@@ -108,7 +108,7 @@ static int cr_backlight_get_intensity(st 28164@@ -108,7 +108,7 @@ static int cr_backlight_get_intensity(st
27783 return intensity; 28165 return intensity;
27784 } 28166 }
@@ -27788,9 +28170,9 @@ diff -urNp linux-2.6.32.11/drivers/video/backlight/cr_bllcd.c linux-2.6.32.11/dr
27788 .get_brightness = cr_backlight_get_intensity, 28170 .get_brightness = cr_backlight_get_intensity,
27789 .update_status = cr_backlight_set_intensity, 28171 .update_status = cr_backlight_set_intensity,
27790 }; 28172 };
27791diff -urNp linux-2.6.32.11/drivers/video/backlight/da903x_bl.c linux-2.6.32.11/drivers/video/backlight/da903x_bl.c 28173diff -urNp linux-2.6.32.12/drivers/video/backlight/da903x_bl.c linux-2.6.32.12/drivers/video/backlight/da903x_bl.c
27792--- linux-2.6.32.11/drivers/video/backlight/da903x_bl.c 2010-03-15 11:52:04.000000000 -0400 28174--- linux-2.6.32.12/drivers/video/backlight/da903x_bl.c 2010-03-15 11:52:04.000000000 -0400
27793+++ linux-2.6.32.11/drivers/video/backlight/da903x_bl.c 2010-04-04 20:46:41.633638271 -0400 28175+++ linux-2.6.32.12/drivers/video/backlight/da903x_bl.c 2010-04-04 20:46:41.633638271 -0400
27794@@ -94,7 +94,7 @@ static int da903x_backlight_get_brightne 28176@@ -94,7 +94,7 @@ static int da903x_backlight_get_brightne
27795 return data->current_brightness; 28177 return data->current_brightness;
27796 } 28178 }
@@ -27800,9 +28182,9 @@ diff -urNp linux-2.6.32.11/drivers/video/backlight/da903x_bl.c linux-2.6.32.11/d
27800 .update_status = da903x_backlight_update_status, 28182 .update_status = da903x_backlight_update_status,
27801 .get_brightness = da903x_backlight_get_brightness, 28183 .get_brightness = da903x_backlight_get_brightness,
27802 }; 28184 };
27803diff -urNp linux-2.6.32.11/drivers/video/backlight/generic_bl.c linux-2.6.32.11/drivers/video/backlight/generic_bl.c 28185diff -urNp linux-2.6.32.12/drivers/video/backlight/generic_bl.c linux-2.6.32.12/drivers/video/backlight/generic_bl.c
27804--- linux-2.6.32.11/drivers/video/backlight/generic_bl.c 2010-03-15 11:52:04.000000000 -0400 28186--- linux-2.6.32.12/drivers/video/backlight/generic_bl.c 2010-03-15 11:52:04.000000000 -0400
27805+++ linux-2.6.32.11/drivers/video/backlight/generic_bl.c 2010-04-04 20:46:41.633638271 -0400 28187+++ linux-2.6.32.12/drivers/video/backlight/generic_bl.c 2010-04-04 20:46:41.633638271 -0400
27806@@ -70,7 +70,7 @@ void corgibl_limit_intensity(int limit) 28188@@ -70,7 +70,7 @@ void corgibl_limit_intensity(int limit)
27807 } 28189 }
27808 EXPORT_SYMBOL(corgibl_limit_intensity); 28190 EXPORT_SYMBOL(corgibl_limit_intensity);
@@ -27812,9 +28194,9 @@ diff -urNp linux-2.6.32.11/drivers/video/backlight/generic_bl.c linux-2.6.32.11/
27812 .options = BL_CORE_SUSPENDRESUME, 28194 .options = BL_CORE_SUSPENDRESUME,
27813 .get_brightness = genericbl_get_intensity, 28195 .get_brightness = genericbl_get_intensity,
27814 .update_status = genericbl_send_intensity, 28196 .update_status = genericbl_send_intensity,
27815diff -urNp linux-2.6.32.11/drivers/video/backlight/hp680_bl.c linux-2.6.32.11/drivers/video/backlight/hp680_bl.c 28197diff -urNp linux-2.6.32.12/drivers/video/backlight/hp680_bl.c linux-2.6.32.12/drivers/video/backlight/hp680_bl.c
27816--- linux-2.6.32.11/drivers/video/backlight/hp680_bl.c 2010-03-15 11:52:04.000000000 -0400 28198--- linux-2.6.32.12/drivers/video/backlight/hp680_bl.c 2010-03-15 11:52:04.000000000 -0400
27817+++ linux-2.6.32.11/drivers/video/backlight/hp680_bl.c 2010-04-04 20:46:41.633638271 -0400 28199+++ linux-2.6.32.12/drivers/video/backlight/hp680_bl.c 2010-04-04 20:46:41.633638271 -0400
27818@@ -98,7 +98,7 @@ static int hp680bl_get_intensity(struct 28200@@ -98,7 +98,7 @@ static int hp680bl_get_intensity(struct
27819 return current_intensity; 28201 return current_intensity;
27820 } 28202 }
@@ -27824,9 +28206,9 @@ diff -urNp linux-2.6.32.11/drivers/video/backlight/hp680_bl.c linux-2.6.32.11/dr
27824 .get_brightness = hp680bl_get_intensity, 28206 .get_brightness = hp680bl_get_intensity,
27825 .update_status = hp680bl_set_intensity, 28207 .update_status = hp680bl_set_intensity,
27826 }; 28208 };
27827diff -urNp linux-2.6.32.11/drivers/video/backlight/jornada720_bl.c linux-2.6.32.11/drivers/video/backlight/jornada720_bl.c 28209diff -urNp linux-2.6.32.12/drivers/video/backlight/jornada720_bl.c linux-2.6.32.12/drivers/video/backlight/jornada720_bl.c
27828--- linux-2.6.32.11/drivers/video/backlight/jornada720_bl.c 2010-03-15 11:52:04.000000000 -0400 28210--- linux-2.6.32.12/drivers/video/backlight/jornada720_bl.c 2010-03-15 11:52:04.000000000 -0400
27829+++ linux-2.6.32.11/drivers/video/backlight/jornada720_bl.c 2010-04-04 20:46:41.633638271 -0400 28211+++ linux-2.6.32.12/drivers/video/backlight/jornada720_bl.c 2010-04-04 20:46:41.633638271 -0400
27830@@ -93,7 +93,7 @@ out: 28212@@ -93,7 +93,7 @@ out:
27831 return ret; 28213 return ret;
27832 } 28214 }
@@ -27836,9 +28218,9 @@ diff -urNp linux-2.6.32.11/drivers/video/backlight/jornada720_bl.c linux-2.6.32.
27836 .get_brightness = jornada_bl_get_brightness, 28218 .get_brightness = jornada_bl_get_brightness,
27837 .update_status = jornada_bl_update_status, 28219 .update_status = jornada_bl_update_status,
27838 .options = BL_CORE_SUSPENDRESUME, 28220 .options = BL_CORE_SUSPENDRESUME,
27839diff -urNp linux-2.6.32.11/drivers/video/backlight/kb3886_bl.c linux-2.6.32.11/drivers/video/backlight/kb3886_bl.c 28221diff -urNp linux-2.6.32.12/drivers/video/backlight/kb3886_bl.c linux-2.6.32.12/drivers/video/backlight/kb3886_bl.c
27840--- linux-2.6.32.11/drivers/video/backlight/kb3886_bl.c 2010-03-15 11:52:04.000000000 -0400 28222--- linux-2.6.32.12/drivers/video/backlight/kb3886_bl.c 2010-03-15 11:52:04.000000000 -0400
27841+++ linux-2.6.32.11/drivers/video/backlight/kb3886_bl.c 2010-04-04 20:46:41.633638271 -0400 28223+++ linux-2.6.32.12/drivers/video/backlight/kb3886_bl.c 2010-04-04 20:46:41.633638271 -0400
27842@@ -134,7 +134,7 @@ static int kb3886bl_get_intensity(struct 28224@@ -134,7 +134,7 @@ static int kb3886bl_get_intensity(struct
27843 return kb3886bl_intensity; 28225 return kb3886bl_intensity;
27844 } 28226 }
@@ -27848,9 +28230,9 @@ diff -urNp linux-2.6.32.11/drivers/video/backlight/kb3886_bl.c linux-2.6.32.11/d
27848 .get_brightness = kb3886bl_get_intensity, 28230 .get_brightness = kb3886bl_get_intensity,
27849 .update_status = kb3886bl_send_intensity, 28231 .update_status = kb3886bl_send_intensity,
27850 }; 28232 };
27851diff -urNp linux-2.6.32.11/drivers/video/backlight/locomolcd.c linux-2.6.32.11/drivers/video/backlight/locomolcd.c 28233diff -urNp linux-2.6.32.12/drivers/video/backlight/locomolcd.c linux-2.6.32.12/drivers/video/backlight/locomolcd.c
27852--- linux-2.6.32.11/drivers/video/backlight/locomolcd.c 2010-03-15 11:52:04.000000000 -0400 28234--- linux-2.6.32.12/drivers/video/backlight/locomolcd.c 2010-03-15 11:52:04.000000000 -0400
27853+++ linux-2.6.32.11/drivers/video/backlight/locomolcd.c 2010-04-04 20:46:41.633638271 -0400 28235+++ linux-2.6.32.12/drivers/video/backlight/locomolcd.c 2010-04-04 20:46:41.633638271 -0400
27854@@ -141,7 +141,7 @@ static int locomolcd_get_intensity(struc 28236@@ -141,7 +141,7 @@ static int locomolcd_get_intensity(struc
27855 return current_intensity; 28237 return current_intensity;
27856 } 28238 }
@@ -27860,9 +28242,9 @@ diff -urNp linux-2.6.32.11/drivers/video/backlight/locomolcd.c linux-2.6.32.11/d
27860 .get_brightness = locomolcd_get_intensity, 28242 .get_brightness = locomolcd_get_intensity,
27861 .update_status = locomolcd_set_intensity, 28243 .update_status = locomolcd_set_intensity,
27862 }; 28244 };
27863diff -urNp linux-2.6.32.11/drivers/video/backlight/mbp_nvidia_bl.c linux-2.6.32.11/drivers/video/backlight/mbp_nvidia_bl.c 28245diff -urNp linux-2.6.32.12/drivers/video/backlight/mbp_nvidia_bl.c linux-2.6.32.12/drivers/video/backlight/mbp_nvidia_bl.c
27864--- linux-2.6.32.11/drivers/video/backlight/mbp_nvidia_bl.c 2010-03-15 11:52:04.000000000 -0400 28246--- linux-2.6.32.12/drivers/video/backlight/mbp_nvidia_bl.c 2010-04-29 17:49:38.397382140 -0400
27865+++ linux-2.6.32.11/drivers/video/backlight/mbp_nvidia_bl.c 2010-04-04 20:46:41.633638271 -0400 28247+++ linux-2.6.32.12/drivers/video/backlight/mbp_nvidia_bl.c 2010-04-29 17:49:58.433026851 -0400
27866@@ -33,7 +33,7 @@ struct dmi_match_data { 28248@@ -33,7 +33,7 @@ struct dmi_match_data {
27867 unsigned long iostart; 28249 unsigned long iostart;
27868 unsigned long iolen; 28250 unsigned long iolen;
@@ -27872,9 +28254,9 @@ diff -urNp linux-2.6.32.11/drivers/video/backlight/mbp_nvidia_bl.c linux-2.6.32.
27872 }; 28254 };
27873 28255
27874 /* Module parameters. */ 28256 /* Module parameters. */
27875diff -urNp linux-2.6.32.11/drivers/video/backlight/omap1_bl.c linux-2.6.32.11/drivers/video/backlight/omap1_bl.c 28257diff -urNp linux-2.6.32.12/drivers/video/backlight/omap1_bl.c linux-2.6.32.12/drivers/video/backlight/omap1_bl.c
27876--- linux-2.6.32.11/drivers/video/backlight/omap1_bl.c 2010-03-15 11:52:04.000000000 -0400 28258--- linux-2.6.32.12/drivers/video/backlight/omap1_bl.c 2010-03-15 11:52:04.000000000 -0400
27877+++ linux-2.6.32.11/drivers/video/backlight/omap1_bl.c 2010-04-04 20:46:41.633638271 -0400 28259+++ linux-2.6.32.12/drivers/video/backlight/omap1_bl.c 2010-04-04 20:46:41.633638271 -0400
27878@@ -125,7 +125,7 @@ static int omapbl_get_intensity(struct b 28260@@ -125,7 +125,7 @@ static int omapbl_get_intensity(struct b
27879 return bl->current_intensity; 28261 return bl->current_intensity;
27880 } 28262 }
@@ -27884,9 +28266,9 @@ diff -urNp linux-2.6.32.11/drivers/video/backlight/omap1_bl.c linux-2.6.32.11/dr
27884 .get_brightness = omapbl_get_intensity, 28266 .get_brightness = omapbl_get_intensity,
27885 .update_status = omapbl_update_status, 28267 .update_status = omapbl_update_status,
27886 }; 28268 };
27887diff -urNp linux-2.6.32.11/drivers/video/backlight/progear_bl.c linux-2.6.32.11/drivers/video/backlight/progear_bl.c 28269diff -urNp linux-2.6.32.12/drivers/video/backlight/progear_bl.c linux-2.6.32.12/drivers/video/backlight/progear_bl.c
27888--- linux-2.6.32.11/drivers/video/backlight/progear_bl.c 2010-03-15 11:52:04.000000000 -0400 28270--- linux-2.6.32.12/drivers/video/backlight/progear_bl.c 2010-03-15 11:52:04.000000000 -0400
27889+++ linux-2.6.32.11/drivers/video/backlight/progear_bl.c 2010-04-04 20:46:41.633638271 -0400 28271+++ linux-2.6.32.12/drivers/video/backlight/progear_bl.c 2010-04-04 20:46:41.633638271 -0400
27890@@ -54,7 +54,7 @@ static int progearbl_get_intensity(struc 28272@@ -54,7 +54,7 @@ static int progearbl_get_intensity(struc
27891 return intensity - HW_LEVEL_MIN; 28273 return intensity - HW_LEVEL_MIN;
27892 } 28274 }
@@ -27896,9 +28278,9 @@ diff -urNp linux-2.6.32.11/drivers/video/backlight/progear_bl.c linux-2.6.32.11/
27896 .get_brightness = progearbl_get_intensity, 28278 .get_brightness = progearbl_get_intensity,
27897 .update_status = progearbl_set_intensity, 28279 .update_status = progearbl_set_intensity,
27898 }; 28280 };
27899diff -urNp linux-2.6.32.11/drivers/video/backlight/pwm_bl.c linux-2.6.32.11/drivers/video/backlight/pwm_bl.c 28281diff -urNp linux-2.6.32.12/drivers/video/backlight/pwm_bl.c linux-2.6.32.12/drivers/video/backlight/pwm_bl.c
27900--- linux-2.6.32.11/drivers/video/backlight/pwm_bl.c 2010-03-15 11:52:04.000000000 -0400 28282--- linux-2.6.32.12/drivers/video/backlight/pwm_bl.c 2010-03-15 11:52:04.000000000 -0400
27901+++ linux-2.6.32.11/drivers/video/backlight/pwm_bl.c 2010-04-04 20:46:41.633638271 -0400 28283+++ linux-2.6.32.12/drivers/video/backlight/pwm_bl.c 2010-04-04 20:46:41.633638271 -0400
27902@@ -56,7 +56,7 @@ static int pwm_backlight_get_brightness( 28284@@ -56,7 +56,7 @@ static int pwm_backlight_get_brightness(
27903 return bl->props.brightness; 28285 return bl->props.brightness;
27904 } 28286 }
@@ -27908,9 +28290,9 @@ diff -urNp linux-2.6.32.11/drivers/video/backlight/pwm_bl.c linux-2.6.32.11/driv
27908 .update_status = pwm_backlight_update_status, 28290 .update_status = pwm_backlight_update_status,
27909 .get_brightness = pwm_backlight_get_brightness, 28291 .get_brightness = pwm_backlight_get_brightness,
27910 }; 28292 };
27911diff -urNp linux-2.6.32.11/drivers/video/backlight/tosa_bl.c linux-2.6.32.11/drivers/video/backlight/tosa_bl.c 28293diff -urNp linux-2.6.32.12/drivers/video/backlight/tosa_bl.c linux-2.6.32.12/drivers/video/backlight/tosa_bl.c
27912--- linux-2.6.32.11/drivers/video/backlight/tosa_bl.c 2010-03-15 11:52:04.000000000 -0400 28294--- linux-2.6.32.12/drivers/video/backlight/tosa_bl.c 2010-03-15 11:52:04.000000000 -0400
27913+++ linux-2.6.32.11/drivers/video/backlight/tosa_bl.c 2010-04-04 20:46:41.633638271 -0400 28295+++ linux-2.6.32.12/drivers/video/backlight/tosa_bl.c 2010-04-04 20:46:41.633638271 -0400
27914@@ -72,7 +72,7 @@ static int tosa_bl_get_brightness(struct 28296@@ -72,7 +72,7 @@ static int tosa_bl_get_brightness(struct
27915 return props->brightness; 28297 return props->brightness;
27916 } 28298 }
@@ -27920,9 +28302,9 @@ diff -urNp linux-2.6.32.11/drivers/video/backlight/tosa_bl.c linux-2.6.32.11/dri
27920 .get_brightness = tosa_bl_get_brightness, 28302 .get_brightness = tosa_bl_get_brightness,
27921 .update_status = tosa_bl_update_status, 28303 .update_status = tosa_bl_update_status,
27922 }; 28304 };
27923diff -urNp linux-2.6.32.11/drivers/video/backlight/wm831x_bl.c linux-2.6.32.11/drivers/video/backlight/wm831x_bl.c 28305diff -urNp linux-2.6.32.12/drivers/video/backlight/wm831x_bl.c linux-2.6.32.12/drivers/video/backlight/wm831x_bl.c
27924--- linux-2.6.32.11/drivers/video/backlight/wm831x_bl.c 2010-03-15 11:52:04.000000000 -0400 28306--- linux-2.6.32.12/drivers/video/backlight/wm831x_bl.c 2010-03-15 11:52:04.000000000 -0400
27925+++ linux-2.6.32.11/drivers/video/backlight/wm831x_bl.c 2010-04-04 20:46:41.633638271 -0400 28307+++ linux-2.6.32.12/drivers/video/backlight/wm831x_bl.c 2010-04-04 20:46:41.633638271 -0400
27926@@ -112,7 +112,7 @@ static int wm831x_backlight_get_brightne 28308@@ -112,7 +112,7 @@ static int wm831x_backlight_get_brightne
27927 return data->current_brightness; 28309 return data->current_brightness;
27928 } 28310 }
@@ -27932,9 +28314,9 @@ diff -urNp linux-2.6.32.11/drivers/video/backlight/wm831x_bl.c linux-2.6.32.11/d
27932 .options = BL_CORE_SUSPENDRESUME, 28314 .options = BL_CORE_SUSPENDRESUME,
27933 .update_status = wm831x_backlight_update_status, 28315 .update_status = wm831x_backlight_update_status,
27934 .get_brightness = wm831x_backlight_get_brightness, 28316 .get_brightness = wm831x_backlight_get_brightness,
27935diff -urNp linux-2.6.32.11/drivers/video/bf54x-lq043fb.c linux-2.6.32.11/drivers/video/bf54x-lq043fb.c 28317diff -urNp linux-2.6.32.12/drivers/video/bf54x-lq043fb.c linux-2.6.32.12/drivers/video/bf54x-lq043fb.c
27936--- linux-2.6.32.11/drivers/video/bf54x-lq043fb.c 2010-03-15 11:52:04.000000000 -0400 28318--- linux-2.6.32.12/drivers/video/bf54x-lq043fb.c 2010-03-15 11:52:04.000000000 -0400
27937+++ linux-2.6.32.11/drivers/video/bf54x-lq043fb.c 2010-04-04 20:46:41.633638271 -0400 28319+++ linux-2.6.32.12/drivers/video/bf54x-lq043fb.c 2010-04-04 20:46:41.633638271 -0400
27938@@ -463,7 +463,7 @@ static int bl_get_brightness(struct back 28320@@ -463,7 +463,7 @@ static int bl_get_brightness(struct back
27939 return 0; 28321 return 0;
27940 } 28322 }
@@ -27944,9 +28326,9 @@ diff -urNp linux-2.6.32.11/drivers/video/bf54x-lq043fb.c linux-2.6.32.11/drivers
27944 .get_brightness = bl_get_brightness, 28326 .get_brightness = bl_get_brightness,
27945 }; 28327 };
27946 28328
27947diff -urNp linux-2.6.32.11/drivers/video/bfin-t350mcqb-fb.c linux-2.6.32.11/drivers/video/bfin-t350mcqb-fb.c 28329diff -urNp linux-2.6.32.12/drivers/video/bfin-t350mcqb-fb.c linux-2.6.32.12/drivers/video/bfin-t350mcqb-fb.c
27948--- linux-2.6.32.11/drivers/video/bfin-t350mcqb-fb.c 2010-03-15 11:52:04.000000000 -0400 28330--- linux-2.6.32.12/drivers/video/bfin-t350mcqb-fb.c 2010-03-15 11:52:04.000000000 -0400
27949+++ linux-2.6.32.11/drivers/video/bfin-t350mcqb-fb.c 2010-04-04 20:46:41.633638271 -0400 28331+++ linux-2.6.32.12/drivers/video/bfin-t350mcqb-fb.c 2010-04-04 20:46:41.633638271 -0400
27950@@ -381,7 +381,7 @@ static int bl_get_brightness(struct back 28332@@ -381,7 +381,7 @@ static int bl_get_brightness(struct back
27951 return 0; 28333 return 0;
27952 } 28334 }
@@ -27956,9 +28338,22 @@ diff -urNp linux-2.6.32.11/drivers/video/bfin-t350mcqb-fb.c linux-2.6.32.11/driv
27956 .get_brightness = bl_get_brightness, 28338 .get_brightness = bl_get_brightness,
27957 }; 28339 };
27958 28340
27959diff -urNp linux-2.6.32.11/drivers/video/fbmem.c linux-2.6.32.11/drivers/video/fbmem.c 28341diff -urNp linux-2.6.32.12/drivers/video/fbcmap.c linux-2.6.32.12/drivers/video/fbcmap.c
27960--- linux-2.6.32.11/drivers/video/fbmem.c 2010-03-15 11:52:04.000000000 -0400 28342--- linux-2.6.32.12/drivers/video/fbcmap.c 2010-03-15 11:52:04.000000000 -0400
27961+++ linux-2.6.32.11/drivers/video/fbmem.c 2010-04-04 20:46:41.633638271 -0400 28343+++ linux-2.6.32.12/drivers/video/fbcmap.c 2010-04-29 17:46:37.213234717 -0400
28344@@ -266,8 +266,7 @@ int fb_set_user_cmap(struct fb_cmap_user
28345 rc = -ENODEV;
28346 goto out;
28347 }
28348- if (cmap->start < 0 || (!info->fbops->fb_setcolreg &&
28349- !info->fbops->fb_setcmap)) {
28350+ if (!info->fbops->fb_setcolreg && !info->fbops->fb_setcmap) {
28351 rc = -EINVAL;
28352 goto out1;
28353 }
28354diff -urNp linux-2.6.32.12/drivers/video/fbmem.c linux-2.6.32.12/drivers/video/fbmem.c
28355--- linux-2.6.32.12/drivers/video/fbmem.c 2010-03-15 11:52:04.000000000 -0400
28356+++ linux-2.6.32.12/drivers/video/fbmem.c 2010-04-04 20:46:41.633638271 -0400
27962@@ -403,7 +403,7 @@ static void fb_do_show_logo(struct fb_in 28357@@ -403,7 +403,7 @@ static void fb_do_show_logo(struct fb_in
27963 image->dx += image->width + 8; 28358 image->dx += image->width + 8;
27964 } 28359 }
@@ -27986,9 +28381,9 @@ diff -urNp linux-2.6.32.11/drivers/video/fbmem.c linux-2.6.32.11/drivers/video/f
27986 return -EINVAL; 28381 return -EINVAL;
27987 if (!registered_fb[con2fb.framebuffer]) 28382 if (!registered_fb[con2fb.framebuffer])
27988 request_module("fb%d", con2fb.framebuffer); 28383 request_module("fb%d", con2fb.framebuffer);
27989diff -urNp linux-2.6.32.11/drivers/video/fbmon.c linux-2.6.32.11/drivers/video/fbmon.c 28384diff -urNp linux-2.6.32.12/drivers/video/fbmon.c linux-2.6.32.12/drivers/video/fbmon.c
27990--- linux-2.6.32.11/drivers/video/fbmon.c 2010-03-15 11:52:04.000000000 -0400 28385--- linux-2.6.32.12/drivers/video/fbmon.c 2010-03-15 11:52:04.000000000 -0400
27991+++ linux-2.6.32.11/drivers/video/fbmon.c 2010-04-04 20:46:41.633638271 -0400 28386+++ linux-2.6.32.12/drivers/video/fbmon.c 2010-04-04 20:46:41.633638271 -0400
27992@@ -45,7 +45,7 @@ 28387@@ -45,7 +45,7 @@
27993 #ifdef DEBUG 28388 #ifdef DEBUG
27994 #define DPRINTK(fmt, args...) printk(fmt,## args) 28389 #define DPRINTK(fmt, args...) printk(fmt,## args)
@@ -27998,9 +28393,9 @@ diff -urNp linux-2.6.32.11/drivers/video/fbmon.c linux-2.6.32.11/drivers/video/f
27998 #endif 28393 #endif
27999 28394
28000 #define FBMON_FIX_HEADER 1 28395 #define FBMON_FIX_HEADER 1
28001diff -urNp linux-2.6.32.11/drivers/video/i810/i810_accel.c linux-2.6.32.11/drivers/video/i810/i810_accel.c 28396diff -urNp linux-2.6.32.12/drivers/video/i810/i810_accel.c linux-2.6.32.12/drivers/video/i810/i810_accel.c
28002--- linux-2.6.32.11/drivers/video/i810/i810_accel.c 2010-03-15 11:52:04.000000000 -0400 28397--- linux-2.6.32.12/drivers/video/i810/i810_accel.c 2010-03-15 11:52:04.000000000 -0400
28003+++ linux-2.6.32.11/drivers/video/i810/i810_accel.c 2010-04-04 20:46:41.633638271 -0400 28398+++ linux-2.6.32.12/drivers/video/i810/i810_accel.c 2010-04-04 20:46:41.633638271 -0400
28004@@ -73,6 +73,7 @@ static inline int wait_for_space(struct 28399@@ -73,6 +73,7 @@ static inline int wait_for_space(struct
28005 } 28400 }
28006 } 28401 }
@@ -28009,9 +28404,9 @@ diff -urNp linux-2.6.32.11/drivers/video/i810/i810_accel.c linux-2.6.32.11/drive
28009 i810_report_error(mmio); 28404 i810_report_error(mmio);
28010 par->dev_flags |= LOCKUP; 28405 par->dev_flags |= LOCKUP;
28011 info->pixmap.scan_align = 1; 28406 info->pixmap.scan_align = 1;
28012diff -urNp linux-2.6.32.11/drivers/video/i810/i810_main.c linux-2.6.32.11/drivers/video/i810/i810_main.c 28407diff -urNp linux-2.6.32.12/drivers/video/i810/i810_main.c linux-2.6.32.12/drivers/video/i810/i810_main.c
28013--- linux-2.6.32.11/drivers/video/i810/i810_main.c 2010-03-15 11:52:04.000000000 -0400 28408--- linux-2.6.32.12/drivers/video/i810/i810_main.c 2010-03-15 11:52:04.000000000 -0400
28014+++ linux-2.6.32.11/drivers/video/i810/i810_main.c 2010-04-04 20:46:41.633638271 -0400 28409+++ linux-2.6.32.12/drivers/video/i810/i810_main.c 2010-04-04 20:46:41.633638271 -0400
28015@@ -120,7 +120,7 @@ static struct pci_device_id i810fb_pci_t 28410@@ -120,7 +120,7 @@ static struct pci_device_id i810fb_pci_t
28016 PCI_ANY_ID, PCI_ANY_ID, 0, 0, 4 }, 28411 PCI_ANY_ID, PCI_ANY_ID, 0, 0, 4 },
28017 { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82815_CGC, 28412 { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82815_CGC,
@@ -28021,9 +28416,9 @@ diff -urNp linux-2.6.32.11/drivers/video/i810/i810_main.c linux-2.6.32.11/driver
28021 }; 28416 };
28022 28417
28023 static struct pci_driver i810fb_driver = { 28418 static struct pci_driver i810fb_driver = {
28024diff -urNp linux-2.6.32.11/drivers/video/modedb.c linux-2.6.32.11/drivers/video/modedb.c 28419diff -urNp linux-2.6.32.12/drivers/video/modedb.c linux-2.6.32.12/drivers/video/modedb.c
28025--- linux-2.6.32.11/drivers/video/modedb.c 2010-03-15 11:52:04.000000000 -0400 28420--- linux-2.6.32.12/drivers/video/modedb.c 2010-03-15 11:52:04.000000000 -0400
28026+++ linux-2.6.32.11/drivers/video/modedb.c 2010-04-04 20:46:41.637780128 -0400 28421+++ linux-2.6.32.12/drivers/video/modedb.c 2010-04-04 20:46:41.637780128 -0400
28027@@ -38,240 +38,240 @@ static const struct fb_videomode modedb[ 28422@@ -38,240 +38,240 @@ static const struct fb_videomode modedb[
28028 { 28423 {
28029 /* 640x400 @ 70 Hz, 31.5 kHz hsync */ 28424 /* 640x400 @ 70 Hz, 31.5 kHz hsync */
@@ -28324,9 +28719,9 @@ diff -urNp linux-2.6.32.11/drivers/video/modedb.c linux-2.6.32.11/drivers/video/
28324 }, 28719 },
28325 }; 28720 };
28326 28721
28327diff -urNp linux-2.6.32.11/drivers/video/nvidia/nv_backlight.c linux-2.6.32.11/drivers/video/nvidia/nv_backlight.c 28722diff -urNp linux-2.6.32.12/drivers/video/nvidia/nv_backlight.c linux-2.6.32.12/drivers/video/nvidia/nv_backlight.c
28328--- linux-2.6.32.11/drivers/video/nvidia/nv_backlight.c 2010-03-15 11:52:04.000000000 -0400 28723--- linux-2.6.32.12/drivers/video/nvidia/nv_backlight.c 2010-03-15 11:52:04.000000000 -0400
28329+++ linux-2.6.32.11/drivers/video/nvidia/nv_backlight.c 2010-04-04 20:46:41.637780128 -0400 28724+++ linux-2.6.32.12/drivers/video/nvidia/nv_backlight.c 2010-04-04 20:46:41.637780128 -0400
28330@@ -87,7 +87,7 @@ static int nvidia_bl_get_brightness(stru 28725@@ -87,7 +87,7 @@ static int nvidia_bl_get_brightness(stru
28331 return bd->props.brightness; 28726 return bd->props.brightness;
28332 } 28727 }
@@ -28336,9 +28731,9 @@ diff -urNp linux-2.6.32.11/drivers/video/nvidia/nv_backlight.c linux-2.6.32.11/d
28336 .get_brightness = nvidia_bl_get_brightness, 28731 .get_brightness = nvidia_bl_get_brightness,
28337 .update_status = nvidia_bl_update_status, 28732 .update_status = nvidia_bl_update_status,
28338 }; 28733 };
28339diff -urNp linux-2.6.32.11/drivers/video/riva/fbdev.c linux-2.6.32.11/drivers/video/riva/fbdev.c 28734diff -urNp linux-2.6.32.12/drivers/video/riva/fbdev.c linux-2.6.32.12/drivers/video/riva/fbdev.c
28340--- linux-2.6.32.11/drivers/video/riva/fbdev.c 2010-03-15 11:52:04.000000000 -0400 28735--- linux-2.6.32.12/drivers/video/riva/fbdev.c 2010-03-15 11:52:04.000000000 -0400
28341+++ linux-2.6.32.11/drivers/video/riva/fbdev.c 2010-04-04 20:46:41.637780128 -0400 28736+++ linux-2.6.32.12/drivers/video/riva/fbdev.c 2010-04-04 20:46:41.637780128 -0400
28342@@ -331,7 +331,7 @@ static int riva_bl_get_brightness(struct 28737@@ -331,7 +331,7 @@ static int riva_bl_get_brightness(struct
28343 return bd->props.brightness; 28738 return bd->props.brightness;
28344 } 28739 }
@@ -28348,9 +28743,9 @@ diff -urNp linux-2.6.32.11/drivers/video/riva/fbdev.c linux-2.6.32.11/drivers/vi
28348 .get_brightness = riva_bl_get_brightness, 28743 .get_brightness = riva_bl_get_brightness,
28349 .update_status = riva_bl_update_status, 28744 .update_status = riva_bl_update_status,
28350 }; 28745 };
28351diff -urNp linux-2.6.32.11/drivers/video/uvesafb.c linux-2.6.32.11/drivers/video/uvesafb.c 28746diff -urNp linux-2.6.32.12/drivers/video/uvesafb.c linux-2.6.32.12/drivers/video/uvesafb.c
28352--- linux-2.6.32.11/drivers/video/uvesafb.c 2010-03-15 11:52:04.000000000 -0400 28747--- linux-2.6.32.12/drivers/video/uvesafb.c 2010-03-15 11:52:04.000000000 -0400
28353+++ linux-2.6.32.11/drivers/video/uvesafb.c 2010-04-04 20:46:41.637780128 -0400 28748+++ linux-2.6.32.12/drivers/video/uvesafb.c 2010-04-04 20:46:41.637780128 -0400
28354@@ -18,6 +18,7 @@ 28749@@ -18,6 +18,7 @@
28355 #include <linux/fb.h> 28750 #include <linux/fb.h>
28356 #include <linux/io.h> 28751 #include <linux/io.h>
@@ -28426,9 +28821,9 @@ diff -urNp linux-2.6.32.11/drivers/video/uvesafb.c linux-2.6.32.11/drivers/video
28426 } 28821 }
28427 28822
28428 framebuffer_release(info); 28823 framebuffer_release(info);
28429diff -urNp linux-2.6.32.11/drivers/video/vesafb.c linux-2.6.32.11/drivers/video/vesafb.c 28824diff -urNp linux-2.6.32.12/drivers/video/vesafb.c linux-2.6.32.12/drivers/video/vesafb.c
28430--- linux-2.6.32.11/drivers/video/vesafb.c 2010-03-15 11:52:04.000000000 -0400 28825--- linux-2.6.32.12/drivers/video/vesafb.c 2010-03-15 11:52:04.000000000 -0400
28431+++ linux-2.6.32.11/drivers/video/vesafb.c 2010-04-04 20:46:41.637780128 -0400 28826+++ linux-2.6.32.12/drivers/video/vesafb.c 2010-04-04 20:46:41.637780128 -0400
28432@@ -9,6 +9,7 @@ 28827@@ -9,6 +9,7 @@
28433 */ 28828 */
28434 28829
@@ -28532,9 +28927,9 @@ diff -urNp linux-2.6.32.11/drivers/video/vesafb.c linux-2.6.32.11/drivers/video/
28532 if (info->screen_base) 28927 if (info->screen_base)
28533 iounmap(info->screen_base); 28928 iounmap(info->screen_base);
28534 framebuffer_release(info); 28929 framebuffer_release(info);
28535diff -urNp linux-2.6.32.11/drivers/xen/sys-hypervisor.c linux-2.6.32.11/drivers/xen/sys-hypervisor.c 28930diff -urNp linux-2.6.32.12/drivers/xen/sys-hypervisor.c linux-2.6.32.12/drivers/xen/sys-hypervisor.c
28536--- linux-2.6.32.11/drivers/xen/sys-hypervisor.c 2010-03-15 11:52:04.000000000 -0400 28931--- linux-2.6.32.12/drivers/xen/sys-hypervisor.c 2010-03-15 11:52:04.000000000 -0400
28537+++ linux-2.6.32.11/drivers/xen/sys-hypervisor.c 2010-04-04 20:46:41.637780128 -0400 28932+++ linux-2.6.32.12/drivers/xen/sys-hypervisor.c 2010-04-04 20:46:41.637780128 -0400
28538@@ -425,7 +425,7 @@ static ssize_t hyp_sysfs_store(struct ko 28933@@ -425,7 +425,7 @@ static ssize_t hyp_sysfs_store(struct ko
28539 return 0; 28934 return 0;
28540 } 28935 }
@@ -28544,9 +28939,9 @@ diff -urNp linux-2.6.32.11/drivers/xen/sys-hypervisor.c linux-2.6.32.11/drivers/
28544 .show = hyp_sysfs_show, 28939 .show = hyp_sysfs_show,
28545 .store = hyp_sysfs_store, 28940 .store = hyp_sysfs_store,
28546 }; 28941 };
28547diff -urNp linux-2.6.32.11/fs/9p/vfs_inode.c linux-2.6.32.11/fs/9p/vfs_inode.c 28942diff -urNp linux-2.6.32.12/fs/9p/vfs_inode.c linux-2.6.32.12/fs/9p/vfs_inode.c
28548--- linux-2.6.32.11/fs/9p/vfs_inode.c 2010-03-15 11:52:04.000000000 -0400 28943--- linux-2.6.32.12/fs/9p/vfs_inode.c 2010-03-15 11:52:04.000000000 -0400
28549+++ linux-2.6.32.11/fs/9p/vfs_inode.c 2010-04-04 20:46:41.637780128 -0400 28944+++ linux-2.6.32.12/fs/9p/vfs_inode.c 2010-04-04 20:46:41.637780128 -0400
28550@@ -1079,7 +1079,7 @@ static void *v9fs_vfs_follow_link(struct 28945@@ -1079,7 +1079,7 @@ static void *v9fs_vfs_follow_link(struct
28551 static void 28946 static void
28552 v9fs_vfs_put_link(struct dentry *dentry, struct nameidata *nd, void *p) 28947 v9fs_vfs_put_link(struct dentry *dentry, struct nameidata *nd, void *p)
@@ -28556,9 +28951,9 @@ diff -urNp linux-2.6.32.11/fs/9p/vfs_inode.c linux-2.6.32.11/fs/9p/vfs_inode.c
28556 28951
28557 P9_DPRINTK(P9_DEBUG_VFS, " %s %s\n", dentry->d_name.name, 28952 P9_DPRINTK(P9_DEBUG_VFS, " %s %s\n", dentry->d_name.name,
28558 IS_ERR(s) ? "<error>" : s); 28953 IS_ERR(s) ? "<error>" : s);
28559diff -urNp linux-2.6.32.11/fs/aio.c linux-2.6.32.11/fs/aio.c 28954diff -urNp linux-2.6.32.12/fs/aio.c linux-2.6.32.12/fs/aio.c
28560--- linux-2.6.32.11/fs/aio.c 2010-03-15 11:52:04.000000000 -0400 28955--- linux-2.6.32.12/fs/aio.c 2010-03-15 11:52:04.000000000 -0400
28561+++ linux-2.6.32.11/fs/aio.c 2010-04-04 20:46:41.637780128 -0400 28956+++ linux-2.6.32.12/fs/aio.c 2010-04-04 20:46:41.637780128 -0400
28562@@ -115,7 +115,7 @@ static int aio_setup_ring(struct kioctx 28957@@ -115,7 +115,7 @@ static int aio_setup_ring(struct kioctx
28563 size += sizeof(struct io_event) * nr_events; 28958 size += sizeof(struct io_event) * nr_events;
28564 nr_pages = (size + PAGE_SIZE-1) >> PAGE_SHIFT; 28959 nr_pages = (size + PAGE_SIZE-1) >> PAGE_SHIFT;
@@ -28568,9 +28963,9 @@ diff -urNp linux-2.6.32.11/fs/aio.c linux-2.6.32.11/fs/aio.c
28568 return -EINVAL; 28963 return -EINVAL;
28569 28964
28570 nr_events = (PAGE_SIZE * nr_pages - sizeof(struct aio_ring)) / sizeof(struct io_event); 28965 nr_events = (PAGE_SIZE * nr_pages - sizeof(struct aio_ring)) / sizeof(struct io_event);
28571diff -urNp linux-2.6.32.11/fs/attr.c linux-2.6.32.11/fs/attr.c 28966diff -urNp linux-2.6.32.12/fs/attr.c linux-2.6.32.12/fs/attr.c
28572--- linux-2.6.32.11/fs/attr.c 2010-03-15 11:52:04.000000000 -0400 28967--- linux-2.6.32.12/fs/attr.c 2010-03-15 11:52:04.000000000 -0400
28573+++ linux-2.6.32.11/fs/attr.c 2010-04-04 20:46:41.637780128 -0400 28968+++ linux-2.6.32.12/fs/attr.c 2010-04-04 20:46:41.637780128 -0400
28574@@ -83,6 +83,7 @@ int inode_newsize_ok(const struct inode 28969@@ -83,6 +83,7 @@ int inode_newsize_ok(const struct inode
28575 unsigned long limit; 28970 unsigned long limit;
28576 28971
@@ -28579,9 +28974,9 @@ diff -urNp linux-2.6.32.11/fs/attr.c linux-2.6.32.11/fs/attr.c
28579 if (limit != RLIM_INFINITY && offset > limit) 28974 if (limit != RLIM_INFINITY && offset > limit)
28580 goto out_sig; 28975 goto out_sig;
28581 if (offset > inode->i_sb->s_maxbytes) 28976 if (offset > inode->i_sb->s_maxbytes)
28582diff -urNp linux-2.6.32.11/fs/autofs/root.c linux-2.6.32.11/fs/autofs/root.c 28977diff -urNp linux-2.6.32.12/fs/autofs/root.c linux-2.6.32.12/fs/autofs/root.c
28583--- linux-2.6.32.11/fs/autofs/root.c 2010-03-15 11:52:04.000000000 -0400 28978--- linux-2.6.32.12/fs/autofs/root.c 2010-03-15 11:52:04.000000000 -0400
28584+++ linux-2.6.32.11/fs/autofs/root.c 2010-04-04 20:46:41.637780128 -0400 28979+++ linux-2.6.32.12/fs/autofs/root.c 2010-04-04 20:46:41.637780128 -0400
28585@@ -299,7 +299,8 @@ static int autofs_root_symlink(struct in 28980@@ -299,7 +299,8 @@ static int autofs_root_symlink(struct in
28586 set_bit(n,sbi->symlink_bitmap); 28981 set_bit(n,sbi->symlink_bitmap);
28587 sl = &sbi->symlink[n]; 28982 sl = &sbi->symlink[n];
@@ -28592,9 +28987,9 @@ diff -urNp linux-2.6.32.11/fs/autofs/root.c linux-2.6.32.11/fs/autofs/root.c
28592 if (!sl->data) { 28987 if (!sl->data) {
28593 clear_bit(n,sbi->symlink_bitmap); 28988 clear_bit(n,sbi->symlink_bitmap);
28594 unlock_kernel(); 28989 unlock_kernel();
28595diff -urNp linux-2.6.32.11/fs/autofs4/symlink.c linux-2.6.32.11/fs/autofs4/symlink.c 28990diff -urNp linux-2.6.32.12/fs/autofs4/symlink.c linux-2.6.32.12/fs/autofs4/symlink.c
28596--- linux-2.6.32.11/fs/autofs4/symlink.c 2010-03-15 11:52:04.000000000 -0400 28991--- linux-2.6.32.12/fs/autofs4/symlink.c 2010-03-15 11:52:04.000000000 -0400
28597+++ linux-2.6.32.11/fs/autofs4/symlink.c 2010-04-04 20:46:41.637780128 -0400 28992+++ linux-2.6.32.12/fs/autofs4/symlink.c 2010-04-04 20:46:41.637780128 -0400
28598@@ -15,7 +15,7 @@ 28993@@ -15,7 +15,7 @@
28599 static void *autofs4_follow_link(struct dentry *dentry, struct nameidata *nd) 28994 static void *autofs4_follow_link(struct dentry *dentry, struct nameidata *nd)
28600 { 28995 {
@@ -28604,9 +28999,9 @@ diff -urNp linux-2.6.32.11/fs/autofs4/symlink.c linux-2.6.32.11/fs/autofs4/symli
28604 return NULL; 28999 return NULL;
28605 } 29000 }
28606 29001
28607diff -urNp linux-2.6.32.11/fs/befs/linuxvfs.c linux-2.6.32.11/fs/befs/linuxvfs.c 29002diff -urNp linux-2.6.32.12/fs/befs/linuxvfs.c linux-2.6.32.12/fs/befs/linuxvfs.c
28608--- linux-2.6.32.11/fs/befs/linuxvfs.c 2010-03-15 11:52:04.000000000 -0400 29003--- linux-2.6.32.12/fs/befs/linuxvfs.c 2010-03-15 11:52:04.000000000 -0400
28609+++ linux-2.6.32.11/fs/befs/linuxvfs.c 2010-04-04 20:46:41.637780128 -0400 29004+++ linux-2.6.32.12/fs/befs/linuxvfs.c 2010-04-04 20:46:41.637780128 -0400
28610@@ -493,7 +493,7 @@ static void befs_put_link(struct dentry 29005@@ -493,7 +493,7 @@ static void befs_put_link(struct dentry
28611 { 29006 {
28612 befs_inode_info *befs_ino = BEFS_I(dentry->d_inode); 29007 befs_inode_info *befs_ino = BEFS_I(dentry->d_inode);
@@ -28616,9 +29011,9 @@ diff -urNp linux-2.6.32.11/fs/befs/linuxvfs.c linux-2.6.32.11/fs/befs/linuxvfs.c
28616 if (!IS_ERR(link)) 29011 if (!IS_ERR(link))
28617 kfree(link); 29012 kfree(link);
28618 } 29013 }
28619diff -urNp linux-2.6.32.11/fs/binfmt_aout.c linux-2.6.32.11/fs/binfmt_aout.c 29014diff -urNp linux-2.6.32.12/fs/binfmt_aout.c linux-2.6.32.12/fs/binfmt_aout.c
28620--- linux-2.6.32.11/fs/binfmt_aout.c 2010-03-15 11:52:04.000000000 -0400 29015--- linux-2.6.32.12/fs/binfmt_aout.c 2010-03-15 11:52:04.000000000 -0400
28621+++ linux-2.6.32.11/fs/binfmt_aout.c 2010-04-04 20:46:41.637780128 -0400 29016+++ linux-2.6.32.12/fs/binfmt_aout.c 2010-04-04 20:46:41.637780128 -0400
28622@@ -16,6 +16,7 @@ 29017@@ -16,6 +16,7 @@
28623 #include <linux/string.h> 29018 #include <linux/string.h>
28624 #include <linux/fs.h> 29019 #include <linux/fs.h>
@@ -28686,9 +29081,9 @@ diff -urNp linux-2.6.32.11/fs/binfmt_aout.c linux-2.6.32.11/fs/binfmt_aout.c
28686 MAP_FIXED | MAP_PRIVATE | MAP_DENYWRITE | MAP_EXECUTABLE, 29081 MAP_FIXED | MAP_PRIVATE | MAP_DENYWRITE | MAP_EXECUTABLE,
28687 fd_offset + ex.a_text); 29082 fd_offset + ex.a_text);
28688 up_write(&current->mm->mmap_sem); 29083 up_write(&current->mm->mmap_sem);
28689diff -urNp linux-2.6.32.11/fs/binfmt_elf.c linux-2.6.32.11/fs/binfmt_elf.c 29084diff -urNp linux-2.6.32.12/fs/binfmt_elf.c linux-2.6.32.12/fs/binfmt_elf.c
28690--- linux-2.6.32.11/fs/binfmt_elf.c 2010-03-15 11:52:04.000000000 -0400 29085--- linux-2.6.32.12/fs/binfmt_elf.c 2010-03-15 11:52:04.000000000 -0400
28691+++ linux-2.6.32.11/fs/binfmt_elf.c 2010-04-04 20:47:28.956670452 -0400 29086+++ linux-2.6.32.12/fs/binfmt_elf.c 2010-04-04 20:47:28.956670452 -0400
28692@@ -50,6 +50,10 @@ static int elf_core_dump(long signr, str 29087@@ -50,6 +50,10 @@ static int elf_core_dump(long signr, str
28693 #define elf_core_dump NULL 29088 #define elf_core_dump NULL
28694 #endif 29089 #endif
@@ -29324,9 +29719,9 @@ diff -urNp linux-2.6.32.11/fs/binfmt_elf.c linux-2.6.32.11/fs/binfmt_elf.c
29324 static int __init init_elf_binfmt(void) 29719 static int __init init_elf_binfmt(void)
29325 { 29720 {
29326 return register_binfmt(&elf_format); 29721 return register_binfmt(&elf_format);
29327diff -urNp linux-2.6.32.11/fs/binfmt_flat.c linux-2.6.32.11/fs/binfmt_flat.c 29722diff -urNp linux-2.6.32.12/fs/binfmt_flat.c linux-2.6.32.12/fs/binfmt_flat.c
29328--- linux-2.6.32.11/fs/binfmt_flat.c 2010-03-15 11:52:04.000000000 -0400 29723--- linux-2.6.32.12/fs/binfmt_flat.c 2010-03-15 11:52:04.000000000 -0400
29329+++ linux-2.6.32.11/fs/binfmt_flat.c 2010-04-04 20:46:41.641560293 -0400 29724+++ linux-2.6.32.12/fs/binfmt_flat.c 2010-04-04 20:46:41.641560293 -0400
29330@@ -564,7 +564,9 @@ static int load_flat_file(struct linux_b 29725@@ -564,7 +564,9 @@ static int load_flat_file(struct linux_b
29331 realdatastart = (unsigned long) -ENOMEM; 29726 realdatastart = (unsigned long) -ENOMEM;
29332 printk("Unable to allocate RAM for process data, errno %d\n", 29727 printk("Unable to allocate RAM for process data, errno %d\n",
@@ -29359,9 +29754,9 @@ diff -urNp linux-2.6.32.11/fs/binfmt_flat.c linux-2.6.32.11/fs/binfmt_flat.c
29359 ret = result; 29754 ret = result;
29360 goto err; 29755 goto err;
29361 } 29756 }
29362diff -urNp linux-2.6.32.11/fs/binfmt_misc.c linux-2.6.32.11/fs/binfmt_misc.c 29757diff -urNp linux-2.6.32.12/fs/binfmt_misc.c linux-2.6.32.12/fs/binfmt_misc.c
29363--- linux-2.6.32.11/fs/binfmt_misc.c 2010-03-15 11:52:04.000000000 -0400 29758--- linux-2.6.32.12/fs/binfmt_misc.c 2010-03-15 11:52:04.000000000 -0400
29364+++ linux-2.6.32.11/fs/binfmt_misc.c 2010-04-04 20:46:41.641560293 -0400 29759+++ linux-2.6.32.12/fs/binfmt_misc.c 2010-04-04 20:46:41.641560293 -0400
29365@@ -693,7 +693,7 @@ static int bm_fill_super(struct super_bl 29760@@ -693,7 +693,7 @@ static int bm_fill_super(struct super_bl
29366 static struct tree_descr bm_files[] = { 29761 static struct tree_descr bm_files[] = {
29367 [2] = {"status", &bm_status_operations, S_IWUSR|S_IRUGO}, 29762 [2] = {"status", &bm_status_operations, S_IWUSR|S_IRUGO},
@@ -29371,9 +29766,9 @@ diff -urNp linux-2.6.32.11/fs/binfmt_misc.c linux-2.6.32.11/fs/binfmt_misc.c
29371 }; 29766 };
29372 int err = simple_fill_super(sb, 0x42494e4d, bm_files); 29767 int err = simple_fill_super(sb, 0x42494e4d, bm_files);
29373 if (!err) 29768 if (!err)
29374diff -urNp linux-2.6.32.11/fs/bio.c linux-2.6.32.11/fs/bio.c 29769diff -urNp linux-2.6.32.12/fs/bio.c linux-2.6.32.12/fs/bio.c
29375--- linux-2.6.32.11/fs/bio.c 2010-03-15 11:52:04.000000000 -0400 29770--- linux-2.6.32.12/fs/bio.c 2010-03-15 11:52:04.000000000 -0400
29376+++ linux-2.6.32.11/fs/bio.c 2010-04-04 20:46:41.641560293 -0400 29771+++ linux-2.6.32.12/fs/bio.c 2010-04-04 20:46:41.641560293 -0400
29377@@ -78,7 +78,7 @@ static struct kmem_cache *bio_find_or_cr 29772@@ -78,7 +78,7 @@ static struct kmem_cache *bio_find_or_cr
29378 29773
29379 i = 0; 29774 i = 0;
@@ -29392,9 +29787,21 @@ diff -urNp linux-2.6.32.11/fs/bio.c linux-2.6.32.11/fs/bio.c
29392 29787
29393 __bio_for_each_segment(bvec, bio, i, 0) { 29788 __bio_for_each_segment(bvec, bio, i, 0) {
29394 char *addr = page_address(bvec->bv_page); 29789 char *addr = page_address(bvec->bv_page);
29395diff -urNp linux-2.6.32.11/fs/btrfs/ctree.c linux-2.6.32.11/fs/btrfs/ctree.c 29790diff -urNp linux-2.6.32.12/fs/block_dev.c linux-2.6.32.12/fs/block_dev.c
29396--- linux-2.6.32.11/fs/btrfs/ctree.c 2010-03-15 11:52:04.000000000 -0400 29791--- linux-2.6.32.12/fs/block_dev.c 2010-04-29 17:49:38.421500081 -0400
29397+++ linux-2.6.32.11/fs/btrfs/ctree.c 2010-04-04 20:46:41.641560293 -0400 29792+++ linux-2.6.32.12/fs/block_dev.c 2010-04-29 17:49:58.449523678 -0400
29793@@ -664,7 +664,7 @@ int bd_claim(struct block_device *bdev,
29794 else if (bdev->bd_contains == bdev)
29795 res = 0; /* is a whole device which isn't held */
29796
29797- else if (bdev->bd_contains->bd_holder == bd_claim)
29798+ else if (bdev->bd_contains->bd_holder == (void *)bd_claim)
29799 res = 0; /* is a partition of a device that is being partitioned */
29800 else if (bdev->bd_contains->bd_holder != NULL)
29801 res = -EBUSY; /* is a partition of a held device */
29802diff -urNp linux-2.6.32.12/fs/btrfs/ctree.c linux-2.6.32.12/fs/btrfs/ctree.c
29803--- linux-2.6.32.12/fs/btrfs/ctree.c 2010-03-15 11:52:04.000000000 -0400
29804+++ linux-2.6.32.12/fs/btrfs/ctree.c 2010-04-04 20:46:41.641560293 -0400
29398@@ -3568,7 +3568,6 @@ setup_items_for_insert(struct btrfs_tran 29805@@ -3568,7 +3568,6 @@ setup_items_for_insert(struct btrfs_tran
29399 29806
29400 ret = 0; 29807 ret = 0;
@@ -29403,9 +29810,9 @@ diff -urNp linux-2.6.32.11/fs/btrfs/ctree.c linux-2.6.32.11/fs/btrfs/ctree.c
29403 btrfs_cpu_key_to_disk(&disk_key, cpu_key); 29810 btrfs_cpu_key_to_disk(&disk_key, cpu_key);
29404 ret = fixup_low_keys(trans, root, path, &disk_key, 1); 29811 ret = fixup_low_keys(trans, root, path, &disk_key, 1);
29405 } 29812 }
29406diff -urNp linux-2.6.32.11/fs/btrfs/disk-io.c linux-2.6.32.11/fs/btrfs/disk-io.c 29813diff -urNp linux-2.6.32.12/fs/btrfs/disk-io.c linux-2.6.32.12/fs/btrfs/disk-io.c
29407--- linux-2.6.32.11/fs/btrfs/disk-io.c 2010-03-15 11:52:04.000000000 -0400 29814--- linux-2.6.32.12/fs/btrfs/disk-io.c 2010-03-15 11:52:04.000000000 -0400
29408+++ linux-2.6.32.11/fs/btrfs/disk-io.c 2010-04-04 20:46:41.641560293 -0400 29815+++ linux-2.6.32.12/fs/btrfs/disk-io.c 2010-04-04 20:46:41.641560293 -0400
29409@@ -39,7 +39,7 @@ 29816@@ -39,7 +39,7 @@
29410 #include "tree-log.h" 29817 #include "tree-log.h"
29411 #include "free-space-cache.h" 29818 #include "free-space-cache.h"
@@ -29424,9 +29831,9 @@ diff -urNp linux-2.6.32.11/fs/btrfs/disk-io.c linux-2.6.32.11/fs/btrfs/disk-io.c
29424 .write_cache_pages_lock_hook = btree_lock_page_hook, 29831 .write_cache_pages_lock_hook = btree_lock_page_hook,
29425 .readpage_end_io_hook = btree_readpage_end_io_hook, 29832 .readpage_end_io_hook = btree_readpage_end_io_hook,
29426 .submit_bio_hook = btree_submit_bio_hook, 29833 .submit_bio_hook = btree_submit_bio_hook,
29427diff -urNp linux-2.6.32.11/fs/btrfs/extent_io.h linux-2.6.32.11/fs/btrfs/extent_io.h 29834diff -urNp linux-2.6.32.12/fs/btrfs/extent_io.h linux-2.6.32.12/fs/btrfs/extent_io.h
29428--- linux-2.6.32.11/fs/btrfs/extent_io.h 2010-03-15 11:52:04.000000000 -0400 29835--- linux-2.6.32.12/fs/btrfs/extent_io.h 2010-03-15 11:52:04.000000000 -0400
29429+++ linux-2.6.32.11/fs/btrfs/extent_io.h 2010-04-04 20:46:41.641560293 -0400 29836+++ linux-2.6.32.12/fs/btrfs/extent_io.h 2010-04-04 20:46:41.641560293 -0400
29430@@ -49,36 +49,36 @@ typedef int (extent_submit_bio_hook_t)(s 29837@@ -49,36 +49,36 @@ typedef int (extent_submit_bio_hook_t)(s
29431 struct bio *bio, int mirror_num, 29838 struct bio *bio, int mirror_num,
29432 unsigned long bio_flags); 29839 unsigned long bio_flags);
@@ -29487,9 +29894,9 @@ diff -urNp linux-2.6.32.11/fs/btrfs/extent_io.h linux-2.6.32.11/fs/btrfs/extent_
29487 }; 29894 };
29488 29895
29489 struct extent_state { 29896 struct extent_state {
29490diff -urNp linux-2.6.32.11/fs/btrfs/free-space-cache.c linux-2.6.32.11/fs/btrfs/free-space-cache.c 29897diff -urNp linux-2.6.32.12/fs/btrfs/free-space-cache.c linux-2.6.32.12/fs/btrfs/free-space-cache.c
29491--- linux-2.6.32.11/fs/btrfs/free-space-cache.c 2010-03-15 11:52:04.000000000 -0400 29898--- linux-2.6.32.12/fs/btrfs/free-space-cache.c 2010-03-15 11:52:04.000000000 -0400
29492+++ linux-2.6.32.11/fs/btrfs/free-space-cache.c 2010-04-04 20:46:41.641560293 -0400 29899+++ linux-2.6.32.12/fs/btrfs/free-space-cache.c 2010-04-04 20:46:41.641560293 -0400
29493@@ -1074,8 +1074,6 @@ u64 btrfs_alloc_from_cluster(struct btrf 29900@@ -1074,8 +1074,6 @@ u64 btrfs_alloc_from_cluster(struct btrf
29494 29901
29495 while(1) { 29902 while(1) {
@@ -29508,9 +29915,9 @@ diff -urNp linux-2.6.32.11/fs/btrfs/free-space-cache.c linux-2.6.32.11/fs/btrfs/
29508 29915
29509 if (entry->bitmap && entry->bytes > bytes + empty_size) { 29916 if (entry->bitmap && entry->bytes > bytes + empty_size) {
29510 ret = btrfs_bitmap_cluster(block_group, entry, cluster, 29917 ret = btrfs_bitmap_cluster(block_group, entry, cluster,
29511diff -urNp linux-2.6.32.11/fs/btrfs/inode.c linux-2.6.32.11/fs/btrfs/inode.c 29918diff -urNp linux-2.6.32.12/fs/btrfs/inode.c linux-2.6.32.12/fs/btrfs/inode.c
29512--- linux-2.6.32.11/fs/btrfs/inode.c 2010-03-15 11:52:04.000000000 -0400 29919--- linux-2.6.32.12/fs/btrfs/inode.c 2010-03-15 11:52:04.000000000 -0400
29513+++ linux-2.6.32.11/fs/btrfs/inode.c 2010-04-04 20:46:41.641560293 -0400 29920+++ linux-2.6.32.12/fs/btrfs/inode.c 2010-04-04 20:46:41.641560293 -0400
29514@@ -63,7 +63,7 @@ static const struct inode_operations btr 29921@@ -63,7 +63,7 @@ static const struct inode_operations btr
29515 static const struct address_space_operations btrfs_aops; 29922 static const struct address_space_operations btrfs_aops;
29516 static const struct address_space_operations btrfs_symlink_aops; 29923 static const struct address_space_operations btrfs_symlink_aops;
@@ -29529,9 +29936,9 @@ diff -urNp linux-2.6.32.11/fs/btrfs/inode.c linux-2.6.32.11/fs/btrfs/inode.c
29529 .fill_delalloc = run_delalloc_range, 29936 .fill_delalloc = run_delalloc_range,
29530 .submit_bio_hook = btrfs_submit_bio_hook, 29937 .submit_bio_hook = btrfs_submit_bio_hook,
29531 .merge_bio_hook = btrfs_merge_bio_hook, 29938 .merge_bio_hook = btrfs_merge_bio_hook,
29532diff -urNp linux-2.6.32.11/fs/btrfs/sysfs.c linux-2.6.32.11/fs/btrfs/sysfs.c 29939diff -urNp linux-2.6.32.12/fs/btrfs/sysfs.c linux-2.6.32.12/fs/btrfs/sysfs.c
29533--- linux-2.6.32.11/fs/btrfs/sysfs.c 2010-03-15 11:52:04.000000000 -0400 29940--- linux-2.6.32.12/fs/btrfs/sysfs.c 2010-03-15 11:52:04.000000000 -0400
29534+++ linux-2.6.32.11/fs/btrfs/sysfs.c 2010-04-04 20:46:41.641560293 -0400 29941+++ linux-2.6.32.12/fs/btrfs/sysfs.c 2010-04-04 20:46:41.641560293 -0400
29535@@ -164,12 +164,12 @@ static void btrfs_root_release(struct ko 29942@@ -164,12 +164,12 @@ static void btrfs_root_release(struct ko
29536 complete(&root->kobj_unregister); 29943 complete(&root->kobj_unregister);
29537 } 29944 }
@@ -29547,9 +29954,9 @@ diff -urNp linux-2.6.32.11/fs/btrfs/sysfs.c linux-2.6.32.11/fs/btrfs/sysfs.c
29547 .show = btrfs_root_attr_show, 29954 .show = btrfs_root_attr_show,
29548 .store = btrfs_root_attr_store, 29955 .store = btrfs_root_attr_store,
29549 }; 29956 };
29550diff -urNp linux-2.6.32.11/fs/buffer.c linux-2.6.32.11/fs/buffer.c 29957diff -urNp linux-2.6.32.12/fs/buffer.c linux-2.6.32.12/fs/buffer.c
29551--- linux-2.6.32.11/fs/buffer.c 2010-03-15 11:52:04.000000000 -0400 29958--- linux-2.6.32.12/fs/buffer.c 2010-03-15 11:52:04.000000000 -0400
29552+++ linux-2.6.32.11/fs/buffer.c 2010-04-04 20:46:41.641560293 -0400 29959+++ linux-2.6.32.12/fs/buffer.c 2010-04-04 20:46:41.641560293 -0400
29553@@ -25,6 +25,7 @@ 29960@@ -25,6 +25,7 @@
29554 #include <linux/percpu.h> 29961 #include <linux/percpu.h>
29555 #include <linux/slab.h> 29962 #include <linux/slab.h>
@@ -29558,9 +29965,58 @@ diff -urNp linux-2.6.32.11/fs/buffer.c linux-2.6.32.11/fs/buffer.c
29558 #include <linux/blkdev.h> 29965 #include <linux/blkdev.h>
29559 #include <linux/file.h> 29966 #include <linux/file.h>
29560 #include <linux/quotaops.h> 29967 #include <linux/quotaops.h>
29561diff -urNp linux-2.6.32.11/fs/cachefiles/rdwr.c linux-2.6.32.11/fs/cachefiles/rdwr.c 29968diff -urNp linux-2.6.32.12/fs/cachefiles/bind.c linux-2.6.32.12/fs/cachefiles/bind.c
29562--- linux-2.6.32.11/fs/cachefiles/rdwr.c 2010-03-15 11:52:04.000000000 -0400 29969--- linux-2.6.32.12/fs/cachefiles/bind.c 2010-03-15 11:52:04.000000000 -0400
29563+++ linux-2.6.32.11/fs/cachefiles/rdwr.c 2010-04-04 20:46:41.641560293 -0400 29970+++ linux-2.6.32.12/fs/cachefiles/bind.c 2010-04-29 17:46:37.245246835 -0400
29971@@ -39,13 +39,11 @@ int cachefiles_daemon_bind(struct cachef
29972 args);
29973
29974 /* start by checking things over */
29975- ASSERT(cache->fstop_percent >= 0 &&
29976- cache->fstop_percent < cache->fcull_percent &&
29977+ ASSERT(cache->fstop_percent < cache->fcull_percent &&
29978 cache->fcull_percent < cache->frun_percent &&
29979 cache->frun_percent < 100);
29980
29981- ASSERT(cache->bstop_percent >= 0 &&
29982- cache->bstop_percent < cache->bcull_percent &&
29983+ ASSERT(cache->bstop_percent < cache->bcull_percent &&
29984 cache->bcull_percent < cache->brun_percent &&
29985 cache->brun_percent < 100);
29986
29987diff -urNp linux-2.6.32.12/fs/cachefiles/daemon.c linux-2.6.32.12/fs/cachefiles/daemon.c
29988--- linux-2.6.32.12/fs/cachefiles/daemon.c 2010-03-15 11:52:04.000000000 -0400
29989+++ linux-2.6.32.12/fs/cachefiles/daemon.c 2010-04-29 17:46:37.253252101 -0400
29990@@ -220,7 +220,7 @@ static ssize_t cachefiles_daemon_write(s
29991 if (test_bit(CACHEFILES_DEAD, &cache->flags))
29992 return -EIO;
29993
29994- if (datalen < 0 || datalen > PAGE_SIZE - 1)
29995+ if (datalen > PAGE_SIZE - 1)
29996 return -EOPNOTSUPP;
29997
29998 /* drag the command string into the kernel so we can parse it */
29999@@ -385,7 +385,7 @@ static int cachefiles_daemon_fstop(struc
30000 if (args[0] != '%' || args[1] != '\0')
30001 return -EINVAL;
30002
30003- if (fstop < 0 || fstop >= cache->fcull_percent)
30004+ if (fstop >= cache->fcull_percent)
30005 return cachefiles_daemon_range_error(cache, args);
30006
30007 cache->fstop_percent = fstop;
30008@@ -457,7 +457,7 @@ static int cachefiles_daemon_bstop(struc
30009 if (args[0] != '%' || args[1] != '\0')
30010 return -EINVAL;
30011
30012- if (bstop < 0 || bstop >= cache->bcull_percent)
30013+ if (bstop >= cache->bcull_percent)
30014 return cachefiles_daemon_range_error(cache, args);
30015
30016 cache->bstop_percent = bstop;
30017diff -urNp linux-2.6.32.12/fs/cachefiles/rdwr.c linux-2.6.32.12/fs/cachefiles/rdwr.c
30018--- linux-2.6.32.12/fs/cachefiles/rdwr.c 2010-03-15 11:52:04.000000000 -0400
30019+++ linux-2.6.32.12/fs/cachefiles/rdwr.c 2010-04-04 20:46:41.641560293 -0400
29564@@ -946,7 +946,7 @@ int cachefiles_write_page(struct fscache 30020@@ -946,7 +946,7 @@ int cachefiles_write_page(struct fscache
29565 old_fs = get_fs(); 30021 old_fs = get_fs();
29566 set_fs(KERNEL_DS); 30022 set_fs(KERNEL_DS);
@@ -29570,9 +30026,9 @@ diff -urNp linux-2.6.32.11/fs/cachefiles/rdwr.c linux-2.6.32.11/fs/cachefiles/rd
29570 set_fs(old_fs); 30026 set_fs(old_fs);
29571 kunmap(page); 30027 kunmap(page);
29572 if (ret != len) 30028 if (ret != len)
29573diff -urNp linux-2.6.32.11/fs/cifs/cifs_uniupr.h linux-2.6.32.11/fs/cifs/cifs_uniupr.h 30029diff -urNp linux-2.6.32.12/fs/cifs/cifs_uniupr.h linux-2.6.32.12/fs/cifs/cifs_uniupr.h
29574--- linux-2.6.32.11/fs/cifs/cifs_uniupr.h 2010-03-15 11:52:04.000000000 -0400 30030--- linux-2.6.32.12/fs/cifs/cifs_uniupr.h 2010-03-15 11:52:04.000000000 -0400
29575+++ linux-2.6.32.11/fs/cifs/cifs_uniupr.h 2010-04-04 20:46:41.645781188 -0400 30031+++ linux-2.6.32.12/fs/cifs/cifs_uniupr.h 2010-04-04 20:46:41.645781188 -0400
29576@@ -132,7 +132,7 @@ const struct UniCaseRange CifsUniUpperRa 30032@@ -132,7 +132,7 @@ const struct UniCaseRange CifsUniUpperRa
29577 {0x0490, 0x04cc, UniCaseRangeU0490}, 30033 {0x0490, 0x04cc, UniCaseRangeU0490},
29578 {0x1e00, 0x1ffc, UniCaseRangeU1e00}, 30034 {0x1e00, 0x1ffc, UniCaseRangeU1e00},
@@ -29582,9 +30038,9 @@ diff -urNp linux-2.6.32.11/fs/cifs/cifs_uniupr.h linux-2.6.32.11/fs/cifs/cifs_un
29582 }; 30038 };
29583 #endif 30039 #endif
29584 30040
29585diff -urNp linux-2.6.32.11/fs/cifs/link.c linux-2.6.32.11/fs/cifs/link.c 30041diff -urNp linux-2.6.32.12/fs/cifs/link.c linux-2.6.32.12/fs/cifs/link.c
29586--- linux-2.6.32.11/fs/cifs/link.c 2010-03-15 11:52:04.000000000 -0400 30042--- linux-2.6.32.12/fs/cifs/link.c 2010-03-15 11:52:04.000000000 -0400
29587+++ linux-2.6.32.11/fs/cifs/link.c 2010-04-04 20:46:41.645781188 -0400 30043+++ linux-2.6.32.12/fs/cifs/link.c 2010-04-04 20:46:41.645781188 -0400
29588@@ -215,7 +215,7 @@ cifs_symlink(struct inode *inode, struct 30044@@ -215,7 +215,7 @@ cifs_symlink(struct inode *inode, struct
29589 30045
29590 void cifs_put_link(struct dentry *direntry, struct nameidata *nd, void *cookie) 30046 void cifs_put_link(struct dentry *direntry, struct nameidata *nd, void *cookie)
@@ -29594,9 +30050,9 @@ diff -urNp linux-2.6.32.11/fs/cifs/link.c linux-2.6.32.11/fs/cifs/link.c
29594 if (!IS_ERR(p)) 30050 if (!IS_ERR(p))
29595 kfree(p); 30051 kfree(p);
29596 } 30052 }
29597diff -urNp linux-2.6.32.11/fs/compat_binfmt_elf.c linux-2.6.32.11/fs/compat_binfmt_elf.c 30053diff -urNp linux-2.6.32.12/fs/compat_binfmt_elf.c linux-2.6.32.12/fs/compat_binfmt_elf.c
29598--- linux-2.6.32.11/fs/compat_binfmt_elf.c 2010-03-15 11:52:04.000000000 -0400 30054--- linux-2.6.32.12/fs/compat_binfmt_elf.c 2010-03-15 11:52:04.000000000 -0400
29599+++ linux-2.6.32.11/fs/compat_binfmt_elf.c 2010-04-04 20:46:41.645781188 -0400 30055+++ linux-2.6.32.12/fs/compat_binfmt_elf.c 2010-04-04 20:46:41.645781188 -0400
29600@@ -29,10 +29,12 @@ 30056@@ -29,10 +29,12 @@
29601 #undef elfhdr 30057 #undef elfhdr
29602 #undef elf_phdr 30058 #undef elf_phdr
@@ -29610,9 +30066,9 @@ diff -urNp linux-2.6.32.11/fs/compat_binfmt_elf.c linux-2.6.32.11/fs/compat_binf
29610 #define elf_addr_t Elf32_Addr 30066 #define elf_addr_t Elf32_Addr
29611 30067
29612 /* 30068 /*
29613diff -urNp linux-2.6.32.11/fs/compat.c linux-2.6.32.11/fs/compat.c 30069diff -urNp linux-2.6.32.12/fs/compat.c linux-2.6.32.12/fs/compat.c
29614--- linux-2.6.32.11/fs/compat.c 2010-03-15 11:52:04.000000000 -0400 30070--- linux-2.6.32.12/fs/compat.c 2010-03-15 11:52:04.000000000 -0400
29615+++ linux-2.6.32.11/fs/compat.c 2010-04-04 20:46:41.645781188 -0400 30071+++ linux-2.6.32.12/fs/compat.c 2010-04-04 20:46:41.645781188 -0400
29616@@ -1410,14 +1410,12 @@ static int compat_copy_strings(int argc, 30072@@ -1410,14 +1410,12 @@ static int compat_copy_strings(int argc,
29617 if (!kmapped_page || kpos != (pos & PAGE_MASK)) { 30073 if (!kmapped_page || kpos != (pos & PAGE_MASK)) {
29618 struct page *page; 30074 struct page *page;
@@ -29712,9 +30168,9 @@ diff -urNp linux-2.6.32.11/fs/compat.c linux-2.6.32.11/fs/compat.c
29712 out: 30168 out:
29713 if (bprm->mm) 30169 if (bprm->mm)
29714 mmput(bprm->mm); 30170 mmput(bprm->mm);
29715diff -urNp linux-2.6.32.11/fs/compat_ioctl.c linux-2.6.32.11/fs/compat_ioctl.c 30171diff -urNp linux-2.6.32.12/fs/compat_ioctl.c linux-2.6.32.12/fs/compat_ioctl.c
29716--- linux-2.6.32.11/fs/compat_ioctl.c 2010-03-15 11:52:04.000000000 -0400 30172--- linux-2.6.32.12/fs/compat_ioctl.c 2010-03-15 11:52:04.000000000 -0400
29717+++ linux-2.6.32.11/fs/compat_ioctl.c 2010-04-04 20:46:41.645781188 -0400 30173+++ linux-2.6.32.12/fs/compat_ioctl.c 2010-04-04 20:46:41.645781188 -0400
29718@@ -1827,15 +1827,15 @@ struct ioctl_trans { 30174@@ -1827,15 +1827,15 @@ struct ioctl_trans {
29719 }; 30175 };
29720 30176
@@ -29734,9 +30190,9 @@ diff -urNp linux-2.6.32.11/fs/compat_ioctl.c linux-2.6.32.11/fs/compat_ioctl.c
29734 30190
29735 /* ioctl should not be warned about even if it's not implemented. 30191 /* ioctl should not be warned about even if it's not implemented.
29736 Valid reasons to use this: 30192 Valid reasons to use this:
29737diff -urNp linux-2.6.32.11/fs/debugfs/inode.c linux-2.6.32.11/fs/debugfs/inode.c 30193diff -urNp linux-2.6.32.12/fs/debugfs/inode.c linux-2.6.32.12/fs/debugfs/inode.c
29738--- linux-2.6.32.11/fs/debugfs/inode.c 2010-03-15 11:52:04.000000000 -0400 30194--- linux-2.6.32.12/fs/debugfs/inode.c 2010-03-15 11:52:04.000000000 -0400
29739+++ linux-2.6.32.11/fs/debugfs/inode.c 2010-04-04 20:46:41.645781188 -0400 30195+++ linux-2.6.32.12/fs/debugfs/inode.c 2010-04-04 20:46:41.645781188 -0400
29740@@ -128,7 +128,7 @@ static inline int debugfs_positive(struc 30196@@ -128,7 +128,7 @@ static inline int debugfs_positive(struc
29741 30197
29742 static int debug_fill_super(struct super_block *sb, void *data, int silent) 30198 static int debug_fill_super(struct super_block *sb, void *data, int silent)
@@ -29746,9 +30202,9 @@ diff -urNp linux-2.6.32.11/fs/debugfs/inode.c linux-2.6.32.11/fs/debugfs/inode.c
29746 30202
29747 return simple_fill_super(sb, DEBUGFS_MAGIC, debug_files); 30203 return simple_fill_super(sb, DEBUGFS_MAGIC, debug_files);
29748 } 30204 }
29749diff -urNp linux-2.6.32.11/fs/dlm/lockspace.c linux-2.6.32.11/fs/dlm/lockspace.c 30205diff -urNp linux-2.6.32.12/fs/dlm/lockspace.c linux-2.6.32.12/fs/dlm/lockspace.c
29750--- linux-2.6.32.11/fs/dlm/lockspace.c 2010-03-15 11:52:04.000000000 -0400 30206--- linux-2.6.32.12/fs/dlm/lockspace.c 2010-03-15 11:52:04.000000000 -0400
29751+++ linux-2.6.32.11/fs/dlm/lockspace.c 2010-04-04 20:46:41.645781188 -0400 30207+++ linux-2.6.32.12/fs/dlm/lockspace.c 2010-04-04 20:46:41.645781188 -0400
29752@@ -148,7 +148,7 @@ static void lockspace_kobj_release(struc 30208@@ -148,7 +148,7 @@ static void lockspace_kobj_release(struc
29753 kfree(ls); 30209 kfree(ls);
29754 } 30210 }
@@ -29758,10 +30214,10 @@ diff -urNp linux-2.6.32.11/fs/dlm/lockspace.c linux-2.6.32.11/fs/dlm/lockspace.c
29758 .show = dlm_attr_show, 30214 .show = dlm_attr_show,
29759 .store = dlm_attr_store, 30215 .store = dlm_attr_store,
29760 }; 30216 };
29761diff -urNp linux-2.6.32.11/fs/ecryptfs/inode.c linux-2.6.32.11/fs/ecryptfs/inode.c 30217diff -urNp linux-2.6.32.12/fs/ecryptfs/inode.c linux-2.6.32.12/fs/ecryptfs/inode.c
29762--- linux-2.6.32.11/fs/ecryptfs/inode.c 2010-03-15 11:52:04.000000000 -0400 30218--- linux-2.6.32.12/fs/ecryptfs/inode.c 2010-04-29 17:49:38.429034237 -0400
29763+++ linux-2.6.32.11/fs/ecryptfs/inode.c 2010-04-04 20:46:41.645781188 -0400 30219+++ linux-2.6.32.12/fs/ecryptfs/inode.c 2010-04-29 17:49:58.465067636 -0400
29764@@ -676,7 +676,7 @@ ecryptfs_readlink(struct dentry *dentry, 30220@@ -655,7 +655,7 @@ static int ecryptfs_readlink_lower(struc
29765 old_fs = get_fs(); 30221 old_fs = get_fs();
29766 set_fs(get_ds()); 30222 set_fs(get_ds());
29767 rc = lower_dentry->d_inode->i_op->readlink(lower_dentry, 30223 rc = lower_dentry->d_inode->i_op->readlink(lower_dentry,
@@ -29769,8 +30225,8 @@ diff -urNp linux-2.6.32.11/fs/ecryptfs/inode.c linux-2.6.32.11/fs/ecryptfs/inode
29769+ (__force char __user *)lower_buf, 30225+ (__force char __user *)lower_buf,
29770 lower_bufsiz); 30226 lower_bufsiz);
29771 set_fs(old_fs); 30227 set_fs(old_fs);
29772 if (rc >= 0) { 30228 if (rc < 0)
29773@@ -720,7 +720,7 @@ static void *ecryptfs_follow_link(struct 30229@@ -701,7 +701,7 @@ static void *ecryptfs_follow_link(struct
29774 } 30230 }
29775 old_fs = get_fs(); 30231 old_fs = get_fs();
29776 set_fs(get_ds()); 30232 set_fs(get_ds());
@@ -29779,9 +30235,9 @@ diff -urNp linux-2.6.32.11/fs/ecryptfs/inode.c linux-2.6.32.11/fs/ecryptfs/inode
29779 set_fs(old_fs); 30235 set_fs(old_fs);
29780 if (rc < 0) 30236 if (rc < 0)
29781 goto out_free; 30237 goto out_free;
29782diff -urNp linux-2.6.32.11/fs/exec.c linux-2.6.32.11/fs/exec.c 30238diff -urNp linux-2.6.32.12/fs/exec.c linux-2.6.32.12/fs/exec.c
29783--- linux-2.6.32.11/fs/exec.c 2010-04-04 20:41:50.037938751 -0400 30239--- linux-2.6.32.12/fs/exec.c 2010-04-04 20:41:50.037938751 -0400
29784+++ linux-2.6.32.11/fs/exec.c 2010-04-04 20:46:41.645781188 -0400 30240+++ linux-2.6.32.12/fs/exec.c 2010-04-04 20:46:41.645781188 -0400
29785@@ -56,12 +56,24 @@ 30241@@ -56,12 +56,24 @@
29786 #include <linux/fsnotify.h> 30242 #include <linux/fsnotify.h>
29787 #include <linux/fs_struct.h> 30243 #include <linux/fs_struct.h>
@@ -30260,9 +30716,9 @@ diff -urNp linux-2.6.32.11/fs/exec.c linux-2.6.32.11/fs/exec.c
30260 /* 30716 /*
30261 * lock_kernel() because format_corename() is controlled by sysctl, which 30717 * lock_kernel() because format_corename() is controlled by sysctl, which
30262 * uses lock_kernel() 30718 * uses lock_kernel()
30263diff -urNp linux-2.6.32.11/fs/ext2/balloc.c linux-2.6.32.11/fs/ext2/balloc.c 30719diff -urNp linux-2.6.32.12/fs/ext2/balloc.c linux-2.6.32.12/fs/ext2/balloc.c
30264--- linux-2.6.32.11/fs/ext2/balloc.c 2010-03-15 11:52:04.000000000 -0400 30720--- linux-2.6.32.12/fs/ext2/balloc.c 2010-03-15 11:52:04.000000000 -0400
30265+++ linux-2.6.32.11/fs/ext2/balloc.c 2010-04-04 20:46:41.645781188 -0400 30721+++ linux-2.6.32.12/fs/ext2/balloc.c 2010-04-04 20:46:41.645781188 -0400
30266@@ -1192,7 +1192,7 @@ static int ext2_has_free_blocks(struct e 30722@@ -1192,7 +1192,7 @@ static int ext2_has_free_blocks(struct e
30267 30723
30268 free_blocks = percpu_counter_read_positive(&sbi->s_freeblocks_counter); 30724 free_blocks = percpu_counter_read_positive(&sbi->s_freeblocks_counter);
@@ -30272,9 +30728,23 @@ diff -urNp linux-2.6.32.11/fs/ext2/balloc.c linux-2.6.32.11/fs/ext2/balloc.c
30272 sbi->s_resuid != current_fsuid() && 30728 sbi->s_resuid != current_fsuid() &&
30273 (sbi->s_resgid == 0 || !in_group_p (sbi->s_resgid))) { 30729 (sbi->s_resgid == 0 || !in_group_p (sbi->s_resgid))) {
30274 return 0; 30730 return 0;
30275diff -urNp linux-2.6.32.11/fs/ext3/balloc.c linux-2.6.32.11/fs/ext3/balloc.c 30731diff -urNp linux-2.6.32.12/fs/ext2/xattr.c linux-2.6.32.12/fs/ext2/xattr.c
30276--- linux-2.6.32.11/fs/ext3/balloc.c 2010-03-15 11:52:04.000000000 -0400 30732--- linux-2.6.32.12/fs/ext2/xattr.c 2010-03-15 11:52:04.000000000 -0400
30277+++ linux-2.6.32.11/fs/ext3/balloc.c 2010-04-04 20:46:41.645781188 -0400 30733+++ linux-2.6.32.12/fs/ext2/xattr.c 2010-04-29 17:46:37.253252101 -0400
30734@@ -85,8 +85,8 @@
30735 printk("\n"); \
30736 } while (0)
30737 #else
30738-# define ea_idebug(f...)
30739-# define ea_bdebug(f...)
30740+# define ea_idebug(inode, f...) do {} while (0)
30741+# define ea_bdebug(bh, f...) do {} while (0)
30742 #endif
30743
30744 static int ext2_xattr_set2(struct inode *, struct buffer_head *,
30745diff -urNp linux-2.6.32.12/fs/ext3/balloc.c linux-2.6.32.12/fs/ext3/balloc.c
30746--- linux-2.6.32.12/fs/ext3/balloc.c 2010-03-15 11:52:04.000000000 -0400
30747+++ linux-2.6.32.12/fs/ext3/balloc.c 2010-04-04 20:46:41.645781188 -0400
30278@@ -1421,7 +1421,7 @@ static int ext3_has_free_blocks(struct e 30748@@ -1421,7 +1421,7 @@ static int ext3_has_free_blocks(struct e
30279 30749
30280 free_blocks = percpu_counter_read_positive(&sbi->s_freeblocks_counter); 30750 free_blocks = percpu_counter_read_positive(&sbi->s_freeblocks_counter);
@@ -30284,9 +30754,9 @@ diff -urNp linux-2.6.32.11/fs/ext3/balloc.c linux-2.6.32.11/fs/ext3/balloc.c
30284 sbi->s_resuid != current_fsuid() && 30754 sbi->s_resuid != current_fsuid() &&
30285 (sbi->s_resgid == 0 || !in_group_p (sbi->s_resgid))) { 30755 (sbi->s_resgid == 0 || !in_group_p (sbi->s_resgid))) {
30286 return 0; 30756 return 0;
30287diff -urNp linux-2.6.32.11/fs/ext3/namei.c linux-2.6.32.11/fs/ext3/namei.c 30757diff -urNp linux-2.6.32.12/fs/ext3/namei.c linux-2.6.32.12/fs/ext3/namei.c
30288--- linux-2.6.32.11/fs/ext3/namei.c 2010-03-15 11:52:04.000000000 -0400 30758--- linux-2.6.32.12/fs/ext3/namei.c 2010-03-15 11:52:04.000000000 -0400
30289+++ linux-2.6.32.11/fs/ext3/namei.c 2010-04-04 20:46:41.649500937 -0400 30759+++ linux-2.6.32.12/fs/ext3/namei.c 2010-04-04 20:46:41.649500937 -0400
30290@@ -1168,7 +1168,7 @@ static struct ext3_dir_entry_2 *do_split 30760@@ -1168,7 +1168,7 @@ static struct ext3_dir_entry_2 *do_split
30291 char *data1 = (*bh)->b_data, *data2; 30761 char *data1 = (*bh)->b_data, *data2;
30292 unsigned split, move, size; 30762 unsigned split, move, size;
@@ -30296,9 +30766,9 @@ diff -urNp linux-2.6.32.11/fs/ext3/namei.c linux-2.6.32.11/fs/ext3/namei.c
30296 30766
30297 bh2 = ext3_append (handle, dir, &newblock, &err); 30767 bh2 = ext3_append (handle, dir, &newblock, &err);
30298 if (!(bh2)) { 30768 if (!(bh2)) {
30299diff -urNp linux-2.6.32.11/fs/ext3/xattr.c linux-2.6.32.11/fs/ext3/xattr.c 30769diff -urNp linux-2.6.32.12/fs/ext3/xattr.c linux-2.6.32.12/fs/ext3/xattr.c
30300--- linux-2.6.32.11/fs/ext3/xattr.c 2010-03-15 11:52:04.000000000 -0400 30770--- linux-2.6.32.12/fs/ext3/xattr.c 2010-04-29 17:49:38.429034237 -0400
30301+++ linux-2.6.32.11/fs/ext3/xattr.c 2010-04-04 20:46:41.649500937 -0400 30771+++ linux-2.6.32.12/fs/ext3/xattr.c 2010-04-29 17:49:58.485032679 -0400
30302@@ -89,8 +89,8 @@ 30772@@ -89,8 +89,8 @@
30303 printk("\n"); \ 30773 printk("\n"); \
30304 } while (0) 30774 } while (0)
@@ -30310,9 +30780,9 @@ diff -urNp linux-2.6.32.11/fs/ext3/xattr.c linux-2.6.32.11/fs/ext3/xattr.c
30310 #endif 30780 #endif
30311 30781
30312 static void ext3_xattr_cache_insert(struct buffer_head *); 30782 static void ext3_xattr_cache_insert(struct buffer_head *);
30313diff -urNp linux-2.6.32.11/fs/ext4/balloc.c linux-2.6.32.11/fs/ext4/balloc.c 30783diff -urNp linux-2.6.32.12/fs/ext4/balloc.c linux-2.6.32.12/fs/ext4/balloc.c
30314--- linux-2.6.32.11/fs/ext4/balloc.c 2010-03-15 11:52:04.000000000 -0400 30784--- linux-2.6.32.12/fs/ext4/balloc.c 2010-03-15 11:52:04.000000000 -0400
30315+++ linux-2.6.32.11/fs/ext4/balloc.c 2010-04-04 20:46:41.649500937 -0400 30785+++ linux-2.6.32.12/fs/ext4/balloc.c 2010-04-04 20:46:41.649500937 -0400
30316@@ -573,7 +573,7 @@ int ext4_has_free_blocks(struct ext4_sb_ 30786@@ -573,7 +573,7 @@ int ext4_has_free_blocks(struct ext4_sb_
30317 /* Hm, nope. Are (enough) root reserved blocks available? */ 30787 /* Hm, nope. Are (enough) root reserved blocks available? */
30318 if (sbi->s_resuid == current_fsuid() || 30788 if (sbi->s_resuid == current_fsuid() ||
@@ -30322,9 +30792,9 @@ diff -urNp linux-2.6.32.11/fs/ext4/balloc.c linux-2.6.32.11/fs/ext4/balloc.c
30322 if (free_blocks >= (nblocks + dirty_blocks)) 30792 if (free_blocks >= (nblocks + dirty_blocks))
30323 return 1; 30793 return 1;
30324 } 30794 }
30325diff -urNp linux-2.6.32.11/fs/ext4/ioctl.c linux-2.6.32.11/fs/ext4/ioctl.c 30795diff -urNp linux-2.6.32.12/fs/ext4/ioctl.c linux-2.6.32.12/fs/ext4/ioctl.c
30326--- linux-2.6.32.11/fs/ext4/ioctl.c 2010-03-15 11:52:04.000000000 -0400 30796--- linux-2.6.32.12/fs/ext4/ioctl.c 2010-03-15 11:52:04.000000000 -0400
30327+++ linux-2.6.32.11/fs/ext4/ioctl.c 2010-04-04 20:46:41.649500937 -0400 30797+++ linux-2.6.32.12/fs/ext4/ioctl.c 2010-04-04 20:46:41.649500937 -0400
30328@@ -221,6 +221,9 @@ setversion_out: 30798@@ -221,6 +221,9 @@ setversion_out:
30329 struct file *donor_filp; 30799 struct file *donor_filp;
30330 int err; 30800 int err;
@@ -30335,9 +30805,9 @@ diff -urNp linux-2.6.32.11/fs/ext4/ioctl.c linux-2.6.32.11/fs/ext4/ioctl.c
30335 if (!(filp->f_mode & FMODE_READ) || 30805 if (!(filp->f_mode & FMODE_READ) ||
30336 !(filp->f_mode & FMODE_WRITE)) 30806 !(filp->f_mode & FMODE_WRITE))
30337 return -EBADF; 30807 return -EBADF;
30338diff -urNp linux-2.6.32.11/fs/ext4/namei.c linux-2.6.32.11/fs/ext4/namei.c 30808diff -urNp linux-2.6.32.12/fs/ext4/namei.c linux-2.6.32.12/fs/ext4/namei.c
30339--- linux-2.6.32.11/fs/ext4/namei.c 2010-03-15 11:52:04.000000000 -0400 30809--- linux-2.6.32.12/fs/ext4/namei.c 2010-03-15 11:52:04.000000000 -0400
30340+++ linux-2.6.32.11/fs/ext4/namei.c 2010-04-04 20:46:41.649500937 -0400 30810+++ linux-2.6.32.12/fs/ext4/namei.c 2010-04-04 20:46:41.649500937 -0400
30341@@ -1203,7 +1203,7 @@ static struct ext4_dir_entry_2 *do_split 30811@@ -1203,7 +1203,7 @@ static struct ext4_dir_entry_2 *do_split
30342 char *data1 = (*bh)->b_data, *data2; 30812 char *data1 = (*bh)->b_data, *data2;
30343 unsigned split, move, size; 30813 unsigned split, move, size;
@@ -30347,9 +30817,9 @@ diff -urNp linux-2.6.32.11/fs/ext4/namei.c linux-2.6.32.11/fs/ext4/namei.c
30347 30817
30348 bh2 = ext4_append (handle, dir, &newblock, &err); 30818 bh2 = ext4_append (handle, dir, &newblock, &err);
30349 if (!(bh2)) { 30819 if (!(bh2)) {
30350diff -urNp linux-2.6.32.11/fs/ext4/super.c linux-2.6.32.11/fs/ext4/super.c 30820diff -urNp linux-2.6.32.12/fs/ext4/super.c linux-2.6.32.12/fs/ext4/super.c
30351--- linux-2.6.32.11/fs/ext4/super.c 2010-03-15 11:52:04.000000000 -0400 30821--- linux-2.6.32.12/fs/ext4/super.c 2010-03-15 11:52:04.000000000 -0400
30352+++ linux-2.6.32.11/fs/ext4/super.c 2010-04-04 20:46:41.649500937 -0400 30822+++ linux-2.6.32.12/fs/ext4/super.c 2010-04-04 20:46:41.649500937 -0400
30353@@ -2276,7 +2276,7 @@ static void ext4_sb_release(struct kobje 30823@@ -2276,7 +2276,7 @@ static void ext4_sb_release(struct kobje
30354 } 30824 }
30355 30825
@@ -30359,9 +30829,23 @@ diff -urNp linux-2.6.32.11/fs/ext4/super.c linux-2.6.32.11/fs/ext4/super.c
30359 .show = ext4_attr_show, 30829 .show = ext4_attr_show,
30360 .store = ext4_attr_store, 30830 .store = ext4_attr_store,
30361 }; 30831 };
30362diff -urNp linux-2.6.32.11/fs/fcntl.c linux-2.6.32.11/fs/fcntl.c 30832diff -urNp linux-2.6.32.12/fs/ext4/xattr.c linux-2.6.32.12/fs/ext4/xattr.c
30363--- linux-2.6.32.11/fs/fcntl.c 2010-03-15 11:52:04.000000000 -0400 30833--- linux-2.6.32.12/fs/ext4/xattr.c 2010-03-15 11:52:04.000000000 -0400
30364+++ linux-2.6.32.11/fs/fcntl.c 2010-04-04 20:46:41.649500937 -0400 30834+++ linux-2.6.32.12/fs/ext4/xattr.c 2010-04-29 17:46:37.279760502 -0400
30835@@ -82,8 +82,8 @@
30836 printk("\n"); \
30837 } while (0)
30838 #else
30839-# define ea_idebug(f...)
30840-# define ea_bdebug(f...)
30841+# define ea_idebug(inode, f...) do {} while (0)
30842+# define ea_bdebug(bh, f...) do {} while (0)
30843 #endif
30844
30845 static void ext4_xattr_cache_insert(struct buffer_head *);
30846diff -urNp linux-2.6.32.12/fs/fcntl.c linux-2.6.32.12/fs/fcntl.c
30847--- linux-2.6.32.12/fs/fcntl.c 2010-03-15 11:52:04.000000000 -0400
30848+++ linux-2.6.32.12/fs/fcntl.c 2010-04-04 20:46:41.649500937 -0400
30365@@ -344,6 +344,7 @@ static long do_fcntl(int fd, unsigned in 30849@@ -344,6 +344,7 @@ static long do_fcntl(int fd, unsigned in
30366 switch (cmd) { 30850 switch (cmd) {
30367 case F_DUPFD: 30851 case F_DUPFD:
@@ -30380,9 +30864,9 @@ diff -urNp linux-2.6.32.11/fs/fcntl.c linux-2.6.32.11/fs/fcntl.c
30380 rcu_read_unlock(); 30864 rcu_read_unlock();
30381 return ret; 30865 return ret;
30382 } 30866 }
30383diff -urNp linux-2.6.32.11/fs/fifo.c linux-2.6.32.11/fs/fifo.c 30867diff -urNp linux-2.6.32.12/fs/fifo.c linux-2.6.32.12/fs/fifo.c
30384--- linux-2.6.32.11/fs/fifo.c 2010-03-15 11:52:04.000000000 -0400 30868--- linux-2.6.32.12/fs/fifo.c 2010-03-15 11:52:04.000000000 -0400
30385+++ linux-2.6.32.11/fs/fifo.c 2010-04-04 20:46:41.649500937 -0400 30869+++ linux-2.6.32.12/fs/fifo.c 2010-04-04 20:46:41.649500937 -0400
30386@@ -59,10 +59,10 @@ static int fifo_open(struct inode *inode 30870@@ -59,10 +59,10 @@ static int fifo_open(struct inode *inode
30387 */ 30871 */
30388 filp->f_op = &read_pipefifo_fops; 30872 filp->f_op = &read_pipefifo_fops;
@@ -30453,9 +30937,9 @@ diff -urNp linux-2.6.32.11/fs/fifo.c linux-2.6.32.11/fs/fifo.c
30453 free_pipe_info(inode); 30937 free_pipe_info(inode);
30454 30938
30455 err_nocleanup: 30939 err_nocleanup:
30456diff -urNp linux-2.6.32.11/fs/file.c linux-2.6.32.11/fs/file.c 30940diff -urNp linux-2.6.32.12/fs/file.c linux-2.6.32.12/fs/file.c
30457--- linux-2.6.32.11/fs/file.c 2010-03-15 11:52:04.000000000 -0400 30941--- linux-2.6.32.12/fs/file.c 2010-03-15 11:52:04.000000000 -0400
30458+++ linux-2.6.32.11/fs/file.c 2010-04-04 20:46:41.649500937 -0400 30942+++ linux-2.6.32.12/fs/file.c 2010-04-04 20:46:41.649500937 -0400
30459@@ -14,6 +14,7 @@ 30943@@ -14,6 +14,7 @@
30460 #include <linux/slab.h> 30944 #include <linux/slab.h>
30461 #include <linux/vmalloc.h> 30945 #include <linux/vmalloc.h>
@@ -30473,9 +30957,9 @@ diff -urNp linux-2.6.32.11/fs/file.c linux-2.6.32.11/fs/file.c
30473 if (nr >= current->signal->rlim[RLIMIT_NOFILE].rlim_cur) 30957 if (nr >= current->signal->rlim[RLIMIT_NOFILE].rlim_cur)
30474 return -EMFILE; 30958 return -EMFILE;
30475 30959
30476diff -urNp linux-2.6.32.11/fs/fs_struct.c linux-2.6.32.11/fs/fs_struct.c 30960diff -urNp linux-2.6.32.12/fs/fs_struct.c linux-2.6.32.12/fs/fs_struct.c
30477--- linux-2.6.32.11/fs/fs_struct.c 2010-03-15 11:52:04.000000000 -0400 30961--- linux-2.6.32.12/fs/fs_struct.c 2010-03-15 11:52:04.000000000 -0400
30478+++ linux-2.6.32.11/fs/fs_struct.c 2010-04-04 20:46:41.649500937 -0400 30962+++ linux-2.6.32.12/fs/fs_struct.c 2010-04-04 20:46:41.649500937 -0400
30479@@ -45,10 +45,12 @@ void chroot_fs_refs(struct path *old_roo 30963@@ -45,10 +45,12 @@ void chroot_fs_refs(struct path *old_roo
30480 struct task_struct *g, *p; 30964 struct task_struct *g, *p;
30481 struct fs_struct *fs; 30965 struct fs_struct *fs;
@@ -30580,9 +31064,9 @@ diff -urNp linux-2.6.32.11/fs/fs_struct.c linux-2.6.32.11/fs/fs_struct.c
30580 31064
30581 task_unlock(current); 31065 task_unlock(current);
30582 if (kill) 31066 if (kill)
30583diff -urNp linux-2.6.32.11/fs/fuse/control.c linux-2.6.32.11/fs/fuse/control.c 31067diff -urNp linux-2.6.32.12/fs/fuse/control.c linux-2.6.32.12/fs/fuse/control.c
30584--- linux-2.6.32.11/fs/fuse/control.c 2010-03-15 11:52:04.000000000 -0400 31068--- linux-2.6.32.12/fs/fuse/control.c 2010-03-15 11:52:04.000000000 -0400
30585+++ linux-2.6.32.11/fs/fuse/control.c 2010-04-04 20:46:41.649500937 -0400 31069+++ linux-2.6.32.12/fs/fuse/control.c 2010-04-04 20:46:41.649500937 -0400
30586@@ -293,7 +293,7 @@ void fuse_ctl_remove_conn(struct fuse_co 31070@@ -293,7 +293,7 @@ void fuse_ctl_remove_conn(struct fuse_co
30587 31071
30588 static int fuse_ctl_fill_super(struct super_block *sb, void *data, int silent) 31072 static int fuse_ctl_fill_super(struct super_block *sb, void *data, int silent)
@@ -30592,9 +31076,9 @@ diff -urNp linux-2.6.32.11/fs/fuse/control.c linux-2.6.32.11/fs/fuse/control.c
30592 struct fuse_conn *fc; 31076 struct fuse_conn *fc;
30593 int err; 31077 int err;
30594 31078
30595diff -urNp linux-2.6.32.11/fs/fuse/cuse.c linux-2.6.32.11/fs/fuse/cuse.c 31079diff -urNp linux-2.6.32.12/fs/fuse/cuse.c linux-2.6.32.12/fs/fuse/cuse.c
30596--- linux-2.6.32.11/fs/fuse/cuse.c 2010-03-15 11:52:04.000000000 -0400 31080--- linux-2.6.32.12/fs/fuse/cuse.c 2010-03-15 11:52:04.000000000 -0400
30597+++ linux-2.6.32.11/fs/fuse/cuse.c 2010-04-04 20:46:41.649500937 -0400 31081+++ linux-2.6.32.12/fs/fuse/cuse.c 2010-04-04 20:46:41.649500937 -0400
30598@@ -528,8 +528,18 @@ static int cuse_channel_release(struct i 31082@@ -528,8 +528,18 @@ static int cuse_channel_release(struct i
30599 return rc; 31083 return rc;
30600 } 31084 }
@@ -30629,9 +31113,9 @@ diff -urNp linux-2.6.32.11/fs/fuse/cuse.c linux-2.6.32.11/fs/fuse/cuse.c
30629 cuse_class = class_create(THIS_MODULE, "cuse"); 31113 cuse_class = class_create(THIS_MODULE, "cuse");
30630 if (IS_ERR(cuse_class)) 31114 if (IS_ERR(cuse_class))
30631 return PTR_ERR(cuse_class); 31115 return PTR_ERR(cuse_class);
30632diff -urNp linux-2.6.32.11/fs/fuse/dev.c linux-2.6.32.11/fs/fuse/dev.c 31116diff -urNp linux-2.6.32.12/fs/fuse/dev.c linux-2.6.32.12/fs/fuse/dev.c
30633--- linux-2.6.32.11/fs/fuse/dev.c 2010-03-15 11:52:04.000000000 -0400 31117--- linux-2.6.32.12/fs/fuse/dev.c 2010-03-15 11:52:04.000000000 -0400
30634+++ linux-2.6.32.11/fs/fuse/dev.c 2010-04-04 20:46:41.649500937 -0400 31118+++ linux-2.6.32.12/fs/fuse/dev.c 2010-04-04 20:46:41.649500937 -0400
30635@@ -745,7 +745,7 @@ __releases(&fc->lock) 31119@@ -745,7 +745,7 @@ __releases(&fc->lock)
30636 * request_end(). Otherwise add it to the processing list, and set 31120 * request_end(). Otherwise add it to the processing list, and set
30637 * the 'sent' flag. 31121 * the 'sent' flag.
@@ -30737,9 +31221,9 @@ diff -urNp linux-2.6.32.11/fs/fuse/dev.c linux-2.6.32.11/fs/fuse/dev.c
30737 31221
30738 const struct file_operations fuse_dev_operations = { 31222 const struct file_operations fuse_dev_operations = {
30739 .owner = THIS_MODULE, 31223 .owner = THIS_MODULE,
30740diff -urNp linux-2.6.32.11/fs/fuse/dir.c linux-2.6.32.11/fs/fuse/dir.c 31224diff -urNp linux-2.6.32.12/fs/fuse/dir.c linux-2.6.32.12/fs/fuse/dir.c
30741--- linux-2.6.32.11/fs/fuse/dir.c 2010-03-15 11:52:04.000000000 -0400 31225--- linux-2.6.32.12/fs/fuse/dir.c 2010-03-15 11:52:04.000000000 -0400
30742+++ linux-2.6.32.11/fs/fuse/dir.c 2010-04-04 20:46:41.649500937 -0400 31226+++ linux-2.6.32.12/fs/fuse/dir.c 2010-04-04 20:46:41.649500937 -0400
30743@@ -1127,7 +1127,7 @@ static char *read_link(struct dentry *de 31227@@ -1127,7 +1127,7 @@ static char *read_link(struct dentry *de
30744 return link; 31228 return link;
30745 } 31229 }
@@ -30749,9 +31233,9 @@ diff -urNp linux-2.6.32.11/fs/fuse/dir.c linux-2.6.32.11/fs/fuse/dir.c
30749 { 31233 {
30750 if (!IS_ERR(link)) 31234 if (!IS_ERR(link))
30751 free_page((unsigned long) link); 31235 free_page((unsigned long) link);
30752diff -urNp linux-2.6.32.11/fs/fuse/fuse_i.h linux-2.6.32.11/fs/fuse/fuse_i.h 31236diff -urNp linux-2.6.32.12/fs/fuse/fuse_i.h linux-2.6.32.12/fs/fuse/fuse_i.h
30753--- linux-2.6.32.11/fs/fuse/fuse_i.h 2010-03-15 11:52:04.000000000 -0400 31237--- linux-2.6.32.12/fs/fuse/fuse_i.h 2010-03-15 11:52:04.000000000 -0400
30754+++ linux-2.6.32.11/fs/fuse/fuse_i.h 2010-04-04 20:46:41.649500937 -0400 31238+++ linux-2.6.32.12/fs/fuse/fuse_i.h 2010-04-04 20:46:41.649500937 -0400
30755@@ -521,6 +521,16 @@ extern const struct file_operations fuse 31239@@ -521,6 +521,16 @@ extern const struct file_operations fuse
30756 31240
30757 extern const struct dentry_operations fuse_dentry_operations; 31241 extern const struct dentry_operations fuse_dentry_operations;
@@ -30769,9 +31253,9 @@ diff -urNp linux-2.6.32.11/fs/fuse/fuse_i.h linux-2.6.32.11/fs/fuse/fuse_i.h
30769 /** 31253 /**
30770 * Inode to nodeid comparison. 31254 * Inode to nodeid comparison.
30771 */ 31255 */
30772diff -urNp linux-2.6.32.11/fs/gfs2/sys.c linux-2.6.32.11/fs/gfs2/sys.c 31256diff -urNp linux-2.6.32.12/fs/gfs2/sys.c linux-2.6.32.12/fs/gfs2/sys.c
30773--- linux-2.6.32.11/fs/gfs2/sys.c 2010-03-15 11:52:04.000000000 -0400 31257--- linux-2.6.32.12/fs/gfs2/sys.c 2010-03-15 11:52:04.000000000 -0400
30774+++ linux-2.6.32.11/fs/gfs2/sys.c 2010-04-04 20:46:41.649500937 -0400 31258+++ linux-2.6.32.12/fs/gfs2/sys.c 2010-04-04 20:46:41.649500937 -0400
30775@@ -49,7 +49,7 @@ static ssize_t gfs2_attr_store(struct ko 31259@@ -49,7 +49,7 @@ static ssize_t gfs2_attr_store(struct ko
30776 return a->store ? a->store(sdp, buf, len) : len; 31260 return a->store ? a->store(sdp, buf, len) : len;
30777 } 31261 }
@@ -30790,9 +31274,9 @@ diff -urNp linux-2.6.32.11/fs/gfs2/sys.c linux-2.6.32.11/fs/gfs2/sys.c
30790 .uevent = gfs2_uevent, 31274 .uevent = gfs2_uevent,
30791 }; 31275 };
30792 31276
30793diff -urNp linux-2.6.32.11/fs/hfs/inode.c linux-2.6.32.11/fs/hfs/inode.c 31277diff -urNp linux-2.6.32.12/fs/hfs/inode.c linux-2.6.32.12/fs/hfs/inode.c
30794--- linux-2.6.32.11/fs/hfs/inode.c 2010-03-15 11:52:04.000000000 -0400 31278--- linux-2.6.32.12/fs/hfs/inode.c 2010-03-15 11:52:04.000000000 -0400
30795+++ linux-2.6.32.11/fs/hfs/inode.c 2010-04-04 20:46:41.653544810 -0400 31279+++ linux-2.6.32.12/fs/hfs/inode.c 2010-04-04 20:46:41.653544810 -0400
30796@@ -423,7 +423,7 @@ int hfs_write_inode(struct inode *inode, 31280@@ -423,7 +423,7 @@ int hfs_write_inode(struct inode *inode,
30797 31281
30798 if (S_ISDIR(main_inode->i_mode)) { 31282 if (S_ISDIR(main_inode->i_mode)) {
@@ -30811,9 +31295,9 @@ diff -urNp linux-2.6.32.11/fs/hfs/inode.c linux-2.6.32.11/fs/hfs/inode.c
30811 hfs_bnode_read(fd.bnode, &rec, fd.entryoffset, 31295 hfs_bnode_read(fd.bnode, &rec, fd.entryoffset,
30812 sizeof(struct hfs_cat_file)); 31296 sizeof(struct hfs_cat_file));
30813 if (rec.type != HFS_CDR_FIL || 31297 if (rec.type != HFS_CDR_FIL ||
30814diff -urNp linux-2.6.32.11/fs/hfsplus/inode.c linux-2.6.32.11/fs/hfsplus/inode.c 31298diff -urNp linux-2.6.32.12/fs/hfsplus/inode.c linux-2.6.32.12/fs/hfsplus/inode.c
30815--- linux-2.6.32.11/fs/hfsplus/inode.c 2010-03-15 11:52:04.000000000 -0400 31299--- linux-2.6.32.12/fs/hfsplus/inode.c 2010-03-15 11:52:04.000000000 -0400
30816+++ linux-2.6.32.11/fs/hfsplus/inode.c 2010-04-04 20:46:41.653544810 -0400 31300+++ linux-2.6.32.12/fs/hfsplus/inode.c 2010-04-04 20:46:41.653544810 -0400
30817@@ -406,7 +406,7 @@ int hfsplus_cat_read_inode(struct inode 31301@@ -406,7 +406,7 @@ int hfsplus_cat_read_inode(struct inode
30818 struct hfsplus_cat_folder *folder = &entry.folder; 31302 struct hfsplus_cat_folder *folder = &entry.folder;
30819 31303
@@ -30850,9 +31334,9 @@ diff -urNp linux-2.6.32.11/fs/hfsplus/inode.c linux-2.6.32.11/fs/hfsplus/inode.c
30850 hfs_bnode_read(fd.bnode, &entry, fd.entryoffset, 31334 hfs_bnode_read(fd.bnode, &entry, fd.entryoffset,
30851 sizeof(struct hfsplus_cat_file)); 31335 sizeof(struct hfsplus_cat_file));
30852 hfsplus_inode_write_fork(inode, &file->data_fork); 31336 hfsplus_inode_write_fork(inode, &file->data_fork);
30853diff -urNp linux-2.6.32.11/fs/hugetlbfs/inode.c linux-2.6.32.11/fs/hugetlbfs/inode.c 31337diff -urNp linux-2.6.32.12/fs/hugetlbfs/inode.c linux-2.6.32.12/fs/hugetlbfs/inode.c
30854--- linux-2.6.32.11/fs/hugetlbfs/inode.c 2010-03-15 11:52:04.000000000 -0400 31338--- linux-2.6.32.12/fs/hugetlbfs/inode.c 2010-03-15 11:52:04.000000000 -0400
30855+++ linux-2.6.32.11/fs/hugetlbfs/inode.c 2010-04-06 22:13:08.677504702 -0400 31339+++ linux-2.6.32.12/fs/hugetlbfs/inode.c 2010-04-06 22:13:08.677504702 -0400
30856@@ -909,7 +909,7 @@ static struct file_system_type hugetlbfs 31340@@ -909,7 +909,7 @@ static struct file_system_type hugetlbfs
30857 .kill_sb = kill_litter_super, 31341 .kill_sb = kill_litter_super,
30858 }; 31342 };
@@ -30862,9 +31346,9 @@ diff -urNp linux-2.6.32.11/fs/hugetlbfs/inode.c linux-2.6.32.11/fs/hugetlbfs/ino
30862 31346
30863 static int can_do_hugetlb_shm(void) 31347 static int can_do_hugetlb_shm(void)
30864 { 31348 {
30865diff -urNp linux-2.6.32.11/fs/ioctl.c linux-2.6.32.11/fs/ioctl.c 31349diff -urNp linux-2.6.32.12/fs/ioctl.c linux-2.6.32.12/fs/ioctl.c
30866--- linux-2.6.32.11/fs/ioctl.c 2010-03-15 11:52:04.000000000 -0400 31350--- linux-2.6.32.12/fs/ioctl.c 2010-03-15 11:52:04.000000000 -0400
30867+++ linux-2.6.32.11/fs/ioctl.c 2010-04-04 20:46:41.653544810 -0400 31351+++ linux-2.6.32.12/fs/ioctl.c 2010-04-04 20:46:41.653544810 -0400
30868@@ -97,7 +97,7 @@ int fiemap_fill_next_extent(struct fiema 31352@@ -97,7 +97,7 @@ int fiemap_fill_next_extent(struct fiema
30869 u64 phys, u64 len, u32 flags) 31353 u64 phys, u64 len, u32 flags)
30870 { 31354 {
@@ -30892,9 +31376,9 @@ diff -urNp linux-2.6.32.11/fs/ioctl.c linux-2.6.32.11/fs/ioctl.c
30892 error = -EFAULT; 31376 error = -EFAULT;
30893 31377
30894 return error; 31378 return error;
30895diff -urNp linux-2.6.32.11/fs/jffs2/debug.h linux-2.6.32.11/fs/jffs2/debug.h 31379diff -urNp linux-2.6.32.12/fs/jffs2/debug.h linux-2.6.32.12/fs/jffs2/debug.h
30896--- linux-2.6.32.11/fs/jffs2/debug.h 2010-03-15 11:52:04.000000000 -0400 31380--- linux-2.6.32.12/fs/jffs2/debug.h 2010-03-15 11:52:04.000000000 -0400
30897+++ linux-2.6.32.11/fs/jffs2/debug.h 2010-04-04 20:46:41.653544810 -0400 31381+++ linux-2.6.32.12/fs/jffs2/debug.h 2010-04-04 20:46:41.653544810 -0400
30898@@ -52,13 +52,13 @@ 31382@@ -52,13 +52,13 @@
30899 #if CONFIG_JFFS2_FS_DEBUG > 0 31383 #if CONFIG_JFFS2_FS_DEBUG > 0
30900 #define D1(x) x 31384 #define D1(x) x
@@ -30996,9 +31480,9 @@ diff -urNp linux-2.6.32.11/fs/jffs2/debug.h linux-2.6.32.11/fs/jffs2/debug.h
30996 #endif 31480 #endif
30997 31481
30998 /* "Sanity" checks */ 31482 /* "Sanity" checks */
30999diff -urNp linux-2.6.32.11/fs/jffs2/erase.c linux-2.6.32.11/fs/jffs2/erase.c 31483diff -urNp linux-2.6.32.12/fs/jffs2/erase.c linux-2.6.32.12/fs/jffs2/erase.c
31000--- linux-2.6.32.11/fs/jffs2/erase.c 2010-03-15 11:52:04.000000000 -0400 31484--- linux-2.6.32.12/fs/jffs2/erase.c 2010-03-15 11:52:04.000000000 -0400
31001+++ linux-2.6.32.11/fs/jffs2/erase.c 2010-04-04 20:46:41.653544810 -0400 31485+++ linux-2.6.32.12/fs/jffs2/erase.c 2010-04-04 20:46:41.653544810 -0400
31002@@ -434,7 +434,8 @@ static void jffs2_mark_erased_block(stru 31486@@ -434,7 +434,8 @@ static void jffs2_mark_erased_block(stru
31003 struct jffs2_unknown_node marker = { 31487 struct jffs2_unknown_node marker = {
31004 .magic = cpu_to_je16(JFFS2_MAGIC_BITMASK), 31488 .magic = cpu_to_je16(JFFS2_MAGIC_BITMASK),
@@ -31009,9 +31493,9 @@ diff -urNp linux-2.6.32.11/fs/jffs2/erase.c linux-2.6.32.11/fs/jffs2/erase.c
31009 }; 31493 };
31010 31494
31011 jffs2_prealloc_raw_node_refs(c, jeb, 1); 31495 jffs2_prealloc_raw_node_refs(c, jeb, 1);
31012diff -urNp linux-2.6.32.11/fs/jffs2/summary.h linux-2.6.32.11/fs/jffs2/summary.h 31496diff -urNp linux-2.6.32.12/fs/jffs2/summary.h linux-2.6.32.12/fs/jffs2/summary.h
31013--- linux-2.6.32.11/fs/jffs2/summary.h 2010-03-15 11:52:04.000000000 -0400 31497--- linux-2.6.32.12/fs/jffs2/summary.h 2010-03-15 11:52:04.000000000 -0400
31014+++ linux-2.6.32.11/fs/jffs2/summary.h 2010-04-04 20:46:41.653544810 -0400 31498+++ linux-2.6.32.12/fs/jffs2/summary.h 2010-04-04 20:46:41.653544810 -0400
31015@@ -194,18 +194,18 @@ int jffs2_sum_scan_sumnode(struct jffs2_ 31499@@ -194,18 +194,18 @@ int jffs2_sum_scan_sumnode(struct jffs2_
31016 31500
31017 #define jffs2_sum_active() (0) 31501 #define jffs2_sum_active() (0)
@@ -31040,9 +31524,9 @@ diff -urNp linux-2.6.32.11/fs/jffs2/summary.h linux-2.6.32.11/fs/jffs2/summary.h
31040 #define jffs2_sum_scan_sumnode(a,b,c,d,e) (0) 31524 #define jffs2_sum_scan_sumnode(a,b,c,d,e) (0)
31041 31525
31042 #endif /* CONFIG_JFFS2_SUMMARY */ 31526 #endif /* CONFIG_JFFS2_SUMMARY */
31043diff -urNp linux-2.6.32.11/fs/jffs2/wbuf.c linux-2.6.32.11/fs/jffs2/wbuf.c 31527diff -urNp linux-2.6.32.12/fs/jffs2/wbuf.c linux-2.6.32.12/fs/jffs2/wbuf.c
31044--- linux-2.6.32.11/fs/jffs2/wbuf.c 2010-03-15 11:52:04.000000000 -0400 31528--- linux-2.6.32.12/fs/jffs2/wbuf.c 2010-03-15 11:52:04.000000000 -0400
31045+++ linux-2.6.32.11/fs/jffs2/wbuf.c 2010-04-04 20:46:41.653544810 -0400 31529+++ linux-2.6.32.12/fs/jffs2/wbuf.c 2010-04-04 20:46:41.653544810 -0400
31046@@ -1012,7 +1012,8 @@ static const struct jffs2_unknown_node o 31530@@ -1012,7 +1012,8 @@ static const struct jffs2_unknown_node o
31047 { 31531 {
31048 .magic = constant_cpu_to_je16(JFFS2_MAGIC_BITMASK), 31532 .magic = constant_cpu_to_je16(JFFS2_MAGIC_BITMASK),
@@ -31053,9 +31537,9 @@ diff -urNp linux-2.6.32.11/fs/jffs2/wbuf.c linux-2.6.32.11/fs/jffs2/wbuf.c
31053 }; 31537 };
31054 31538
31055 /* 31539 /*
31056diff -urNp linux-2.6.32.11/fs/lockd/svc.c linux-2.6.32.11/fs/lockd/svc.c 31540diff -urNp linux-2.6.32.12/fs/lockd/svc.c linux-2.6.32.12/fs/lockd/svc.c
31057--- linux-2.6.32.11/fs/lockd/svc.c 2010-03-15 11:52:04.000000000 -0400 31541--- linux-2.6.32.12/fs/lockd/svc.c 2010-03-15 11:52:04.000000000 -0400
31058+++ linux-2.6.32.11/fs/lockd/svc.c 2010-04-04 20:46:41.653544810 -0400 31542+++ linux-2.6.32.12/fs/lockd/svc.c 2010-04-04 20:46:41.653544810 -0400
31059@@ -43,7 +43,7 @@ 31543@@ -43,7 +43,7 @@
31060 31544
31061 static struct svc_program nlmsvc_program; 31545 static struct svc_program nlmsvc_program;
@@ -31065,9 +31549,9 @@ diff -urNp linux-2.6.32.11/fs/lockd/svc.c linux-2.6.32.11/fs/lockd/svc.c
31065 EXPORT_SYMBOL_GPL(nlmsvc_ops); 31549 EXPORT_SYMBOL_GPL(nlmsvc_ops);
31066 31550
31067 static DEFINE_MUTEX(nlmsvc_mutex); 31551 static DEFINE_MUTEX(nlmsvc_mutex);
31068diff -urNp linux-2.6.32.11/fs/locks.c linux-2.6.32.11/fs/locks.c 31552diff -urNp linux-2.6.32.12/fs/locks.c linux-2.6.32.12/fs/locks.c
31069--- linux-2.6.32.11/fs/locks.c 2010-03-15 11:52:04.000000000 -0400 31553--- linux-2.6.32.12/fs/locks.c 2010-03-15 11:52:04.000000000 -0400
31070+++ linux-2.6.32.11/fs/locks.c 2010-04-04 20:46:41.653544810 -0400 31554+++ linux-2.6.32.12/fs/locks.c 2010-04-04 20:46:41.653544810 -0400
31071@@ -2007,16 +2007,16 @@ void locks_remove_flock(struct file *fil 31555@@ -2007,16 +2007,16 @@ void locks_remove_flock(struct file *fil
31072 return; 31556 return;
31073 31557
@@ -31089,9 +31573,9 @@ diff -urNp linux-2.6.32.11/fs/locks.c linux-2.6.32.11/fs/locks.c
31089 } 31573 }
31090 31574
31091 lock_kernel(); 31575 lock_kernel();
31092diff -urNp linux-2.6.32.11/fs/namei.c linux-2.6.32.11/fs/namei.c 31576diff -urNp linux-2.6.32.12/fs/namei.c linux-2.6.32.12/fs/namei.c
31093--- linux-2.6.32.11/fs/namei.c 2010-03-15 11:52:04.000000000 -0400 31577--- linux-2.6.32.12/fs/namei.c 2010-03-15 11:52:04.000000000 -0400
31094+++ linux-2.6.32.11/fs/namei.c 2010-04-04 20:46:41.653544810 -0400 31578+++ linux-2.6.32.12/fs/namei.c 2010-04-04 20:46:41.653544810 -0400
31095@@ -638,7 +638,7 @@ static __always_inline int __do_follow_l 31579@@ -638,7 +638,7 @@ static __always_inline int __do_follow_l
31096 cookie = dentry->d_inode->i_op->follow_link(dentry, nd); 31580 cookie = dentry->d_inode->i_op->follow_link(dentry, nd);
31097 error = PTR_ERR(cookie); 31581 error = PTR_ERR(cookie);
@@ -31418,9 +31902,9 @@ diff -urNp linux-2.6.32.11/fs/namei.c linux-2.6.32.11/fs/namei.c
31418 exit6: 31902 exit6:
31419 mnt_drop_write(oldnd.path.mnt); 31903 mnt_drop_write(oldnd.path.mnt);
31420 exit5: 31904 exit5:
31421diff -urNp linux-2.6.32.11/fs/namespace.c linux-2.6.32.11/fs/namespace.c 31905diff -urNp linux-2.6.32.12/fs/namespace.c linux-2.6.32.12/fs/namespace.c
31422--- linux-2.6.32.11/fs/namespace.c 2010-03-15 11:52:04.000000000 -0400 31906--- linux-2.6.32.12/fs/namespace.c 2010-03-15 11:52:04.000000000 -0400
31423+++ linux-2.6.32.11/fs/namespace.c 2010-04-04 20:46:41.653544810 -0400 31907+++ linux-2.6.32.12/fs/namespace.c 2010-04-04 20:46:41.653544810 -0400
31424@@ -1083,6 +1083,9 @@ static int do_umount(struct vfsmount *mn 31908@@ -1083,6 +1083,9 @@ static int do_umount(struct vfsmount *mn
31425 if (!(sb->s_flags & MS_RDONLY)) 31909 if (!(sb->s_flags & MS_RDONLY))
31426 retval = do_remount_sb(sb, MS_RDONLY, NULL, 0); 31910 retval = do_remount_sb(sb, MS_RDONLY, NULL, 0);
@@ -31481,9 +31965,9 @@ diff -urNp linux-2.6.32.11/fs/namespace.c linux-2.6.32.11/fs/namespace.c
31481 read_lock(&current->fs->lock); 31965 read_lock(&current->fs->lock);
31482 root = current->fs->root; 31966 root = current->fs->root;
31483 path_get(&current->fs->root); 31967 path_get(&current->fs->root);
31484diff -urNp linux-2.6.32.11/fs/nfs/inode.c linux-2.6.32.11/fs/nfs/inode.c 31968diff -urNp linux-2.6.32.12/fs/nfs/inode.c linux-2.6.32.12/fs/nfs/inode.c
31485--- linux-2.6.32.11/fs/nfs/inode.c 2010-04-04 20:41:50.045778117 -0400 31969--- linux-2.6.32.12/fs/nfs/inode.c 2010-04-04 20:41:50.045778117 -0400
31486+++ linux-2.6.32.11/fs/nfs/inode.c 2010-04-04 20:46:41.653544810 -0400 31970+++ linux-2.6.32.12/fs/nfs/inode.c 2010-04-04 20:46:41.653544810 -0400
31487@@ -965,16 +965,16 @@ static int nfs_size_need_update(const st 31971@@ -965,16 +965,16 @@ static int nfs_size_need_update(const st
31488 return nfs_size_to_loff_t(fattr->size) > i_size_read(inode); 31972 return nfs_size_to_loff_t(fattr->size) > i_size_read(inode);
31489 } 31973 }
@@ -31504,9 +31988,9 @@ diff -urNp linux-2.6.32.11/fs/nfs/inode.c linux-2.6.32.11/fs/nfs/inode.c
31504 } 31988 }
31505 31989
31506 void nfs_fattr_init(struct nfs_fattr *fattr) 31990 void nfs_fattr_init(struct nfs_fattr *fattr)
31507diff -urNp linux-2.6.32.11/fs/nfs/nfs4proc.c linux-2.6.32.11/fs/nfs/nfs4proc.c 31991diff -urNp linux-2.6.32.12/fs/nfs/nfs4proc.c linux-2.6.32.12/fs/nfs/nfs4proc.c
31508--- linux-2.6.32.11/fs/nfs/nfs4proc.c 2010-03-15 11:52:04.000000000 -0400 31992--- linux-2.6.32.12/fs/nfs/nfs4proc.c 2010-04-29 17:49:38.445067399 -0400
31509+++ linux-2.6.32.11/fs/nfs/nfs4proc.c 2010-04-04 20:46:41.653544810 -0400 31993+++ linux-2.6.32.12/fs/nfs/nfs4proc.c 2010-04-29 17:49:58.597031543 -0400
31510@@ -1131,7 +1131,7 @@ static int _nfs4_do_open_reclaim(struct 31994@@ -1131,7 +1131,7 @@ static int _nfs4_do_open_reclaim(struct
31511 static int nfs4_do_open_reclaim(struct nfs_open_context *ctx, struct nfs4_state *state) 31995 static int nfs4_do_open_reclaim(struct nfs_open_context *ctx, struct nfs4_state *state)
31512 { 31996 {
@@ -31525,7 +32009,7 @@ diff -urNp linux-2.6.32.11/fs/nfs/nfs4proc.c linux-2.6.32.11/fs/nfs/nfs4proc.c
31525 struct nfs_server *server = NFS_SERVER(state->inode); 32009 struct nfs_server *server = NFS_SERVER(state->inode);
31526 int err; 32010 int err;
31527 do { 32011 do {
31528@@ -1491,7 +1491,7 @@ static int _nfs4_open_expired(struct nfs 32012@@ -1493,7 +1493,7 @@ static int _nfs4_open_expired(struct nfs
31529 static inline int nfs4_do_open_expired(struct nfs_open_context *ctx, struct nfs4_state *state) 32013 static inline int nfs4_do_open_expired(struct nfs_open_context *ctx, struct nfs4_state *state)
31530 { 32014 {
31531 struct nfs_server *server = NFS_SERVER(state->inode); 32015 struct nfs_server *server = NFS_SERVER(state->inode);
@@ -31534,7 +32018,7 @@ diff -urNp linux-2.6.32.11/fs/nfs/nfs4proc.c linux-2.6.32.11/fs/nfs/nfs4proc.c
31534 int err; 32018 int err;
31535 32019
31536 do { 32020 do {
31537@@ -1591,7 +1591,7 @@ out_err: 32021@@ -1593,7 +1593,7 @@ out_err:
31538 32022
31539 static struct nfs4_state *nfs4_do_open(struct inode *dir, struct path *path, fmode_t fmode, int flags, struct iattr *sattr, struct rpc_cred *cred) 32023 static struct nfs4_state *nfs4_do_open(struct inode *dir, struct path *path, fmode_t fmode, int flags, struct iattr *sattr, struct rpc_cred *cred)
31540 { 32024 {
@@ -31543,7 +32027,7 @@ diff -urNp linux-2.6.32.11/fs/nfs/nfs4proc.c linux-2.6.32.11/fs/nfs/nfs4proc.c
31543 struct nfs4_state *res; 32027 struct nfs4_state *res;
31544 int status; 32028 int status;
31545 32029
31546@@ -1682,7 +1682,7 @@ static int nfs4_do_setattr(struct inode 32030@@ -1684,7 +1684,7 @@ static int nfs4_do_setattr(struct inode
31547 struct nfs4_state *state) 32031 struct nfs4_state *state)
31548 { 32032 {
31549 struct nfs_server *server = NFS_SERVER(inode); 32033 struct nfs_server *server = NFS_SERVER(inode);
@@ -31552,7 +32036,7 @@ diff -urNp linux-2.6.32.11/fs/nfs/nfs4proc.c linux-2.6.32.11/fs/nfs/nfs4proc.c
31552 int err; 32036 int err;
31553 do { 32037 do {
31554 err = nfs4_handle_exception(server, 32038 err = nfs4_handle_exception(server,
31555@@ -2048,7 +2048,7 @@ static int _nfs4_server_capabilities(str 32039@@ -2050,7 +2050,7 @@ static int _nfs4_server_capabilities(str
31556 32040
31557 int nfs4_server_capabilities(struct nfs_server *server, struct nfs_fh *fhandle) 32041 int nfs4_server_capabilities(struct nfs_server *server, struct nfs_fh *fhandle)
31558 { 32042 {
@@ -31561,7 +32045,7 @@ diff -urNp linux-2.6.32.11/fs/nfs/nfs4proc.c linux-2.6.32.11/fs/nfs/nfs4proc.c
31561 int err; 32045 int err;
31562 do { 32046 do {
31563 err = nfs4_handle_exception(server, 32047 err = nfs4_handle_exception(server,
31564@@ -2082,7 +2082,7 @@ static int _nfs4_lookup_root(struct nfs_ 32048@@ -2084,7 +2084,7 @@ static int _nfs4_lookup_root(struct nfs_
31565 static int nfs4_lookup_root(struct nfs_server *server, struct nfs_fh *fhandle, 32049 static int nfs4_lookup_root(struct nfs_server *server, struct nfs_fh *fhandle,
31566 struct nfs_fsinfo *info) 32050 struct nfs_fsinfo *info)
31567 { 32051 {
@@ -31570,7 +32054,7 @@ diff -urNp linux-2.6.32.11/fs/nfs/nfs4proc.c linux-2.6.32.11/fs/nfs/nfs4proc.c
31570 int err; 32054 int err;
31571 do { 32055 do {
31572 err = nfs4_handle_exception(server, 32056 err = nfs4_handle_exception(server,
31573@@ -2171,7 +2171,7 @@ static int _nfs4_proc_getattr(struct nfs 32057@@ -2173,7 +2173,7 @@ static int _nfs4_proc_getattr(struct nfs
31574 32058
31575 static int nfs4_proc_getattr(struct nfs_server *server, struct nfs_fh *fhandle, struct nfs_fattr *fattr) 32059 static int nfs4_proc_getattr(struct nfs_server *server, struct nfs_fh *fhandle, struct nfs_fattr *fattr)
31576 { 32060 {
@@ -31579,7 +32063,7 @@ diff -urNp linux-2.6.32.11/fs/nfs/nfs4proc.c linux-2.6.32.11/fs/nfs/nfs4proc.c
31579 int err; 32063 int err;
31580 do { 32064 do {
31581 err = nfs4_handle_exception(server, 32065 err = nfs4_handle_exception(server,
31582@@ -2259,7 +2259,7 @@ static int nfs4_proc_lookupfh(struct nfs 32066@@ -2261,7 +2261,7 @@ static int nfs4_proc_lookupfh(struct nfs
31583 struct qstr *name, struct nfs_fh *fhandle, 32067 struct qstr *name, struct nfs_fh *fhandle,
31584 struct nfs_fattr *fattr) 32068 struct nfs_fattr *fattr)
31585 { 32069 {
@@ -31588,7 +32072,7 @@ diff -urNp linux-2.6.32.11/fs/nfs/nfs4proc.c linux-2.6.32.11/fs/nfs/nfs4proc.c
31588 int err; 32072 int err;
31589 do { 32073 do {
31590 err = _nfs4_proc_lookupfh(server, dirfh, name, fhandle, fattr); 32074 err = _nfs4_proc_lookupfh(server, dirfh, name, fhandle, fattr);
31591@@ -2288,7 +2288,7 @@ static int _nfs4_proc_lookup(struct inod 32075@@ -2290,7 +2290,7 @@ static int _nfs4_proc_lookup(struct inod
31592 32076
31593 static int nfs4_proc_lookup(struct inode *dir, struct qstr *name, struct nfs_fh *fhandle, struct nfs_fattr *fattr) 32077 static int nfs4_proc_lookup(struct inode *dir, struct qstr *name, struct nfs_fh *fhandle, struct nfs_fattr *fattr)
31594 { 32078 {
@@ -31597,7 +32081,7 @@ diff -urNp linux-2.6.32.11/fs/nfs/nfs4proc.c linux-2.6.32.11/fs/nfs/nfs4proc.c
31597 int err; 32081 int err;
31598 do { 32082 do {
31599 err = nfs4_handle_exception(NFS_SERVER(dir), 32083 err = nfs4_handle_exception(NFS_SERVER(dir),
31600@@ -2352,7 +2352,7 @@ static int _nfs4_proc_access(struct inod 32084@@ -2354,7 +2354,7 @@ static int _nfs4_proc_access(struct inod
31601 32085
31602 static int nfs4_proc_access(struct inode *inode, struct nfs_access_entry *entry) 32086 static int nfs4_proc_access(struct inode *inode, struct nfs_access_entry *entry)
31603 { 32087 {
@@ -31606,7 +32090,7 @@ diff -urNp linux-2.6.32.11/fs/nfs/nfs4proc.c linux-2.6.32.11/fs/nfs/nfs4proc.c
31606 int err; 32090 int err;
31607 do { 32091 do {
31608 err = nfs4_handle_exception(NFS_SERVER(inode), 32092 err = nfs4_handle_exception(NFS_SERVER(inode),
31609@@ -2408,7 +2408,7 @@ static int _nfs4_proc_readlink(struct in 32093@@ -2410,7 +2410,7 @@ static int _nfs4_proc_readlink(struct in
31610 static int nfs4_proc_readlink(struct inode *inode, struct page *page, 32094 static int nfs4_proc_readlink(struct inode *inode, struct page *page,
31611 unsigned int pgbase, unsigned int pglen) 32095 unsigned int pgbase, unsigned int pglen)
31612 { 32096 {
@@ -31615,7 +32099,7 @@ diff -urNp linux-2.6.32.11/fs/nfs/nfs4proc.c linux-2.6.32.11/fs/nfs/nfs4proc.c
31615 int err; 32099 int err;
31616 do { 32100 do {
31617 err = nfs4_handle_exception(NFS_SERVER(inode), 32101 err = nfs4_handle_exception(NFS_SERVER(inode),
31618@@ -2506,7 +2506,7 @@ static int _nfs4_proc_remove(struct inod 32102@@ -2508,7 +2508,7 @@ static int _nfs4_proc_remove(struct inod
31619 32103
31620 static int nfs4_proc_remove(struct inode *dir, struct qstr *name) 32104 static int nfs4_proc_remove(struct inode *dir, struct qstr *name)
31621 { 32105 {
@@ -31624,7 +32108,7 @@ diff -urNp linux-2.6.32.11/fs/nfs/nfs4proc.c linux-2.6.32.11/fs/nfs/nfs4proc.c
31624 int err; 32108 int err;
31625 do { 32109 do {
31626 err = nfs4_handle_exception(NFS_SERVER(dir), 32110 err = nfs4_handle_exception(NFS_SERVER(dir),
31627@@ -2580,7 +2580,7 @@ static int _nfs4_proc_rename(struct inod 32111@@ -2582,7 +2582,7 @@ static int _nfs4_proc_rename(struct inod
31628 static int nfs4_proc_rename(struct inode *old_dir, struct qstr *old_name, 32112 static int nfs4_proc_rename(struct inode *old_dir, struct qstr *old_name,
31629 struct inode *new_dir, struct qstr *new_name) 32113 struct inode *new_dir, struct qstr *new_name)
31630 { 32114 {
@@ -31633,7 +32117,7 @@ diff -urNp linux-2.6.32.11/fs/nfs/nfs4proc.c linux-2.6.32.11/fs/nfs/nfs4proc.c
31633 int err; 32117 int err;
31634 do { 32118 do {
31635 err = nfs4_handle_exception(NFS_SERVER(old_dir), 32119 err = nfs4_handle_exception(NFS_SERVER(old_dir),
31636@@ -2627,7 +2627,7 @@ static int _nfs4_proc_link(struct inode 32120@@ -2629,7 +2629,7 @@ static int _nfs4_proc_link(struct inode
31637 32121
31638 static int nfs4_proc_link(struct inode *inode, struct inode *dir, struct qstr *name) 32122 static int nfs4_proc_link(struct inode *inode, struct inode *dir, struct qstr *name)
31639 { 32123 {
@@ -31642,7 +32126,7 @@ diff -urNp linux-2.6.32.11/fs/nfs/nfs4proc.c linux-2.6.32.11/fs/nfs/nfs4proc.c
31642 int err; 32126 int err;
31643 do { 32127 do {
31644 err = nfs4_handle_exception(NFS_SERVER(inode), 32128 err = nfs4_handle_exception(NFS_SERVER(inode),
31645@@ -2719,7 +2719,7 @@ out: 32129@@ -2721,7 +2721,7 @@ out:
31646 static int nfs4_proc_symlink(struct inode *dir, struct dentry *dentry, 32130 static int nfs4_proc_symlink(struct inode *dir, struct dentry *dentry,
31647 struct page *page, unsigned int len, struct iattr *sattr) 32131 struct page *page, unsigned int len, struct iattr *sattr)
31648 { 32132 {
@@ -31651,7 +32135,7 @@ diff -urNp linux-2.6.32.11/fs/nfs/nfs4proc.c linux-2.6.32.11/fs/nfs/nfs4proc.c
31651 int err; 32135 int err;
31652 do { 32136 do {
31653 err = nfs4_handle_exception(NFS_SERVER(dir), 32137 err = nfs4_handle_exception(NFS_SERVER(dir),
31654@@ -2750,7 +2750,7 @@ out: 32138@@ -2752,7 +2752,7 @@ out:
31655 static int nfs4_proc_mkdir(struct inode *dir, struct dentry *dentry, 32139 static int nfs4_proc_mkdir(struct inode *dir, struct dentry *dentry,
31656 struct iattr *sattr) 32140 struct iattr *sattr)
31657 { 32141 {
@@ -31660,7 +32144,7 @@ diff -urNp linux-2.6.32.11/fs/nfs/nfs4proc.c linux-2.6.32.11/fs/nfs/nfs4proc.c
31660 int err; 32144 int err;
31661 do { 32145 do {
31662 err = nfs4_handle_exception(NFS_SERVER(dir), 32146 err = nfs4_handle_exception(NFS_SERVER(dir),
31663@@ -2799,7 +2799,7 @@ static int _nfs4_proc_readdir(struct den 32147@@ -2801,7 +2801,7 @@ static int _nfs4_proc_readdir(struct den
31664 static int nfs4_proc_readdir(struct dentry *dentry, struct rpc_cred *cred, 32148 static int nfs4_proc_readdir(struct dentry *dentry, struct rpc_cred *cred,
31665 u64 cookie, struct page *page, unsigned int count, int plus) 32149 u64 cookie, struct page *page, unsigned int count, int plus)
31666 { 32150 {
@@ -31669,7 +32153,7 @@ diff -urNp linux-2.6.32.11/fs/nfs/nfs4proc.c linux-2.6.32.11/fs/nfs/nfs4proc.c
31669 int err; 32153 int err;
31670 do { 32154 do {
31671 err = nfs4_handle_exception(NFS_SERVER(dentry->d_inode), 32155 err = nfs4_handle_exception(NFS_SERVER(dentry->d_inode),
31672@@ -2847,7 +2847,7 @@ out: 32156@@ -2849,7 +2849,7 @@ out:
31673 static int nfs4_proc_mknod(struct inode *dir, struct dentry *dentry, 32157 static int nfs4_proc_mknod(struct inode *dir, struct dentry *dentry,
31674 struct iattr *sattr, dev_t rdev) 32158 struct iattr *sattr, dev_t rdev)
31675 { 32159 {
@@ -31678,7 +32162,7 @@ diff -urNp linux-2.6.32.11/fs/nfs/nfs4proc.c linux-2.6.32.11/fs/nfs/nfs4proc.c
31678 int err; 32162 int err;
31679 do { 32163 do {
31680 err = nfs4_handle_exception(NFS_SERVER(dir), 32164 err = nfs4_handle_exception(NFS_SERVER(dir),
31681@@ -2879,7 +2879,7 @@ static int _nfs4_proc_statfs(struct nfs_ 32165@@ -2881,7 +2881,7 @@ static int _nfs4_proc_statfs(struct nfs_
31682 32166
31683 static int nfs4_proc_statfs(struct nfs_server *server, struct nfs_fh *fhandle, struct nfs_fsstat *fsstat) 32167 static int nfs4_proc_statfs(struct nfs_server *server, struct nfs_fh *fhandle, struct nfs_fsstat *fsstat)
31684 { 32168 {
@@ -31687,7 +32171,7 @@ diff -urNp linux-2.6.32.11/fs/nfs/nfs4proc.c linux-2.6.32.11/fs/nfs/nfs4proc.c
31687 int err; 32171 int err;
31688 do { 32172 do {
31689 err = nfs4_handle_exception(server, 32173 err = nfs4_handle_exception(server,
31690@@ -2910,7 +2910,7 @@ static int _nfs4_do_fsinfo(struct nfs_se 32174@@ -2912,7 +2912,7 @@ static int _nfs4_do_fsinfo(struct nfs_se
31691 32175
31692 static int nfs4_do_fsinfo(struct nfs_server *server, struct nfs_fh *fhandle, struct nfs_fsinfo *fsinfo) 32176 static int nfs4_do_fsinfo(struct nfs_server *server, struct nfs_fh *fhandle, struct nfs_fsinfo *fsinfo)
31693 { 32177 {
@@ -31696,7 +32180,7 @@ diff -urNp linux-2.6.32.11/fs/nfs/nfs4proc.c linux-2.6.32.11/fs/nfs/nfs4proc.c
31696 int err; 32180 int err;
31697 32181
31698 do { 32182 do {
31699@@ -2956,7 +2956,7 @@ static int _nfs4_proc_pathconf(struct nf 32183@@ -2958,7 +2958,7 @@ static int _nfs4_proc_pathconf(struct nf
31700 static int nfs4_proc_pathconf(struct nfs_server *server, struct nfs_fh *fhandle, 32184 static int nfs4_proc_pathconf(struct nfs_server *server, struct nfs_fh *fhandle,
31701 struct nfs_pathconf *pathconf) 32185 struct nfs_pathconf *pathconf)
31702 { 32186 {
@@ -31705,7 +32189,7 @@ diff -urNp linux-2.6.32.11/fs/nfs/nfs4proc.c linux-2.6.32.11/fs/nfs/nfs4proc.c
31705 int err; 32189 int err;
31706 32190
31707 do { 32191 do {
31708@@ -3255,7 +3255,7 @@ out_free: 32192@@ -3257,7 +3257,7 @@ out_free:
31709 32193
31710 static ssize_t nfs4_get_acl_uncached(struct inode *inode, void *buf, size_t buflen) 32194 static ssize_t nfs4_get_acl_uncached(struct inode *inode, void *buf, size_t buflen)
31711 { 32195 {
@@ -31714,7 +32198,7 @@ diff -urNp linux-2.6.32.11/fs/nfs/nfs4proc.c linux-2.6.32.11/fs/nfs/nfs4proc.c
31714 ssize_t ret; 32198 ssize_t ret;
31715 do { 32199 do {
31716 ret = __nfs4_get_acl_uncached(inode, buf, buflen); 32200 ret = __nfs4_get_acl_uncached(inode, buf, buflen);
31717@@ -3311,7 +3311,7 @@ static int __nfs4_proc_set_acl(struct in 32201@@ -3313,7 +3313,7 @@ static int __nfs4_proc_set_acl(struct in
31718 32202
31719 static int nfs4_proc_set_acl(struct inode *inode, const void *buf, size_t buflen) 32203 static int nfs4_proc_set_acl(struct inode *inode, const void *buf, size_t buflen)
31720 { 32204 {
@@ -31723,7 +32207,7 @@ diff -urNp linux-2.6.32.11/fs/nfs/nfs4proc.c linux-2.6.32.11/fs/nfs/nfs4proc.c
31723 int err; 32207 int err;
31724 do { 32208 do {
31725 err = nfs4_handle_exception(NFS_SERVER(inode), 32209 err = nfs4_handle_exception(NFS_SERVER(inode),
31726@@ -3576,7 +3576,7 @@ out: 32210@@ -3578,7 +3578,7 @@ out:
31727 int nfs4_proc_delegreturn(struct inode *inode, struct rpc_cred *cred, const nfs4_stateid *stateid, int issync) 32211 int nfs4_proc_delegreturn(struct inode *inode, struct rpc_cred *cred, const nfs4_stateid *stateid, int issync)
31728 { 32212 {
31729 struct nfs_server *server = NFS_SERVER(inode); 32213 struct nfs_server *server = NFS_SERVER(inode);
@@ -31732,7 +32216,7 @@ diff -urNp linux-2.6.32.11/fs/nfs/nfs4proc.c linux-2.6.32.11/fs/nfs/nfs4proc.c
31732 int err; 32216 int err;
31733 do { 32217 do {
31734 err = _nfs4_proc_delegreturn(inode, cred, stateid, issync); 32218 err = _nfs4_proc_delegreturn(inode, cred, stateid, issync);
31735@@ -3649,7 +3649,7 @@ out: 32219@@ -3651,7 +3651,7 @@ out:
31736 32220
31737 static int nfs4_proc_getlk(struct nfs4_state *state, int cmd, struct file_lock *request) 32221 static int nfs4_proc_getlk(struct nfs4_state *state, int cmd, struct file_lock *request)
31738 { 32222 {
@@ -31741,7 +32225,7 @@ diff -urNp linux-2.6.32.11/fs/nfs/nfs4proc.c linux-2.6.32.11/fs/nfs/nfs4proc.c
31741 int err; 32225 int err;
31742 32226
31743 do { 32227 do {
31744@@ -4042,7 +4042,7 @@ static int _nfs4_do_setlk(struct nfs4_st 32228@@ -4044,7 +4044,7 @@ static int _nfs4_do_setlk(struct nfs4_st
31745 static int nfs4_lock_reclaim(struct nfs4_state *state, struct file_lock *request) 32229 static int nfs4_lock_reclaim(struct nfs4_state *state, struct file_lock *request)
31746 { 32230 {
31747 struct nfs_server *server = NFS_SERVER(state->inode); 32231 struct nfs_server *server = NFS_SERVER(state->inode);
@@ -31750,7 +32234,7 @@ diff -urNp linux-2.6.32.11/fs/nfs/nfs4proc.c linux-2.6.32.11/fs/nfs/nfs4proc.c
31750 int err; 32234 int err;
31751 32235
31752 do { 32236 do {
31753@@ -4060,7 +4060,7 @@ static int nfs4_lock_reclaim(struct nfs4 32237@@ -4062,7 +4062,7 @@ static int nfs4_lock_reclaim(struct nfs4
31754 static int nfs4_lock_expired(struct nfs4_state *state, struct file_lock *request) 32238 static int nfs4_lock_expired(struct nfs4_state *state, struct file_lock *request)
31755 { 32239 {
31756 struct nfs_server *server = NFS_SERVER(state->inode); 32240 struct nfs_server *server = NFS_SERVER(state->inode);
@@ -31759,7 +32243,7 @@ diff -urNp linux-2.6.32.11/fs/nfs/nfs4proc.c linux-2.6.32.11/fs/nfs/nfs4proc.c
31759 int err; 32243 int err;
31760 32244
31761 err = nfs4_set_lock_state(state, request); 32245 err = nfs4_set_lock_state(state, request);
31762@@ -4118,7 +4118,7 @@ out: 32246@@ -4120,7 +4120,7 @@ out:
31763 32247
31764 static int nfs4_proc_setlk(struct nfs4_state *state, int cmd, struct file_lock *request) 32248 static int nfs4_proc_setlk(struct nfs4_state *state, int cmd, struct file_lock *request)
31765 { 32249 {
@@ -31768,7 +32252,7 @@ diff -urNp linux-2.6.32.11/fs/nfs/nfs4proc.c linux-2.6.32.11/fs/nfs/nfs4proc.c
31768 int err; 32252 int err;
31769 32253
31770 do { 32254 do {
31771@@ -4178,7 +4178,7 @@ nfs4_proc_lock(struct file *filp, int cm 32255@@ -4180,7 +4180,7 @@ nfs4_proc_lock(struct file *filp, int cm
31772 int nfs4_lock_delegation_recall(struct nfs4_state *state, struct file_lock *fl) 32256 int nfs4_lock_delegation_recall(struct nfs4_state *state, struct file_lock *fl)
31773 { 32257 {
31774 struct nfs_server *server = NFS_SERVER(state->inode); 32258 struct nfs_server *server = NFS_SERVER(state->inode);
@@ -31777,9 +32261,9 @@ diff -urNp linux-2.6.32.11/fs/nfs/nfs4proc.c linux-2.6.32.11/fs/nfs/nfs4proc.c
31777 int err; 32261 int err;
31778 32262
31779 err = nfs4_set_lock_state(state, fl); 32263 err = nfs4_set_lock_state(state, fl);
31780diff -urNp linux-2.6.32.11/fs/nfsd/lockd.c linux-2.6.32.11/fs/nfsd/lockd.c 32264diff -urNp linux-2.6.32.12/fs/nfsd/lockd.c linux-2.6.32.12/fs/nfsd/lockd.c
31781--- linux-2.6.32.11/fs/nfsd/lockd.c 2010-03-15 11:52:04.000000000 -0400 32265--- linux-2.6.32.12/fs/nfsd/lockd.c 2010-03-15 11:52:04.000000000 -0400
31782+++ linux-2.6.32.11/fs/nfsd/lockd.c 2010-04-04 20:46:41.653544810 -0400 32266+++ linux-2.6.32.12/fs/nfsd/lockd.c 2010-04-04 20:46:41.653544810 -0400
31783@@ -67,7 +67,7 @@ nlm_fclose(struct file *filp) 32267@@ -67,7 +67,7 @@ nlm_fclose(struct file *filp)
31784 fput(filp); 32268 fput(filp);
31785 } 32269 }
@@ -31789,9 +32273,9 @@ diff -urNp linux-2.6.32.11/fs/nfsd/lockd.c linux-2.6.32.11/fs/nfsd/lockd.c
31789 .fopen = nlm_fopen, /* open file for locking */ 32273 .fopen = nlm_fopen, /* open file for locking */
31790 .fclose = nlm_fclose, /* close file */ 32274 .fclose = nlm_fclose, /* close file */
31791 }; 32275 };
31792diff -urNp linux-2.6.32.11/fs/nfsd/vfs.c linux-2.6.32.11/fs/nfsd/vfs.c 32276diff -urNp linux-2.6.32.12/fs/nfsd/vfs.c linux-2.6.32.12/fs/nfsd/vfs.c
31793--- linux-2.6.32.11/fs/nfsd/vfs.c 2010-03-15 11:52:04.000000000 -0400 32277--- linux-2.6.32.12/fs/nfsd/vfs.c 2010-03-15 11:52:04.000000000 -0400
31794+++ linux-2.6.32.11/fs/nfsd/vfs.c 2010-04-04 20:46:41.657782339 -0400 32278+++ linux-2.6.32.12/fs/nfsd/vfs.c 2010-04-04 20:46:41.657782339 -0400
31795@@ -937,7 +937,7 @@ nfsd_vfs_read(struct svc_rqst *rqstp, st 32279@@ -937,7 +937,7 @@ nfsd_vfs_read(struct svc_rqst *rqstp, st
31796 } else { 32280 } else {
31797 oldfs = get_fs(); 32281 oldfs = get_fs();
@@ -31819,9 +32303,9 @@ diff -urNp linux-2.6.32.11/fs/nfsd/vfs.c linux-2.6.32.11/fs/nfsd/vfs.c
31819 set_fs(oldfs); 32303 set_fs(oldfs);
31820 32304
31821 if (host_err < 0) 32305 if (host_err < 0)
31822diff -urNp linux-2.6.32.11/fs/nls/nls_base.c linux-2.6.32.11/fs/nls/nls_base.c 32306diff -urNp linux-2.6.32.12/fs/nls/nls_base.c linux-2.6.32.12/fs/nls/nls_base.c
31823--- linux-2.6.32.11/fs/nls/nls_base.c 2010-03-15 11:52:04.000000000 -0400 32307--- linux-2.6.32.12/fs/nls/nls_base.c 2010-03-15 11:52:04.000000000 -0400
31824+++ linux-2.6.32.11/fs/nls/nls_base.c 2010-04-04 20:46:41.657782339 -0400 32308+++ linux-2.6.32.12/fs/nls/nls_base.c 2010-04-04 20:46:41.657782339 -0400
31825@@ -41,7 +41,7 @@ static const struct utf8_table utf8_tabl 32309@@ -41,7 +41,7 @@ static const struct utf8_table utf8_tabl
31826 {0xF8, 0xF0, 3*6, 0x1FFFFF, 0x10000, /* 4 byte sequence */}, 32310 {0xF8, 0xF0, 3*6, 0x1FFFFF, 0x10000, /* 4 byte sequence */},
31827 {0xFC, 0xF8, 4*6, 0x3FFFFFF, 0x200000, /* 5 byte sequence */}, 32311 {0xFC, 0xF8, 4*6, 0x3FFFFFF, 0x200000, /* 5 byte sequence */},
@@ -31831,9 +32315,9 @@ diff -urNp linux-2.6.32.11/fs/nls/nls_base.c linux-2.6.32.11/fs/nls/nls_base.c
31831 }; 32315 };
31832 32316
31833 #define UNICODE_MAX 0x0010ffff 32317 #define UNICODE_MAX 0x0010ffff
31834diff -urNp linux-2.6.32.11/fs/ntfs/file.c linux-2.6.32.11/fs/ntfs/file.c 32318diff -urNp linux-2.6.32.12/fs/ntfs/file.c linux-2.6.32.12/fs/ntfs/file.c
31835--- linux-2.6.32.11/fs/ntfs/file.c 2010-03-15 11:52:04.000000000 -0400 32319--- linux-2.6.32.12/fs/ntfs/file.c 2010-03-15 11:52:04.000000000 -0400
31836+++ linux-2.6.32.11/fs/ntfs/file.c 2010-04-04 20:46:41.657782339 -0400 32320+++ linux-2.6.32.12/fs/ntfs/file.c 2010-04-04 20:46:41.657782339 -0400
31837@@ -2243,6 +2243,6 @@ const struct inode_operations ntfs_file_ 32321@@ -2243,6 +2243,6 @@ const struct inode_operations ntfs_file_
31838 #endif /* NTFS_RW */ 32322 #endif /* NTFS_RW */
31839 }; 32323 };
@@ -31843,9 +32327,9 @@ diff -urNp linux-2.6.32.11/fs/ntfs/file.c linux-2.6.32.11/fs/ntfs/file.c
31843 32327
31844-const struct inode_operations ntfs_empty_inode_ops = {}; 32328-const struct inode_operations ntfs_empty_inode_ops = {};
31845+const struct inode_operations ntfs_empty_inode_ops __read_only; 32329+const struct inode_operations ntfs_empty_inode_ops __read_only;
31846diff -urNp linux-2.6.32.11/fs/ocfs2/cluster/masklog.c linux-2.6.32.11/fs/ocfs2/cluster/masklog.c 32330diff -urNp linux-2.6.32.12/fs/ocfs2/cluster/masklog.c linux-2.6.32.12/fs/ocfs2/cluster/masklog.c
31847--- linux-2.6.32.11/fs/ocfs2/cluster/masklog.c 2010-03-15 11:52:04.000000000 -0400 32331--- linux-2.6.32.12/fs/ocfs2/cluster/masklog.c 2010-03-15 11:52:04.000000000 -0400
31848+++ linux-2.6.32.11/fs/ocfs2/cluster/masklog.c 2010-04-04 20:46:41.657782339 -0400 32332+++ linux-2.6.32.12/fs/ocfs2/cluster/masklog.c 2010-04-04 20:46:41.657782339 -0400
31849@@ -135,7 +135,7 @@ static ssize_t mlog_store(struct kobject 32333@@ -135,7 +135,7 @@ static ssize_t mlog_store(struct kobject
31850 return mlog_mask_store(mlog_attr->mask, buf, count); 32334 return mlog_mask_store(mlog_attr->mask, buf, count);
31851 } 32335 }
@@ -31855,9 +32339,9 @@ diff -urNp linux-2.6.32.11/fs/ocfs2/cluster/masklog.c linux-2.6.32.11/fs/ocfs2/c
31855 .show = mlog_show, 32339 .show = mlog_show,
31856 .store = mlog_store, 32340 .store = mlog_store,
31857 }; 32341 };
31858diff -urNp linux-2.6.32.11/fs/ocfs2/localalloc.c linux-2.6.32.11/fs/ocfs2/localalloc.c 32342diff -urNp linux-2.6.32.12/fs/ocfs2/localalloc.c linux-2.6.32.12/fs/ocfs2/localalloc.c
31859--- linux-2.6.32.11/fs/ocfs2/localalloc.c 2010-03-15 11:52:04.000000000 -0400 32343--- linux-2.6.32.12/fs/ocfs2/localalloc.c 2010-03-15 11:52:04.000000000 -0400
31860+++ linux-2.6.32.11/fs/ocfs2/localalloc.c 2010-04-04 20:46:41.657782339 -0400 32344+++ linux-2.6.32.12/fs/ocfs2/localalloc.c 2010-04-04 20:46:41.657782339 -0400
31861@@ -1188,7 +1188,7 @@ static int ocfs2_local_alloc_slide_windo 32345@@ -1188,7 +1188,7 @@ static int ocfs2_local_alloc_slide_windo
31862 goto bail; 32346 goto bail;
31863 } 32347 }
@@ -31867,9 +32351,9 @@ diff -urNp linux-2.6.32.11/fs/ocfs2/localalloc.c linux-2.6.32.11/fs/ocfs2/locala
31867 32351
31868 status = 0; 32352 status = 0;
31869 bail: 32353 bail:
31870diff -urNp linux-2.6.32.11/fs/ocfs2/ocfs2.h linux-2.6.32.11/fs/ocfs2/ocfs2.h 32354diff -urNp linux-2.6.32.12/fs/ocfs2/ocfs2.h linux-2.6.32.12/fs/ocfs2/ocfs2.h
31871--- linux-2.6.32.11/fs/ocfs2/ocfs2.h 2010-03-15 11:52:04.000000000 -0400 32355--- linux-2.6.32.12/fs/ocfs2/ocfs2.h 2010-03-15 11:52:04.000000000 -0400
31872+++ linux-2.6.32.11/fs/ocfs2/ocfs2.h 2010-04-04 20:46:41.657782339 -0400 32356+++ linux-2.6.32.12/fs/ocfs2/ocfs2.h 2010-04-04 20:46:41.657782339 -0400
31873@@ -217,11 +217,11 @@ enum ocfs2_vol_state 32357@@ -217,11 +217,11 @@ enum ocfs2_vol_state
31874 32358
31875 struct ocfs2_alloc_stats 32359 struct ocfs2_alloc_stats
@@ -31887,10 +32371,10 @@ diff -urNp linux-2.6.32.11/fs/ocfs2/ocfs2.h linux-2.6.32.11/fs/ocfs2/ocfs2.h
31887 }; 32371 };
31888 32372
31889 enum ocfs2_local_alloc_state 32373 enum ocfs2_local_alloc_state
31890diff -urNp linux-2.6.32.11/fs/ocfs2/suballoc.c linux-2.6.32.11/fs/ocfs2/suballoc.c 32374diff -urNp linux-2.6.32.12/fs/ocfs2/suballoc.c linux-2.6.32.12/fs/ocfs2/suballoc.c
31891--- linux-2.6.32.11/fs/ocfs2/suballoc.c 2010-03-15 11:52:04.000000000 -0400 32375--- linux-2.6.32.12/fs/ocfs2/suballoc.c 2010-04-29 17:49:38.449086403 -0400
31892+++ linux-2.6.32.11/fs/ocfs2/suballoc.c 2010-04-04 20:46:41.657782339 -0400 32376+++ linux-2.6.32.12/fs/ocfs2/suballoc.c 2010-04-29 17:49:58.609026943 -0400
31893@@ -620,7 +620,7 @@ static int ocfs2_reserve_suballoc_bits(s 32377@@ -623,7 +623,7 @@ static int ocfs2_reserve_suballoc_bits(s
31894 mlog_errno(status); 32378 mlog_errno(status);
31895 goto bail; 32379 goto bail;
31896 } 32380 }
@@ -31899,7 +32383,7 @@ diff -urNp linux-2.6.32.11/fs/ocfs2/suballoc.c linux-2.6.32.11/fs/ocfs2/suballoc
31899 32383
31900 /* You should never ask for this much metadata */ 32384 /* You should never ask for this much metadata */
31901 BUG_ON(bits_wanted > 32385 BUG_ON(bits_wanted >
31902@@ -1651,7 +1651,7 @@ int ocfs2_claim_metadata(struct ocfs2_su 32386@@ -1654,7 +1654,7 @@ int ocfs2_claim_metadata(struct ocfs2_su
31903 mlog_errno(status); 32387 mlog_errno(status);
31904 goto bail; 32388 goto bail;
31905 } 32389 }
@@ -31908,7 +32392,7 @@ diff -urNp linux-2.6.32.11/fs/ocfs2/suballoc.c linux-2.6.32.11/fs/ocfs2/suballoc
31908 32392
31909 *blkno_start = bg_blkno + (u64) *suballoc_bit_start; 32393 *blkno_start = bg_blkno + (u64) *suballoc_bit_start;
31910 ac->ac_bits_given += (*num_bits); 32394 ac->ac_bits_given += (*num_bits);
31911@@ -1725,7 +1725,7 @@ int ocfs2_claim_new_inode(struct ocfs2_s 32395@@ -1728,7 +1728,7 @@ int ocfs2_claim_new_inode(struct ocfs2_s
31912 mlog_errno(status); 32396 mlog_errno(status);
31913 goto bail; 32397 goto bail;
31914 } 32398 }
@@ -31917,7 +32401,7 @@ diff -urNp linux-2.6.32.11/fs/ocfs2/suballoc.c linux-2.6.32.11/fs/ocfs2/suballoc
31917 32401
31918 BUG_ON(num_bits != 1); 32402 BUG_ON(num_bits != 1);
31919 32403
31920@@ -1827,7 +1827,7 @@ int __ocfs2_claim_clusters(struct ocfs2_ 32404@@ -1830,7 +1830,7 @@ int __ocfs2_claim_clusters(struct ocfs2_
31921 cluster_start, 32405 cluster_start,
31922 num_clusters); 32406 num_clusters);
31923 if (!status) 32407 if (!status)
@@ -31926,7 +32410,7 @@ diff -urNp linux-2.6.32.11/fs/ocfs2/suballoc.c linux-2.6.32.11/fs/ocfs2/suballoc
31926 } else { 32410 } else {
31927 if (min_clusters > (osb->bitmap_cpg - 1)) { 32411 if (min_clusters > (osb->bitmap_cpg - 1)) {
31928 /* The only paths asking for contiguousness 32412 /* The only paths asking for contiguousness
31929@@ -1855,7 +1855,7 @@ int __ocfs2_claim_clusters(struct ocfs2_ 32413@@ -1858,7 +1858,7 @@ int __ocfs2_claim_clusters(struct ocfs2_
31930 ocfs2_desc_bitmap_to_cluster_off(ac->ac_inode, 32414 ocfs2_desc_bitmap_to_cluster_off(ac->ac_inode,
31931 bg_blkno, 32415 bg_blkno,
31932 bg_bit_off); 32416 bg_bit_off);
@@ -31935,9 +32419,9 @@ diff -urNp linux-2.6.32.11/fs/ocfs2/suballoc.c linux-2.6.32.11/fs/ocfs2/suballoc
31935 } 32419 }
31936 } 32420 }
31937 if (status < 0) { 32421 if (status < 0) {
31938diff -urNp linux-2.6.32.11/fs/ocfs2/super.c linux-2.6.32.11/fs/ocfs2/super.c 32422diff -urNp linux-2.6.32.12/fs/ocfs2/super.c linux-2.6.32.12/fs/ocfs2/super.c
31939--- linux-2.6.32.11/fs/ocfs2/super.c 2010-03-15 11:52:04.000000000 -0400 32423--- linux-2.6.32.12/fs/ocfs2/super.c 2010-03-15 11:52:04.000000000 -0400
31940+++ linux-2.6.32.11/fs/ocfs2/super.c 2010-04-04 20:46:41.657782339 -0400 32424+++ linux-2.6.32.12/fs/ocfs2/super.c 2010-04-04 20:46:41.657782339 -0400
31941@@ -284,11 +284,11 @@ static int ocfs2_osb_dump(struct ocfs2_s 32425@@ -284,11 +284,11 @@ static int ocfs2_osb_dump(struct ocfs2_s
31942 "%10s => GlobalAllocs: %d LocalAllocs: %d " 32426 "%10s => GlobalAllocs: %d LocalAllocs: %d "
31943 "SubAllocs: %d LAWinMoves: %d SAExtends: %d\n", 32427 "SubAllocs: %d LAWinMoves: %d SAExtends: %d\n",
@@ -31972,9 +32456,9 @@ diff -urNp linux-2.6.32.11/fs/ocfs2/super.c linux-2.6.32.11/fs/ocfs2/super.c
31972 32456
31973 /* Copy the blockcheck stats from the superblock probe */ 32457 /* Copy the blockcheck stats from the superblock probe */
31974 osb->osb_ecc_stats = *stats; 32458 osb->osb_ecc_stats = *stats;
31975diff -urNp linux-2.6.32.11/fs/open.c linux-2.6.32.11/fs/open.c 32459diff -urNp linux-2.6.32.12/fs/open.c linux-2.6.32.12/fs/open.c
31976--- linux-2.6.32.11/fs/open.c 2010-03-15 11:52:04.000000000 -0400 32460--- linux-2.6.32.12/fs/open.c 2010-03-15 11:52:04.000000000 -0400
31977+++ linux-2.6.32.11/fs/open.c 2010-04-04 20:46:41.657782339 -0400 32461+++ linux-2.6.32.12/fs/open.c 2010-04-04 20:46:41.657782339 -0400
31978@@ -206,6 +206,9 @@ int do_truncate(struct dentry *dentry, l 32462@@ -206,6 +206,9 @@ int do_truncate(struct dentry *dentry, l
31979 if (length < 0) 32463 if (length < 0)
31980 return -EINVAL; 32464 return -EINVAL;
@@ -32148,9 +32632,9 @@ diff -urNp linux-2.6.32.11/fs/open.c linux-2.6.32.11/fs/open.c
32148 mnt_drop_write(file->f_path.mnt); 32632 mnt_drop_write(file->f_path.mnt);
32149 out_fput: 32633 out_fput:
32150 fput(file); 32634 fput(file);
32151diff -urNp linux-2.6.32.11/fs/pipe.c linux-2.6.32.11/fs/pipe.c 32635diff -urNp linux-2.6.32.12/fs/pipe.c linux-2.6.32.12/fs/pipe.c
32152--- linux-2.6.32.11/fs/pipe.c 2010-03-15 11:52:04.000000000 -0400 32636--- linux-2.6.32.12/fs/pipe.c 2010-03-15 11:52:04.000000000 -0400
32153+++ linux-2.6.32.11/fs/pipe.c 2010-04-04 20:46:41.657782339 -0400 32637+++ linux-2.6.32.12/fs/pipe.c 2010-04-04 20:46:41.657782339 -0400
32154@@ -401,9 +401,9 @@ redo: 32638@@ -401,9 +401,9 @@ redo:
32155 } 32639 }
32156 if (bufs) /* More to do? */ 32640 if (bufs) /* More to do? */
@@ -32274,9 +32758,9 @@ diff -urNp linux-2.6.32.11/fs/pipe.c linux-2.6.32.11/fs/pipe.c
32274 inode->i_fop = &rdwr_pipefifo_fops; 32758 inode->i_fop = &rdwr_pipefifo_fops;
32275 32759
32276 /* 32760 /*
32277diff -urNp linux-2.6.32.11/fs/proc/array.c linux-2.6.32.11/fs/proc/array.c 32761diff -urNp linux-2.6.32.12/fs/proc/array.c linux-2.6.32.12/fs/proc/array.c
32278--- linux-2.6.32.11/fs/proc/array.c 2010-03-15 11:52:04.000000000 -0400 32762--- linux-2.6.32.12/fs/proc/array.c 2010-03-15 11:52:04.000000000 -0400
32279+++ linux-2.6.32.11/fs/proc/array.c 2010-04-04 20:46:41.657782339 -0400 32763+++ linux-2.6.32.12/fs/proc/array.c 2010-04-04 20:46:41.657782339 -0400
32280@@ -410,6 +410,21 @@ static void task_show_stack_usage(struct 32764@@ -410,6 +410,21 @@ static void task_show_stack_usage(struct
32281 } 32765 }
32282 #endif /* CONFIG_MMU */ 32766 #endif /* CONFIG_MMU */
@@ -32367,9 +32851,9 @@ diff -urNp linux-2.6.32.11/fs/proc/array.c linux-2.6.32.11/fs/proc/array.c
32367+ return sprintf(buffer, "%pI4\n", &task->signal->curr_ip); 32851+ return sprintf(buffer, "%pI4\n", &task->signal->curr_ip);
32368+} 32852+}
32369+#endif 32853+#endif
32370diff -urNp linux-2.6.32.11/fs/proc/base.c linux-2.6.32.11/fs/proc/base.c 32854diff -urNp linux-2.6.32.12/fs/proc/base.c linux-2.6.32.12/fs/proc/base.c
32371--- linux-2.6.32.11/fs/proc/base.c 2010-03-15 11:52:04.000000000 -0400 32855--- linux-2.6.32.12/fs/proc/base.c 2010-04-29 17:49:38.453075413 -0400
32372+++ linux-2.6.32.11/fs/proc/base.c 2010-04-04 20:46:41.661529739 -0400 32856+++ linux-2.6.32.12/fs/proc/base.c 2010-04-29 17:49:58.609026943 -0400
32373@@ -102,6 +102,22 @@ struct pid_entry { 32857@@ -102,6 +102,22 @@ struct pid_entry {
32374 union proc_op op; 32858 union proc_op op;
32375 }; 32859 };
@@ -32449,7 +32933,7 @@ diff -urNp linux-2.6.32.11/fs/proc/base.c linux-2.6.32.11/fs/proc/base.c
32449 32933
32450 #define MAX_STACK_TRACE_DEPTH 64 32934 #define MAX_STACK_TRACE_DEPTH 64
32451 32935
32452@@ -521,7 +557,7 @@ static int proc_pid_limits(struct task_s 32936@@ -522,7 +558,7 @@ static int proc_pid_limits(struct task_s
32453 return count; 32937 return count;
32454 } 32938 }
32455 32939
@@ -32458,7 +32942,7 @@ diff -urNp linux-2.6.32.11/fs/proc/base.c linux-2.6.32.11/fs/proc/base.c
32458 static int proc_pid_syscall(struct task_struct *task, char *buffer) 32942 static int proc_pid_syscall(struct task_struct *task, char *buffer)
32459 { 32943 {
32460 long nr; 32944 long nr;
32461@@ -935,6 +971,9 @@ static ssize_t environ_read(struct file 32945@@ -936,6 +972,9 @@ static ssize_t environ_read(struct file
32462 if (!task) 32946 if (!task)
32463 goto out_no_task; 32947 goto out_no_task;
32464 32948
@@ -32468,7 +32952,7 @@ diff -urNp linux-2.6.32.11/fs/proc/base.c linux-2.6.32.11/fs/proc/base.c
32468 if (!ptrace_may_access(task, PTRACE_MODE_READ)) 32952 if (!ptrace_may_access(task, PTRACE_MODE_READ))
32469 goto out; 32953 goto out;
32470 32954
32471@@ -1455,7 +1494,11 @@ static struct inode *proc_pid_make_inode 32955@@ -1456,7 +1495,11 @@ static struct inode *proc_pid_make_inode
32472 rcu_read_lock(); 32956 rcu_read_lock();
32473 cred = __task_cred(task); 32957 cred = __task_cred(task);
32474 inode->i_uid = cred->euid; 32958 inode->i_uid = cred->euid;
@@ -32480,7 +32964,7 @@ diff -urNp linux-2.6.32.11/fs/proc/base.c linux-2.6.32.11/fs/proc/base.c
32480 rcu_read_unlock(); 32964 rcu_read_unlock();
32481 } 32965 }
32482 security_task_to_inode(task, inode); 32966 security_task_to_inode(task, inode);
32483@@ -1473,6 +1516,9 @@ static int pid_getattr(struct vfsmount * 32967@@ -1474,6 +1517,9 @@ static int pid_getattr(struct vfsmount *
32484 struct inode *inode = dentry->d_inode; 32968 struct inode *inode = dentry->d_inode;
32485 struct task_struct *task; 32969 struct task_struct *task;
32486 const struct cred *cred; 32970 const struct cred *cred;
@@ -32490,7 +32974,7 @@ diff -urNp linux-2.6.32.11/fs/proc/base.c linux-2.6.32.11/fs/proc/base.c
32490 32974
32491 generic_fillattr(inode, stat); 32975 generic_fillattr(inode, stat);
32492 32976
32493@@ -1480,12 +1526,34 @@ static int pid_getattr(struct vfsmount * 32977@@ -1481,12 +1527,34 @@ static int pid_getattr(struct vfsmount *
32494 stat->uid = 0; 32978 stat->uid = 0;
32495 stat->gid = 0; 32979 stat->gid = 0;
32496 task = pid_task(proc_pid(inode), PIDTYPE_PID); 32980 task = pid_task(proc_pid(inode), PIDTYPE_PID);
@@ -32526,7 +33010,7 @@ diff -urNp linux-2.6.32.11/fs/proc/base.c linux-2.6.32.11/fs/proc/base.c
32526 } 33010 }
32527 } 33011 }
32528 rcu_read_unlock(); 33012 rcu_read_unlock();
32529@@ -1517,11 +1585,20 @@ static int pid_revalidate(struct dentry 33013@@ -1518,11 +1586,20 @@ static int pid_revalidate(struct dentry
32530 33014
32531 if (task) { 33015 if (task) {
32532 if ((inode->i_mode == (S_IFDIR|S_IRUGO|S_IXUGO)) || 33016 if ((inode->i_mode == (S_IFDIR|S_IRUGO|S_IXUGO)) ||
@@ -32547,7 +33031,7 @@ diff -urNp linux-2.6.32.11/fs/proc/base.c linux-2.6.32.11/fs/proc/base.c
32547 rcu_read_unlock(); 33031 rcu_read_unlock();
32548 } else { 33032 } else {
32549 inode->i_uid = 0; 33033 inode->i_uid = 0;
32550@@ -1642,7 +1719,8 @@ static int proc_fd_info(struct inode *in 33034@@ -1643,7 +1720,8 @@ static int proc_fd_info(struct inode *in
32551 int fd = proc_fd(inode); 33035 int fd = proc_fd(inode);
32552 33036
32553 if (task) { 33037 if (task) {
@@ -32557,7 +33041,7 @@ diff -urNp linux-2.6.32.11/fs/proc/base.c linux-2.6.32.11/fs/proc/base.c
32557 put_task_struct(task); 33041 put_task_struct(task);
32558 } 33042 }
32559 if (files) { 33043 if (files) {
32560@@ -1894,12 +1972,22 @@ static const struct file_operations proc 33044@@ -1895,12 +1973,22 @@ static const struct file_operations proc
32561 static int proc_fd_permission(struct inode *inode, int mask) 33045 static int proc_fd_permission(struct inode *inode, int mask)
32562 { 33046 {
32563 int rv; 33047 int rv;
@@ -32582,7 +33066,7 @@ diff -urNp linux-2.6.32.11/fs/proc/base.c linux-2.6.32.11/fs/proc/base.c
32582 return rv; 33066 return rv;
32583 } 33067 }
32584 33068
32585@@ -2008,6 +2096,9 @@ static struct dentry *proc_pident_lookup 33069@@ -2009,6 +2097,9 @@ static struct dentry *proc_pident_lookup
32586 if (!task) 33070 if (!task)
32587 goto out_no_task; 33071 goto out_no_task;
32588 33072
@@ -32592,7 +33076,7 @@ diff -urNp linux-2.6.32.11/fs/proc/base.c linux-2.6.32.11/fs/proc/base.c
32592 /* 33076 /*
32593 * Yes, it does not scale. And it should not. Don't add 33077 * Yes, it does not scale. And it should not. Don't add
32594 * new entries into /proc/<tgid>/ without very good reasons. 33078 * new entries into /proc/<tgid>/ without very good reasons.
32595@@ -2052,6 +2143,9 @@ static int proc_pident_readdir(struct fi 33079@@ -2053,6 +2144,9 @@ static int proc_pident_readdir(struct fi
32596 if (!task) 33080 if (!task)
32597 goto out_no_task; 33081 goto out_no_task;
32598 33082
@@ -32602,7 +33086,7 @@ diff -urNp linux-2.6.32.11/fs/proc/base.c linux-2.6.32.11/fs/proc/base.c
32602 ret = 0; 33086 ret = 0;
32603 i = filp->f_pos; 33087 i = filp->f_pos;
32604 switch (i) { 33088 switch (i) {
32605@@ -2319,7 +2413,7 @@ static void *proc_self_follow_link(struc 33089@@ -2320,7 +2414,7 @@ static void *proc_self_follow_link(struc
32606 static void proc_self_put_link(struct dentry *dentry, struct nameidata *nd, 33090 static void proc_self_put_link(struct dentry *dentry, struct nameidata *nd,
32607 void *cookie) 33091 void *cookie)
32608 { 33092 {
@@ -32611,7 +33095,7 @@ diff -urNp linux-2.6.32.11/fs/proc/base.c linux-2.6.32.11/fs/proc/base.c
32611 if (!IS_ERR(s)) 33095 if (!IS_ERR(s))
32612 __putname(s); 33096 __putname(s);
32613 } 33097 }
32614@@ -2432,6 +2526,9 @@ static struct dentry *proc_base_lookup(s 33098@@ -2433,6 +2527,9 @@ static struct dentry *proc_base_lookup(s
32615 if (p > last) 33099 if (p > last)
32616 goto out; 33100 goto out;
32617 33101
@@ -32621,7 +33105,7 @@ diff -urNp linux-2.6.32.11/fs/proc/base.c linux-2.6.32.11/fs/proc/base.c
32621 error = proc_base_instantiate(dir, dentry, task, p); 33105 error = proc_base_instantiate(dir, dentry, task, p);
32622 33106
32623 out: 33107 out:
32624@@ -2518,7 +2615,7 @@ static const struct pid_entry tgid_base_ 33108@@ -2519,7 +2616,7 @@ static const struct pid_entry tgid_base_
32625 #ifdef CONFIG_SCHED_DEBUG 33109 #ifdef CONFIG_SCHED_DEBUG
32626 REG("sched", S_IRUGO|S_IWUSR, proc_pid_sched_operations), 33110 REG("sched", S_IRUGO|S_IWUSR, proc_pid_sched_operations),
32627 #endif 33111 #endif
@@ -32630,7 +33114,7 @@ diff -urNp linux-2.6.32.11/fs/proc/base.c linux-2.6.32.11/fs/proc/base.c
32630 INF("syscall", S_IRUSR, proc_pid_syscall), 33114 INF("syscall", S_IRUSR, proc_pid_syscall),
32631 #endif 33115 #endif
32632 INF("cmdline", S_IRUGO, proc_pid_cmdline), 33116 INF("cmdline", S_IRUGO, proc_pid_cmdline),
32633@@ -2546,7 +2643,7 @@ static const struct pid_entry tgid_base_ 33117@@ -2547,7 +2644,7 @@ static const struct pid_entry tgid_base_
32634 #ifdef CONFIG_KALLSYMS 33118 #ifdef CONFIG_KALLSYMS
32635 INF("wchan", S_IRUGO, proc_pid_wchan), 33119 INF("wchan", S_IRUGO, proc_pid_wchan),
32636 #endif 33120 #endif
@@ -32639,7 +33123,7 @@ diff -urNp linux-2.6.32.11/fs/proc/base.c linux-2.6.32.11/fs/proc/base.c
32639 ONE("stack", S_IRUSR, proc_pid_stack), 33123 ONE("stack", S_IRUSR, proc_pid_stack),
32640 #endif 33124 #endif
32641 #ifdef CONFIG_SCHEDSTATS 33125 #ifdef CONFIG_SCHEDSTATS
32642@@ -2576,6 +2673,9 @@ static const struct pid_entry tgid_base_ 33126@@ -2577,6 +2674,9 @@ static const struct pid_entry tgid_base_
32643 #ifdef CONFIG_TASK_IO_ACCOUNTING 33127 #ifdef CONFIG_TASK_IO_ACCOUNTING
32644 INF("io", S_IRUGO, proc_tgid_io_accounting), 33128 INF("io", S_IRUGO, proc_tgid_io_accounting),
32645 #endif 33129 #endif
@@ -32649,7 +33133,7 @@ diff -urNp linux-2.6.32.11/fs/proc/base.c linux-2.6.32.11/fs/proc/base.c
32649 }; 33133 };
32650 33134
32651 static int proc_tgid_base_readdir(struct file * filp, 33135 static int proc_tgid_base_readdir(struct file * filp,
32652@@ -2700,7 +2800,14 @@ static struct dentry *proc_pid_instantia 33136@@ -2701,7 +2801,14 @@ static struct dentry *proc_pid_instantia
32653 if (!inode) 33137 if (!inode)
32654 goto out; 33138 goto out;
32655 33139
@@ -32664,7 +33148,7 @@ diff -urNp linux-2.6.32.11/fs/proc/base.c linux-2.6.32.11/fs/proc/base.c
32664 inode->i_op = &proc_tgid_base_inode_operations; 33148 inode->i_op = &proc_tgid_base_inode_operations;
32665 inode->i_fop = &proc_tgid_base_operations; 33149 inode->i_fop = &proc_tgid_base_operations;
32666 inode->i_flags|=S_IMMUTABLE; 33150 inode->i_flags|=S_IMMUTABLE;
32667@@ -2742,7 +2849,11 @@ struct dentry *proc_pid_lookup(struct in 33151@@ -2743,7 +2850,11 @@ struct dentry *proc_pid_lookup(struct in
32668 if (!task) 33152 if (!task)
32669 goto out; 33153 goto out;
32670 33154
@@ -32676,7 +33160,7 @@ diff -urNp linux-2.6.32.11/fs/proc/base.c linux-2.6.32.11/fs/proc/base.c
32676 put_task_struct(task); 33160 put_task_struct(task);
32677 out: 33161 out:
32678 return result; 33162 return result;
32679@@ -2807,6 +2918,11 @@ int proc_pid_readdir(struct file * filp, 33163@@ -2808,6 +2919,11 @@ int proc_pid_readdir(struct file * filp,
32680 { 33164 {
32681 unsigned int nr = filp->f_pos - FIRST_PROCESS_ENTRY; 33165 unsigned int nr = filp->f_pos - FIRST_PROCESS_ENTRY;
32682 struct task_struct *reaper = get_proc_task(filp->f_path.dentry->d_inode); 33166 struct task_struct *reaper = get_proc_task(filp->f_path.dentry->d_inode);
@@ -32688,7 +33172,7 @@ diff -urNp linux-2.6.32.11/fs/proc/base.c linux-2.6.32.11/fs/proc/base.c
32688 struct tgid_iter iter; 33172 struct tgid_iter iter;
32689 struct pid_namespace *ns; 33173 struct pid_namespace *ns;
32690 33174
32691@@ -2825,8 +2941,27 @@ int proc_pid_readdir(struct file * filp, 33175@@ -2826,8 +2942,27 @@ int proc_pid_readdir(struct file * filp,
32692 for (iter = next_tgid(ns, iter); 33176 for (iter = next_tgid(ns, iter);
32693 iter.task; 33177 iter.task;
32694 iter.tgid += 1, iter = next_tgid(ns, iter)) { 33178 iter.tgid += 1, iter = next_tgid(ns, iter)) {
@@ -32717,7 +33201,7 @@ diff -urNp linux-2.6.32.11/fs/proc/base.c linux-2.6.32.11/fs/proc/base.c
32717 put_task_struct(iter.task); 33201 put_task_struct(iter.task);
32718 goto out; 33202 goto out;
32719 } 33203 }
32720@@ -2852,7 +2987,7 @@ static const struct pid_entry tid_base_s 33204@@ -2853,7 +2988,7 @@ static const struct pid_entry tid_base_s
32721 #ifdef CONFIG_SCHED_DEBUG 33205 #ifdef CONFIG_SCHED_DEBUG
32722 REG("sched", S_IRUGO|S_IWUSR, proc_pid_sched_operations), 33206 REG("sched", S_IRUGO|S_IWUSR, proc_pid_sched_operations),
32723 #endif 33207 #endif
@@ -32726,7 +33210,7 @@ diff -urNp linux-2.6.32.11/fs/proc/base.c linux-2.6.32.11/fs/proc/base.c
32726 INF("syscall", S_IRUSR, proc_pid_syscall), 33210 INF("syscall", S_IRUSR, proc_pid_syscall),
32727 #endif 33211 #endif
32728 INF("cmdline", S_IRUGO, proc_pid_cmdline), 33212 INF("cmdline", S_IRUGO, proc_pid_cmdline),
32729@@ -2879,7 +3014,7 @@ static const struct pid_entry tid_base_s 33213@@ -2880,7 +3015,7 @@ static const struct pid_entry tid_base_s
32730 #ifdef CONFIG_KALLSYMS 33214 #ifdef CONFIG_KALLSYMS
32731 INF("wchan", S_IRUGO, proc_pid_wchan), 33215 INF("wchan", S_IRUGO, proc_pid_wchan),
32732 #endif 33216 #endif
@@ -32735,9 +33219,9 @@ diff -urNp linux-2.6.32.11/fs/proc/base.c linux-2.6.32.11/fs/proc/base.c
32735 ONE("stack", S_IRUSR, proc_pid_stack), 33219 ONE("stack", S_IRUSR, proc_pid_stack),
32736 #endif 33220 #endif
32737 #ifdef CONFIG_SCHEDSTATS 33221 #ifdef CONFIG_SCHEDSTATS
32738diff -urNp linux-2.6.32.11/fs/proc/cmdline.c linux-2.6.32.11/fs/proc/cmdline.c 33222diff -urNp linux-2.6.32.12/fs/proc/cmdline.c linux-2.6.32.12/fs/proc/cmdline.c
32739--- linux-2.6.32.11/fs/proc/cmdline.c 2010-03-15 11:52:04.000000000 -0400 33223--- linux-2.6.32.12/fs/proc/cmdline.c 2010-03-15 11:52:04.000000000 -0400
32740+++ linux-2.6.32.11/fs/proc/cmdline.c 2010-04-04 20:46:41.661529739 -0400 33224+++ linux-2.6.32.12/fs/proc/cmdline.c 2010-04-04 20:46:41.661529739 -0400
32741@@ -23,7 +23,11 @@ static const struct file_operations cmdl 33225@@ -23,7 +23,11 @@ static const struct file_operations cmdl
32742 33226
32743 static int __init proc_cmdline_init(void) 33227 static int __init proc_cmdline_init(void)
@@ -32750,9 +33234,9 @@ diff -urNp linux-2.6.32.11/fs/proc/cmdline.c linux-2.6.32.11/fs/proc/cmdline.c
32750 return 0; 33234 return 0;
32751 } 33235 }
32752 module_init(proc_cmdline_init); 33236 module_init(proc_cmdline_init);
32753diff -urNp linux-2.6.32.11/fs/proc/devices.c linux-2.6.32.11/fs/proc/devices.c 33237diff -urNp linux-2.6.32.12/fs/proc/devices.c linux-2.6.32.12/fs/proc/devices.c
32754--- linux-2.6.32.11/fs/proc/devices.c 2010-03-15 11:52:04.000000000 -0400 33238--- linux-2.6.32.12/fs/proc/devices.c 2010-03-15 11:52:04.000000000 -0400
32755+++ linux-2.6.32.11/fs/proc/devices.c 2010-04-04 20:46:41.661529739 -0400 33239+++ linux-2.6.32.12/fs/proc/devices.c 2010-04-04 20:46:41.661529739 -0400
32756@@ -64,7 +64,11 @@ static const struct file_operations proc 33240@@ -64,7 +64,11 @@ static const struct file_operations proc
32757 33241
32758 static int __init proc_devices_init(void) 33242 static int __init proc_devices_init(void)
@@ -32765,9 +33249,9 @@ diff -urNp linux-2.6.32.11/fs/proc/devices.c linux-2.6.32.11/fs/proc/devices.c
32765 return 0; 33249 return 0;
32766 } 33250 }
32767 module_init(proc_devices_init); 33251 module_init(proc_devices_init);
32768diff -urNp linux-2.6.32.11/fs/proc/inode.c linux-2.6.32.11/fs/proc/inode.c 33252diff -urNp linux-2.6.32.12/fs/proc/inode.c linux-2.6.32.12/fs/proc/inode.c
32769--- linux-2.6.32.11/fs/proc/inode.c 2010-03-15 11:52:04.000000000 -0400 33253--- linux-2.6.32.12/fs/proc/inode.c 2010-03-15 11:52:04.000000000 -0400
32770+++ linux-2.6.32.11/fs/proc/inode.c 2010-04-04 20:46:41.661529739 -0400 33254+++ linux-2.6.32.12/fs/proc/inode.c 2010-04-04 20:46:41.661529739 -0400
32771@@ -457,7 +457,11 @@ struct inode *proc_get_inode(struct supe 33255@@ -457,7 +457,11 @@ struct inode *proc_get_inode(struct supe
32772 if (de->mode) { 33256 if (de->mode) {
32773 inode->i_mode = de->mode; 33257 inode->i_mode = de->mode;
@@ -32780,9 +33264,9 @@ diff -urNp linux-2.6.32.11/fs/proc/inode.c linux-2.6.32.11/fs/proc/inode.c
32780 } 33264 }
32781 if (de->size) 33265 if (de->size)
32782 inode->i_size = de->size; 33266 inode->i_size = de->size;
32783diff -urNp linux-2.6.32.11/fs/proc/internal.h linux-2.6.32.11/fs/proc/internal.h 33267diff -urNp linux-2.6.32.12/fs/proc/internal.h linux-2.6.32.12/fs/proc/internal.h
32784--- linux-2.6.32.11/fs/proc/internal.h 2010-03-15 11:52:04.000000000 -0400 33268--- linux-2.6.32.12/fs/proc/internal.h 2010-03-15 11:52:04.000000000 -0400
32785+++ linux-2.6.32.11/fs/proc/internal.h 2010-04-04 20:46:41.661529739 -0400 33269+++ linux-2.6.32.12/fs/proc/internal.h 2010-04-04 20:46:41.661529739 -0400
32786@@ -51,6 +51,9 @@ extern int proc_pid_status(struct seq_fi 33270@@ -51,6 +51,9 @@ extern int proc_pid_status(struct seq_fi
32787 struct pid *pid, struct task_struct *task); 33271 struct pid *pid, struct task_struct *task);
32788 extern int proc_pid_statm(struct seq_file *m, struct pid_namespace *ns, 33272 extern int proc_pid_statm(struct seq_file *m, struct pid_namespace *ns,
@@ -32793,9 +33277,9 @@ diff -urNp linux-2.6.32.11/fs/proc/internal.h linux-2.6.32.11/fs/proc/internal.h
32793 extern loff_t mem_lseek(struct file *file, loff_t offset, int orig); 33277 extern loff_t mem_lseek(struct file *file, loff_t offset, int orig);
32794 33278
32795 extern const struct file_operations proc_maps_operations; 33279 extern const struct file_operations proc_maps_operations;
32796diff -urNp linux-2.6.32.11/fs/proc/Kconfig linux-2.6.32.11/fs/proc/Kconfig 33280diff -urNp linux-2.6.32.12/fs/proc/Kconfig linux-2.6.32.12/fs/proc/Kconfig
32797--- linux-2.6.32.11/fs/proc/Kconfig 2010-03-15 11:52:04.000000000 -0400 33281--- linux-2.6.32.12/fs/proc/Kconfig 2010-03-15 11:52:04.000000000 -0400
32798+++ linux-2.6.32.11/fs/proc/Kconfig 2010-04-04 20:46:41.661529739 -0400 33282+++ linux-2.6.32.12/fs/proc/Kconfig 2010-04-04 20:46:41.661529739 -0400
32799@@ -30,12 +30,12 @@ config PROC_FS 33283@@ -30,12 +30,12 @@ config PROC_FS
32800 33284
32801 config PROC_KCORE 33285 config PROC_KCORE
@@ -32823,9 +33307,9 @@ diff -urNp linux-2.6.32.11/fs/proc/Kconfig linux-2.6.32.11/fs/proc/Kconfig
32823 bool "Enable /proc page monitoring" if EMBEDDED 33307 bool "Enable /proc page monitoring" if EMBEDDED
32824 help 33308 help
32825 Various /proc files exist to monitor process memory utilization: 33309 Various /proc files exist to monitor process memory utilization:
32826diff -urNp linux-2.6.32.11/fs/proc/kcore.c linux-2.6.32.11/fs/proc/kcore.c 33310diff -urNp linux-2.6.32.12/fs/proc/kcore.c linux-2.6.32.12/fs/proc/kcore.c
32827--- linux-2.6.32.11/fs/proc/kcore.c 2010-03-15 11:52:04.000000000 -0400 33311--- linux-2.6.32.12/fs/proc/kcore.c 2010-03-15 11:52:04.000000000 -0400
32828+++ linux-2.6.32.11/fs/proc/kcore.c 2010-04-04 20:46:41.661529739 -0400 33312+++ linux-2.6.32.12/fs/proc/kcore.c 2010-04-04 20:46:41.661529739 -0400
32829@@ -541,6 +541,9 @@ read_kcore(struct file *file, char __use 33313@@ -541,6 +541,9 @@ read_kcore(struct file *file, char __use
32830 33314
32831 static int open_kcore(struct inode *inode, struct file *filp) 33315 static int open_kcore(struct inode *inode, struct file *filp)
@@ -32836,9 +33320,9 @@ diff -urNp linux-2.6.32.11/fs/proc/kcore.c linux-2.6.32.11/fs/proc/kcore.c
32836 if (!capable(CAP_SYS_RAWIO)) 33320 if (!capable(CAP_SYS_RAWIO))
32837 return -EPERM; 33321 return -EPERM;
32838 if (kcore_need_update) 33322 if (kcore_need_update)
32839diff -urNp linux-2.6.32.11/fs/proc/meminfo.c linux-2.6.32.11/fs/proc/meminfo.c 33323diff -urNp linux-2.6.32.12/fs/proc/meminfo.c linux-2.6.32.12/fs/proc/meminfo.c
32840--- linux-2.6.32.11/fs/proc/meminfo.c 2010-03-15 11:52:04.000000000 -0400 33324--- linux-2.6.32.12/fs/proc/meminfo.c 2010-03-15 11:52:04.000000000 -0400
32841+++ linux-2.6.32.11/fs/proc/meminfo.c 2010-04-04 20:46:41.661529739 -0400 33325+++ linux-2.6.32.12/fs/proc/meminfo.c 2010-04-04 20:46:41.661529739 -0400
32842@@ -149,7 +149,7 @@ static int meminfo_proc_show(struct seq_ 33326@@ -149,7 +149,7 @@ static int meminfo_proc_show(struct seq_
32843 vmi.used >> 10, 33327 vmi.used >> 10,
32844 vmi.largest_chunk >> 10 33328 vmi.largest_chunk >> 10
@@ -32848,9 +33332,9 @@ diff -urNp linux-2.6.32.11/fs/proc/meminfo.c linux-2.6.32.11/fs/proc/meminfo.c
32848 #endif 33332 #endif
32849 ); 33333 );
32850 33334
32851diff -urNp linux-2.6.32.11/fs/proc/nommu.c linux-2.6.32.11/fs/proc/nommu.c 33335diff -urNp linux-2.6.32.12/fs/proc/nommu.c linux-2.6.32.12/fs/proc/nommu.c
32852--- linux-2.6.32.11/fs/proc/nommu.c 2010-03-15 11:52:04.000000000 -0400 33336--- linux-2.6.32.12/fs/proc/nommu.c 2010-03-15 11:52:04.000000000 -0400
32853+++ linux-2.6.32.11/fs/proc/nommu.c 2010-04-04 20:46:41.661529739 -0400 33337+++ linux-2.6.32.12/fs/proc/nommu.c 2010-04-04 20:46:41.661529739 -0400
32854@@ -67,7 +67,7 @@ static int nommu_region_show(struct seq_ 33338@@ -67,7 +67,7 @@ static int nommu_region_show(struct seq_
32855 if (len < 1) 33339 if (len < 1)
32856 len = 1; 33340 len = 1;
@@ -32860,9 +33344,9 @@ diff -urNp linux-2.6.32.11/fs/proc/nommu.c linux-2.6.32.11/fs/proc/nommu.c
32860 } 33344 }
32861 33345
32862 seq_putc(m, '\n'); 33346 seq_putc(m, '\n');
32863diff -urNp linux-2.6.32.11/fs/proc/proc_net.c linux-2.6.32.11/fs/proc/proc_net.c 33347diff -urNp linux-2.6.32.12/fs/proc/proc_net.c linux-2.6.32.12/fs/proc/proc_net.c
32864--- linux-2.6.32.11/fs/proc/proc_net.c 2010-03-15 11:52:04.000000000 -0400 33348--- linux-2.6.32.12/fs/proc/proc_net.c 2010-03-15 11:52:04.000000000 -0400
32865+++ linux-2.6.32.11/fs/proc/proc_net.c 2010-04-04 20:46:41.661529739 -0400 33349+++ linux-2.6.32.12/fs/proc/proc_net.c 2010-04-04 20:46:41.661529739 -0400
32866@@ -104,6 +104,17 @@ static struct net *get_proc_task_net(str 33350@@ -104,6 +104,17 @@ static struct net *get_proc_task_net(str
32867 struct task_struct *task; 33351 struct task_struct *task;
32868 struct nsproxy *ns; 33352 struct nsproxy *ns;
@@ -32881,9 +33365,9 @@ diff -urNp linux-2.6.32.11/fs/proc/proc_net.c linux-2.6.32.11/fs/proc/proc_net.c
32881 33365
32882 rcu_read_lock(); 33366 rcu_read_lock();
32883 task = pid_task(proc_pid(dir), PIDTYPE_PID); 33367 task = pid_task(proc_pid(dir), PIDTYPE_PID);
32884diff -urNp linux-2.6.32.11/fs/proc/proc_sysctl.c linux-2.6.32.11/fs/proc/proc_sysctl.c 33368diff -urNp linux-2.6.32.12/fs/proc/proc_sysctl.c linux-2.6.32.12/fs/proc/proc_sysctl.c
32885--- linux-2.6.32.11/fs/proc/proc_sysctl.c 2010-03-15 11:52:04.000000000 -0400 33369--- linux-2.6.32.12/fs/proc/proc_sysctl.c 2010-03-15 11:52:04.000000000 -0400
32886+++ linux-2.6.32.11/fs/proc/proc_sysctl.c 2010-04-04 20:46:41.661529739 -0400 33370+++ linux-2.6.32.12/fs/proc/proc_sysctl.c 2010-04-04 20:46:41.661529739 -0400
32887@@ -7,6 +7,8 @@ 33371@@ -7,6 +7,8 @@
32888 #include <linux/security.h> 33372 #include <linux/security.h>
32889 #include "internal.h" 33373 #include "internal.h"
@@ -32923,9 +33407,9 @@ diff -urNp linux-2.6.32.11/fs/proc/proc_sysctl.c linux-2.6.32.11/fs/proc/proc_sy
32923 generic_fillattr(inode, stat); 33407 generic_fillattr(inode, stat);
32924 if (table) 33408 if (table)
32925 stat->mode = (stat->mode & S_IFMT) | table->mode; 33409 stat->mode = (stat->mode & S_IFMT) | table->mode;
32926diff -urNp linux-2.6.32.11/fs/proc/root.c linux-2.6.32.11/fs/proc/root.c 33410diff -urNp linux-2.6.32.12/fs/proc/root.c linux-2.6.32.12/fs/proc/root.c
32927--- linux-2.6.32.11/fs/proc/root.c 2010-03-15 11:52:04.000000000 -0400 33411--- linux-2.6.32.12/fs/proc/root.c 2010-03-15 11:52:04.000000000 -0400
32928+++ linux-2.6.32.11/fs/proc/root.c 2010-04-04 20:46:41.661529739 -0400 33412+++ linux-2.6.32.12/fs/proc/root.c 2010-04-04 20:46:41.661529739 -0400
32929@@ -134,7 +134,15 @@ void __init proc_root_init(void) 33413@@ -134,7 +134,15 @@ void __init proc_root_init(void)
32930 #ifdef CONFIG_PROC_DEVICETREE 33414 #ifdef CONFIG_PROC_DEVICETREE
32931 proc_device_tree_init(); 33415 proc_device_tree_init();
@@ -32942,9 +33426,9 @@ diff -urNp linux-2.6.32.11/fs/proc/root.c linux-2.6.32.11/fs/proc/root.c
32942 proc_sys_init(); 33426 proc_sys_init();
32943 } 33427 }
32944 33428
32945diff -urNp linux-2.6.32.11/fs/proc/task_mmu.c linux-2.6.32.11/fs/proc/task_mmu.c 33429diff -urNp linux-2.6.32.12/fs/proc/task_mmu.c linux-2.6.32.12/fs/proc/task_mmu.c
32946--- linux-2.6.32.11/fs/proc/task_mmu.c 2010-03-15 11:52:04.000000000 -0400 33430--- linux-2.6.32.12/fs/proc/task_mmu.c 2010-03-15 11:52:04.000000000 -0400
32947+++ linux-2.6.32.11/fs/proc/task_mmu.c 2010-04-04 20:46:41.661529739 -0400 33431+++ linux-2.6.32.12/fs/proc/task_mmu.c 2010-04-04 20:46:41.661529739 -0400
32948@@ -46,15 +46,26 @@ void task_mem(struct seq_file *m, struct 33432@@ -46,15 +46,26 @@ void task_mem(struct seq_file *m, struct
32949 "VmStk:\t%8lu kB\n" 33433 "VmStk:\t%8lu kB\n"
32950 "VmExe:\t%8lu kB\n" 33434 "VmExe:\t%8lu kB\n"
@@ -33065,9 +33549,9 @@ diff -urNp linux-2.6.32.11/fs/proc/task_mmu.c linux-2.6.32.11/fs/proc/task_mmu.c
33065 mss.resident >> 10, 33549 mss.resident >> 10,
33066 (unsigned long)(mss.pss >> (10 + PSS_SHIFT)), 33550 (unsigned long)(mss.pss >> (10 + PSS_SHIFT)),
33067 mss.shared_clean >> 10, 33551 mss.shared_clean >> 10,
33068diff -urNp linux-2.6.32.11/fs/proc/task_nommu.c linux-2.6.32.11/fs/proc/task_nommu.c 33552diff -urNp linux-2.6.32.12/fs/proc/task_nommu.c linux-2.6.32.12/fs/proc/task_nommu.c
33069--- linux-2.6.32.11/fs/proc/task_nommu.c 2010-03-15 11:52:04.000000000 -0400 33553--- linux-2.6.32.12/fs/proc/task_nommu.c 2010-03-15 11:52:04.000000000 -0400
33070+++ linux-2.6.32.11/fs/proc/task_nommu.c 2010-04-04 20:46:41.661529739 -0400 33554+++ linux-2.6.32.12/fs/proc/task_nommu.c 2010-04-04 20:46:41.661529739 -0400
33071@@ -50,7 +50,7 @@ void task_mem(struct seq_file *m, struct 33555@@ -50,7 +50,7 @@ void task_mem(struct seq_file *m, struct
33072 else 33556 else
33073 bytes += kobjsize(mm); 33557 bytes += kobjsize(mm);
@@ -33086,9 +33570,9 @@ diff -urNp linux-2.6.32.11/fs/proc/task_nommu.c linux-2.6.32.11/fs/proc/task_nom
33086 } 33570 }
33087 33571
33088 seq_putc(m, '\n'); 33572 seq_putc(m, '\n');
33089diff -urNp linux-2.6.32.11/fs/readdir.c linux-2.6.32.11/fs/readdir.c 33573diff -urNp linux-2.6.32.12/fs/readdir.c linux-2.6.32.12/fs/readdir.c
33090--- linux-2.6.32.11/fs/readdir.c 2010-03-15 11:52:04.000000000 -0400 33574--- linux-2.6.32.12/fs/readdir.c 2010-03-15 11:52:04.000000000 -0400
33091+++ linux-2.6.32.11/fs/readdir.c 2010-04-04 20:46:41.661529739 -0400 33575+++ linux-2.6.32.12/fs/readdir.c 2010-04-04 20:46:41.661529739 -0400
33092@@ -16,6 +16,7 @@ 33576@@ -16,6 +16,7 @@
33093 #include <linux/security.h> 33577 #include <linux/security.h>
33094 #include <linux/syscalls.h> 33578 #include <linux/syscalls.h>
@@ -33178,9 +33662,9 @@ diff -urNp linux-2.6.32.11/fs/readdir.c linux-2.6.32.11/fs/readdir.c
33178 buf.count = count; 33662 buf.count = count;
33179 buf.error = 0; 33663 buf.error = 0;
33180 33664
33181diff -urNp linux-2.6.32.11/fs/reiserfs/do_balan.c linux-2.6.32.11/fs/reiserfs/do_balan.c 33665diff -urNp linux-2.6.32.12/fs/reiserfs/do_balan.c linux-2.6.32.12/fs/reiserfs/do_balan.c
33182--- linux-2.6.32.11/fs/reiserfs/do_balan.c 2010-03-15 11:52:04.000000000 -0400 33666--- linux-2.6.32.12/fs/reiserfs/do_balan.c 2010-03-15 11:52:04.000000000 -0400
33183+++ linux-2.6.32.11/fs/reiserfs/do_balan.c 2010-04-04 20:46:41.661529739 -0400 33667+++ linux-2.6.32.12/fs/reiserfs/do_balan.c 2010-04-04 20:46:41.661529739 -0400
33184@@ -2058,7 +2058,7 @@ void do_balance(struct tree_balance *tb, 33668@@ -2058,7 +2058,7 @@ void do_balance(struct tree_balance *tb,
33185 return; 33669 return;
33186 } 33670 }
@@ -33190,9 +33674,9 @@ diff -urNp linux-2.6.32.11/fs/reiserfs/do_balan.c linux-2.6.32.11/fs/reiserfs/do
33190 do_balance_starts(tb); 33674 do_balance_starts(tb);
33191 33675
33192 /* balance leaf returns 0 except if combining L R and S into 33676 /* balance leaf returns 0 except if combining L R and S into
33193diff -urNp linux-2.6.32.11/fs/reiserfs/item_ops.c linux-2.6.32.11/fs/reiserfs/item_ops.c 33677diff -urNp linux-2.6.32.12/fs/reiserfs/item_ops.c linux-2.6.32.12/fs/reiserfs/item_ops.c
33194--- linux-2.6.32.11/fs/reiserfs/item_ops.c 2010-03-15 11:52:04.000000000 -0400 33678--- linux-2.6.32.12/fs/reiserfs/item_ops.c 2010-03-15 11:52:04.000000000 -0400
33195+++ linux-2.6.32.11/fs/reiserfs/item_ops.c 2010-04-04 20:46:41.661529739 -0400 33679+++ linux-2.6.32.12/fs/reiserfs/item_ops.c 2010-04-04 20:46:41.661529739 -0400
33196@@ -102,7 +102,7 @@ static void sd_print_vi(struct virtual_i 33680@@ -102,7 +102,7 @@ static void sd_print_vi(struct virtual_i
33197 vi->vi_index, vi->vi_type, vi->vi_ih); 33681 vi->vi_index, vi->vi_type, vi->vi_ih);
33198 } 33682 }
@@ -33247,9 +33731,9 @@ diff -urNp linux-2.6.32.11/fs/reiserfs/item_ops.c linux-2.6.32.11/fs/reiserfs/it
33247 &stat_data_ops, 33731 &stat_data_ops,
33248 &indirect_ops, 33732 &indirect_ops,
33249 &direct_ops, 33733 &direct_ops,
33250diff -urNp linux-2.6.32.11/fs/reiserfs/procfs.c linux-2.6.32.11/fs/reiserfs/procfs.c 33734diff -urNp linux-2.6.32.12/fs/reiserfs/procfs.c linux-2.6.32.12/fs/reiserfs/procfs.c
33251--- linux-2.6.32.11/fs/reiserfs/procfs.c 2010-03-15 11:52:04.000000000 -0400 33735--- linux-2.6.32.12/fs/reiserfs/procfs.c 2010-03-15 11:52:04.000000000 -0400
33252+++ linux-2.6.32.11/fs/reiserfs/procfs.c 2010-04-04 20:46:41.661529739 -0400 33736+++ linux-2.6.32.12/fs/reiserfs/procfs.c 2010-04-04 20:46:41.661529739 -0400
33253@@ -123,7 +123,7 @@ static int show_super(struct seq_file *m 33737@@ -123,7 +123,7 @@ static int show_super(struct seq_file *m
33254 "SMALL_TAILS " : "NO_TAILS ", 33738 "SMALL_TAILS " : "NO_TAILS ",
33255 replay_only(sb) ? "REPLAY_ONLY " : "", 33739 replay_only(sb) ? "REPLAY_ONLY " : "",
@@ -33259,9 +33743,9 @@ diff -urNp linux-2.6.32.11/fs/reiserfs/procfs.c linux-2.6.32.11/fs/reiserfs/proc
33259 SF(s_disk_reads), SF(s_disk_writes), SF(s_fix_nodes), 33743 SF(s_disk_reads), SF(s_disk_writes), SF(s_fix_nodes),
33260 SF(s_do_balance), SF(s_unneeded_left_neighbor), 33744 SF(s_do_balance), SF(s_unneeded_left_neighbor),
33261 SF(s_good_search_by_key_reada), SF(s_bmaps), 33745 SF(s_good_search_by_key_reada), SF(s_bmaps),
33262diff -urNp linux-2.6.32.11/fs/select.c linux-2.6.32.11/fs/select.c 33746diff -urNp linux-2.6.32.12/fs/select.c linux-2.6.32.12/fs/select.c
33263--- linux-2.6.32.11/fs/select.c 2010-03-15 11:52:04.000000000 -0400 33747--- linux-2.6.32.12/fs/select.c 2010-03-15 11:52:04.000000000 -0400
33264+++ linux-2.6.32.11/fs/select.c 2010-04-04 20:46:41.661529739 -0400 33748+++ linux-2.6.32.12/fs/select.c 2010-04-04 20:46:41.661529739 -0400
33265@@ -20,6 +20,7 @@ 33749@@ -20,6 +20,7 @@
33266 #include <linux/module.h> 33750 #include <linux/module.h>
33267 #include <linux/slab.h> 33751 #include <linux/slab.h>
@@ -33278,9 +33762,9 @@ diff -urNp linux-2.6.32.11/fs/select.c linux-2.6.32.11/fs/select.c
33278 if (nfds > current->signal->rlim[RLIMIT_NOFILE].rlim_cur) 33762 if (nfds > current->signal->rlim[RLIMIT_NOFILE].rlim_cur)
33279 return -EINVAL; 33763 return -EINVAL;
33280 33764
33281diff -urNp linux-2.6.32.11/fs/seq_file.c linux-2.6.32.11/fs/seq_file.c 33765diff -urNp linux-2.6.32.12/fs/seq_file.c linux-2.6.32.12/fs/seq_file.c
33282--- linux-2.6.32.11/fs/seq_file.c 2010-03-15 11:52:04.000000000 -0400 33766--- linux-2.6.32.12/fs/seq_file.c 2010-03-15 11:52:04.000000000 -0400
33283+++ linux-2.6.32.11/fs/seq_file.c 2010-04-04 20:46:41.661529739 -0400 33767+++ linux-2.6.32.12/fs/seq_file.c 2010-04-04 20:46:41.661529739 -0400
33284@@ -76,7 +76,8 @@ static int traverse(struct seq_file *m, 33768@@ -76,7 +76,8 @@ static int traverse(struct seq_file *m,
33285 return 0; 33769 return 0;
33286 } 33770 }
@@ -33321,9 +33805,9 @@ diff -urNp linux-2.6.32.11/fs/seq_file.c linux-2.6.32.11/fs/seq_file.c
33321 if (!m->buf) 33805 if (!m->buf)
33322 goto Enomem; 33806 goto Enomem;
33323 m->count = 0; 33807 m->count = 0;
33324diff -urNp linux-2.6.32.11/fs/smbfs/symlink.c linux-2.6.32.11/fs/smbfs/symlink.c 33808diff -urNp linux-2.6.32.12/fs/smbfs/symlink.c linux-2.6.32.12/fs/smbfs/symlink.c
33325--- linux-2.6.32.11/fs/smbfs/symlink.c 2010-03-15 11:52:04.000000000 -0400 33809--- linux-2.6.32.12/fs/smbfs/symlink.c 2010-03-15 11:52:04.000000000 -0400
33326+++ linux-2.6.32.11/fs/smbfs/symlink.c 2010-04-04 20:46:41.661529739 -0400 33810+++ linux-2.6.32.12/fs/smbfs/symlink.c 2010-04-04 20:46:41.661529739 -0400
33327@@ -55,7 +55,7 @@ static void *smb_follow_link(struct dent 33811@@ -55,7 +55,7 @@ static void *smb_follow_link(struct dent
33328 33812
33329 static void smb_put_link(struct dentry *dentry, struct nameidata *nd, void *p) 33813 static void smb_put_link(struct dentry *dentry, struct nameidata *nd, void *p)
@@ -33333,9 +33817,9 @@ diff -urNp linux-2.6.32.11/fs/smbfs/symlink.c linux-2.6.32.11/fs/smbfs/symlink.c
33333 if (!IS_ERR(s)) 33817 if (!IS_ERR(s))
33334 __putname(s); 33818 __putname(s);
33335 } 33819 }
33336diff -urNp linux-2.6.32.11/fs/splice.c linux-2.6.32.11/fs/splice.c 33820diff -urNp linux-2.6.32.12/fs/splice.c linux-2.6.32.12/fs/splice.c
33337--- linux-2.6.32.11/fs/splice.c 2010-03-15 11:52:04.000000000 -0400 33821--- linux-2.6.32.12/fs/splice.c 2010-03-15 11:52:04.000000000 -0400
33338+++ linux-2.6.32.11/fs/splice.c 2010-04-04 20:46:41.661529739 -0400 33822+++ linux-2.6.32.12/fs/splice.c 2010-04-04 20:46:41.661529739 -0400
33339@@ -185,7 +185,7 @@ ssize_t splice_to_pipe(struct pipe_inode 33823@@ -185,7 +185,7 @@ ssize_t splice_to_pipe(struct pipe_inode
33340 pipe_lock(pipe); 33824 pipe_lock(pipe);
33341 33825
@@ -33474,9 +33958,9 @@ diff -urNp linux-2.6.32.11/fs/splice.c linux-2.6.32.11/fs/splice.c
33474 ret = -EAGAIN; 33958 ret = -EAGAIN;
33475 33959
33476 pipe_unlock(ipipe); 33960 pipe_unlock(ipipe);
33477diff -urNp linux-2.6.32.11/fs/sysfs/file.c linux-2.6.32.11/fs/sysfs/file.c 33961diff -urNp linux-2.6.32.12/fs/sysfs/file.c linux-2.6.32.12/fs/sysfs/file.c
33478--- linux-2.6.32.11/fs/sysfs/file.c 2010-03-15 11:52:04.000000000 -0400 33962--- linux-2.6.32.12/fs/sysfs/file.c 2010-03-15 11:52:04.000000000 -0400
33479+++ linux-2.6.32.11/fs/sysfs/file.c 2010-04-04 20:46:41.661529739 -0400 33963+++ linux-2.6.32.12/fs/sysfs/file.c 2010-04-04 20:46:41.661529739 -0400
33480@@ -53,7 +53,7 @@ struct sysfs_buffer { 33964@@ -53,7 +53,7 @@ struct sysfs_buffer {
33481 size_t count; 33965 size_t count;
33482 loff_t pos; 33966 loff_t pos;
@@ -33513,9 +33997,9 @@ diff -urNp linux-2.6.32.11/fs/sysfs/file.c linux-2.6.32.11/fs/sysfs/file.c
33513 int error = -EACCES; 33997 int error = -EACCES;
33514 char *p; 33998 char *p;
33515 33999
33516diff -urNp linux-2.6.32.11/fs/sysfs/symlink.c linux-2.6.32.11/fs/sysfs/symlink.c 34000diff -urNp linux-2.6.32.12/fs/sysfs/symlink.c linux-2.6.32.12/fs/sysfs/symlink.c
33517--- linux-2.6.32.11/fs/sysfs/symlink.c 2010-03-15 11:52:04.000000000 -0400 34001--- linux-2.6.32.12/fs/sysfs/symlink.c 2010-03-15 11:52:04.000000000 -0400
33518+++ linux-2.6.32.11/fs/sysfs/symlink.c 2010-04-04 20:46:41.661529739 -0400 34002+++ linux-2.6.32.12/fs/sysfs/symlink.c 2010-04-04 20:46:41.661529739 -0400
33519@@ -204,7 +204,7 @@ static void *sysfs_follow_link(struct de 34003@@ -204,7 +204,7 @@ static void *sysfs_follow_link(struct de
33520 34004
33521 static void sysfs_put_link(struct dentry *dentry, struct nameidata *nd, void *cookie) 34005 static void sysfs_put_link(struct dentry *dentry, struct nameidata *nd, void *cookie)
@@ -33525,9 +34009,9 @@ diff -urNp linux-2.6.32.11/fs/sysfs/symlink.c linux-2.6.32.11/fs/sysfs/symlink.c
33525 if (!IS_ERR(page)) 34009 if (!IS_ERR(page))
33526 free_page((unsigned long)page); 34010 free_page((unsigned long)page);
33527 } 34011 }
33528diff -urNp linux-2.6.32.11/fs/udf/balloc.c linux-2.6.32.11/fs/udf/balloc.c 34012diff -urNp linux-2.6.32.12/fs/udf/balloc.c linux-2.6.32.12/fs/udf/balloc.c
33529--- linux-2.6.32.11/fs/udf/balloc.c 2010-03-15 11:52:04.000000000 -0400 34013--- linux-2.6.32.12/fs/udf/balloc.c 2010-03-15 11:52:04.000000000 -0400
33530+++ linux-2.6.32.11/fs/udf/balloc.c 2010-04-04 20:46:41.665784997 -0400 34014+++ linux-2.6.32.12/fs/udf/balloc.c 2010-04-04 20:46:41.665784997 -0400
33531@@ -172,9 +172,7 @@ static void udf_bitmap_free_blocks(struc 34015@@ -172,9 +172,7 @@ static void udf_bitmap_free_blocks(struc
33532 34016
33533 mutex_lock(&sbi->s_alloc_mutex); 34017 mutex_lock(&sbi->s_alloc_mutex);
@@ -33550,9 +34034,35 @@ diff -urNp linux-2.6.32.11/fs/udf/balloc.c linux-2.6.32.11/fs/udf/balloc.c
33550 udf_debug("%d < %d || %d + %d > %d\n", 34034 udf_debug("%d < %d || %d + %d > %d\n",
33551 bloc.logicalBlockNum, 0, bloc.logicalBlockNum, count, 34035 bloc.logicalBlockNum, 0, bloc.logicalBlockNum, count,
33552 partmap->s_partition_len); 34036 partmap->s_partition_len);
33553diff -urNp linux-2.6.32.11/fs/utimes.c linux-2.6.32.11/fs/utimes.c 34037diff -urNp linux-2.6.32.12/fs/udf/misc.c linux-2.6.32.12/fs/udf/misc.c
33554--- linux-2.6.32.11/fs/utimes.c 2010-03-15 11:52:04.000000000 -0400 34038--- linux-2.6.32.12/fs/udf/misc.c 2010-03-15 11:52:04.000000000 -0400
33555+++ linux-2.6.32.11/fs/utimes.c 2010-04-04 20:46:41.665784997 -0400 34039+++ linux-2.6.32.12/fs/udf/misc.c 2010-04-29 17:46:37.289044536 -0400
34040@@ -142,8 +142,8 @@ struct genericFormat *udf_add_extendedat
34041 iinfo->i_lenEAttr += size;
34042 return (struct genericFormat *)&ea[offset];
34043 }
34044- if (loc & 0x02)
34045- ;
34046+ if (loc & 0x02) {
34047+ }
34048
34049 return NULL;
34050 }
34051diff -urNp linux-2.6.32.12/fs/udf/udfdecl.h linux-2.6.32.12/fs/udf/udfdecl.h
34052--- linux-2.6.32.12/fs/udf/udfdecl.h 2010-03-15 11:52:04.000000000 -0400
34053+++ linux-2.6.32.12/fs/udf/udfdecl.h 2010-04-29 17:46:37.289044536 -0400
34054@@ -26,7 +26,7 @@ do { \
34055 printk(f, ##a); \
34056 } while (0)
34057 #else
34058-#define udf_debug(f, a...) /**/
34059+#define udf_debug(f, a...) do {} while (0)
34060 #endif
34061
34062 #define udf_info(f, a...) \
34063diff -urNp linux-2.6.32.12/fs/utimes.c linux-2.6.32.12/fs/utimes.c
34064--- linux-2.6.32.12/fs/utimes.c 2010-03-15 11:52:04.000000000 -0400
34065+++ linux-2.6.32.12/fs/utimes.c 2010-04-04 20:46:41.665784997 -0400
33556@@ -1,6 +1,7 @@ 34066@@ -1,6 +1,7 @@
33557 #include <linux/compiler.h> 34067 #include <linux/compiler.h>
33558 #include <linux/file.h> 34068 #include <linux/file.h>
@@ -33574,9 +34084,9 @@ diff -urNp linux-2.6.32.11/fs/utimes.c linux-2.6.32.11/fs/utimes.c
33574 mutex_lock(&inode->i_mutex); 34084 mutex_lock(&inode->i_mutex);
33575 error = notify_change(path->dentry, &newattrs); 34085 error = notify_change(path->dentry, &newattrs);
33576 mutex_unlock(&inode->i_mutex); 34086 mutex_unlock(&inode->i_mutex);
33577diff -urNp linux-2.6.32.11/fs/xfs/linux-2.6/xfs_ioctl.c linux-2.6.32.11/fs/xfs/linux-2.6/xfs_ioctl.c 34087diff -urNp linux-2.6.32.12/fs/xfs/linux-2.6/xfs_ioctl.c linux-2.6.32.12/fs/xfs/linux-2.6/xfs_ioctl.c
33578--- linux-2.6.32.11/fs/xfs/linux-2.6/xfs_ioctl.c 2010-03-15 11:52:04.000000000 -0400 34088--- linux-2.6.32.12/fs/xfs/linux-2.6/xfs_ioctl.c 2010-03-15 11:52:04.000000000 -0400
33579+++ linux-2.6.32.11/fs/xfs/linux-2.6/xfs_ioctl.c 2010-04-04 20:46:41.665784997 -0400 34089+++ linux-2.6.32.12/fs/xfs/linux-2.6/xfs_ioctl.c 2010-04-04 20:46:41.665784997 -0400
33580@@ -134,7 +134,7 @@ xfs_find_handle( 34090@@ -134,7 +134,7 @@ xfs_find_handle(
33581 } 34091 }
33582 34092
@@ -33586,9 +34096,9 @@ diff -urNp linux-2.6.32.11/fs/xfs/linux-2.6/xfs_ioctl.c linux-2.6.32.11/fs/xfs/l
33586 copy_to_user(hreq->ohandlen, &hsize, sizeof(__s32))) 34096 copy_to_user(hreq->ohandlen, &hsize, sizeof(__s32)))
33587 goto out_put; 34097 goto out_put;
33588 34098
33589diff -urNp linux-2.6.32.11/fs/xfs/linux-2.6/xfs_iops.c linux-2.6.32.11/fs/xfs/linux-2.6/xfs_iops.c 34099diff -urNp linux-2.6.32.12/fs/xfs/linux-2.6/xfs_iops.c linux-2.6.32.12/fs/xfs/linux-2.6/xfs_iops.c
33590--- linux-2.6.32.11/fs/xfs/linux-2.6/xfs_iops.c 2010-03-15 11:52:04.000000000 -0400 34100--- linux-2.6.32.12/fs/xfs/linux-2.6/xfs_iops.c 2010-04-29 17:49:38.453075413 -0400
33591+++ linux-2.6.32.11/fs/xfs/linux-2.6/xfs_iops.c 2010-04-04 20:46:41.665784997 -0400 34101+++ linux-2.6.32.12/fs/xfs/linux-2.6/xfs_iops.c 2010-04-29 17:49:58.609026943 -0400
33592@@ -468,7 +468,7 @@ xfs_vn_put_link( 34102@@ -468,7 +468,7 @@ xfs_vn_put_link(
33593 struct nameidata *nd, 34103 struct nameidata *nd,
33594 void *p) 34104 void *p)
@@ -33598,9 +34108,9 @@ diff -urNp linux-2.6.32.11/fs/xfs/linux-2.6/xfs_iops.c linux-2.6.32.11/fs/xfs/li
33598 34108
33599 if (!IS_ERR(s)) 34109 if (!IS_ERR(s))
33600 kfree(s); 34110 kfree(s);
33601diff -urNp linux-2.6.32.11/fs/xfs/xfs_bmap.c linux-2.6.32.11/fs/xfs/xfs_bmap.c 34111diff -urNp linux-2.6.32.12/fs/xfs/xfs_bmap.c linux-2.6.32.12/fs/xfs/xfs_bmap.c
33602--- linux-2.6.32.11/fs/xfs/xfs_bmap.c 2010-03-15 11:52:04.000000000 -0400 34112--- linux-2.6.32.12/fs/xfs/xfs_bmap.c 2010-03-15 11:52:04.000000000 -0400
33603+++ linux-2.6.32.11/fs/xfs/xfs_bmap.c 2010-04-04 20:46:41.665784997 -0400 34113+++ linux-2.6.32.12/fs/xfs/xfs_bmap.c 2010-04-04 20:46:41.665784997 -0400
33604@@ -360,7 +360,7 @@ xfs_bmap_validate_ret( 34114@@ -360,7 +360,7 @@ xfs_bmap_validate_ret(
33605 int nmap, 34115 int nmap,
33606 int ret_nmap); 34116 int ret_nmap);
@@ -33610,9 +34120,9 @@ diff -urNp linux-2.6.32.11/fs/xfs/xfs_bmap.c linux-2.6.32.11/fs/xfs/xfs_bmap.c
33610 #endif /* DEBUG */ 34120 #endif /* DEBUG */
33611 34121
33612 #if defined(XFS_RW_TRACE) 34122 #if defined(XFS_RW_TRACE)
33613diff -urNp linux-2.6.32.11/grsecurity/gracl_alloc.c linux-2.6.32.11/grsecurity/gracl_alloc.c 34123diff -urNp linux-2.6.32.12/grsecurity/gracl_alloc.c linux-2.6.32.12/grsecurity/gracl_alloc.c
33614--- linux-2.6.32.11/grsecurity/gracl_alloc.c 1969-12-31 19:00:00.000000000 -0500 34124--- linux-2.6.32.12/grsecurity/gracl_alloc.c 1969-12-31 19:00:00.000000000 -0500
33615+++ linux-2.6.32.11/grsecurity/gracl_alloc.c 2010-04-04 20:46:41.665784997 -0400 34125+++ linux-2.6.32.12/grsecurity/gracl_alloc.c 2010-04-04 20:46:41.665784997 -0400
33616@@ -0,0 +1,105 @@ 34126@@ -0,0 +1,105 @@
33617+#include <linux/kernel.h> 34127+#include <linux/kernel.h>
33618+#include <linux/mm.h> 34128+#include <linux/mm.h>
@@ -33719,10 +34229,10 @@ diff -urNp linux-2.6.32.11/grsecurity/gracl_alloc.c linux-2.6.32.11/grsecurity/g
33719+ else 34229+ else
33720+ return 1; 34230+ return 1;
33721+} 34231+}
33722diff -urNp linux-2.6.32.11/grsecurity/gracl.c linux-2.6.32.11/grsecurity/gracl.c 34232diff -urNp linux-2.6.32.12/grsecurity/gracl.c linux-2.6.32.12/grsecurity/gracl.c
33723--- linux-2.6.32.11/grsecurity/gracl.c 1969-12-31 19:00:00.000000000 -0500 34233--- linux-2.6.32.12/grsecurity/gracl.c 1969-12-31 19:00:00.000000000 -0500
33724+++ linux-2.6.32.11/grsecurity/gracl.c 2010-04-06 22:16:21.600343588 -0400 34234+++ linux-2.6.32.12/grsecurity/gracl.c 2010-04-29 17:48:04.497204424 -0400
33725@@ -0,0 +1,3924 @@ 34235@@ -0,0 +1,3897 @@
33726+#include <linux/kernel.h> 34236+#include <linux/kernel.h>
33727+#include <linux/module.h> 34237+#include <linux/module.h>
33728+#include <linux/sched.h> 34238+#include <linux/sched.h>
@@ -33862,37 +34372,10 @@ diff -urNp linux-2.6.32.11/grsecurity/gracl.c linux-2.6.32.11/grsecurity/gracl.c
33862+static int 34372+static int
33863+gr_streq(const char *a, const char *b, const unsigned int lena, const unsigned int lenb) 34373+gr_streq(const char *a, const char *b, const unsigned int lena, const unsigned int lenb)
33864+{ 34374+{
33865+ int i;
33866+ unsigned long *l1;
33867+ unsigned long *l2;
33868+ unsigned char *c1;
33869+ unsigned char *c2;
33870+ int num_longs;
33871+
33872+ if (likely(lena != lenb)) 34375+ if (likely(lena != lenb))
33873+ return 0; 34376+ return 0;
33874+ 34377+
33875+ l1 = (unsigned long *)a; 34378+ return !memcmp(a, b, lena);
33876+ l2 = (unsigned long *)b;
33877+
33878+ num_longs = lena / sizeof(unsigned long);
33879+
33880+ for (i = num_longs; i--; l1++, l2++) {
33881+ if (unlikely(*l1 != *l2))
33882+ return 0;
33883+ }
33884+
33885+ c1 = (unsigned char *) l1;
33886+ c2 = (unsigned char *) l2;
33887+
33888+ i = lena - (num_longs * sizeof(unsigned long));
33889+
33890+ for (; i--; c1++, c2++) {
33891+ if (unlikely(*c1 != *c2))
33892+ return 0;
33893+ }
33894+
33895+ return 1;
33896+} 34379+}
33897+ 34380+
33898+static char * __our_d_path(struct dentry *dentry, struct vfsmount *vfsmnt, 34381+static char * __our_d_path(struct dentry *dentry, struct vfsmount *vfsmnt,
@@ -37647,9 +38130,9 @@ diff -urNp linux-2.6.32.11/grsecurity/gracl.c linux-2.6.32.11/grsecurity/gracl.c
37647+EXPORT_SYMBOL(gr_check_group_change); 38130+EXPORT_SYMBOL(gr_check_group_change);
37648+#endif 38131+#endif
37649+ 38132+
37650diff -urNp linux-2.6.32.11/grsecurity/gracl_cap.c linux-2.6.32.11/grsecurity/gracl_cap.c 38133diff -urNp linux-2.6.32.12/grsecurity/gracl_cap.c linux-2.6.32.12/grsecurity/gracl_cap.c
37651--- linux-2.6.32.11/grsecurity/gracl_cap.c 1969-12-31 19:00:00.000000000 -0500 38134--- linux-2.6.32.12/grsecurity/gracl_cap.c 1969-12-31 19:00:00.000000000 -0500
37652+++ linux-2.6.32.11/grsecurity/gracl_cap.c 2010-04-04 20:46:41.668784531 -0400 38135+++ linux-2.6.32.12/grsecurity/gracl_cap.c 2010-04-04 20:46:41.668784531 -0400
37653@@ -0,0 +1,131 @@ 38136@@ -0,0 +1,131 @@
37654+#include <linux/kernel.h> 38137+#include <linux/kernel.h>
37655+#include <linux/module.h> 38138+#include <linux/module.h>
@@ -37782,9 +38265,9 @@ diff -urNp linux-2.6.32.11/grsecurity/gracl_cap.c linux-2.6.32.11/grsecurity/gra
37782+ return 0; 38265+ return 0;
37783+} 38266+}
37784+ 38267+
37785diff -urNp linux-2.6.32.11/grsecurity/gracl_fs.c linux-2.6.32.11/grsecurity/gracl_fs.c 38268diff -urNp linux-2.6.32.12/grsecurity/gracl_fs.c linux-2.6.32.12/grsecurity/gracl_fs.c
37786--- linux-2.6.32.11/grsecurity/gracl_fs.c 1969-12-31 19:00:00.000000000 -0500 38269--- linux-2.6.32.12/grsecurity/gracl_fs.c 1969-12-31 19:00:00.000000000 -0500
37787+++ linux-2.6.32.11/grsecurity/gracl_fs.c 2010-04-04 20:46:41.668784531 -0400 38270+++ linux-2.6.32.12/grsecurity/gracl_fs.c 2010-04-04 20:46:41.668784531 -0400
37788@@ -0,0 +1,424 @@ 38271@@ -0,0 +1,424 @@
37789+#include <linux/kernel.h> 38272+#include <linux/kernel.h>
37790+#include <linux/sched.h> 38273+#include <linux/sched.h>
@@ -38210,9 +38693,9 @@ diff -urNp linux-2.6.32.11/grsecurity/gracl_fs.c linux-2.6.32.11/grsecurity/grac
38210+ 38693+
38211+ return 0; 38694+ return 0;
38212+} 38695+}
38213diff -urNp linux-2.6.32.11/grsecurity/gracl_ip.c linux-2.6.32.11/grsecurity/gracl_ip.c 38696diff -urNp linux-2.6.32.12/grsecurity/gracl_ip.c linux-2.6.32.12/grsecurity/gracl_ip.c
38214--- linux-2.6.32.11/grsecurity/gracl_ip.c 1969-12-31 19:00:00.000000000 -0500 38697--- linux-2.6.32.12/grsecurity/gracl_ip.c 1969-12-31 19:00:00.000000000 -0500
38215+++ linux-2.6.32.11/grsecurity/gracl_ip.c 2010-04-04 20:46:41.668784531 -0400 38698+++ linux-2.6.32.12/grsecurity/gracl_ip.c 2010-04-04 20:46:41.668784531 -0400
38216@@ -0,0 +1,339 @@ 38699@@ -0,0 +1,339 @@
38217+#include <linux/kernel.h> 38700+#include <linux/kernel.h>
38218+#include <asm/uaccess.h> 38701+#include <asm/uaccess.h>
@@ -38553,9 +39036,9 @@ diff -urNp linux-2.6.32.11/grsecurity/gracl_ip.c linux-2.6.32.11/grsecurity/grac
38553+ 39036+
38554+ return gr_search_connectbind(GR_CONNECT | GR_CONNECTOVERRIDE, sk, &sin, SOCK_DGRAM); 39037+ return gr_search_connectbind(GR_CONNECT | GR_CONNECTOVERRIDE, sk, &sin, SOCK_DGRAM);
38555+} 39038+}
38556diff -urNp linux-2.6.32.11/grsecurity/gracl_learn.c linux-2.6.32.11/grsecurity/gracl_learn.c 39039diff -urNp linux-2.6.32.12/grsecurity/gracl_learn.c linux-2.6.32.12/grsecurity/gracl_learn.c
38557--- linux-2.6.32.11/grsecurity/gracl_learn.c 1969-12-31 19:00:00.000000000 -0500 39040--- linux-2.6.32.12/grsecurity/gracl_learn.c 1969-12-31 19:00:00.000000000 -0500
38558+++ linux-2.6.32.11/grsecurity/gracl_learn.c 2010-04-04 20:46:41.668784531 -0400 39041+++ linux-2.6.32.12/grsecurity/gracl_learn.c 2010-04-04 20:46:41.668784531 -0400
38559@@ -0,0 +1,211 @@ 39042@@ -0,0 +1,211 @@
38560+#include <linux/kernel.h> 39043+#include <linux/kernel.h>
38561+#include <linux/mm.h> 39044+#include <linux/mm.h>
@@ -38768,9 +39251,9 @@ diff -urNp linux-2.6.32.11/grsecurity/gracl_learn.c linux-2.6.32.11/grsecurity/g
38768+ .release = close_learn, 39251+ .release = close_learn,
38769+ .poll = poll_learn, 39252+ .poll = poll_learn,
38770+}; 39253+};
38771diff -urNp linux-2.6.32.11/grsecurity/gracl_res.c linux-2.6.32.11/grsecurity/gracl_res.c 39254diff -urNp linux-2.6.32.12/grsecurity/gracl_res.c linux-2.6.32.12/grsecurity/gracl_res.c
38772--- linux-2.6.32.11/grsecurity/gracl_res.c 1969-12-31 19:00:00.000000000 -0500 39255--- linux-2.6.32.12/grsecurity/gracl_res.c 1969-12-31 19:00:00.000000000 -0500
38773+++ linux-2.6.32.11/grsecurity/gracl_res.c 2010-04-04 20:46:41.668784531 -0400 39256+++ linux-2.6.32.12/grsecurity/gracl_res.c 2010-04-04 20:46:41.668784531 -0400
38774@@ -0,0 +1,65 @@ 39257@@ -0,0 +1,65 @@
38775+#include <linux/kernel.h> 39258+#include <linux/kernel.h>
38776+#include <linux/sched.h> 39259+#include <linux/sched.h>
@@ -38837,9 +39320,9 @@ diff -urNp linux-2.6.32.11/grsecurity/gracl_res.c linux-2.6.32.11/grsecurity/gra
38837+ rcu_read_unlock(); 39320+ rcu_read_unlock();
38838+ return; 39321+ return;
38839+} 39322+}
38840diff -urNp linux-2.6.32.11/grsecurity/gracl_segv.c linux-2.6.32.11/grsecurity/gracl_segv.c 39323diff -urNp linux-2.6.32.12/grsecurity/gracl_segv.c linux-2.6.32.12/grsecurity/gracl_segv.c
38841--- linux-2.6.32.11/grsecurity/gracl_segv.c 1969-12-31 19:00:00.000000000 -0500 39324--- linux-2.6.32.12/grsecurity/gracl_segv.c 1969-12-31 19:00:00.000000000 -0500
38842+++ linux-2.6.32.11/grsecurity/gracl_segv.c 2010-04-04 20:46:41.668784531 -0400 39325+++ linux-2.6.32.12/grsecurity/gracl_segv.c 2010-04-04 20:46:41.668784531 -0400
38843@@ -0,0 +1,310 @@ 39326@@ -0,0 +1,310 @@
38844+#include <linux/kernel.h> 39327+#include <linux/kernel.h>
38845+#include <linux/mm.h> 39328+#include <linux/mm.h>
@@ -39151,9 +39634,9 @@ diff -urNp linux-2.6.32.11/grsecurity/gracl_segv.c linux-2.6.32.11/grsecurity/gr
39151+ 39634+
39152+ return; 39635+ return;
39153+} 39636+}
39154diff -urNp linux-2.6.32.11/grsecurity/gracl_shm.c linux-2.6.32.11/grsecurity/gracl_shm.c 39637diff -urNp linux-2.6.32.12/grsecurity/gracl_shm.c linux-2.6.32.12/grsecurity/gracl_shm.c
39155--- linux-2.6.32.11/grsecurity/gracl_shm.c 1969-12-31 19:00:00.000000000 -0500 39638--- linux-2.6.32.12/grsecurity/gracl_shm.c 1969-12-31 19:00:00.000000000 -0500
39156+++ linux-2.6.32.11/grsecurity/gracl_shm.c 2010-04-04 20:46:41.668784531 -0400 39639+++ linux-2.6.32.12/grsecurity/gracl_shm.c 2010-04-04 20:46:41.668784531 -0400
39157@@ -0,0 +1,37 @@ 39640@@ -0,0 +1,37 @@
39158+#include <linux/kernel.h> 39641+#include <linux/kernel.h>
39159+#include <linux/mm.h> 39642+#include <linux/mm.h>
@@ -39192,9 +39675,9 @@ diff -urNp linux-2.6.32.11/grsecurity/gracl_shm.c linux-2.6.32.11/grsecurity/gra
39192+ 39675+
39193+ return 1; 39676+ return 1;
39194+} 39677+}
39195diff -urNp linux-2.6.32.11/grsecurity/grsec_chdir.c linux-2.6.32.11/grsecurity/grsec_chdir.c 39678diff -urNp linux-2.6.32.12/grsecurity/grsec_chdir.c linux-2.6.32.12/grsecurity/grsec_chdir.c
39196--- linux-2.6.32.11/grsecurity/grsec_chdir.c 1969-12-31 19:00:00.000000000 -0500 39679--- linux-2.6.32.12/grsecurity/grsec_chdir.c 1969-12-31 19:00:00.000000000 -0500
39197+++ linux-2.6.32.11/grsecurity/grsec_chdir.c 2010-04-04 20:46:41.668784531 -0400 39680+++ linux-2.6.32.12/grsecurity/grsec_chdir.c 2010-04-04 20:46:41.668784531 -0400
39198@@ -0,0 +1,19 @@ 39681@@ -0,0 +1,19 @@
39199+#include <linux/kernel.h> 39682+#include <linux/kernel.h>
39200+#include <linux/sched.h> 39683+#include <linux/sched.h>
@@ -39215,9 +39698,9 @@ diff -urNp linux-2.6.32.11/grsecurity/grsec_chdir.c linux-2.6.32.11/grsecurity/g
39215+#endif 39698+#endif
39216+ return; 39699+ return;
39217+} 39700+}
39218diff -urNp linux-2.6.32.11/grsecurity/grsec_chroot.c linux-2.6.32.11/grsecurity/grsec_chroot.c 39701diff -urNp linux-2.6.32.12/grsecurity/grsec_chroot.c linux-2.6.32.12/grsecurity/grsec_chroot.c
39219--- linux-2.6.32.11/grsecurity/grsec_chroot.c 1969-12-31 19:00:00.000000000 -0500 39702--- linux-2.6.32.12/grsecurity/grsec_chroot.c 1969-12-31 19:00:00.000000000 -0500
39220+++ linux-2.6.32.11/grsecurity/grsec_chroot.c 2010-04-04 20:46:41.668784531 -0400 39703+++ linux-2.6.32.12/grsecurity/grsec_chroot.c 2010-04-04 20:46:41.668784531 -0400
39221@@ -0,0 +1,348 @@ 39704@@ -0,0 +1,348 @@
39222+#include <linux/kernel.h> 39705+#include <linux/kernel.h>
39223+#include <linux/module.h> 39706+#include <linux/module.h>
@@ -39567,9 +40050,9 @@ diff -urNp linux-2.6.32.11/grsecurity/grsec_chroot.c linux-2.6.32.11/grsecurity/
39567+#ifdef CONFIG_SECURITY 40050+#ifdef CONFIG_SECURITY
39568+EXPORT_SYMBOL(gr_handle_chroot_caps); 40051+EXPORT_SYMBOL(gr_handle_chroot_caps);
39569+#endif 40052+#endif
39570diff -urNp linux-2.6.32.11/grsecurity/grsec_disabled.c linux-2.6.32.11/grsecurity/grsec_disabled.c 40053diff -urNp linux-2.6.32.12/grsecurity/grsec_disabled.c linux-2.6.32.12/grsecurity/grsec_disabled.c
39571--- linux-2.6.32.11/grsecurity/grsec_disabled.c 1969-12-31 19:00:00.000000000 -0500 40054--- linux-2.6.32.12/grsecurity/grsec_disabled.c 1969-12-31 19:00:00.000000000 -0500
39572+++ linux-2.6.32.11/grsecurity/grsec_disabled.c 2010-04-04 20:46:41.668784531 -0400 40055+++ linux-2.6.32.12/grsecurity/grsec_disabled.c 2010-04-04 20:46:41.668784531 -0400
39573@@ -0,0 +1,426 @@ 40056@@ -0,0 +1,426 @@
39574+#include <linux/kernel.h> 40057+#include <linux/kernel.h>
39575+#include <linux/module.h> 40058+#include <linux/module.h>
@@ -39997,9 +40480,9 @@ diff -urNp linux-2.6.32.11/grsecurity/grsec_disabled.c linux-2.6.32.11/grsecurit
39997+EXPORT_SYMBOL(gr_check_user_change); 40480+EXPORT_SYMBOL(gr_check_user_change);
39998+EXPORT_SYMBOL(gr_check_group_change); 40481+EXPORT_SYMBOL(gr_check_group_change);
39999+#endif 40482+#endif
40000diff -urNp linux-2.6.32.11/grsecurity/grsec_exec.c linux-2.6.32.11/grsecurity/grsec_exec.c 40483diff -urNp linux-2.6.32.12/grsecurity/grsec_exec.c linux-2.6.32.12/grsecurity/grsec_exec.c
40001--- linux-2.6.32.11/grsecurity/grsec_exec.c 1969-12-31 19:00:00.000000000 -0500 40484--- linux-2.6.32.12/grsecurity/grsec_exec.c 1969-12-31 19:00:00.000000000 -0500
40002+++ linux-2.6.32.11/grsecurity/grsec_exec.c 2010-04-04 20:46:41.668784531 -0400 40485+++ linux-2.6.32.12/grsecurity/grsec_exec.c 2010-04-04 20:46:41.668784531 -0400
40003@@ -0,0 +1,89 @@ 40486@@ -0,0 +1,89 @@
40004+#include <linux/kernel.h> 40487+#include <linux/kernel.h>
40005+#include <linux/sched.h> 40488+#include <linux/sched.h>
@@ -40090,9 +40573,9 @@ diff -urNp linux-2.6.32.11/grsecurity/grsec_exec.c linux-2.6.32.11/grsecurity/gr
40090+#endif 40573+#endif
40091+ return; 40574+ return;
40092+} 40575+}
40093diff -urNp linux-2.6.32.11/grsecurity/grsec_fifo.c linux-2.6.32.11/grsecurity/grsec_fifo.c 40576diff -urNp linux-2.6.32.12/grsecurity/grsec_fifo.c linux-2.6.32.12/grsecurity/grsec_fifo.c
40094--- linux-2.6.32.11/grsecurity/grsec_fifo.c 1969-12-31 19:00:00.000000000 -0500 40577--- linux-2.6.32.12/grsecurity/grsec_fifo.c 1969-12-31 19:00:00.000000000 -0500
40095+++ linux-2.6.32.11/grsecurity/grsec_fifo.c 2010-04-04 20:46:41.668784531 -0400 40578+++ linux-2.6.32.12/grsecurity/grsec_fifo.c 2010-04-04 20:46:41.668784531 -0400
40096@@ -0,0 +1,24 @@ 40579@@ -0,0 +1,24 @@
40097+#include <linux/kernel.h> 40580+#include <linux/kernel.h>
40098+#include <linux/sched.h> 40581+#include <linux/sched.h>
@@ -40118,9 +40601,9 @@ diff -urNp linux-2.6.32.11/grsecurity/grsec_fifo.c linux-2.6.32.11/grsecurity/gr
40118+#endif 40601+#endif
40119+ return 0; 40602+ return 0;
40120+} 40603+}
40121diff -urNp linux-2.6.32.11/grsecurity/grsec_fork.c linux-2.6.32.11/grsecurity/grsec_fork.c 40604diff -urNp linux-2.6.32.12/grsecurity/grsec_fork.c linux-2.6.32.12/grsecurity/grsec_fork.c
40122--- linux-2.6.32.11/grsecurity/grsec_fork.c 1969-12-31 19:00:00.000000000 -0500 40605--- linux-2.6.32.12/grsecurity/grsec_fork.c 1969-12-31 19:00:00.000000000 -0500
40123+++ linux-2.6.32.11/grsecurity/grsec_fork.c 2010-04-04 20:46:41.668784531 -0400 40606+++ linux-2.6.32.12/grsecurity/grsec_fork.c 2010-04-04 20:46:41.668784531 -0400
40124@@ -0,0 +1,15 @@ 40607@@ -0,0 +1,15 @@
40125+#include <linux/kernel.h> 40608+#include <linux/kernel.h>
40126+#include <linux/sched.h> 40609+#include <linux/sched.h>
@@ -40137,9 +40620,9 @@ diff -urNp linux-2.6.32.11/grsecurity/grsec_fork.c linux-2.6.32.11/grsecurity/gr
40137+#endif 40620+#endif
40138+ return; 40621+ return;
40139+} 40622+}
40140diff -urNp linux-2.6.32.11/grsecurity/grsec_init.c linux-2.6.32.11/grsecurity/grsec_init.c 40623diff -urNp linux-2.6.32.12/grsecurity/grsec_init.c linux-2.6.32.12/grsecurity/grsec_init.c
40141--- linux-2.6.32.11/grsecurity/grsec_init.c 1969-12-31 19:00:00.000000000 -0500 40624--- linux-2.6.32.12/grsecurity/grsec_init.c 1969-12-31 19:00:00.000000000 -0500
40142+++ linux-2.6.32.11/grsecurity/grsec_init.c 2010-04-04 20:46:41.668784531 -0400 40625+++ linux-2.6.32.12/grsecurity/grsec_init.c 2010-04-04 20:46:41.668784531 -0400
40143@@ -0,0 +1,241 @@ 40626@@ -0,0 +1,241 @@
40144+#include <linux/kernel.h> 40627+#include <linux/kernel.h>
40145+#include <linux/sched.h> 40628+#include <linux/sched.h>
@@ -40382,9 +40865,9 @@ diff -urNp linux-2.6.32.11/grsecurity/grsec_init.c linux-2.6.32.11/grsecurity/gr
40382+ 40865+
40383+ return; 40866+ return;
40384+} 40867+}
40385diff -urNp linux-2.6.32.11/grsecurity/grsec_link.c linux-2.6.32.11/grsecurity/grsec_link.c 40868diff -urNp linux-2.6.32.12/grsecurity/grsec_link.c linux-2.6.32.12/grsecurity/grsec_link.c
40386--- linux-2.6.32.11/grsecurity/grsec_link.c 1969-12-31 19:00:00.000000000 -0500 40869--- linux-2.6.32.12/grsecurity/grsec_link.c 1969-12-31 19:00:00.000000000 -0500
40387+++ linux-2.6.32.11/grsecurity/grsec_link.c 2010-04-04 20:46:41.668784531 -0400 40870+++ linux-2.6.32.12/grsecurity/grsec_link.c 2010-04-04 20:46:41.668784531 -0400
40388@@ -0,0 +1,43 @@ 40871@@ -0,0 +1,43 @@
40389+#include <linux/kernel.h> 40872+#include <linux/kernel.h>
40390+#include <linux/sched.h> 40873+#include <linux/sched.h>
@@ -40429,9 +40912,9 @@ diff -urNp linux-2.6.32.11/grsecurity/grsec_link.c linux-2.6.32.11/grsecurity/gr
40429+#endif 40912+#endif
40430+ return 0; 40913+ return 0;
40431+} 40914+}
40432diff -urNp linux-2.6.32.11/grsecurity/grsec_log.c linux-2.6.32.11/grsecurity/grsec_log.c 40915diff -urNp linux-2.6.32.12/grsecurity/grsec_log.c linux-2.6.32.12/grsecurity/grsec_log.c
40433--- linux-2.6.32.11/grsecurity/grsec_log.c 1969-12-31 19:00:00.000000000 -0500 40916--- linux-2.6.32.12/grsecurity/grsec_log.c 1969-12-31 19:00:00.000000000 -0500
40434+++ linux-2.6.32.11/grsecurity/grsec_log.c 2010-04-04 20:46:41.668784531 -0400 40917+++ linux-2.6.32.12/grsecurity/grsec_log.c 2010-04-04 20:46:41.668784531 -0400
40435@@ -0,0 +1,296 @@ 40918@@ -0,0 +1,296 @@
40436+#include <linux/kernel.h> 40919+#include <linux/kernel.h>
40437+#include <linux/sched.h> 40920+#include <linux/sched.h>
@@ -40729,9 +41212,9 @@ diff -urNp linux-2.6.32.11/grsecurity/grsec_log.c linux-2.6.32.11/grsecurity/grs
40729+ gr_log_end(audit); 41212+ gr_log_end(audit);
40730+ END_LOCKS(audit); 41213+ END_LOCKS(audit);
40731+} 41214+}
40732diff -urNp linux-2.6.32.11/grsecurity/grsec_mem.c linux-2.6.32.11/grsecurity/grsec_mem.c 41215diff -urNp linux-2.6.32.12/grsecurity/grsec_mem.c linux-2.6.32.12/grsecurity/grsec_mem.c
40733--- linux-2.6.32.11/grsecurity/grsec_mem.c 1969-12-31 19:00:00.000000000 -0500 41216--- linux-2.6.32.12/grsecurity/grsec_mem.c 1969-12-31 19:00:00.000000000 -0500
40734+++ linux-2.6.32.11/grsecurity/grsec_mem.c 2010-04-04 20:46:41.668784531 -0400 41217+++ linux-2.6.32.12/grsecurity/grsec_mem.c 2010-04-04 20:46:41.668784531 -0400
40735@@ -0,0 +1,85 @@ 41218@@ -0,0 +1,85 @@
40736+#include <linux/kernel.h> 41219+#include <linux/kernel.h>
40737+#include <linux/sched.h> 41220+#include <linux/sched.h>
@@ -40818,9 +41301,9 @@ diff -urNp linux-2.6.32.11/grsecurity/grsec_mem.c linux-2.6.32.11/grsecurity/grs
40818+ gr_log_noargs(GR_DONT_AUDIT, GR_VM86_MSG); 41301+ gr_log_noargs(GR_DONT_AUDIT, GR_VM86_MSG);
40819+ return; 41302+ return;
40820+} 41303+}
40821diff -urNp linux-2.6.32.11/grsecurity/grsec_mount.c linux-2.6.32.11/grsecurity/grsec_mount.c 41304diff -urNp linux-2.6.32.12/grsecurity/grsec_mount.c linux-2.6.32.12/grsecurity/grsec_mount.c
40822--- linux-2.6.32.11/grsecurity/grsec_mount.c 1969-12-31 19:00:00.000000000 -0500 41305--- linux-2.6.32.12/grsecurity/grsec_mount.c 1969-12-31 19:00:00.000000000 -0500
40823+++ linux-2.6.32.11/grsecurity/grsec_mount.c 2010-04-04 20:46:41.668784531 -0400 41306+++ linux-2.6.32.12/grsecurity/grsec_mount.c 2010-04-04 20:46:41.668784531 -0400
40824@@ -0,0 +1,62 @@ 41307@@ -0,0 +1,62 @@
40825+#include <linux/kernel.h> 41308+#include <linux/kernel.h>
40826+#include <linux/sched.h> 41309+#include <linux/sched.h>
@@ -40884,9 +41367,9 @@ diff -urNp linux-2.6.32.11/grsecurity/grsec_mount.c linux-2.6.32.11/grsecurity/g
40884+#endif 41367+#endif
40885+ return 0; 41368+ return 0;
40886+} 41369+}
40887diff -urNp linux-2.6.32.11/grsecurity/grsec_ptrace.c linux-2.6.32.11/grsecurity/grsec_ptrace.c 41370diff -urNp linux-2.6.32.12/grsecurity/grsec_ptrace.c linux-2.6.32.12/grsecurity/grsec_ptrace.c
40888--- linux-2.6.32.11/grsecurity/grsec_ptrace.c 1969-12-31 19:00:00.000000000 -0500 41371--- linux-2.6.32.12/grsecurity/grsec_ptrace.c 1969-12-31 19:00:00.000000000 -0500
40889+++ linux-2.6.32.11/grsecurity/grsec_ptrace.c 2010-04-04 20:46:41.668784531 -0400 41372+++ linux-2.6.32.12/grsecurity/grsec_ptrace.c 2010-04-04 20:46:41.668784531 -0400
40890@@ -0,0 +1,14 @@ 41373@@ -0,0 +1,14 @@
40891+#include <linux/kernel.h> 41374+#include <linux/kernel.h>
40892+#include <linux/sched.h> 41375+#include <linux/sched.h>
@@ -40902,9 +41385,9 @@ diff -urNp linux-2.6.32.11/grsecurity/grsec_ptrace.c linux-2.6.32.11/grsecurity/
40902+#endif 41385+#endif
40903+ return; 41386+ return;
40904+} 41387+}
40905diff -urNp linux-2.6.32.11/grsecurity/grsec_sig.c linux-2.6.32.11/grsecurity/grsec_sig.c 41388diff -urNp linux-2.6.32.12/grsecurity/grsec_sig.c linux-2.6.32.12/grsecurity/grsec_sig.c
40906--- linux-2.6.32.11/grsecurity/grsec_sig.c 1969-12-31 19:00:00.000000000 -0500 41389--- linux-2.6.32.12/grsecurity/grsec_sig.c 1969-12-31 19:00:00.000000000 -0500
40907+++ linux-2.6.32.11/grsecurity/grsec_sig.c 2010-04-04 20:46:41.668784531 -0400 41390+++ linux-2.6.32.12/grsecurity/grsec_sig.c 2010-04-04 20:46:41.668784531 -0400
40908@@ -0,0 +1,65 @@ 41391@@ -0,0 +1,65 @@
40909+#include <linux/kernel.h> 41392+#include <linux/kernel.h>
40910+#include <linux/sched.h> 41393+#include <linux/sched.h>
@@ -40971,9 +41454,9 @@ diff -urNp linux-2.6.32.11/grsecurity/grsec_sig.c linux-2.6.32.11/grsecurity/grs
40971+ return; 41454+ return;
40972+} 41455+}
40973+ 41456+
40974diff -urNp linux-2.6.32.11/grsecurity/grsec_sock.c linux-2.6.32.11/grsecurity/grsec_sock.c 41457diff -urNp linux-2.6.32.12/grsecurity/grsec_sock.c linux-2.6.32.12/grsecurity/grsec_sock.c
40975--- linux-2.6.32.11/grsecurity/grsec_sock.c 1969-12-31 19:00:00.000000000 -0500 41458--- linux-2.6.32.12/grsecurity/grsec_sock.c 1969-12-31 19:00:00.000000000 -0500
40976+++ linux-2.6.32.11/grsecurity/grsec_sock.c 2010-04-04 20:46:41.668784531 -0400 41459+++ linux-2.6.32.12/grsecurity/grsec_sock.c 2010-04-04 20:46:41.668784531 -0400
40977@@ -0,0 +1,271 @@ 41460@@ -0,0 +1,271 @@
40978+#include <linux/kernel.h> 41461+#include <linux/kernel.h>
40979+#include <linux/module.h> 41462+#include <linux/module.h>
@@ -41246,9 +41729,9 @@ diff -urNp linux-2.6.32.11/grsecurity/grsec_sock.c linux-2.6.32.11/grsecurity/gr
41246+ return current_cap(); 41729+ return current_cap();
41247+#endif 41730+#endif
41248+} 41731+}
41249diff -urNp linux-2.6.32.11/grsecurity/grsec_sysctl.c linux-2.6.32.11/grsecurity/grsec_sysctl.c 41732diff -urNp linux-2.6.32.12/grsecurity/grsec_sysctl.c linux-2.6.32.12/grsecurity/grsec_sysctl.c
41250--- linux-2.6.32.11/grsecurity/grsec_sysctl.c 1969-12-31 19:00:00.000000000 -0500 41733--- linux-2.6.32.12/grsecurity/grsec_sysctl.c 1969-12-31 19:00:00.000000000 -0500
41251+++ linux-2.6.32.11/grsecurity/grsec_sysctl.c 2010-04-04 20:46:41.668784531 -0400 41734+++ linux-2.6.32.12/grsecurity/grsec_sysctl.c 2010-04-04 20:46:41.668784531 -0400
41252@@ -0,0 +1,447 @@ 41735@@ -0,0 +1,447 @@
41253+#include <linux/kernel.h> 41736+#include <linux/kernel.h>
41254+#include <linux/sched.h> 41737+#include <linux/sched.h>
@@ -41697,9 +42180,9 @@ diff -urNp linux-2.6.32.11/grsecurity/grsec_sysctl.c linux-2.6.32.11/grsecurity/
41697+ { .ctl_name = 0 } 42180+ { .ctl_name = 0 }
41698+}; 42181+};
41699+#endif 42182+#endif
41700diff -urNp linux-2.6.32.11/grsecurity/grsec_textrel.c linux-2.6.32.11/grsecurity/grsec_textrel.c 42183diff -urNp linux-2.6.32.12/grsecurity/grsec_textrel.c linux-2.6.32.12/grsecurity/grsec_textrel.c
41701--- linux-2.6.32.11/grsecurity/grsec_textrel.c 1969-12-31 19:00:00.000000000 -0500 42184--- linux-2.6.32.12/grsecurity/grsec_textrel.c 1969-12-31 19:00:00.000000000 -0500
41702+++ linux-2.6.32.11/grsecurity/grsec_textrel.c 2010-04-04 20:46:41.668784531 -0400 42185+++ linux-2.6.32.12/grsecurity/grsec_textrel.c 2010-04-04 20:46:41.668784531 -0400
41703@@ -0,0 +1,16 @@ 42186@@ -0,0 +1,16 @@
41704+#include <linux/kernel.h> 42187+#include <linux/kernel.h>
41705+#include <linux/sched.h> 42188+#include <linux/sched.h>
@@ -41717,9 +42200,9 @@ diff -urNp linux-2.6.32.11/grsecurity/grsec_textrel.c linux-2.6.32.11/grsecurity
41717+#endif 42200+#endif
41718+ return; 42201+ return;
41719+} 42202+}
41720diff -urNp linux-2.6.32.11/grsecurity/grsec_time.c linux-2.6.32.11/grsecurity/grsec_time.c 42203diff -urNp linux-2.6.32.12/grsecurity/grsec_time.c linux-2.6.32.12/grsecurity/grsec_time.c
41721--- linux-2.6.32.11/grsecurity/grsec_time.c 1969-12-31 19:00:00.000000000 -0500 42204--- linux-2.6.32.12/grsecurity/grsec_time.c 1969-12-31 19:00:00.000000000 -0500
41722+++ linux-2.6.32.11/grsecurity/grsec_time.c 2010-04-04 20:46:41.668784531 -0400 42205+++ linux-2.6.32.12/grsecurity/grsec_time.c 2010-04-04 20:46:41.668784531 -0400
41723@@ -0,0 +1,13 @@ 42206@@ -0,0 +1,13 @@
41724+#include <linux/kernel.h> 42207+#include <linux/kernel.h>
41725+#include <linux/sched.h> 42208+#include <linux/sched.h>
@@ -41734,9 +42217,9 @@ diff -urNp linux-2.6.32.11/grsecurity/grsec_time.c linux-2.6.32.11/grsecurity/gr
41734+#endif 42217+#endif
41735+ return; 42218+ return;
41736+} 42219+}
41737diff -urNp linux-2.6.32.11/grsecurity/grsec_tpe.c linux-2.6.32.11/grsecurity/grsec_tpe.c 42220diff -urNp linux-2.6.32.12/grsecurity/grsec_tpe.c linux-2.6.32.12/grsecurity/grsec_tpe.c
41738--- linux-2.6.32.11/grsecurity/grsec_tpe.c 1969-12-31 19:00:00.000000000 -0500 42221--- linux-2.6.32.12/grsecurity/grsec_tpe.c 1969-12-31 19:00:00.000000000 -0500
41739+++ linux-2.6.32.11/grsecurity/grsec_tpe.c 2010-04-04 20:46:41.668784531 -0400 42222+++ linux-2.6.32.12/grsecurity/grsec_tpe.c 2010-04-04 20:46:41.668784531 -0400
41740@@ -0,0 +1,38 @@ 42223@@ -0,0 +1,38 @@
41741+#include <linux/kernel.h> 42224+#include <linux/kernel.h>
41742+#include <linux/sched.h> 42225+#include <linux/sched.h>
@@ -41776,9 +42259,9 @@ diff -urNp linux-2.6.32.11/grsecurity/grsec_tpe.c linux-2.6.32.11/grsecurity/grs
41776+#endif 42259+#endif
41777+ return 1; 42260+ return 1;
41778+} 42261+}
41779diff -urNp linux-2.6.32.11/grsecurity/grsum.c linux-2.6.32.11/grsecurity/grsum.c 42262diff -urNp linux-2.6.32.12/grsecurity/grsum.c linux-2.6.32.12/grsecurity/grsum.c
41780--- linux-2.6.32.11/grsecurity/grsum.c 1969-12-31 19:00:00.000000000 -0500 42263--- linux-2.6.32.12/grsecurity/grsum.c 1969-12-31 19:00:00.000000000 -0500
41781+++ linux-2.6.32.11/grsecurity/grsum.c 2010-04-04 20:46:41.668784531 -0400 42264+++ linux-2.6.32.12/grsecurity/grsum.c 2010-04-04 20:46:41.668784531 -0400
41782@@ -0,0 +1,59 @@ 42265@@ -0,0 +1,59 @@
41783+#include <linux/err.h> 42266+#include <linux/err.h>
41784+#include <linux/kernel.h> 42267+#include <linux/kernel.h>
@@ -41839,9 +42322,9 @@ diff -urNp linux-2.6.32.11/grsecurity/grsum.c linux-2.6.32.11/grsecurity/grsum.c
41839+ 42322+
41840+ return retval; 42323+ return retval;
41841+} 42324+}
41842diff -urNp linux-2.6.32.11/grsecurity/Kconfig linux-2.6.32.11/grsecurity/Kconfig 42325diff -urNp linux-2.6.32.12/grsecurity/Kconfig linux-2.6.32.12/grsecurity/Kconfig
41843--- linux-2.6.32.11/grsecurity/Kconfig 1969-12-31 19:00:00.000000000 -0500 42326--- linux-2.6.32.12/grsecurity/Kconfig 1969-12-31 19:00:00.000000000 -0500
41844+++ linux-2.6.32.11/grsecurity/Kconfig 2010-04-04 20:46:41.668784531 -0400 42327+++ linux-2.6.32.12/grsecurity/Kconfig 2010-04-04 20:46:41.668784531 -0400
41845@@ -0,0 +1,965 @@ 42328@@ -0,0 +1,965 @@
41846+# 42329+#
41847+# grecurity configuration 42330+# grecurity configuration
@@ -42808,9 +43291,9 @@ diff -urNp linux-2.6.32.11/grsecurity/Kconfig linux-2.6.32.11/grsecurity/Kconfig
42808+endmenu 43291+endmenu
42809+ 43292+
42810+endmenu 43293+endmenu
42811diff -urNp linux-2.6.32.11/grsecurity/Makefile linux-2.6.32.11/grsecurity/Makefile 43294diff -urNp linux-2.6.32.12/grsecurity/Makefile linux-2.6.32.12/grsecurity/Makefile
42812--- linux-2.6.32.11/grsecurity/Makefile 1969-12-31 19:00:00.000000000 -0500 43295--- linux-2.6.32.12/grsecurity/Makefile 1969-12-31 19:00:00.000000000 -0500
42813+++ linux-2.6.32.11/grsecurity/Makefile 2010-04-04 20:46:41.668784531 -0400 43296+++ linux-2.6.32.12/grsecurity/Makefile 2010-04-04 20:46:41.668784531 -0400
42814@@ -0,0 +1,29 @@ 43297@@ -0,0 +1,29 @@
42815+# grsecurity's ACL system was originally written in 2001 by Michael Dalton 43298+# grsecurity's ACL system was originally written in 2001 by Michael Dalton
42816+# during 2001-2009 it has been completely redesigned by Brad Spengler 43299+# during 2001-2009 it has been completely redesigned by Brad Spengler
@@ -42841,9 +43324,23 @@ diff -urNp linux-2.6.32.11/grsecurity/Makefile linux-2.6.32.11/grsecurity/Makefi
42841+ @-chmod -f 700 . 43324+ @-chmod -f 700 .
42842+ @echo ' grsec: protected kernel image paths' 43325+ @echo ' grsec: protected kernel image paths'
42843+endif 43326+endif
42844diff -urNp linux-2.6.32.11/include/acpi/acpi_drivers.h linux-2.6.32.11/include/acpi/acpi_drivers.h 43327diff -urNp linux-2.6.32.12/include/acpi/acoutput.h linux-2.6.32.12/include/acpi/acoutput.h
42845--- linux-2.6.32.11/include/acpi/acpi_drivers.h 2010-03-15 11:52:04.000000000 -0400 43328--- linux-2.6.32.12/include/acpi/acoutput.h 2010-03-15 11:52:04.000000000 -0400
42846+++ linux-2.6.32.11/include/acpi/acpi_drivers.h 2010-04-04 20:46:41.668784531 -0400 43329+++ linux-2.6.32.12/include/acpi/acoutput.h 2010-04-29 17:46:37.297250222 -0400
43330@@ -264,8 +264,8 @@
43331 * leaving no executable debug code!
43332 */
43333 #define ACPI_FUNCTION_NAME(a)
43334-#define ACPI_DEBUG_PRINT(pl)
43335-#define ACPI_DEBUG_PRINT_RAW(pl)
43336+#define ACPI_DEBUG_PRINT(pl) do {} while (0)
43337+#define ACPI_DEBUG_PRINT_RAW(pl) do {} while (0)
43338
43339 #endif /* ACPI_DEBUG_OUTPUT */
43340
43341diff -urNp linux-2.6.32.12/include/acpi/acpi_drivers.h linux-2.6.32.12/include/acpi/acpi_drivers.h
43342--- linux-2.6.32.12/include/acpi/acpi_drivers.h 2010-03-15 11:52:04.000000000 -0400
43343+++ linux-2.6.32.12/include/acpi/acpi_drivers.h 2010-04-04 20:46:41.668784531 -0400
42847@@ -119,8 +119,8 @@ int acpi_processor_set_thermal_limit(acp 43344@@ -119,8 +119,8 @@ int acpi_processor_set_thermal_limit(acp
42848 Dock Station 43345 Dock Station
42849 -------------------------------------------------------------------------- */ 43346 -------------------------------------------------------------------------- */
@@ -42873,9 +43370,9 @@ diff -urNp linux-2.6.32.11/include/acpi/acpi_drivers.h linux-2.6.32.11/include/a
42873 void *context) 43370 void *context)
42874 { 43371 {
42875 return -ENODEV; 43372 return -ENODEV;
42876diff -urNp linux-2.6.32.11/include/asm-generic/atomic-long.h linux-2.6.32.11/include/asm-generic/atomic-long.h 43373diff -urNp linux-2.6.32.12/include/asm-generic/atomic-long.h linux-2.6.32.12/include/asm-generic/atomic-long.h
42877--- linux-2.6.32.11/include/asm-generic/atomic-long.h 2010-03-15 11:52:04.000000000 -0400 43374--- linux-2.6.32.12/include/asm-generic/atomic-long.h 2010-03-15 11:52:04.000000000 -0400
42878+++ linux-2.6.32.11/include/asm-generic/atomic-long.h 2010-04-04 20:46:41.668784531 -0400 43375+++ linux-2.6.32.12/include/asm-generic/atomic-long.h 2010-04-04 20:46:41.668784531 -0400
42879@@ -22,6 +22,12 @@ 43376@@ -22,6 +22,12 @@
42880 43377
42881 typedef atomic64_t atomic_long_t; 43378 typedef atomic64_t atomic_long_t;
@@ -43096,9 +43593,9 @@ diff -urNp linux-2.6.32.11/include/asm-generic/atomic-long.h linux-2.6.32.11/inc
43096+#endif 43593+#endif
43097+ 43594+
43098 #endif /* _ASM_GENERIC_ATOMIC_LONG_H */ 43595 #endif /* _ASM_GENERIC_ATOMIC_LONG_H */
43099diff -urNp linux-2.6.32.11/include/asm-generic/dma-mapping-common.h linux-2.6.32.11/include/asm-generic/dma-mapping-common.h 43596diff -urNp linux-2.6.32.12/include/asm-generic/dma-mapping-common.h linux-2.6.32.12/include/asm-generic/dma-mapping-common.h
43100--- linux-2.6.32.11/include/asm-generic/dma-mapping-common.h 2010-03-15 11:52:04.000000000 -0400 43597--- linux-2.6.32.12/include/asm-generic/dma-mapping-common.h 2010-03-15 11:52:04.000000000 -0400
43101+++ linux-2.6.32.11/include/asm-generic/dma-mapping-common.h 2010-04-04 20:46:41.673688119 -0400 43598+++ linux-2.6.32.12/include/asm-generic/dma-mapping-common.h 2010-04-04 20:46:41.673688119 -0400
43102@@ -11,7 +11,7 @@ static inline dma_addr_t dma_map_single_ 43599@@ -11,7 +11,7 @@ static inline dma_addr_t dma_map_single_
43103 enum dma_data_direction dir, 43600 enum dma_data_direction dir,
43104 struct dma_attrs *attrs) 43601 struct dma_attrs *attrs)
@@ -43207,9 +43704,9 @@ diff -urNp linux-2.6.32.11/include/asm-generic/dma-mapping-common.h linux-2.6.32
43207 43704
43208 BUG_ON(!valid_dma_direction(dir)); 43705 BUG_ON(!valid_dma_direction(dir));
43209 if (ops->sync_sg_for_device) 43706 if (ops->sync_sg_for_device)
43210diff -urNp linux-2.6.32.11/include/asm-generic/futex.h linux-2.6.32.11/include/asm-generic/futex.h 43707diff -urNp linux-2.6.32.12/include/asm-generic/futex.h linux-2.6.32.12/include/asm-generic/futex.h
43211--- linux-2.6.32.11/include/asm-generic/futex.h 2010-03-15 11:52:04.000000000 -0400 43708--- linux-2.6.32.12/include/asm-generic/futex.h 2010-03-15 11:52:04.000000000 -0400
43212+++ linux-2.6.32.11/include/asm-generic/futex.h 2010-04-04 20:46:41.673688119 -0400 43709+++ linux-2.6.32.12/include/asm-generic/futex.h 2010-04-04 20:46:41.673688119 -0400
43213@@ -6,7 +6,7 @@ 43710@@ -6,7 +6,7 @@
43214 #include <asm/errno.h> 43711 #include <asm/errno.h>
43215 43712
@@ -43228,9 +43725,9 @@ diff -urNp linux-2.6.32.11/include/asm-generic/futex.h linux-2.6.32.11/include/a
43228 { 43725 {
43229 return -ENOSYS; 43726 return -ENOSYS;
43230 } 43727 }
43231diff -urNp linux-2.6.32.11/include/asm-generic/int-l64.h linux-2.6.32.11/include/asm-generic/int-l64.h 43728diff -urNp linux-2.6.32.12/include/asm-generic/int-l64.h linux-2.6.32.12/include/asm-generic/int-l64.h
43232--- linux-2.6.32.11/include/asm-generic/int-l64.h 2010-03-15 11:52:04.000000000 -0400 43729--- linux-2.6.32.12/include/asm-generic/int-l64.h 2010-03-15 11:52:04.000000000 -0400
43233+++ linux-2.6.32.11/include/asm-generic/int-l64.h 2010-04-04 20:46:41.673688119 -0400 43730+++ linux-2.6.32.12/include/asm-generic/int-l64.h 2010-04-04 20:46:41.673688119 -0400
43234@@ -46,6 +46,8 @@ typedef unsigned int u32; 43731@@ -46,6 +46,8 @@ typedef unsigned int u32;
43235 typedef signed long s64; 43732 typedef signed long s64;
43236 typedef unsigned long u64; 43733 typedef unsigned long u64;
@@ -43240,9 +43737,9 @@ diff -urNp linux-2.6.32.11/include/asm-generic/int-l64.h linux-2.6.32.11/include
43240 #define S8_C(x) x 43737 #define S8_C(x) x
43241 #define U8_C(x) x ## U 43738 #define U8_C(x) x ## U
43242 #define S16_C(x) x 43739 #define S16_C(x) x
43243diff -urNp linux-2.6.32.11/include/asm-generic/int-ll64.h linux-2.6.32.11/include/asm-generic/int-ll64.h 43740diff -urNp linux-2.6.32.12/include/asm-generic/int-ll64.h linux-2.6.32.12/include/asm-generic/int-ll64.h
43244--- linux-2.6.32.11/include/asm-generic/int-ll64.h 2010-03-15 11:52:04.000000000 -0400 43741--- linux-2.6.32.12/include/asm-generic/int-ll64.h 2010-03-15 11:52:04.000000000 -0400
43245+++ linux-2.6.32.11/include/asm-generic/int-ll64.h 2010-04-04 20:46:41.673688119 -0400 43742+++ linux-2.6.32.12/include/asm-generic/int-ll64.h 2010-04-04 20:46:41.673688119 -0400
43246@@ -51,6 +51,8 @@ typedef unsigned int u32; 43743@@ -51,6 +51,8 @@ typedef unsigned int u32;
43247 typedef signed long long s64; 43744 typedef signed long long s64;
43248 typedef unsigned long long u64; 43745 typedef unsigned long long u64;
@@ -43252,9 +43749,9 @@ diff -urNp linux-2.6.32.11/include/asm-generic/int-ll64.h linux-2.6.32.11/includ
43252 #define S8_C(x) x 43749 #define S8_C(x) x
43253 #define U8_C(x) x ## U 43750 #define U8_C(x) x ## U
43254 #define S16_C(x) x 43751 #define S16_C(x) x
43255diff -urNp linux-2.6.32.11/include/asm-generic/kmap_types.h linux-2.6.32.11/include/asm-generic/kmap_types.h 43752diff -urNp linux-2.6.32.12/include/asm-generic/kmap_types.h linux-2.6.32.12/include/asm-generic/kmap_types.h
43256--- linux-2.6.32.11/include/asm-generic/kmap_types.h 2010-03-15 11:52:04.000000000 -0400 43753--- linux-2.6.32.12/include/asm-generic/kmap_types.h 2010-03-15 11:52:04.000000000 -0400
43257+++ linux-2.6.32.11/include/asm-generic/kmap_types.h 2010-04-04 20:46:41.673688119 -0400 43754+++ linux-2.6.32.12/include/asm-generic/kmap_types.h 2010-04-04 20:46:41.673688119 -0400
43258@@ -28,7 +28,8 @@ KMAP_D(15) KM_UML_USERCOPY, 43755@@ -28,7 +28,8 @@ KMAP_D(15) KM_UML_USERCOPY,
43259 KMAP_D(16) KM_IRQ_PTE, 43756 KMAP_D(16) KM_IRQ_PTE,
43260 KMAP_D(17) KM_NMI, 43757 KMAP_D(17) KM_NMI,
@@ -43265,9 +43762,9 @@ diff -urNp linux-2.6.32.11/include/asm-generic/kmap_types.h linux-2.6.32.11/incl
43265 }; 43762 };
43266 43763
43267 #undef KMAP_D 43764 #undef KMAP_D
43268diff -urNp linux-2.6.32.11/include/asm-generic/pgtable.h linux-2.6.32.11/include/asm-generic/pgtable.h 43765diff -urNp linux-2.6.32.12/include/asm-generic/pgtable.h linux-2.6.32.12/include/asm-generic/pgtable.h
43269--- linux-2.6.32.11/include/asm-generic/pgtable.h 2010-03-15 11:52:04.000000000 -0400 43766--- linux-2.6.32.12/include/asm-generic/pgtable.h 2010-03-15 11:52:04.000000000 -0400
43270+++ linux-2.6.32.11/include/asm-generic/pgtable.h 2010-04-04 20:46:41.673688119 -0400 43767+++ linux-2.6.32.12/include/asm-generic/pgtable.h 2010-04-04 20:46:41.673688119 -0400
43271@@ -344,6 +344,14 @@ extern void untrack_pfn_vma(struct vm_ar 43768@@ -344,6 +344,14 @@ extern void untrack_pfn_vma(struct vm_ar
43272 unsigned long size); 43769 unsigned long size);
43273 #endif 43770 #endif
@@ -43283,9 +43780,9 @@ diff -urNp linux-2.6.32.11/include/asm-generic/pgtable.h linux-2.6.32.11/include
43283 #endif /* !__ASSEMBLY__ */ 43780 #endif /* !__ASSEMBLY__ */
43284 43781
43285 #endif /* _ASM_GENERIC_PGTABLE_H */ 43782 #endif /* _ASM_GENERIC_PGTABLE_H */
43286diff -urNp linux-2.6.32.11/include/asm-generic/vmlinux.lds.h linux-2.6.32.11/include/asm-generic/vmlinux.lds.h 43783diff -urNp linux-2.6.32.12/include/asm-generic/vmlinux.lds.h linux-2.6.32.12/include/asm-generic/vmlinux.lds.h
43287--- linux-2.6.32.11/include/asm-generic/vmlinux.lds.h 2010-03-15 11:52:04.000000000 -0400 43784--- linux-2.6.32.12/include/asm-generic/vmlinux.lds.h 2010-03-15 11:52:04.000000000 -0400
43288+++ linux-2.6.32.11/include/asm-generic/vmlinux.lds.h 2010-04-04 20:46:41.673688119 -0400 43785+++ linux-2.6.32.12/include/asm-generic/vmlinux.lds.h 2010-04-04 20:46:41.673688119 -0400
43289@@ -199,6 +199,7 @@ 43786@@ -199,6 +199,7 @@
43290 .rodata : AT(ADDR(.rodata) - LOAD_OFFSET) { \ 43787 .rodata : AT(ADDR(.rodata) - LOAD_OFFSET) { \
43291 VMLINUX_SYMBOL(__start_rodata) = .; \ 43788 VMLINUX_SYMBOL(__start_rodata) = .; \
@@ -43324,19 +43821,19 @@ diff -urNp linux-2.6.32.11/include/asm-generic/vmlinux.lds.h linux-2.6.32.11/inc
43324 43821
43325 /** 43822 /**
43326 * PERCPU - define output section for percpu area, simple version 43823 * PERCPU - define output section for percpu area, simple version
43327diff -urNp linux-2.6.32.11/include/drm/drm_pciids.h linux-2.6.32.11/include/drm/drm_pciids.h 43824diff -urNp linux-2.6.32.12/include/drm/drm_pciids.h linux-2.6.32.12/include/drm/drm_pciids.h
43328--- linux-2.6.32.11/include/drm/drm_pciids.h 2010-03-15 11:52:04.000000000 -0400 43825--- linux-2.6.32.12/include/drm/drm_pciids.h 2010-04-29 17:49:38.529851956 -0400
43329+++ linux-2.6.32.11/include/drm/drm_pciids.h 2010-04-04 20:46:41.673688119 -0400 43826+++ linux-2.6.32.12/include/drm/drm_pciids.h 2010-04-29 18:05:16.209337414 -0400
43330@@ -375,7 +375,7 @@ 43827@@ -377,7 +377,7 @@
43331 {0x1002, 0x9712, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_RS880|RADEON_IS_MOBILITY|RADEON_NEW_MEMMAP|RADEON_IS_IGP}, \
43332 {0x1002, 0x9713, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_RS880|RADEON_IS_MOBILITY|RADEON_NEW_MEMMAP|RADEON_IS_IGP}, \ 43828 {0x1002, 0x9713, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_RS880|RADEON_IS_MOBILITY|RADEON_NEW_MEMMAP|RADEON_IS_IGP}, \
43333 {0x1002, 0x9714, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_RS880|RADEON_NEW_MEMMAP|RADEON_IS_IGP}, \ 43829 {0x1002, 0x9714, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_RS880|RADEON_NEW_MEMMAP|RADEON_IS_IGP}, \
43830 {0x1002, 0x9715, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_RS880|RADEON_NEW_MEMMAP|RADEON_IS_IGP}, \
43334- {0, 0, 0} 43831- {0, 0, 0}
43335+ {0, 0, 0, 0, 0, 0} 43832+ {0, 0, 0, 0, 0, 0}
43336 43833
43337 #define r128_PCI_IDS \ 43834 #define r128_PCI_IDS \
43338 {0x1002, 0x4c45, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \ 43835 {0x1002, 0x4c45, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \
43339@@ -415,14 +415,14 @@ 43836@@ -417,14 +417,14 @@
43340 {0x1002, 0x5446, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \ 43837 {0x1002, 0x5446, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \
43341 {0x1002, 0x544C, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \ 43838 {0x1002, 0x544C, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \
43342 {0x1002, 0x5452, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \ 43839 {0x1002, 0x5452, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \
@@ -43353,7 +43850,7 @@ diff -urNp linux-2.6.32.11/include/drm/drm_pciids.h linux-2.6.32.11/include/drm/
43353 43850
43354 #define mach64_PCI_IDS \ 43851 #define mach64_PCI_IDS \
43355 {0x1002, 0x4749, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \ 43852 {0x1002, 0x4749, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \
43356@@ -445,7 +445,7 @@ 43853@@ -447,7 +447,7 @@
43357 {0x1002, 0x4c53, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \ 43854 {0x1002, 0x4c53, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \
43358 {0x1002, 0x4c4d, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \ 43855 {0x1002, 0x4c4d, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \
43359 {0x1002, 0x4c4e, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \ 43856 {0x1002, 0x4c4e, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \
@@ -43362,7 +43859,7 @@ diff -urNp linux-2.6.32.11/include/drm/drm_pciids.h linux-2.6.32.11/include/drm/
43362 43859
43363 #define sisdrv_PCI_IDS \ 43860 #define sisdrv_PCI_IDS \
43364 {0x1039, 0x0300, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \ 43861 {0x1039, 0x0300, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \
43365@@ -456,7 +456,7 @@ 43862@@ -458,7 +458,7 @@
43366 {0x1039, 0x7300, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \ 43863 {0x1039, 0x7300, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \
43367 {0x18CA, 0x0040, PCI_ANY_ID, PCI_ANY_ID, 0, 0, SIS_CHIP_315}, \ 43864 {0x18CA, 0x0040, PCI_ANY_ID, PCI_ANY_ID, 0, 0, SIS_CHIP_315}, \
43368 {0x18CA, 0x0042, PCI_ANY_ID, PCI_ANY_ID, 0, 0, SIS_CHIP_315}, \ 43865 {0x18CA, 0x0042, PCI_ANY_ID, PCI_ANY_ID, 0, 0, SIS_CHIP_315}, \
@@ -43371,7 +43868,7 @@ diff -urNp linux-2.6.32.11/include/drm/drm_pciids.h linux-2.6.32.11/include/drm/
43371 43868
43372 #define tdfx_PCI_IDS \ 43869 #define tdfx_PCI_IDS \
43373 {0x121a, 0x0003, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \ 43870 {0x121a, 0x0003, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \
43374@@ -465,7 +465,7 @@ 43871@@ -467,7 +467,7 @@
43375 {0x121a, 0x0007, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \ 43872 {0x121a, 0x0007, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \
43376 {0x121a, 0x0009, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \ 43873 {0x121a, 0x0009, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \
43377 {0x121a, 0x000b, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \ 43874 {0x121a, 0x000b, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \
@@ -43380,7 +43877,7 @@ diff -urNp linux-2.6.32.11/include/drm/drm_pciids.h linux-2.6.32.11/include/drm/
43380 43877
43381 #define viadrv_PCI_IDS \ 43878 #define viadrv_PCI_IDS \
43382 {0x1106, 0x3022, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \ 43879 {0x1106, 0x3022, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \
43383@@ -477,14 +477,14 @@ 43880@@ -479,14 +479,14 @@
43384 {0x1106, 0x3343, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \ 43881 {0x1106, 0x3343, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \
43385 {0x1106, 0x3230, PCI_ANY_ID, PCI_ANY_ID, 0, 0, VIA_DX9_0}, \ 43882 {0x1106, 0x3230, PCI_ANY_ID, PCI_ANY_ID, 0, 0, VIA_DX9_0}, \
43386 {0x1106, 0x3157, PCI_ANY_ID, PCI_ANY_ID, 0, 0, VIA_PRO_GROUP_A}, \ 43883 {0x1106, 0x3157, PCI_ANY_ID, PCI_ANY_ID, 0, 0, VIA_PRO_GROUP_A}, \
@@ -43397,7 +43894,7 @@ diff -urNp linux-2.6.32.11/include/drm/drm_pciids.h linux-2.6.32.11/include/drm/
43397 43894
43398 #define i830_PCI_IDS \ 43895 #define i830_PCI_IDS \
43399 {0x8086, 0x3577, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \ 43896 {0x8086, 0x3577, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \
43400@@ -492,11 +492,11 @@ 43897@@ -494,11 +494,11 @@
43401 {0x8086, 0x3582, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \ 43898 {0x8086, 0x3582, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \
43402 {0x8086, 0x2572, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \ 43899 {0x8086, 0x2572, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \
43403 {0x8086, 0x358e, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \ 43900 {0x8086, 0x358e, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \
@@ -43411,7 +43908,7 @@ diff -urNp linux-2.6.32.11/include/drm/drm_pciids.h linux-2.6.32.11/include/drm/
43411 43908
43412 #define savage_PCI_IDS \ 43909 #define savage_PCI_IDS \
43413 {0x5333, 0x8a20, PCI_ANY_ID, PCI_ANY_ID, 0, 0, S3_SAVAGE3D}, \ 43910 {0x5333, 0x8a20, PCI_ANY_ID, PCI_ANY_ID, 0, 0, S3_SAVAGE3D}, \
43414@@ -522,10 +522,10 @@ 43911@@ -524,10 +524,10 @@
43415 {0x5333, 0x8d02, PCI_ANY_ID, PCI_ANY_ID, 0, 0, S3_TWISTER}, \ 43912 {0x5333, 0x8d02, PCI_ANY_ID, PCI_ANY_ID, 0, 0, S3_TWISTER}, \
43416 {0x5333, 0x8d03, PCI_ANY_ID, PCI_ANY_ID, 0, 0, S3_PROSAVAGEDDR}, \ 43913 {0x5333, 0x8d03, PCI_ANY_ID, PCI_ANY_ID, 0, 0, S3_PROSAVAGEDDR}, \
43417 {0x5333, 0x8d04, PCI_ANY_ID, PCI_ANY_ID, 0, 0, S3_PROSAVAGEDDR}, \ 43914 {0x5333, 0x8d04, PCI_ANY_ID, PCI_ANY_ID, 0, 0, S3_PROSAVAGEDDR}, \
@@ -43424,15 +43921,15 @@ diff -urNp linux-2.6.32.11/include/drm/drm_pciids.h linux-2.6.32.11/include/drm/
43424 43921
43425 #define i915_PCI_IDS \ 43922 #define i915_PCI_IDS \
43426 {0x8086, 0x3577, PCI_ANY_ID, PCI_ANY_ID, PCI_CLASS_DISPLAY_VGA << 8, 0xffff00, 0}, \ 43923 {0x8086, 0x3577, PCI_ANY_ID, PCI_ANY_ID, PCI_CLASS_DISPLAY_VGA << 8, 0xffff00, 0}, \
43427@@ -558,4 +558,4 @@ 43924@@ -560,4 +560,4 @@
43428 {0x8086, 0x35e8, PCI_ANY_ID, PCI_ANY_ID, PCI_CLASS_DISPLAY_VGA << 8, 0xffff00, 0}, \ 43925 {0x8086, 0x35e8, PCI_ANY_ID, PCI_ANY_ID, PCI_CLASS_DISPLAY_VGA << 8, 0xffff00, 0}, \
43429 {0x8086, 0x0042, PCI_ANY_ID, PCI_ANY_ID, PCI_CLASS_DISPLAY_VGA << 8, 0xffff00, 0}, \ 43926 {0x8086, 0x0042, PCI_ANY_ID, PCI_ANY_ID, PCI_CLASS_DISPLAY_VGA << 8, 0xffff00, 0}, \
43430 {0x8086, 0x0046, PCI_ANY_ID, PCI_ANY_ID, PCI_CLASS_DISPLAY_VGA << 8, 0xffff00, 0}, \ 43927 {0x8086, 0x0046, PCI_ANY_ID, PCI_ANY_ID, PCI_CLASS_DISPLAY_VGA << 8, 0xffff00, 0}, \
43431- {0, 0, 0} 43928- {0, 0, 0}
43432+ {0, 0, 0, 0, 0, 0} 43929+ {0, 0, 0, 0, 0, 0}
43433diff -urNp linux-2.6.32.11/include/drm/drmP.h linux-2.6.32.11/include/drm/drmP.h 43930diff -urNp linux-2.6.32.12/include/drm/drmP.h linux-2.6.32.12/include/drm/drmP.h
43434--- linux-2.6.32.11/include/drm/drmP.h 2010-03-15 11:52:04.000000000 -0400 43931--- linux-2.6.32.12/include/drm/drmP.h 2010-03-15 11:52:04.000000000 -0400
43435+++ linux-2.6.32.11/include/drm/drmP.h 2010-04-04 20:46:41.673688119 -0400 43932+++ linux-2.6.32.12/include/drm/drmP.h 2010-04-04 20:46:41.673688119 -0400
43436@@ -814,7 +814,7 @@ struct drm_driver { 43933@@ -814,7 +814,7 @@ struct drm_driver {
43437 void (*vgaarb_irq)(struct drm_device *dev, bool state); 43934 void (*vgaarb_irq)(struct drm_device *dev, bool state);
43438 43935
@@ -43460,9 +43957,9 @@ diff -urNp linux-2.6.32.11/include/drm/drmP.h linux-2.6.32.11/include/drm/drmP.h
43460 /*@} */ 43957 /*@} */
43461 43958
43462 struct list_head filelist; 43959 struct list_head filelist;
43463diff -urNp linux-2.6.32.11/include/linux/a.out.h linux-2.6.32.11/include/linux/a.out.h 43960diff -urNp linux-2.6.32.12/include/linux/a.out.h linux-2.6.32.12/include/linux/a.out.h
43464--- linux-2.6.32.11/include/linux/a.out.h 2010-03-15 11:52:04.000000000 -0400 43961--- linux-2.6.32.12/include/linux/a.out.h 2010-03-15 11:52:04.000000000 -0400
43465+++ linux-2.6.32.11/include/linux/a.out.h 2010-04-04 20:46:41.673688119 -0400 43962+++ linux-2.6.32.12/include/linux/a.out.h 2010-04-04 20:46:41.673688119 -0400
43466@@ -39,6 +39,14 @@ enum machine_type { 43963@@ -39,6 +39,14 @@ enum machine_type {
43467 M_MIPS2 = 152 /* MIPS R6000/R4000 binary */ 43964 M_MIPS2 = 152 /* MIPS R6000/R4000 binary */
43468 }; 43965 };
@@ -43478,9 +43975,9 @@ diff -urNp linux-2.6.32.11/include/linux/a.out.h linux-2.6.32.11/include/linux/a
43478 #if !defined (N_MAGIC) 43975 #if !defined (N_MAGIC)
43479 #define N_MAGIC(exec) ((exec).a_info & 0xffff) 43976 #define N_MAGIC(exec) ((exec).a_info & 0xffff)
43480 #endif 43977 #endif
43481diff -urNp linux-2.6.32.11/include/linux/atmdev.h linux-2.6.32.11/include/linux/atmdev.h 43978diff -urNp linux-2.6.32.12/include/linux/atmdev.h linux-2.6.32.12/include/linux/atmdev.h
43482--- linux-2.6.32.11/include/linux/atmdev.h 2010-03-15 11:52:04.000000000 -0400 43979--- linux-2.6.32.12/include/linux/atmdev.h 2010-03-15 11:52:04.000000000 -0400
43483+++ linux-2.6.32.11/include/linux/atmdev.h 2010-04-04 20:46:41.673688119 -0400 43980+++ linux-2.6.32.12/include/linux/atmdev.h 2010-04-04 20:46:41.673688119 -0400
43484@@ -237,7 +237,7 @@ struct compat_atm_iobuf { 43981@@ -237,7 +237,7 @@ struct compat_atm_iobuf {
43485 #endif 43982 #endif
43486 43983
@@ -43490,9 +43987,9 @@ diff -urNp linux-2.6.32.11/include/linux/atmdev.h linux-2.6.32.11/include/linux/
43490 __AAL_STAT_ITEMS 43987 __AAL_STAT_ITEMS
43491 #undef __HANDLE_ITEM 43988 #undef __HANDLE_ITEM
43492 }; 43989 };
43493diff -urNp linux-2.6.32.11/include/linux/backlight.h linux-2.6.32.11/include/linux/backlight.h 43990diff -urNp linux-2.6.32.12/include/linux/backlight.h linux-2.6.32.12/include/linux/backlight.h
43494--- linux-2.6.32.11/include/linux/backlight.h 2010-03-15 11:52:04.000000000 -0400 43991--- linux-2.6.32.12/include/linux/backlight.h 2010-03-15 11:52:04.000000000 -0400
43495+++ linux-2.6.32.11/include/linux/backlight.h 2010-04-04 20:46:41.673688119 -0400 43992+++ linux-2.6.32.12/include/linux/backlight.h 2010-04-04 20:46:41.673688119 -0400
43496@@ -36,18 +36,18 @@ struct backlight_device; 43993@@ -36,18 +36,18 @@ struct backlight_device;
43497 struct fb_info; 43994 struct fb_info;
43498 43995
@@ -43534,9 +44031,9 @@ diff -urNp linux-2.6.32.11/include/linux/backlight.h linux-2.6.32.11/include/lin
43534 extern void backlight_device_unregister(struct backlight_device *bd); 44031 extern void backlight_device_unregister(struct backlight_device *bd);
43535 extern void backlight_force_update(struct backlight_device *bd, 44032 extern void backlight_force_update(struct backlight_device *bd,
43536 enum backlight_update_reason reason); 44033 enum backlight_update_reason reason);
43537diff -urNp linux-2.6.32.11/include/linux/binfmts.h linux-2.6.32.11/include/linux/binfmts.h 44034diff -urNp linux-2.6.32.12/include/linux/binfmts.h linux-2.6.32.12/include/linux/binfmts.h
43538--- linux-2.6.32.11/include/linux/binfmts.h 2010-03-15 11:52:04.000000000 -0400 44035--- linux-2.6.32.12/include/linux/binfmts.h 2010-03-15 11:52:04.000000000 -0400
43539+++ linux-2.6.32.11/include/linux/binfmts.h 2010-04-04 20:46:41.673688119 -0400 44036+++ linux-2.6.32.12/include/linux/binfmts.h 2010-04-04 20:46:41.673688119 -0400
43540@@ -78,6 +78,7 @@ struct linux_binfmt { 44037@@ -78,6 +78,7 @@ struct linux_binfmt {
43541 int (*load_binary)(struct linux_binprm *, struct pt_regs * regs); 44038 int (*load_binary)(struct linux_binprm *, struct pt_regs * regs);
43542 int (*load_shlib)(struct file *); 44039 int (*load_shlib)(struct file *);
@@ -43545,9 +44042,9 @@ diff -urNp linux-2.6.32.11/include/linux/binfmts.h linux-2.6.32.11/include/linux
43545 unsigned long min_coredump; /* minimal dump size */ 44042 unsigned long min_coredump; /* minimal dump size */
43546 int hasvdso; 44043 int hasvdso;
43547 }; 44044 };
43548diff -urNp linux-2.6.32.11/include/linux/blkdev.h linux-2.6.32.11/include/linux/blkdev.h 44045diff -urNp linux-2.6.32.12/include/linux/blkdev.h linux-2.6.32.12/include/linux/blkdev.h
43549--- linux-2.6.32.11/include/linux/blkdev.h 2010-03-15 11:52:04.000000000 -0400 44046--- linux-2.6.32.12/include/linux/blkdev.h 2010-03-15 11:52:04.000000000 -0400
43550+++ linux-2.6.32.11/include/linux/blkdev.h 2010-04-04 20:46:41.673688119 -0400 44047+++ linux-2.6.32.12/include/linux/blkdev.h 2010-04-04 20:46:41.673688119 -0400
43551@@ -1262,19 +1262,19 @@ static inline int blk_integrity_rq(struc 44048@@ -1262,19 +1262,19 @@ static inline int blk_integrity_rq(struc
43552 #endif /* CONFIG_BLK_DEV_INTEGRITY */ 44049 #endif /* CONFIG_BLK_DEV_INTEGRITY */
43553 44050
@@ -43579,9 +44076,9 @@ diff -urNp linux-2.6.32.11/include/linux/blkdev.h linux-2.6.32.11/include/linux/
43579 }; 44076 };
43580 44077
43581 extern int __blkdev_driver_ioctl(struct block_device *, fmode_t, unsigned int, 44078 extern int __blkdev_driver_ioctl(struct block_device *, fmode_t, unsigned int,
43582diff -urNp linux-2.6.32.11/include/linux/cache.h linux-2.6.32.11/include/linux/cache.h 44079diff -urNp linux-2.6.32.12/include/linux/cache.h linux-2.6.32.12/include/linux/cache.h
43583--- linux-2.6.32.11/include/linux/cache.h 2010-03-15 11:52:04.000000000 -0400 44080--- linux-2.6.32.12/include/linux/cache.h 2010-03-15 11:52:04.000000000 -0400
43584+++ linux-2.6.32.11/include/linux/cache.h 2010-04-04 20:46:41.673688119 -0400 44081+++ linux-2.6.32.12/include/linux/cache.h 2010-04-04 20:46:41.673688119 -0400
43585@@ -16,6 +16,10 @@ 44082@@ -16,6 +16,10 @@
43586 #define __read_mostly 44083 #define __read_mostly
43587 #endif 44084 #endif
@@ -43593,9 +44090,9 @@ diff -urNp linux-2.6.32.11/include/linux/cache.h linux-2.6.32.11/include/linux/c
43593 #ifndef ____cacheline_aligned 44090 #ifndef ____cacheline_aligned
43594 #define ____cacheline_aligned __attribute__((__aligned__(SMP_CACHE_BYTES))) 44091 #define ____cacheline_aligned __attribute__((__aligned__(SMP_CACHE_BYTES)))
43595 #endif 44092 #endif
43596diff -urNp linux-2.6.32.11/include/linux/capability.h linux-2.6.32.11/include/linux/capability.h 44093diff -urNp linux-2.6.32.12/include/linux/capability.h linux-2.6.32.12/include/linux/capability.h
43597--- linux-2.6.32.11/include/linux/capability.h 2010-03-15 11:52:04.000000000 -0400 44094--- linux-2.6.32.12/include/linux/capability.h 2010-03-15 11:52:04.000000000 -0400
43598+++ linux-2.6.32.11/include/linux/capability.h 2010-04-04 20:46:41.673688119 -0400 44095+++ linux-2.6.32.12/include/linux/capability.h 2010-04-04 20:46:41.673688119 -0400
43599@@ -563,6 +563,7 @@ extern const kernel_cap_t __cap_init_eff 44096@@ -563,6 +563,7 @@ extern const kernel_cap_t __cap_init_eff
43600 (security_real_capable_noaudit((t), (cap)) == 0) 44097 (security_real_capable_noaudit((t), (cap)) == 0)
43601 44098
@@ -43604,9 +44101,9 @@ diff -urNp linux-2.6.32.11/include/linux/capability.h linux-2.6.32.11/include/li
43604 44101
43605 /* audit system wants to get cap info from files as well */ 44102 /* audit system wants to get cap info from files as well */
43606 struct dentry; 44103 struct dentry;
43607diff -urNp linux-2.6.32.11/include/linux/compiler-gcc4.h linux-2.6.32.11/include/linux/compiler-gcc4.h 44104diff -urNp linux-2.6.32.12/include/linux/compiler-gcc4.h linux-2.6.32.12/include/linux/compiler-gcc4.h
43608--- linux-2.6.32.11/include/linux/compiler-gcc4.h 2010-03-15 11:52:04.000000000 -0400 44105--- linux-2.6.32.12/include/linux/compiler-gcc4.h 2010-03-15 11:52:04.000000000 -0400
43609+++ linux-2.6.32.11/include/linux/compiler-gcc4.h 2010-04-04 20:46:41.673688119 -0400 44106+++ linux-2.6.32.12/include/linux/compiler-gcc4.h 2010-04-04 20:46:41.673688119 -0400
43610@@ -36,4 +36,8 @@ 44107@@ -36,4 +36,8 @@
43611 the kernel context */ 44108 the kernel context */
43612 #define __cold __attribute__((__cold__)) 44109 #define __cold __attribute__((__cold__))
@@ -43616,9 +44113,9 @@ diff -urNp linux-2.6.32.11/include/linux/compiler-gcc4.h linux-2.6.32.11/include
43616+#define __bos0(ptr) __bos((ptr), 0) 44113+#define __bos0(ptr) __bos((ptr), 0)
43617+#define __bos1(ptr) __bos((ptr), 1) 44114+#define __bos1(ptr) __bos((ptr), 1)
43618 #endif 44115 #endif
43619diff -urNp linux-2.6.32.11/include/linux/compiler.h linux-2.6.32.11/include/linux/compiler.h 44116diff -urNp linux-2.6.32.12/include/linux/compiler.h linux-2.6.32.12/include/linux/compiler.h
43620--- linux-2.6.32.11/include/linux/compiler.h 2010-03-15 11:52:04.000000000 -0400 44117--- linux-2.6.32.12/include/linux/compiler.h 2010-03-15 11:52:04.000000000 -0400
43621+++ linux-2.6.32.11/include/linux/compiler.h 2010-04-04 20:46:41.673688119 -0400 44118+++ linux-2.6.32.12/include/linux/compiler.h 2010-04-04 20:46:41.673688119 -0400
43622@@ -256,6 +256,22 @@ void ftrace_likely_update(struct ftrace_ 44119@@ -256,6 +256,22 @@ void ftrace_likely_update(struct ftrace_
43623 #define __cold 44120 #define __cold
43624 #endif 44121 #endif
@@ -43642,9 +44139,9 @@ diff -urNp linux-2.6.32.11/include/linux/compiler.h linux-2.6.32.11/include/linu
43642 /* Simple shorthand for a section definition */ 44139 /* Simple shorthand for a section definition */
43643 #ifndef __section 44140 #ifndef __section
43644 # define __section(S) __attribute__ ((__section__(#S))) 44141 # define __section(S) __attribute__ ((__section__(#S)))
43645diff -urNp linux-2.6.32.11/include/linux/decompress/mm.h linux-2.6.32.11/include/linux/decompress/mm.h 44142diff -urNp linux-2.6.32.12/include/linux/decompress/mm.h linux-2.6.32.12/include/linux/decompress/mm.h
43646--- linux-2.6.32.11/include/linux/decompress/mm.h 2010-04-04 20:41:50.048452804 -0400 44143--- linux-2.6.32.12/include/linux/decompress/mm.h 2010-04-04 20:41:50.048452804 -0400
43647+++ linux-2.6.32.11/include/linux/decompress/mm.h 2010-04-04 20:46:41.673688119 -0400 44144+++ linux-2.6.32.12/include/linux/decompress/mm.h 2010-04-04 20:46:41.673688119 -0400
43648@@ -78,7 +78,7 @@ static void free(void *where) 44145@@ -78,7 +78,7 @@ static void free(void *where)
43649 * warnings when not needed (indeed large_malloc / large_free are not 44146 * warnings when not needed (indeed large_malloc / large_free are not
43650 * needed by inflate */ 44147 * needed by inflate */
@@ -43654,9 +44151,9 @@ diff -urNp linux-2.6.32.11/include/linux/decompress/mm.h linux-2.6.32.11/include
43654 #define free(a) kfree(a) 44151 #define free(a) kfree(a)
43655 44152
43656 #define large_malloc(a) vmalloc(a) 44153 #define large_malloc(a) vmalloc(a)
43657diff -urNp linux-2.6.32.11/include/linux/dma-mapping.h linux-2.6.32.11/include/linux/dma-mapping.h 44154diff -urNp linux-2.6.32.12/include/linux/dma-mapping.h linux-2.6.32.12/include/linux/dma-mapping.h
43658--- linux-2.6.32.11/include/linux/dma-mapping.h 2010-03-15 11:52:04.000000000 -0400 44155--- linux-2.6.32.12/include/linux/dma-mapping.h 2010-03-15 11:52:04.000000000 -0400
43659+++ linux-2.6.32.11/include/linux/dma-mapping.h 2010-04-04 20:46:41.673688119 -0400 44156+++ linux-2.6.32.12/include/linux/dma-mapping.h 2010-04-04 20:46:41.673688119 -0400
43660@@ -16,50 +16,50 @@ enum dma_data_direction { 44157@@ -16,50 +16,50 @@ enum dma_data_direction {
43661 }; 44158 };
43662 44159
@@ -43723,9 +44220,9 @@ diff -urNp linux-2.6.32.11/include/linux/dma-mapping.h linux-2.6.32.11/include/l
43723 }; 44220 };
43724 44221
43725 #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) 44222 #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1))
43726diff -urNp linux-2.6.32.11/include/linux/dst.h linux-2.6.32.11/include/linux/dst.h 44223diff -urNp linux-2.6.32.12/include/linux/dst.h linux-2.6.32.12/include/linux/dst.h
43727--- linux-2.6.32.11/include/linux/dst.h 2010-03-15 11:52:04.000000000 -0400 44224--- linux-2.6.32.12/include/linux/dst.h 2010-03-15 11:52:04.000000000 -0400
43728+++ linux-2.6.32.11/include/linux/dst.h 2010-04-04 20:46:41.673688119 -0400 44225+++ linux-2.6.32.12/include/linux/dst.h 2010-04-04 20:46:41.673688119 -0400
43729@@ -380,7 +380,7 @@ struct dst_node 44226@@ -380,7 +380,7 @@ struct dst_node
43730 struct thread_pool *pool; 44227 struct thread_pool *pool;
43731 44228
@@ -43735,9 +44232,9 @@ diff -urNp linux-2.6.32.11/include/linux/dst.h linux-2.6.32.11/include/linux/dst
43735 44232
43736 /* 44233 /*
43737 * How frequently and how many times transaction 44234 * How frequently and how many times transaction
43738diff -urNp linux-2.6.32.11/include/linux/elf.h linux-2.6.32.11/include/linux/elf.h 44235diff -urNp linux-2.6.32.12/include/linux/elf.h linux-2.6.32.12/include/linux/elf.h
43739--- linux-2.6.32.11/include/linux/elf.h 2010-03-15 11:52:04.000000000 -0400 44236--- linux-2.6.32.12/include/linux/elf.h 2010-03-15 11:52:04.000000000 -0400
43740+++ linux-2.6.32.11/include/linux/elf.h 2010-04-04 20:46:41.673688119 -0400 44237+++ linux-2.6.32.12/include/linux/elf.h 2010-04-04 20:46:41.673688119 -0400
43741@@ -49,6 +49,17 @@ typedef __s64 Elf64_Sxword; 44238@@ -49,6 +49,17 @@ typedef __s64 Elf64_Sxword;
43742 #define PT_GNU_EH_FRAME 0x6474e550 44239 #define PT_GNU_EH_FRAME 0x6474e550
43743 44240
@@ -43810,9 +44307,9 @@ diff -urNp linux-2.6.32.11/include/linux/elf.h linux-2.6.32.11/include/linux/elf
43810 44307
43811 #endif 44308 #endif
43812 44309
43813diff -urNp linux-2.6.32.11/include/linux/fs.h linux-2.6.32.11/include/linux/fs.h 44310diff -urNp linux-2.6.32.12/include/linux/fs.h linux-2.6.32.12/include/linux/fs.h
43814--- linux-2.6.32.11/include/linux/fs.h 2010-03-15 11:52:04.000000000 -0400 44311--- linux-2.6.32.12/include/linux/fs.h 2010-04-29 17:49:38.529851956 -0400
43815+++ linux-2.6.32.11/include/linux/fs.h 2010-04-04 20:46:41.677383221 -0400 44312+++ linux-2.6.32.12/include/linux/fs.h 2010-04-29 17:49:58.621028174 -0400
43816@@ -90,6 +90,11 @@ struct inodes_stat_t { 44313@@ -90,6 +90,11 @@ struct inodes_stat_t {
43817 /* Expect random access pattern */ 44314 /* Expect random access pattern */
43818 #define FMODE_RANDOM ((__force fmode_t)4096) 44315 #define FMODE_RANDOM ((__force fmode_t)4096)
@@ -43974,9 +44471,9 @@ diff -urNp linux-2.6.32.11/include/linux/fs.h linux-2.6.32.11/include/linux/fs.h
43974 }; 44471 };
43975 44472
43976 /* 44473 /*
43977diff -urNp linux-2.6.32.11/include/linux/fs_struct.h linux-2.6.32.11/include/linux/fs_struct.h 44474diff -urNp linux-2.6.32.12/include/linux/fs_struct.h linux-2.6.32.12/include/linux/fs_struct.h
43978--- linux-2.6.32.11/include/linux/fs_struct.h 2010-03-15 11:52:04.000000000 -0400 44475--- linux-2.6.32.12/include/linux/fs_struct.h 2010-03-15 11:52:04.000000000 -0400
43979+++ linux-2.6.32.11/include/linux/fs_struct.h 2010-04-04 20:46:41.677383221 -0400 44476+++ linux-2.6.32.12/include/linux/fs_struct.h 2010-04-04 20:46:41.677383221 -0400
43980@@ -4,7 +4,7 @@ 44477@@ -4,7 +4,7 @@
43981 #include <linux/path.h> 44478 #include <linux/path.h>
43982 44479
@@ -43986,9 +44483,9 @@ diff -urNp linux-2.6.32.11/include/linux/fs_struct.h linux-2.6.32.11/include/lin
43986 rwlock_t lock; 44483 rwlock_t lock;
43987 int umask; 44484 int umask;
43988 int in_exec; 44485 int in_exec;
43989diff -urNp linux-2.6.32.11/include/linux/genhd.h linux-2.6.32.11/include/linux/genhd.h 44486diff -urNp linux-2.6.32.12/include/linux/genhd.h linux-2.6.32.12/include/linux/genhd.h
43990--- linux-2.6.32.11/include/linux/genhd.h 2010-03-15 11:52:04.000000000 -0400 44487--- linux-2.6.32.12/include/linux/genhd.h 2010-03-15 11:52:04.000000000 -0400
43991+++ linux-2.6.32.11/include/linux/genhd.h 2010-04-04 20:46:41.677383221 -0400 44488+++ linux-2.6.32.12/include/linux/genhd.h 2010-04-04 20:46:41.677383221 -0400
43992@@ -161,7 +161,7 @@ struct gendisk { 44489@@ -161,7 +161,7 @@ struct gendisk {
43993 44490
43994 struct timer_rand_state *random; 44491 struct timer_rand_state *random;
@@ -43998,9 +44495,9 @@ diff -urNp linux-2.6.32.11/include/linux/genhd.h linux-2.6.32.11/include/linux/g
43998 struct work_struct async_notify; 44495 struct work_struct async_notify;
43999 #ifdef CONFIG_BLK_DEV_INTEGRITY 44496 #ifdef CONFIG_BLK_DEV_INTEGRITY
44000 struct blk_integrity *integrity; 44497 struct blk_integrity *integrity;
44001diff -urNp linux-2.6.32.11/include/linux/gracl.h linux-2.6.32.11/include/linux/gracl.h 44498diff -urNp linux-2.6.32.12/include/linux/gracl.h linux-2.6.32.12/include/linux/gracl.h
44002--- linux-2.6.32.11/include/linux/gracl.h 1969-12-31 19:00:00.000000000 -0500 44499--- linux-2.6.32.12/include/linux/gracl.h 1969-12-31 19:00:00.000000000 -0500
44003+++ linux-2.6.32.11/include/linux/gracl.h 2010-04-04 20:46:41.677383221 -0400 44500+++ linux-2.6.32.12/include/linux/gracl.h 2010-04-04 20:46:41.677383221 -0400
44004@@ -0,0 +1,309 @@ 44501@@ -0,0 +1,309 @@
44005+#ifndef GR_ACL_H 44502+#ifndef GR_ACL_H
44006+#define GR_ACL_H 44503+#define GR_ACL_H
@@ -44311,9 +44808,9 @@ diff -urNp linux-2.6.32.11/include/linux/gracl.h linux-2.6.32.11/include/linux/g
44311+ 44808+
44312+#endif 44809+#endif
44313+ 44810+
44314diff -urNp linux-2.6.32.11/include/linux/gralloc.h linux-2.6.32.11/include/linux/gralloc.h 44811diff -urNp linux-2.6.32.12/include/linux/gralloc.h linux-2.6.32.12/include/linux/gralloc.h
44315--- linux-2.6.32.11/include/linux/gralloc.h 1969-12-31 19:00:00.000000000 -0500 44812--- linux-2.6.32.12/include/linux/gralloc.h 1969-12-31 19:00:00.000000000 -0500
44316+++ linux-2.6.32.11/include/linux/gralloc.h 2010-04-04 20:46:41.677383221 -0400 44813+++ linux-2.6.32.12/include/linux/gralloc.h 2010-04-04 20:46:41.677383221 -0400
44317@@ -0,0 +1,9 @@ 44814@@ -0,0 +1,9 @@
44318+#ifndef __GRALLOC_H 44815+#ifndef __GRALLOC_H
44319+#define __GRALLOC_H 44816+#define __GRALLOC_H
@@ -44324,9 +44821,9 @@ diff -urNp linux-2.6.32.11/include/linux/gralloc.h linux-2.6.32.11/include/linux
44324+void *acl_alloc_num(unsigned long num, unsigned long len); 44821+void *acl_alloc_num(unsigned long num, unsigned long len);
44325+ 44822+
44326+#endif 44823+#endif
44327diff -urNp linux-2.6.32.11/include/linux/grdefs.h linux-2.6.32.11/include/linux/grdefs.h 44824diff -urNp linux-2.6.32.12/include/linux/grdefs.h linux-2.6.32.12/include/linux/grdefs.h
44328--- linux-2.6.32.11/include/linux/grdefs.h 1969-12-31 19:00:00.000000000 -0500 44825--- linux-2.6.32.12/include/linux/grdefs.h 1969-12-31 19:00:00.000000000 -0500
44329+++ linux-2.6.32.11/include/linux/grdefs.h 2010-04-04 20:46:41.677383221 -0400 44826+++ linux-2.6.32.12/include/linux/grdefs.h 2010-04-04 20:46:41.677383221 -0400
44330@@ -0,0 +1,136 @@ 44827@@ -0,0 +1,136 @@
44331+#ifndef GRDEFS_H 44828+#ifndef GRDEFS_H
44332+#define GRDEFS_H 44829+#define GRDEFS_H
@@ -44464,9 +44961,9 @@ diff -urNp linux-2.6.32.11/include/linux/grdefs.h linux-2.6.32.11/include/linux/
44464+}; 44961+};
44465+ 44962+
44466+#endif 44963+#endif
44467diff -urNp linux-2.6.32.11/include/linux/grinternal.h linux-2.6.32.11/include/linux/grinternal.h 44964diff -urNp linux-2.6.32.12/include/linux/grinternal.h linux-2.6.32.12/include/linux/grinternal.h
44468--- linux-2.6.32.11/include/linux/grinternal.h 1969-12-31 19:00:00.000000000 -0500 44965--- linux-2.6.32.12/include/linux/grinternal.h 1969-12-31 19:00:00.000000000 -0500
44469+++ linux-2.6.32.11/include/linux/grinternal.h 2010-04-04 20:46:41.677383221 -0400 44966+++ linux-2.6.32.12/include/linux/grinternal.h 2010-04-04 20:46:41.677383221 -0400
44470@@ -0,0 +1,215 @@ 44967@@ -0,0 +1,215 @@
44471+#ifndef __GRINTERNAL_H 44968+#ifndef __GRINTERNAL_H
44472+#define __GRINTERNAL_H 44969+#define __GRINTERNAL_H
@@ -44683,9 +45180,9 @@ diff -urNp linux-2.6.32.11/include/linux/grinternal.h linux-2.6.32.11/include/li
44683+#endif 45180+#endif
44684+ 45181+
44685+#endif 45182+#endif
44686diff -urNp linux-2.6.32.11/include/linux/grmsg.h linux-2.6.32.11/include/linux/grmsg.h 45183diff -urNp linux-2.6.32.12/include/linux/grmsg.h linux-2.6.32.12/include/linux/grmsg.h
44687--- linux-2.6.32.11/include/linux/grmsg.h 1969-12-31 19:00:00.000000000 -0500 45184--- linux-2.6.32.12/include/linux/grmsg.h 1969-12-31 19:00:00.000000000 -0500
44688+++ linux-2.6.32.11/include/linux/grmsg.h 2010-04-04 20:46:41.677383221 -0400 45185+++ linux-2.6.32.12/include/linux/grmsg.h 2010-04-04 20:46:41.677383221 -0400
44689@@ -0,0 +1,107 @@ 45186@@ -0,0 +1,107 @@
44690+#define DEFAULTSECMSG "%.256s[%.16s:%d] uid/euid:%u/%u gid/egid:%u/%u, parent %.256s[%.16s:%d] uid/euid:%u/%u gid/egid:%u/%u" 45187+#define DEFAULTSECMSG "%.256s[%.16s:%d] uid/euid:%u/%u gid/egid:%u/%u, parent %.256s[%.16s:%d] uid/euid:%u/%u gid/egid:%u/%u"
44691+#define GR_ACL_PROCACCT_MSG "%.256s[%.16s:%d] IP:%pI4 TTY:%.64s uid/euid:%u/%u gid/egid:%u/%u run time:[%ud %uh %um %us] cpu time:[%ud %uh %um %us] %s with exit code %ld, parent %.256s[%.16s:%d] IP:%pI4 TTY:%.64s uid/euid:%u/%u gid/egid:%u/%u" 45188+#define GR_ACL_PROCACCT_MSG "%.256s[%.16s:%d] IP:%pI4 TTY:%.64s uid/euid:%u/%u gid/egid:%u/%u run time:[%ud %uh %um %us] cpu time:[%ud %uh %um %us] %s with exit code %ld, parent %.256s[%.16s:%d] IP:%pI4 TTY:%.64s uid/euid:%u/%u gid/egid:%u/%u"
@@ -44794,9 +45291,9 @@ diff -urNp linux-2.6.32.11/include/linux/grmsg.h linux-2.6.32.11/include/linux/g
44794+#define GR_NONROOT_MODLOAD_MSG "denied kernel module auto-load of %.64s by " 45291+#define GR_NONROOT_MODLOAD_MSG "denied kernel module auto-load of %.64s by "
44795+#define GR_VM86_MSG "denied use of vm86 by " 45292+#define GR_VM86_MSG "denied use of vm86 by "
44796+#define GR_PTRACE_AUDIT_MSG "process %.950s(%.16s:%d) attached to via ptrace by " 45293+#define GR_PTRACE_AUDIT_MSG "process %.950s(%.16s:%d) attached to via ptrace by "
44797diff -urNp linux-2.6.32.11/include/linux/grsecurity.h linux-2.6.32.11/include/linux/grsecurity.h 45294diff -urNp linux-2.6.32.12/include/linux/grsecurity.h linux-2.6.32.12/include/linux/grsecurity.h
44798--- linux-2.6.32.11/include/linux/grsecurity.h 1969-12-31 19:00:00.000000000 -0500 45295--- linux-2.6.32.12/include/linux/grsecurity.h 1969-12-31 19:00:00.000000000 -0500
44799+++ linux-2.6.32.11/include/linux/grsecurity.h 2010-04-04 20:46:41.677383221 -0400 45296+++ linux-2.6.32.12/include/linux/grsecurity.h 2010-04-04 20:46:41.677383221 -0400
44800@@ -0,0 +1,199 @@ 45297@@ -0,0 +1,199 @@
44801+#ifndef GR_SECURITY_H 45298+#ifndef GR_SECURITY_H
44802+#define GR_SECURITY_H 45299+#define GR_SECURITY_H
@@ -44997,9 +45494,9 @@ diff -urNp linux-2.6.32.11/include/linux/grsecurity.h linux-2.6.32.11/include/li
44997+#endif 45494+#endif
44998+ 45495+
44999+#endif 45496+#endif
45000diff -urNp linux-2.6.32.11/include/linux/hdpu_features.h linux-2.6.32.11/include/linux/hdpu_features.h 45497diff -urNp linux-2.6.32.12/include/linux/hdpu_features.h linux-2.6.32.12/include/linux/hdpu_features.h
45001--- linux-2.6.32.11/include/linux/hdpu_features.h 2010-03-15 11:52:04.000000000 -0400 45498--- linux-2.6.32.12/include/linux/hdpu_features.h 2010-03-15 11:52:04.000000000 -0400
45002+++ linux-2.6.32.11/include/linux/hdpu_features.h 2010-04-04 20:46:41.677383221 -0400 45499+++ linux-2.6.32.12/include/linux/hdpu_features.h 2010-04-04 20:46:41.677383221 -0400
45003@@ -3,7 +3,7 @@ 45500@@ -3,7 +3,7 @@
45004 struct cpustate_t { 45501 struct cpustate_t {
45005 spinlock_t lock; 45502 spinlock_t lock;
@@ -45009,9 +45506,9 @@ diff -urNp linux-2.6.32.11/include/linux/hdpu_features.h linux-2.6.32.11/include
45009 unsigned char cached_val; 45506 unsigned char cached_val;
45010 int inited; 45507 int inited;
45011 unsigned long *set_addr; 45508 unsigned long *set_addr;
45012diff -urNp linux-2.6.32.11/include/linux/highmem.h linux-2.6.32.11/include/linux/highmem.h 45509diff -urNp linux-2.6.32.12/include/linux/highmem.h linux-2.6.32.12/include/linux/highmem.h
45013--- linux-2.6.32.11/include/linux/highmem.h 2010-03-15 11:52:04.000000000 -0400 45510--- linux-2.6.32.12/include/linux/highmem.h 2010-03-15 11:52:04.000000000 -0400
45014+++ linux-2.6.32.11/include/linux/highmem.h 2010-04-04 20:46:41.677383221 -0400 45511+++ linux-2.6.32.12/include/linux/highmem.h 2010-04-04 20:46:41.677383221 -0400
45015@@ -137,6 +137,18 @@ static inline void clear_highpage(struct 45512@@ -137,6 +137,18 @@ static inline void clear_highpage(struct
45016 kunmap_atomic(kaddr, KM_USER0); 45513 kunmap_atomic(kaddr, KM_USER0);
45017 } 45514 }
@@ -45031,9 +45528,9 @@ diff -urNp linux-2.6.32.11/include/linux/highmem.h linux-2.6.32.11/include/linux
45031 static inline void zero_user_segments(struct page *page, 45528 static inline void zero_user_segments(struct page *page,
45032 unsigned start1, unsigned end1, 45529 unsigned start1, unsigned end1,
45033 unsigned start2, unsigned end2) 45530 unsigned start2, unsigned end2)
45034diff -urNp linux-2.6.32.11/include/linux/init_task.h linux-2.6.32.11/include/linux/init_task.h 45531diff -urNp linux-2.6.32.12/include/linux/init_task.h linux-2.6.32.12/include/linux/init_task.h
45035--- linux-2.6.32.11/include/linux/init_task.h 2010-03-15 11:52:04.000000000 -0400 45532--- linux-2.6.32.12/include/linux/init_task.h 2010-03-15 11:52:04.000000000 -0400
45036+++ linux-2.6.32.11/include/linux/init_task.h 2010-04-04 20:46:41.677383221 -0400 45533+++ linux-2.6.32.12/include/linux/init_task.h 2010-04-04 20:46:41.677383221 -0400
45037@@ -115,6 +115,13 @@ extern struct cred init_cred; 45534@@ -115,6 +115,13 @@ extern struct cred init_cred;
45038 # define INIT_PERF_EVENTS(tsk) 45535 # define INIT_PERF_EVENTS(tsk)
45039 #endif 45536 #endif
@@ -45056,9 +45553,9 @@ diff -urNp linux-2.6.32.11/include/linux/init_task.h linux-2.6.32.11/include/lin
45056 } 45553 }
45057 45554
45058 45555
45059diff -urNp linux-2.6.32.11/include/linux/interrupt.h linux-2.6.32.11/include/linux/interrupt.h 45556diff -urNp linux-2.6.32.12/include/linux/interrupt.h linux-2.6.32.12/include/linux/interrupt.h
45060--- linux-2.6.32.11/include/linux/interrupt.h 2010-03-15 11:52:04.000000000 -0400 45557--- linux-2.6.32.12/include/linux/interrupt.h 2010-03-15 11:52:04.000000000 -0400
45061+++ linux-2.6.32.11/include/linux/interrupt.h 2010-04-04 20:46:41.677383221 -0400 45558+++ linux-2.6.32.12/include/linux/interrupt.h 2010-04-04 20:46:41.677383221 -0400
45062@@ -357,7 +357,7 @@ enum 45559@@ -357,7 +357,7 @@ enum
45063 /* map softirq index to softirq name. update 'softirq_to_name' in 45560 /* map softirq index to softirq name. update 'softirq_to_name' in
45064 * kernel/softirq.c when adding a new softirq. 45561 * kernel/softirq.c when adding a new softirq.
@@ -45083,9 +45580,9 @@ diff -urNp linux-2.6.32.11/include/linux/interrupt.h linux-2.6.32.11/include/lin
45083 extern void softirq_init(void); 45580 extern void softirq_init(void);
45084 #define __raise_softirq_irqoff(nr) do { or_softirq_pending(1UL << (nr)); } while (0) 45581 #define __raise_softirq_irqoff(nr) do { or_softirq_pending(1UL << (nr)); } while (0)
45085 extern void raise_softirq_irqoff(unsigned int nr); 45582 extern void raise_softirq_irqoff(unsigned int nr);
45086diff -urNp linux-2.6.32.11/include/linux/jbd2.h linux-2.6.32.11/include/linux/jbd2.h 45583diff -urNp linux-2.6.32.12/include/linux/jbd2.h linux-2.6.32.12/include/linux/jbd2.h
45087--- linux-2.6.32.11/include/linux/jbd2.h 2010-03-15 11:52:04.000000000 -0400 45584--- linux-2.6.32.12/include/linux/jbd2.h 2010-03-15 11:52:04.000000000 -0400
45088+++ linux-2.6.32.11/include/linux/jbd2.h 2010-04-04 20:46:41.677383221 -0400 45585+++ linux-2.6.32.12/include/linux/jbd2.h 2010-04-04 20:46:41.677383221 -0400
45089@@ -66,7 +66,7 @@ extern u8 jbd2_journal_enable_debug; 45586@@ -66,7 +66,7 @@ extern u8 jbd2_journal_enable_debug;
45090 } \ 45587 } \
45091 } while (0) 45588 } while (0)
@@ -45095,9 +45592,9 @@ diff -urNp linux-2.6.32.11/include/linux/jbd2.h linux-2.6.32.11/include/linux/jb
45095 #endif 45592 #endif
45096 45593
45097 static inline void *jbd2_alloc(size_t size, gfp_t flags) 45594 static inline void *jbd2_alloc(size_t size, gfp_t flags)
45098diff -urNp linux-2.6.32.11/include/linux/jbd.h linux-2.6.32.11/include/linux/jbd.h 45595diff -urNp linux-2.6.32.12/include/linux/jbd.h linux-2.6.32.12/include/linux/jbd.h
45099--- linux-2.6.32.11/include/linux/jbd.h 2010-03-15 11:52:04.000000000 -0400 45596--- linux-2.6.32.12/include/linux/jbd.h 2010-03-15 11:52:04.000000000 -0400
45100+++ linux-2.6.32.11/include/linux/jbd.h 2010-04-04 20:46:41.677383221 -0400 45597+++ linux-2.6.32.12/include/linux/jbd.h 2010-04-04 20:46:41.677383221 -0400
45101@@ -66,7 +66,7 @@ extern u8 journal_enable_debug; 45598@@ -66,7 +66,7 @@ extern u8 journal_enable_debug;
45102 } \ 45599 } \
45103 } while (0) 45600 } while (0)
@@ -45107,9 +45604,9 @@ diff -urNp linux-2.6.32.11/include/linux/jbd.h linux-2.6.32.11/include/linux/jbd
45107 #endif 45604 #endif
45108 45605
45109 static inline void *jbd_alloc(size_t size, gfp_t flags) 45606 static inline void *jbd_alloc(size_t size, gfp_t flags)
45110diff -urNp linux-2.6.32.11/include/linux/kallsyms.h linux-2.6.32.11/include/linux/kallsyms.h 45607diff -urNp linux-2.6.32.12/include/linux/kallsyms.h linux-2.6.32.12/include/linux/kallsyms.h
45111--- linux-2.6.32.11/include/linux/kallsyms.h 2010-03-15 11:52:04.000000000 -0400 45608--- linux-2.6.32.12/include/linux/kallsyms.h 2010-03-15 11:52:04.000000000 -0400
45112+++ linux-2.6.32.11/include/linux/kallsyms.h 2010-04-04 20:46:41.677383221 -0400 45609+++ linux-2.6.32.12/include/linux/kallsyms.h 2010-04-04 20:46:41.677383221 -0400
45113@@ -15,7 +15,8 @@ 45610@@ -15,7 +15,8 @@
45114 45611
45115 struct module; 45612 struct module;
@@ -45130,9 +45627,9 @@ diff -urNp linux-2.6.32.11/include/linux/kallsyms.h linux-2.6.32.11/include/linu
45130 45627
45131 /* This macro allows us to keep printk typechecking */ 45628 /* This macro allows us to keep printk typechecking */
45132 static void __check_printsym_format(const char *fmt, ...) 45629 static void __check_printsym_format(const char *fmt, ...)
45133diff -urNp linux-2.6.32.11/include/linux/kgdb.h linux-2.6.32.11/include/linux/kgdb.h 45630diff -urNp linux-2.6.32.12/include/linux/kgdb.h linux-2.6.32.12/include/linux/kgdb.h
45134--- linux-2.6.32.11/include/linux/kgdb.h 2010-03-15 11:52:04.000000000 -0400 45631--- linux-2.6.32.12/include/linux/kgdb.h 2010-03-15 11:52:04.000000000 -0400
45135+++ linux-2.6.32.11/include/linux/kgdb.h 2010-04-04 20:46:41.677383221 -0400 45632+++ linux-2.6.32.12/include/linux/kgdb.h 2010-04-04 20:46:41.677383221 -0400
45136@@ -251,20 +251,20 @@ struct kgdb_arch { 45633@@ -251,20 +251,20 @@ struct kgdb_arch {
45137 */ 45634 */
45138 struct kgdb_io { 45635 struct kgdb_io {
@@ -45163,9 +45660,9 @@ diff -urNp linux-2.6.32.11/include/linux/kgdb.h linux-2.6.32.11/include/linux/kg
45163 45660
45164 extern int kgdb_hex2long(char **ptr, unsigned long *long_val); 45661 extern int kgdb_hex2long(char **ptr, unsigned long *long_val);
45165 extern int kgdb_mem2hex(char *mem, char *buf, int count); 45662 extern int kgdb_mem2hex(char *mem, char *buf, int count);
45166diff -urNp linux-2.6.32.11/include/linux/kobject.h linux-2.6.32.11/include/linux/kobject.h 45663diff -urNp linux-2.6.32.12/include/linux/kobject.h linux-2.6.32.12/include/linux/kobject.h
45167--- linux-2.6.32.11/include/linux/kobject.h 2010-03-15 11:52:04.000000000 -0400 45664--- linux-2.6.32.12/include/linux/kobject.h 2010-03-15 11:52:04.000000000 -0400
45168+++ linux-2.6.32.11/include/linux/kobject.h 2010-04-04 20:46:41.677383221 -0400 45665+++ linux-2.6.32.12/include/linux/kobject.h 2010-04-04 20:46:41.677383221 -0400
45169@@ -106,7 +106,7 @@ extern char *kobject_get_path(struct kob 45666@@ -106,7 +106,7 @@ extern char *kobject_get_path(struct kob
45170 45667
45171 struct kobj_type { 45668 struct kobj_type {
@@ -45214,10 +45711,10 @@ diff -urNp linux-2.6.32.11/include/linux/kobject.h linux-2.6.32.11/include/linux
45214 struct kobject *parent_kobj); 45711 struct kobject *parent_kobj);
45215 45712
45216 static inline struct kset *to_kset(struct kobject *kobj) 45713 static inline struct kset *to_kset(struct kobject *kobj)
45217diff -urNp linux-2.6.32.11/include/linux/kvm_host.h linux-2.6.32.11/include/linux/kvm_host.h 45714diff -urNp linux-2.6.32.12/include/linux/kvm_host.h linux-2.6.32.12/include/linux/kvm_host.h
45218--- linux-2.6.32.11/include/linux/kvm_host.h 2010-03-15 11:52:04.000000000 -0400 45715--- linux-2.6.32.12/include/linux/kvm_host.h 2010-04-29 17:49:38.529851956 -0400
45219+++ linux-2.6.32.11/include/linux/kvm_host.h 2010-04-04 20:46:41.677383221 -0400 45716+++ linux-2.6.32.12/include/linux/kvm_host.h 2010-04-29 17:49:58.621028174 -0400
45220@@ -205,7 +205,7 @@ void kvm_vcpu_uninit(struct kvm_vcpu *vc 45717@@ -210,7 +210,7 @@ void kvm_vcpu_uninit(struct kvm_vcpu *vc
45221 void vcpu_load(struct kvm_vcpu *vcpu); 45718 void vcpu_load(struct kvm_vcpu *vcpu);
45222 void vcpu_put(struct kvm_vcpu *vcpu); 45719 void vcpu_put(struct kvm_vcpu *vcpu);
45223 45720
@@ -45226,7 +45723,7 @@ diff -urNp linux-2.6.32.11/include/linux/kvm_host.h linux-2.6.32.11/include/linu
45226 struct module *module); 45723 struct module *module);
45227 void kvm_exit(void); 45724 void kvm_exit(void);
45228 45725
45229@@ -311,7 +311,7 @@ int kvm_arch_vcpu_ioctl_set_guest_debug( 45726@@ -316,7 +316,7 @@ int kvm_arch_vcpu_ioctl_set_guest_debug(
45230 struct kvm_guest_debug *dbg); 45727 struct kvm_guest_debug *dbg);
45231 int kvm_arch_vcpu_ioctl_run(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run); 45728 int kvm_arch_vcpu_ioctl_run(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run);
45232 45729
@@ -45235,9 +45732,9 @@ diff -urNp linux-2.6.32.11/include/linux/kvm_host.h linux-2.6.32.11/include/linu
45235 void kvm_arch_exit(void); 45732 void kvm_arch_exit(void);
45236 45733
45237 int kvm_arch_vcpu_init(struct kvm_vcpu *vcpu); 45734 int kvm_arch_vcpu_init(struct kvm_vcpu *vcpu);
45238diff -urNp linux-2.6.32.11/include/linux/libata.h linux-2.6.32.11/include/linux/libata.h 45735diff -urNp linux-2.6.32.12/include/linux/libata.h linux-2.6.32.12/include/linux/libata.h
45239--- linux-2.6.32.11/include/linux/libata.h 2010-03-15 11:52:04.000000000 -0400 45736--- linux-2.6.32.12/include/linux/libata.h 2010-03-15 11:52:04.000000000 -0400
45240+++ linux-2.6.32.11/include/linux/libata.h 2010-04-04 20:46:41.677383221 -0400 45737+++ linux-2.6.32.12/include/linux/libata.h 2010-04-04 20:46:41.677383221 -0400
45241@@ -64,11 +64,11 @@ 45738@@ -64,11 +64,11 @@
45242 #ifdef ATA_VERBOSE_DEBUG 45739 #ifdef ATA_VERBOSE_DEBUG
45243 #define VPRINTK(fmt, args...) printk(KERN_ERR "%s: " fmt, __func__, ## args) 45740 #define VPRINTK(fmt, args...) printk(KERN_ERR "%s: " fmt, __func__, ## args)
@@ -45303,9 +45800,9 @@ diff -urNp linux-2.6.32.11/include/linux/libata.h linux-2.6.32.11/include/linux/
45303 extern int ata_scsi_detect(struct scsi_host_template *sht); 45800 extern int ata_scsi_detect(struct scsi_host_template *sht);
45304 extern int ata_scsi_ioctl(struct scsi_device *dev, int cmd, void __user *arg); 45801 extern int ata_scsi_ioctl(struct scsi_device *dev, int cmd, void __user *arg);
45305 extern int ata_scsi_queuecmd(struct scsi_cmnd *cmd, void (*done)(struct scsi_cmnd *)); 45802 extern int ata_scsi_queuecmd(struct scsi_cmnd *cmd, void (*done)(struct scsi_cmnd *));
45306diff -urNp linux-2.6.32.11/include/linux/lockd/bind.h linux-2.6.32.11/include/linux/lockd/bind.h 45803diff -urNp linux-2.6.32.12/include/linux/lockd/bind.h linux-2.6.32.12/include/linux/lockd/bind.h
45307--- linux-2.6.32.11/include/linux/lockd/bind.h 2010-03-15 11:52:04.000000000 -0400 45804--- linux-2.6.32.12/include/linux/lockd/bind.h 2010-03-15 11:52:04.000000000 -0400
45308+++ linux-2.6.32.11/include/linux/lockd/bind.h 2010-04-04 20:46:41.681061354 -0400 45805+++ linux-2.6.32.12/include/linux/lockd/bind.h 2010-04-04 20:46:41.681061354 -0400
45309@@ -23,13 +23,13 @@ struct svc_rqst; 45806@@ -23,13 +23,13 @@ struct svc_rqst;
45310 * This is the set of functions for lockd->nfsd communication 45807 * This is the set of functions for lockd->nfsd communication
45311 */ 45808 */
@@ -45323,9 +45820,9 @@ diff -urNp linux-2.6.32.11/include/linux/lockd/bind.h linux-2.6.32.11/include/li
45323 45820
45324 /* 45821 /*
45325 * Similar to nfs_client_initdata, but without the NFS-specific 45822 * Similar to nfs_client_initdata, but without the NFS-specific
45326diff -urNp linux-2.6.32.11/include/linux/mm.h linux-2.6.32.11/include/linux/mm.h 45823diff -urNp linux-2.6.32.12/include/linux/mm.h linux-2.6.32.12/include/linux/mm.h
45327--- linux-2.6.32.11/include/linux/mm.h 2010-03-15 11:52:04.000000000 -0400 45824--- linux-2.6.32.12/include/linux/mm.h 2010-03-15 11:52:04.000000000 -0400
45328+++ linux-2.6.32.11/include/linux/mm.h 2010-04-04 20:46:41.681061354 -0400 45825+++ linux-2.6.32.12/include/linux/mm.h 2010-04-04 20:46:41.681061354 -0400
45329@@ -106,6 +106,10 @@ extern unsigned int kobjsize(const void 45826@@ -106,6 +106,10 @@ extern unsigned int kobjsize(const void
45330 #define VM_PFN_AT_MMAP 0x40000000 /* PFNMAP vma that is fully mapped at mmap time */ 45827 #define VM_PFN_AT_MMAP 0x40000000 /* PFNMAP vma that is fully mapped at mmap time */
45331 #define VM_MERGEABLE 0x80000000 /* KSM may merge identical pages */ 45828 #define VM_MERGEABLE 0x80000000 /* KSM may merge identical pages */
@@ -45388,9 +45885,9 @@ diff -urNp linux-2.6.32.11/include/linux/mm.h linux-2.6.32.11/include/linux/mm.h
45388 45885
45389 #endif /* __KERNEL__ */ 45886 #endif /* __KERNEL__ */
45390 #endif /* _LINUX_MM_H */ 45887 #endif /* _LINUX_MM_H */
45391diff -urNp linux-2.6.32.11/include/linux/mm_types.h linux-2.6.32.11/include/linux/mm_types.h 45888diff -urNp linux-2.6.32.12/include/linux/mm_types.h linux-2.6.32.12/include/linux/mm_types.h
45392--- linux-2.6.32.11/include/linux/mm_types.h 2010-03-15 11:52:04.000000000 -0400 45889--- linux-2.6.32.12/include/linux/mm_types.h 2010-03-15 11:52:04.000000000 -0400
45393+++ linux-2.6.32.11/include/linux/mm_types.h 2010-04-04 20:46:41.681061354 -0400 45890+++ linux-2.6.32.12/include/linux/mm_types.h 2010-04-04 20:46:41.681061354 -0400
45394@@ -186,6 +186,8 @@ struct vm_area_struct { 45891@@ -186,6 +186,8 @@ struct vm_area_struct {
45395 #ifdef CONFIG_NUMA 45892 #ifdef CONFIG_NUMA
45396 struct mempolicy *vm_policy; /* NUMA policy for the VMA */ 45893 struct mempolicy *vm_policy; /* NUMA policy for the VMA */
@@ -45425,9 +45922,9 @@ diff -urNp linux-2.6.32.11/include/linux/mm_types.h linux-2.6.32.11/include/linu
45425 }; 45922 };
45426 45923
45427 /* Future-safe accessor for struct mm_struct's cpu_vm_mask. */ 45924 /* Future-safe accessor for struct mm_struct's cpu_vm_mask. */
45428diff -urNp linux-2.6.32.11/include/linux/mmu_notifier.h linux-2.6.32.11/include/linux/mmu_notifier.h 45925diff -urNp linux-2.6.32.12/include/linux/mmu_notifier.h linux-2.6.32.12/include/linux/mmu_notifier.h
45429--- linux-2.6.32.11/include/linux/mmu_notifier.h 2010-03-15 11:52:04.000000000 -0400 45926--- linux-2.6.32.12/include/linux/mmu_notifier.h 2010-03-15 11:52:04.000000000 -0400
45430+++ linux-2.6.32.11/include/linux/mmu_notifier.h 2010-04-04 20:46:41.681061354 -0400 45927+++ linux-2.6.32.12/include/linux/mmu_notifier.h 2010-04-04 20:46:41.681061354 -0400
45431@@ -235,12 +235,12 @@ static inline void mmu_notifier_mm_destr 45928@@ -235,12 +235,12 @@ static inline void mmu_notifier_mm_destr
45432 */ 45929 */
45433 #define ptep_clear_flush_notify(__vma, __address, __ptep) \ 45930 #define ptep_clear_flush_notify(__vma, __address, __ptep) \
@@ -45444,9 +45941,9 @@ diff -urNp linux-2.6.32.11/include/linux/mmu_notifier.h linux-2.6.32.11/include/
45444 }) 45941 })
45445 45942
45446 #define ptep_clear_flush_young_notify(__vma, __address, __ptep) \ 45943 #define ptep_clear_flush_young_notify(__vma, __address, __ptep) \
45447diff -urNp linux-2.6.32.11/include/linux/mod_devicetable.h linux-2.6.32.11/include/linux/mod_devicetable.h 45944diff -urNp linux-2.6.32.12/include/linux/mod_devicetable.h linux-2.6.32.12/include/linux/mod_devicetable.h
45448--- linux-2.6.32.11/include/linux/mod_devicetable.h 2010-03-15 11:52:04.000000000 -0400 45945--- linux-2.6.32.12/include/linux/mod_devicetable.h 2010-03-15 11:52:04.000000000 -0400
45449+++ linux-2.6.32.11/include/linux/mod_devicetable.h 2010-04-04 20:46:41.681061354 -0400 45946+++ linux-2.6.32.12/include/linux/mod_devicetable.h 2010-04-04 20:46:41.681061354 -0400
45450@@ -12,7 +12,7 @@ 45947@@ -12,7 +12,7 @@
45451 typedef unsigned long kernel_ulong_t; 45948 typedef unsigned long kernel_ulong_t;
45452 #endif 45949 #endif
@@ -45465,9 +45962,9 @@ diff -urNp linux-2.6.32.11/include/linux/mod_devicetable.h linux-2.6.32.11/inclu
45465 45962
45466 struct hid_device_id { 45963 struct hid_device_id {
45467 __u16 bus; 45964 __u16 bus;
45468diff -urNp linux-2.6.32.11/include/linux/module.h linux-2.6.32.11/include/linux/module.h 45965diff -urNp linux-2.6.32.12/include/linux/module.h linux-2.6.32.12/include/linux/module.h
45469--- linux-2.6.32.11/include/linux/module.h 2010-03-15 11:52:04.000000000 -0400 45966--- linux-2.6.32.12/include/linux/module.h 2010-04-29 17:49:38.529851956 -0400
45470+++ linux-2.6.32.11/include/linux/module.h 2010-04-04 20:46:41.681061354 -0400 45967+++ linux-2.6.32.12/include/linux/module.h 2010-04-29 17:49:58.621028174 -0400
45471@@ -287,16 +287,16 @@ struct module 45968@@ -287,16 +287,16 @@ struct module
45472 int (*init)(void); 45969 int (*init)(void);
45473 45970
@@ -45540,9 +46037,9 @@ diff -urNp linux-2.6.32.11/include/linux/module.h linux-2.6.32.11/include/linux/
45540 } 46037 }
45541 46038
45542 /* Search for module by name: must hold module_mutex. */ 46039 /* Search for module by name: must hold module_mutex. */
45543diff -urNp linux-2.6.32.11/include/linux/moduleloader.h linux-2.6.32.11/include/linux/moduleloader.h 46040diff -urNp linux-2.6.32.12/include/linux/moduleloader.h linux-2.6.32.12/include/linux/moduleloader.h
45544--- linux-2.6.32.11/include/linux/moduleloader.h 2010-03-15 11:52:04.000000000 -0400 46041--- linux-2.6.32.12/include/linux/moduleloader.h 2010-03-15 11:52:04.000000000 -0400
45545+++ linux-2.6.32.11/include/linux/moduleloader.h 2010-04-04 20:46:41.681061354 -0400 46042+++ linux-2.6.32.12/include/linux/moduleloader.h 2010-04-04 20:46:41.681061354 -0400
45546@@ -20,9 +20,21 @@ unsigned int arch_mod_section_prepend(st 46043@@ -20,9 +20,21 @@ unsigned int arch_mod_section_prepend(st
45547 sections. Returns NULL on failure. */ 46044 sections. Returns NULL on failure. */
45548 void *module_alloc(unsigned long size); 46045 void *module_alloc(unsigned long size);
@@ -45565,9 +46062,9 @@ diff -urNp linux-2.6.32.11/include/linux/moduleloader.h linux-2.6.32.11/include/
45565 /* Apply the given relocation to the (simplified) ELF. Return -error 46062 /* Apply the given relocation to the (simplified) ELF. Return -error
45566 or 0. */ 46063 or 0. */
45567 int apply_relocate(Elf_Shdr *sechdrs, 46064 int apply_relocate(Elf_Shdr *sechdrs,
45568diff -urNp linux-2.6.32.11/include/linux/namei.h linux-2.6.32.11/include/linux/namei.h 46065diff -urNp linux-2.6.32.12/include/linux/namei.h linux-2.6.32.12/include/linux/namei.h
45569--- linux-2.6.32.11/include/linux/namei.h 2010-03-15 11:52:04.000000000 -0400 46066--- linux-2.6.32.12/include/linux/namei.h 2010-03-15 11:52:04.000000000 -0400
45570+++ linux-2.6.32.11/include/linux/namei.h 2010-04-04 20:46:41.681061354 -0400 46067+++ linux-2.6.32.12/include/linux/namei.h 2010-04-04 20:46:41.681061354 -0400
45571@@ -22,7 +22,7 @@ struct nameidata { 46068@@ -22,7 +22,7 @@ struct nameidata {
45572 unsigned int flags; 46069 unsigned int flags;
45573 int last_type; 46070 int last_type;
@@ -45592,9 +46089,9 @@ diff -urNp linux-2.6.32.11/include/linux/namei.h linux-2.6.32.11/include/linux/n
45592 { 46089 {
45593 return nd->saved_names[nd->depth]; 46090 return nd->saved_names[nd->depth];
45594 } 46091 }
45595diff -urNp linux-2.6.32.11/include/linux/nodemask.h linux-2.6.32.11/include/linux/nodemask.h 46092diff -urNp linux-2.6.32.12/include/linux/nodemask.h linux-2.6.32.12/include/linux/nodemask.h
45596--- linux-2.6.32.11/include/linux/nodemask.h 2010-03-15 11:52:04.000000000 -0400 46093--- linux-2.6.32.12/include/linux/nodemask.h 2010-03-15 11:52:04.000000000 -0400
45597+++ linux-2.6.32.11/include/linux/nodemask.h 2010-04-04 20:46:41.681061354 -0400 46094+++ linux-2.6.32.12/include/linux/nodemask.h 2010-04-04 20:46:41.681061354 -0400
45598@@ -464,11 +464,11 @@ static inline int num_node_state(enum no 46095@@ -464,11 +464,11 @@ static inline int num_node_state(enum no
45599 46096
45600 #define any_online_node(mask) \ 46097 #define any_online_node(mask) \
@@ -45611,9 +46108,9 @@ diff -urNp linux-2.6.32.11/include/linux/nodemask.h linux-2.6.32.11/include/linu
45611 }) 46108 })
45612 46109
45613 #define num_online_nodes() num_node_state(N_ONLINE) 46110 #define num_online_nodes() num_node_state(N_ONLINE)
45614diff -urNp linux-2.6.32.11/include/linux/oprofile.h linux-2.6.32.11/include/linux/oprofile.h 46111diff -urNp linux-2.6.32.12/include/linux/oprofile.h linux-2.6.32.12/include/linux/oprofile.h
45615--- linux-2.6.32.11/include/linux/oprofile.h 2010-03-15 11:52:04.000000000 -0400 46112--- linux-2.6.32.12/include/linux/oprofile.h 2010-03-15 11:52:04.000000000 -0400
45616+++ linux-2.6.32.11/include/linux/oprofile.h 2010-04-04 20:46:41.681061354 -0400 46113+++ linux-2.6.32.12/include/linux/oprofile.h 2010-04-04 20:46:41.681061354 -0400
45617@@ -129,9 +129,9 @@ int oprofilefs_create_ulong(struct super 46114@@ -129,9 +129,9 @@ int oprofilefs_create_ulong(struct super
45618 int oprofilefs_create_ro_ulong(struct super_block * sb, struct dentry * root, 46115 int oprofilefs_create_ro_ulong(struct super_block * sb, struct dentry * root,
45619 char const * name, ulong * val); 46116 char const * name, ulong * val);
@@ -45626,9 +46123,9 @@ diff -urNp linux-2.6.32.11/include/linux/oprofile.h linux-2.6.32.11/include/linu
45626 46123
45627 /** create a directory */ 46124 /** create a directory */
45628 struct dentry * oprofilefs_mkdir(struct super_block * sb, struct dentry * root, 46125 struct dentry * oprofilefs_mkdir(struct super_block * sb, struct dentry * root,
45629diff -urNp linux-2.6.32.11/include/linux/pipe_fs_i.h linux-2.6.32.11/include/linux/pipe_fs_i.h 46126diff -urNp linux-2.6.32.12/include/linux/pipe_fs_i.h linux-2.6.32.12/include/linux/pipe_fs_i.h
45630--- linux-2.6.32.11/include/linux/pipe_fs_i.h 2010-03-15 11:52:04.000000000 -0400 46127--- linux-2.6.32.12/include/linux/pipe_fs_i.h 2010-03-15 11:52:04.000000000 -0400
45631+++ linux-2.6.32.11/include/linux/pipe_fs_i.h 2010-04-04 20:46:41.681061354 -0400 46128+++ linux-2.6.32.12/include/linux/pipe_fs_i.h 2010-04-04 20:46:41.681061354 -0400
45632@@ -46,9 +46,9 @@ struct pipe_inode_info { 46129@@ -46,9 +46,9 @@ struct pipe_inode_info {
45633 wait_queue_head_t wait; 46130 wait_queue_head_t wait;
45634 unsigned int nrbufs, curbuf; 46131 unsigned int nrbufs, curbuf;
@@ -45642,9 +46139,9 @@ diff -urNp linux-2.6.32.11/include/linux/pipe_fs_i.h linux-2.6.32.11/include/lin
45642 unsigned int r_counter; 46139 unsigned int r_counter;
45643 unsigned int w_counter; 46140 unsigned int w_counter;
45644 struct fasync_struct *fasync_readers; 46141 struct fasync_struct *fasync_readers;
45645diff -urNp linux-2.6.32.11/include/linux/poison.h linux-2.6.32.11/include/linux/poison.h 46142diff -urNp linux-2.6.32.12/include/linux/poison.h linux-2.6.32.12/include/linux/poison.h
45646--- linux-2.6.32.11/include/linux/poison.h 2010-03-15 11:52:04.000000000 -0400 46143--- linux-2.6.32.12/include/linux/poison.h 2010-03-15 11:52:04.000000000 -0400
45647+++ linux-2.6.32.11/include/linux/poison.h 2010-04-04 20:46:41.681061354 -0400 46144+++ linux-2.6.32.12/include/linux/poison.h 2010-04-04 20:46:41.681061354 -0400
45648@@ -7,8 +7,8 @@ 46145@@ -7,8 +7,8 @@
45649 * under normal circumstances, used to verify that nobody uses 46146 * under normal circumstances, used to verify that nobody uses
45650 * non-initialized list entries. 46147 * non-initialized list entries.
@@ -45656,9 +46153,9 @@ diff -urNp linux-2.6.32.11/include/linux/poison.h linux-2.6.32.11/include/linux/
45656 46153
45657 /********** include/linux/timer.h **********/ 46154 /********** include/linux/timer.h **********/
45658 /* 46155 /*
45659diff -urNp linux-2.6.32.11/include/linux/proc_fs.h linux-2.6.32.11/include/linux/proc_fs.h 46156diff -urNp linux-2.6.32.12/include/linux/proc_fs.h linux-2.6.32.12/include/linux/proc_fs.h
45660--- linux-2.6.32.11/include/linux/proc_fs.h 2010-03-15 11:52:04.000000000 -0400 46157--- linux-2.6.32.12/include/linux/proc_fs.h 2010-03-15 11:52:04.000000000 -0400
45661+++ linux-2.6.32.11/include/linux/proc_fs.h 2010-04-04 20:46:41.681061354 -0400 46158+++ linux-2.6.32.12/include/linux/proc_fs.h 2010-04-04 20:46:41.681061354 -0400
45662@@ -155,6 +155,19 @@ static inline struct proc_dir_entry *pro 46159@@ -155,6 +155,19 @@ static inline struct proc_dir_entry *pro
45663 return proc_create_data(name, mode, parent, proc_fops, NULL); 46160 return proc_create_data(name, mode, parent, proc_fops, NULL);
45664 } 46161 }
@@ -45679,9 +46176,9 @@ diff -urNp linux-2.6.32.11/include/linux/proc_fs.h linux-2.6.32.11/include/linux
45679 static inline struct proc_dir_entry *create_proc_read_entry(const char *name, 46176 static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
45680 mode_t mode, struct proc_dir_entry *base, 46177 mode_t mode, struct proc_dir_entry *base,
45681 read_proc_t *read_proc, void * data) 46178 read_proc_t *read_proc, void * data)
45682diff -urNp linux-2.6.32.11/include/linux/random.h linux-2.6.32.11/include/linux/random.h 46179diff -urNp linux-2.6.32.12/include/linux/random.h linux-2.6.32.12/include/linux/random.h
45683--- linux-2.6.32.11/include/linux/random.h 2010-03-15 11:52:04.000000000 -0400 46180--- linux-2.6.32.12/include/linux/random.h 2010-03-15 11:52:04.000000000 -0400
45684+++ linux-2.6.32.11/include/linux/random.h 2010-04-04 20:46:41.681061354 -0400 46181+++ linux-2.6.32.12/include/linux/random.h 2010-04-04 20:46:41.681061354 -0400
45685@@ -74,6 +74,11 @@ unsigned long randomize_range(unsigned l 46182@@ -74,6 +74,11 @@ unsigned long randomize_range(unsigned l
45686 u32 random32(void); 46183 u32 random32(void);
45687 void srandom32(u32 seed); 46184 void srandom32(u32 seed);
@@ -45694,9 +46191,9 @@ diff -urNp linux-2.6.32.11/include/linux/random.h linux-2.6.32.11/include/linux/
45694 #endif /* __KERNEL___ */ 46191 #endif /* __KERNEL___ */
45695 46192
45696 #endif /* _LINUX_RANDOM_H */ 46193 #endif /* _LINUX_RANDOM_H */
45697diff -urNp linux-2.6.32.11/include/linux/reiserfs_fs.h linux-2.6.32.11/include/linux/reiserfs_fs.h 46194diff -urNp linux-2.6.32.12/include/linux/reiserfs_fs.h linux-2.6.32.12/include/linux/reiserfs_fs.h
45698--- linux-2.6.32.11/include/linux/reiserfs_fs.h 2010-03-15 11:52:04.000000000 -0400 46195--- linux-2.6.32.12/include/linux/reiserfs_fs.h 2010-03-15 11:52:04.000000000 -0400
45699+++ linux-2.6.32.11/include/linux/reiserfs_fs.h 2010-04-04 20:46:41.681061354 -0400 46196+++ linux-2.6.32.12/include/linux/reiserfs_fs.h 2010-04-04 20:46:41.681061354 -0400
45700@@ -1326,7 +1326,7 @@ static inline loff_t max_reiserfs_offset 46197@@ -1326,7 +1326,7 @@ static inline loff_t max_reiserfs_offset
45701 #define REISERFS_USER_MEM 1 /* reiserfs user memory mode */ 46198 #define REISERFS_USER_MEM 1 /* reiserfs user memory mode */
45702 46199
@@ -45743,9 +46240,9 @@ diff -urNp linux-2.6.32.11/include/linux/reiserfs_fs.h linux-2.6.32.11/include/l
45743 46240
45744 #define op_bytes_number(ih,bsize) item_ops[le_ih_k_type (ih)]->bytes_number (ih, bsize) 46241 #define op_bytes_number(ih,bsize) item_ops[le_ih_k_type (ih)]->bytes_number (ih, bsize)
45745 #define op_is_left_mergeable(key,bsize) item_ops[le_key_k_type (le_key_version (key), key)]->is_left_mergeable (key, bsize) 46242 #define op_is_left_mergeable(key,bsize) item_ops[le_key_k_type (le_key_version (key), key)]->is_left_mergeable (key, bsize)
45746diff -urNp linux-2.6.32.11/include/linux/reiserfs_fs_sb.h linux-2.6.32.11/include/linux/reiserfs_fs_sb.h 46243diff -urNp linux-2.6.32.12/include/linux/reiserfs_fs_sb.h linux-2.6.32.12/include/linux/reiserfs_fs_sb.h
45747--- linux-2.6.32.11/include/linux/reiserfs_fs_sb.h 2010-03-15 11:52:04.000000000 -0400 46244--- linux-2.6.32.12/include/linux/reiserfs_fs_sb.h 2010-03-15 11:52:04.000000000 -0400
45748+++ linux-2.6.32.11/include/linux/reiserfs_fs_sb.h 2010-04-04 20:46:41.681061354 -0400 46245+++ linux-2.6.32.12/include/linux/reiserfs_fs_sb.h 2010-04-04 20:46:41.681061354 -0400
45749@@ -377,7 +377,7 @@ struct reiserfs_sb_info { 46246@@ -377,7 +377,7 @@ struct reiserfs_sb_info {
45750 /* Comment? -Hans */ 46247 /* Comment? -Hans */
45751 wait_queue_head_t s_wait; 46248 wait_queue_head_t s_wait;
@@ -45755,9 +46252,9 @@ diff -urNp linux-2.6.32.11/include/linux/reiserfs_fs_sb.h linux-2.6.32.11/includ
45755 // tree gets re-balanced 46252 // tree gets re-balanced
45756 unsigned long s_properties; /* File system properties. Currently holds 46253 unsigned long s_properties; /* File system properties. Currently holds
45757 on-disk FS format */ 46254 on-disk FS format */
45758diff -urNp linux-2.6.32.11/include/linux/sched.h linux-2.6.32.11/include/linux/sched.h 46255diff -urNp linux-2.6.32.12/include/linux/sched.h linux-2.6.32.12/include/linux/sched.h
45759--- linux-2.6.32.11/include/linux/sched.h 2010-03-15 11:52:04.000000000 -0400 46256--- linux-2.6.32.12/include/linux/sched.h 2010-03-15 11:52:04.000000000 -0400
45760+++ linux-2.6.32.11/include/linux/sched.h 2010-04-04 20:46:41.681061354 -0400 46257+++ linux-2.6.32.12/include/linux/sched.h 2010-04-04 20:46:41.681061354 -0400
45761@@ -101,6 +101,7 @@ struct bio; 46258@@ -101,6 +101,7 @@ struct bio;
45762 struct fs_struct; 46259 struct fs_struct;
45763 struct bts_context; 46260 struct bts_context;
@@ -46006,9 +46503,9 @@ diff -urNp linux-2.6.32.11/include/linux/sched.h linux-2.6.32.11/include/linux/s
46006 extern void thread_info_cache_init(void); 46503 extern void thread_info_cache_init(void);
46007 46504
46008 #ifdef CONFIG_DEBUG_STACK_USAGE 46505 #ifdef CONFIG_DEBUG_STACK_USAGE
46009diff -urNp linux-2.6.32.11/include/linux/screen_info.h linux-2.6.32.11/include/linux/screen_info.h 46506diff -urNp linux-2.6.32.12/include/linux/screen_info.h linux-2.6.32.12/include/linux/screen_info.h
46010--- linux-2.6.32.11/include/linux/screen_info.h 2010-03-15 11:52:04.000000000 -0400 46507--- linux-2.6.32.12/include/linux/screen_info.h 2010-03-15 11:52:04.000000000 -0400
46011+++ linux-2.6.32.11/include/linux/screen_info.h 2010-04-04 20:46:41.681061354 -0400 46508+++ linux-2.6.32.12/include/linux/screen_info.h 2010-04-04 20:46:41.681061354 -0400
46012@@ -42,7 +42,8 @@ struct screen_info { 46509@@ -42,7 +42,8 @@ struct screen_info {
46013 __u16 pages; /* 0x32 */ 46510 __u16 pages; /* 0x32 */
46014 __u16 vesa_attributes; /* 0x34 */ 46511 __u16 vesa_attributes; /* 0x34 */
@@ -46019,9 +46516,9 @@ diff -urNp linux-2.6.32.11/include/linux/screen_info.h linux-2.6.32.11/include/l
46019 } __attribute__((packed)); 46516 } __attribute__((packed));
46020 46517
46021 #define VIDEO_TYPE_MDA 0x10 /* Monochrome Text Display */ 46518 #define VIDEO_TYPE_MDA 0x10 /* Monochrome Text Display */
46022diff -urNp linux-2.6.32.11/include/linux/security.h linux-2.6.32.11/include/linux/security.h 46519diff -urNp linux-2.6.32.12/include/linux/security.h linux-2.6.32.12/include/linux/security.h
46023--- linux-2.6.32.11/include/linux/security.h 2010-03-15 11:52:04.000000000 -0400 46520--- linux-2.6.32.12/include/linux/security.h 2010-03-15 11:52:04.000000000 -0400
46024+++ linux-2.6.32.11/include/linux/security.h 2010-04-04 20:46:41.681061354 -0400 46521+++ linux-2.6.32.12/include/linux/security.h 2010-04-04 20:46:41.681061354 -0400
46025@@ -34,6 +34,7 @@ 46522@@ -34,6 +34,7 @@
46026 #include <linux/key.h> 46523 #include <linux/key.h>
46027 #include <linux/xfrm.h> 46524 #include <linux/xfrm.h>
@@ -46030,9 +46527,9 @@ diff -urNp linux-2.6.32.11/include/linux/security.h linux-2.6.32.11/include/linu
46030 #include <net/flow.h> 46527 #include <net/flow.h>
46031 46528
46032 /* Maximum number of letters for an LSM name string */ 46529 /* Maximum number of letters for an LSM name string */
46033diff -urNp linux-2.6.32.11/include/linux/shm.h linux-2.6.32.11/include/linux/shm.h 46530diff -urNp linux-2.6.32.12/include/linux/shm.h linux-2.6.32.12/include/linux/shm.h
46034--- linux-2.6.32.11/include/linux/shm.h 2010-03-15 11:52:04.000000000 -0400 46531--- linux-2.6.32.12/include/linux/shm.h 2010-03-15 11:52:04.000000000 -0400
46035+++ linux-2.6.32.11/include/linux/shm.h 2010-04-04 20:46:41.681061354 -0400 46532+++ linux-2.6.32.12/include/linux/shm.h 2010-04-04 20:46:41.681061354 -0400
46036@@ -95,6 +95,10 @@ struct shmid_kernel /* private to the ke 46533@@ -95,6 +95,10 @@ struct shmid_kernel /* private to the ke
46037 pid_t shm_cprid; 46534 pid_t shm_cprid;
46038 pid_t shm_lprid; 46535 pid_t shm_lprid;
@@ -46044,9 +46541,9 @@ diff -urNp linux-2.6.32.11/include/linux/shm.h linux-2.6.32.11/include/linux/shm
46044 }; 46541 };
46045 46542
46046 /* shm_mode upper byte flags */ 46543 /* shm_mode upper byte flags */
46047diff -urNp linux-2.6.32.11/include/linux/slab.h linux-2.6.32.11/include/linux/slab.h 46544diff -urNp linux-2.6.32.12/include/linux/slab.h linux-2.6.32.12/include/linux/slab.h
46048--- linux-2.6.32.11/include/linux/slab.h 2010-03-15 11:52:04.000000000 -0400 46545--- linux-2.6.32.12/include/linux/slab.h 2010-03-15 11:52:04.000000000 -0400
46049+++ linux-2.6.32.11/include/linux/slab.h 2010-04-04 20:47:28.956670452 -0400 46546+++ linux-2.6.32.12/include/linux/slab.h 2010-04-04 20:47:28.956670452 -0400
46050@@ -11,6 +11,7 @@ 46547@@ -11,6 +11,7 @@
46051 46548
46052 #include <linux/gfp.h> 46549 #include <linux/gfp.h>
@@ -46118,9 +46615,9 @@ diff -urNp linux-2.6.32.11/include/linux/slab.h linux-2.6.32.11/include/linux/sl
46118+}) 46615+})
46119+ 46616+
46120 #endif /* _LINUX_SLAB_H */ 46617 #endif /* _LINUX_SLAB_H */
46121diff -urNp linux-2.6.32.11/include/linux/slub_def.h linux-2.6.32.11/include/linux/slub_def.h 46618diff -urNp linux-2.6.32.12/include/linux/slub_def.h linux-2.6.32.12/include/linux/slub_def.h
46122--- linux-2.6.32.11/include/linux/slub_def.h 2010-03-15 11:52:04.000000000 -0400 46619--- linux-2.6.32.12/include/linux/slub_def.h 2010-03-15 11:52:04.000000000 -0400
46123+++ linux-2.6.32.11/include/linux/slub_def.h 2010-04-04 20:46:41.685762250 -0400 46620+++ linux-2.6.32.12/include/linux/slub_def.h 2010-04-04 20:46:41.685762250 -0400
46124@@ -86,7 +86,7 @@ struct kmem_cache { 46621@@ -86,7 +86,7 @@ struct kmem_cache {
46125 struct kmem_cache_order_objects max; 46622 struct kmem_cache_order_objects max;
46126 struct kmem_cache_order_objects min; 46623 struct kmem_cache_order_objects min;
@@ -46130,9 +46627,9 @@ diff -urNp linux-2.6.32.11/include/linux/slub_def.h linux-2.6.32.11/include/linu
46130 void (*ctor)(void *); 46627 void (*ctor)(void *);
46131 int inuse; /* Offset to metadata */ 46628 int inuse; /* Offset to metadata */
46132 int align; /* Alignment */ 46629 int align; /* Alignment */
46133diff -urNp linux-2.6.32.11/include/linux/sonet.h linux-2.6.32.11/include/linux/sonet.h 46630diff -urNp linux-2.6.32.12/include/linux/sonet.h linux-2.6.32.12/include/linux/sonet.h
46134--- linux-2.6.32.11/include/linux/sonet.h 2010-03-15 11:52:04.000000000 -0400 46631--- linux-2.6.32.12/include/linux/sonet.h 2010-03-15 11:52:04.000000000 -0400
46135+++ linux-2.6.32.11/include/linux/sonet.h 2010-04-04 20:46:41.685762250 -0400 46632+++ linux-2.6.32.12/include/linux/sonet.h 2010-04-04 20:46:41.685762250 -0400
46136@@ -61,7 +61,7 @@ struct sonet_stats { 46633@@ -61,7 +61,7 @@ struct sonet_stats {
46137 #include <asm/atomic.h> 46634 #include <asm/atomic.h>
46138 46635
@@ -46142,9 +46639,9 @@ diff -urNp linux-2.6.32.11/include/linux/sonet.h linux-2.6.32.11/include/linux/s
46142 __SONET_ITEMS 46639 __SONET_ITEMS
46143 #undef __HANDLE_ITEM 46640 #undef __HANDLE_ITEM
46144 }; 46641 };
46145diff -urNp linux-2.6.32.11/include/linux/suspend.h linux-2.6.32.11/include/linux/suspend.h 46642diff -urNp linux-2.6.32.12/include/linux/suspend.h linux-2.6.32.12/include/linux/suspend.h
46146--- linux-2.6.32.11/include/linux/suspend.h 2010-03-15 11:52:04.000000000 -0400 46643--- linux-2.6.32.12/include/linux/suspend.h 2010-03-15 11:52:04.000000000 -0400
46147+++ linux-2.6.32.11/include/linux/suspend.h 2010-04-04 20:46:41.685762250 -0400 46644+++ linux-2.6.32.12/include/linux/suspend.h 2010-04-04 20:46:41.685762250 -0400
46148@@ -104,15 +104,15 @@ typedef int __bitwise suspend_state_t; 46645@@ -104,15 +104,15 @@ typedef int __bitwise suspend_state_t;
46149 * which require special recovery actions in that situation. 46646 * which require special recovery actions in that situation.
46150 */ 46647 */
@@ -46233,9 +46730,9 @@ diff -urNp linux-2.6.32.11/include/linux/suspend.h linux-2.6.32.11/include/linux
46233 static inline int hibernate(void) { return -ENOSYS; } 46730 static inline int hibernate(void) { return -ENOSYS; }
46234 static inline bool system_entering_hibernation(void) { return false; } 46731 static inline bool system_entering_hibernation(void) { return false; }
46235 #endif /* CONFIG_HIBERNATION */ 46732 #endif /* CONFIG_HIBERNATION */
46236diff -urNp linux-2.6.32.11/include/linux/sysctl.h linux-2.6.32.11/include/linux/sysctl.h 46733diff -urNp linux-2.6.32.12/include/linux/sysctl.h linux-2.6.32.12/include/linux/sysctl.h
46237--- linux-2.6.32.11/include/linux/sysctl.h 2010-03-15 11:52:04.000000000 -0400 46734--- linux-2.6.32.12/include/linux/sysctl.h 2010-03-15 11:52:04.000000000 -0400
46238+++ linux-2.6.32.11/include/linux/sysctl.h 2010-04-04 20:46:41.685762250 -0400 46735+++ linux-2.6.32.12/include/linux/sysctl.h 2010-04-04 20:46:41.685762250 -0400
46239@@ -164,7 +164,11 @@ enum 46736@@ -164,7 +164,11 @@ enum
46240 KERN_PANIC_ON_NMI=76, /* int: whether we will panic on an unrecovered */ 46737 KERN_PANIC_ON_NMI=76, /* int: whether we will panic on an unrecovered */
46241 }; 46738 };
@@ -46249,9 +46746,9 @@ diff -urNp linux-2.6.32.11/include/linux/sysctl.h linux-2.6.32.11/include/linux/
46249 46746
46250 /* CTL_VM names: */ 46747 /* CTL_VM names: */
46251 enum 46748 enum
46252diff -urNp linux-2.6.32.11/include/linux/sysfs.h linux-2.6.32.11/include/linux/sysfs.h 46749diff -urNp linux-2.6.32.12/include/linux/sysfs.h linux-2.6.32.12/include/linux/sysfs.h
46253--- linux-2.6.32.11/include/linux/sysfs.h 2010-03-15 11:52:04.000000000 -0400 46750--- linux-2.6.32.12/include/linux/sysfs.h 2010-03-15 11:52:04.000000000 -0400
46254+++ linux-2.6.32.11/include/linux/sysfs.h 2010-04-04 20:46:41.685762250 -0400 46751+++ linux-2.6.32.12/include/linux/sysfs.h 2010-04-04 20:46:41.685762250 -0400
46255@@ -75,8 +75,8 @@ struct bin_attribute { 46752@@ -75,8 +75,8 @@ struct bin_attribute {
46256 }; 46753 };
46257 46754
@@ -46263,9 +46760,9 @@ diff -urNp linux-2.6.32.11/include/linux/sysfs.h linux-2.6.32.11/include/linux/s
46263 }; 46760 };
46264 46761
46265 struct sysfs_dirent; 46762 struct sysfs_dirent;
46266diff -urNp linux-2.6.32.11/include/linux/thread_info.h linux-2.6.32.11/include/linux/thread_info.h 46763diff -urNp linux-2.6.32.12/include/linux/thread_info.h linux-2.6.32.12/include/linux/thread_info.h
46267--- linux-2.6.32.11/include/linux/thread_info.h 2010-03-15 11:52:04.000000000 -0400 46764--- linux-2.6.32.12/include/linux/thread_info.h 2010-03-15 11:52:04.000000000 -0400
46268+++ linux-2.6.32.11/include/linux/thread_info.h 2010-04-04 20:46:41.685762250 -0400 46765+++ linux-2.6.32.12/include/linux/thread_info.h 2010-04-04 20:46:41.685762250 -0400
46269@@ -23,7 +23,7 @@ struct restart_block { 46766@@ -23,7 +23,7 @@ struct restart_block {
46270 }; 46767 };
46271 /* For futex_wait and futex_wait_requeue_pi */ 46768 /* For futex_wait and futex_wait_requeue_pi */
@@ -46275,9 +46772,9 @@ diff -urNp linux-2.6.32.11/include/linux/thread_info.h linux-2.6.32.11/include/l
46275 u32 val; 46772 u32 val;
46276 u32 flags; 46773 u32 flags;
46277 u32 bitset; 46774 u32 bitset;
46278diff -urNp linux-2.6.32.11/include/linux/tty.h linux-2.6.32.11/include/linux/tty.h 46775diff -urNp linux-2.6.32.12/include/linux/tty.h linux-2.6.32.12/include/linux/tty.h
46279--- linux-2.6.32.11/include/linux/tty.h 2010-04-04 20:41:50.060586306 -0400 46776--- linux-2.6.32.12/include/linux/tty.h 2010-04-04 20:41:50.060586306 -0400
46280+++ linux-2.6.32.11/include/linux/tty.h 2010-04-04 20:46:41.685762250 -0400 46777+++ linux-2.6.32.12/include/linux/tty.h 2010-04-04 20:46:41.685762250 -0400
46281@@ -13,6 +13,7 @@ 46778@@ -13,6 +13,7 @@
46282 #include <linux/tty_driver.h> 46779 #include <linux/tty_driver.h>
46283 #include <linux/tty_ldisc.h> 46780 #include <linux/tty_ldisc.h>
@@ -46313,9 +46810,9 @@ diff -urNp linux-2.6.32.11/include/linux/tty.h linux-2.6.32.11/include/linux/tty
46313 46810
46314 /* n_tty.c */ 46811 /* n_tty.c */
46315 extern struct tty_ldisc_ops tty_ldisc_N_TTY; 46812 extern struct tty_ldisc_ops tty_ldisc_N_TTY;
46316diff -urNp linux-2.6.32.11/include/linux/tty_ldisc.h linux-2.6.32.11/include/linux/tty_ldisc.h 46813diff -urNp linux-2.6.32.12/include/linux/tty_ldisc.h linux-2.6.32.12/include/linux/tty_ldisc.h
46317--- linux-2.6.32.11/include/linux/tty_ldisc.h 2010-03-15 11:52:04.000000000 -0400 46814--- linux-2.6.32.12/include/linux/tty_ldisc.h 2010-03-15 11:52:04.000000000 -0400
46318+++ linux-2.6.32.11/include/linux/tty_ldisc.h 2010-04-04 20:46:41.685762250 -0400 46815+++ linux-2.6.32.12/include/linux/tty_ldisc.h 2010-04-04 20:46:41.685762250 -0400
46319@@ -139,7 +139,7 @@ struct tty_ldisc_ops { 46816@@ -139,7 +139,7 @@ struct tty_ldisc_ops {
46320 46817
46321 struct module *owner; 46818 struct module *owner;
@@ -46325,9 +46822,9 @@ diff -urNp linux-2.6.32.11/include/linux/tty_ldisc.h linux-2.6.32.11/include/lin
46325 }; 46822 };
46326 46823
46327 struct tty_ldisc { 46824 struct tty_ldisc {
46328diff -urNp linux-2.6.32.11/include/linux/types.h linux-2.6.32.11/include/linux/types.h 46825diff -urNp linux-2.6.32.12/include/linux/types.h linux-2.6.32.12/include/linux/types.h
46329--- linux-2.6.32.11/include/linux/types.h 2010-03-15 11:52:04.000000000 -0400 46826--- linux-2.6.32.12/include/linux/types.h 2010-03-15 11:52:04.000000000 -0400
46330+++ linux-2.6.32.11/include/linux/types.h 2010-04-04 20:46:41.685762250 -0400 46827+++ linux-2.6.32.12/include/linux/types.h 2010-04-04 20:46:41.685762250 -0400
46331@@ -191,10 +191,26 @@ typedef struct { 46828@@ -191,10 +191,26 @@ typedef struct {
46332 volatile int counter; 46829 volatile int counter;
46333 } atomic_t; 46830 } atomic_t;
@@ -46355,9 +46852,9 @@ diff -urNp linux-2.6.32.11/include/linux/types.h linux-2.6.32.11/include/linux/t
46355 #endif 46852 #endif
46356 46853
46357 struct ustat { 46854 struct ustat {
46358diff -urNp linux-2.6.32.11/include/linux/uaccess.h linux-2.6.32.11/include/linux/uaccess.h 46855diff -urNp linux-2.6.32.12/include/linux/uaccess.h linux-2.6.32.12/include/linux/uaccess.h
46359--- linux-2.6.32.11/include/linux/uaccess.h 2010-03-15 11:52:04.000000000 -0400 46856--- linux-2.6.32.12/include/linux/uaccess.h 2010-03-15 11:52:04.000000000 -0400
46360+++ linux-2.6.32.11/include/linux/uaccess.h 2010-04-04 20:46:41.685762250 -0400 46857+++ linux-2.6.32.12/include/linux/uaccess.h 2010-04-04 20:46:41.685762250 -0400
46361@@ -76,11 +76,11 @@ static inline unsigned long __copy_from_ 46858@@ -76,11 +76,11 @@ static inline unsigned long __copy_from_
46362 long ret; \ 46859 long ret; \
46363 mm_segment_t old_fs = get_fs(); \ 46860 mm_segment_t old_fs = get_fs(); \
@@ -46389,9 +46886,9 @@ diff -urNp linux-2.6.32.11/include/linux/uaccess.h linux-2.6.32.11/include/linux
46389+extern long probe_kernel_write(void *dst, const void *src, size_t size); 46886+extern long probe_kernel_write(void *dst, const void *src, size_t size);
46390 46887
46391 #endif /* __LINUX_UACCESS_H__ */ 46888 #endif /* __LINUX_UACCESS_H__ */
46392diff -urNp linux-2.6.32.11/include/linux/vmalloc.h linux-2.6.32.11/include/linux/vmalloc.h 46889diff -urNp linux-2.6.32.12/include/linux/vmalloc.h linux-2.6.32.12/include/linux/vmalloc.h
46393--- linux-2.6.32.11/include/linux/vmalloc.h 2010-03-15 11:52:04.000000000 -0400 46890--- linux-2.6.32.12/include/linux/vmalloc.h 2010-03-15 11:52:04.000000000 -0400
46394+++ linux-2.6.32.11/include/linux/vmalloc.h 2010-04-04 20:46:41.685762250 -0400 46891+++ linux-2.6.32.12/include/linux/vmalloc.h 2010-04-04 20:46:41.685762250 -0400
46395@@ -13,6 +13,11 @@ struct vm_area_struct; /* vma defining 46892@@ -13,6 +13,11 @@ struct vm_area_struct; /* vma defining
46396 #define VM_MAP 0x00000004 /* vmap()ed pages */ 46893 #define VM_MAP 0x00000004 /* vmap()ed pages */
46397 #define VM_USERMAP 0x00000008 /* suitable for remap_vmalloc_range */ 46894 #define VM_USERMAP 0x00000008 /* suitable for remap_vmalloc_range */
@@ -46486,9 +46983,9 @@ diff -urNp linux-2.6.32.11/include/linux/vmalloc.h linux-2.6.32.11/include/linux
46486+}) 46983+})
46487+ 46984+
46488 #endif /* _LINUX_VMALLOC_H */ 46985 #endif /* _LINUX_VMALLOC_H */
46489diff -urNp linux-2.6.32.11/include/net/irda/ircomm_tty.h linux-2.6.32.11/include/net/irda/ircomm_tty.h 46986diff -urNp linux-2.6.32.12/include/net/irda/ircomm_tty.h linux-2.6.32.12/include/net/irda/ircomm_tty.h
46490--- linux-2.6.32.11/include/net/irda/ircomm_tty.h 2010-03-15 11:52:04.000000000 -0400 46987--- linux-2.6.32.12/include/net/irda/ircomm_tty.h 2010-03-15 11:52:04.000000000 -0400
46491+++ linux-2.6.32.11/include/net/irda/ircomm_tty.h 2010-04-04 20:46:41.685762250 -0400 46988+++ linux-2.6.32.12/include/net/irda/ircomm_tty.h 2010-04-04 20:46:41.685762250 -0400
46492@@ -105,8 +105,8 @@ struct ircomm_tty_cb { 46989@@ -105,8 +105,8 @@ struct ircomm_tty_cb {
46493 unsigned short close_delay; 46990 unsigned short close_delay;
46494 unsigned short closing_wait; /* time to wait before closing */ 46991 unsigned short closing_wait; /* time to wait before closing */
@@ -46500,9 +46997,9 @@ diff -urNp linux-2.6.32.11/include/net/irda/ircomm_tty.h linux-2.6.32.11/include
46500 46997
46501 /* Protect concurent access to : 46998 /* Protect concurent access to :
46502 * o self->open_count 46999 * o self->open_count
46503diff -urNp linux-2.6.32.11/include/net/neighbour.h linux-2.6.32.11/include/net/neighbour.h 47000diff -urNp linux-2.6.32.12/include/net/neighbour.h linux-2.6.32.12/include/net/neighbour.h
46504--- linux-2.6.32.11/include/net/neighbour.h 2010-03-15 11:52:04.000000000 -0400 47001--- linux-2.6.32.12/include/net/neighbour.h 2010-03-15 11:52:04.000000000 -0400
46505+++ linux-2.6.32.11/include/net/neighbour.h 2010-04-04 20:46:41.685762250 -0400 47002+++ linux-2.6.32.12/include/net/neighbour.h 2010-04-04 20:46:41.685762250 -0400
46506@@ -125,12 +125,12 @@ struct neighbour 47003@@ -125,12 +125,12 @@ struct neighbour
46507 struct neigh_ops 47004 struct neigh_ops
46508 { 47005 {
@@ -46522,9 +47019,9 @@ diff -urNp linux-2.6.32.11/include/net/neighbour.h linux-2.6.32.11/include/net/n
46522 }; 47019 };
46523 47020
46524 struct pneigh_entry 47021 struct pneigh_entry
46525diff -urNp linux-2.6.32.11/include/net/sctp/sctp.h linux-2.6.32.11/include/net/sctp/sctp.h 47022diff -urNp linux-2.6.32.12/include/net/sctp/sctp.h linux-2.6.32.12/include/net/sctp/sctp.h
46526--- linux-2.6.32.11/include/net/sctp/sctp.h 2010-03-15 11:52:04.000000000 -0400 47023--- linux-2.6.32.12/include/net/sctp/sctp.h 2010-03-15 11:52:04.000000000 -0400
46527+++ linux-2.6.32.11/include/net/sctp/sctp.h 2010-04-04 20:46:41.685762250 -0400 47024+++ linux-2.6.32.12/include/net/sctp/sctp.h 2010-04-04 20:46:41.685762250 -0400
46528@@ -305,8 +305,8 @@ extern int sctp_debug_flag; 47025@@ -305,8 +305,8 @@ extern int sctp_debug_flag;
46529 47026
46530 #else /* SCTP_DEBUG */ 47027 #else /* SCTP_DEBUG */
@@ -46536,9 +47033,9 @@ diff -urNp linux-2.6.32.11/include/net/sctp/sctp.h linux-2.6.32.11/include/net/s
46536 #define SCTP_ENABLE_DEBUG 47033 #define SCTP_ENABLE_DEBUG
46537 #define SCTP_DISABLE_DEBUG 47034 #define SCTP_DISABLE_DEBUG
46538 #define SCTP_ASSERT(expr, str, func) 47035 #define SCTP_ASSERT(expr, str, func)
46539diff -urNp linux-2.6.32.11/include/net/tcp.h linux-2.6.32.11/include/net/tcp.h 47036diff -urNp linux-2.6.32.12/include/net/tcp.h linux-2.6.32.12/include/net/tcp.h
46540--- linux-2.6.32.11/include/net/tcp.h 2010-03-15 11:52:04.000000000 -0400 47037--- linux-2.6.32.12/include/net/tcp.h 2010-03-15 11:52:04.000000000 -0400
46541+++ linux-2.6.32.11/include/net/tcp.h 2010-04-04 20:46:41.685762250 -0400 47038+++ linux-2.6.32.12/include/net/tcp.h 2010-04-04 20:46:41.685762250 -0400
46542@@ -1420,6 +1420,7 @@ enum tcp_seq_states { 47039@@ -1420,6 +1420,7 @@ enum tcp_seq_states {
46543 struct tcp_seq_afinfo { 47040 struct tcp_seq_afinfo {
46544 char *name; 47041 char *name;
@@ -46547,9 +47044,9 @@ diff -urNp linux-2.6.32.11/include/net/tcp.h linux-2.6.32.11/include/net/tcp.h
46547 struct file_operations seq_fops; 47044 struct file_operations seq_fops;
46548 struct seq_operations seq_ops; 47045 struct seq_operations seq_ops;
46549 }; 47046 };
46550diff -urNp linux-2.6.32.11/include/net/udp.h linux-2.6.32.11/include/net/udp.h 47047diff -urNp linux-2.6.32.12/include/net/udp.h linux-2.6.32.12/include/net/udp.h
46551--- linux-2.6.32.11/include/net/udp.h 2010-03-15 11:52:04.000000000 -0400 47048--- linux-2.6.32.12/include/net/udp.h 2010-03-15 11:52:04.000000000 -0400
46552+++ linux-2.6.32.11/include/net/udp.h 2010-04-04 20:46:41.685762250 -0400 47049+++ linux-2.6.32.12/include/net/udp.h 2010-04-04 20:46:41.685762250 -0400
46553@@ -187,6 +187,7 @@ struct udp_seq_afinfo { 47050@@ -187,6 +187,7 @@ struct udp_seq_afinfo {
46554 char *name; 47051 char *name;
46555 sa_family_t family; 47052 sa_family_t family;
@@ -46558,9 +47055,9 @@ diff -urNp linux-2.6.32.11/include/net/udp.h linux-2.6.32.11/include/net/udp.h
46558 struct file_operations seq_fops; 47055 struct file_operations seq_fops;
46559 struct seq_operations seq_ops; 47056 struct seq_operations seq_ops;
46560 }; 47057 };
46561diff -urNp linux-2.6.32.11/include/sound/ac97_codec.h linux-2.6.32.11/include/sound/ac97_codec.h 47058diff -urNp linux-2.6.32.12/include/sound/ac97_codec.h linux-2.6.32.12/include/sound/ac97_codec.h
46562--- linux-2.6.32.11/include/sound/ac97_codec.h 2010-03-15 11:52:04.000000000 -0400 47059--- linux-2.6.32.12/include/sound/ac97_codec.h 2010-03-15 11:52:04.000000000 -0400
46563+++ linux-2.6.32.11/include/sound/ac97_codec.h 2010-04-04 20:46:41.685762250 -0400 47060+++ linux-2.6.32.12/include/sound/ac97_codec.h 2010-04-04 20:46:41.685762250 -0400
46564@@ -419,15 +419,15 @@ 47061@@ -419,15 +419,15 @@
46565 struct snd_ac97; 47062 struct snd_ac97;
46566 47063
@@ -46593,9 +47090,9 @@ diff -urNp linux-2.6.32.11/include/sound/ac97_codec.h linux-2.6.32.11/include/so
46593 void *private_data; 47090 void *private_data;
46594 void (*private_free) (struct snd_ac97 *ac97); 47091 void (*private_free) (struct snd_ac97 *ac97);
46595 /* --- */ 47092 /* --- */
46596diff -urNp linux-2.6.32.11/include/trace/events/irq.h linux-2.6.32.11/include/trace/events/irq.h 47093diff -urNp linux-2.6.32.12/include/trace/events/irq.h linux-2.6.32.12/include/trace/events/irq.h
46597--- linux-2.6.32.11/include/trace/events/irq.h 2010-03-15 11:52:04.000000000 -0400 47094--- linux-2.6.32.12/include/trace/events/irq.h 2010-03-15 11:52:04.000000000 -0400
46598+++ linux-2.6.32.11/include/trace/events/irq.h 2010-04-04 20:46:41.685762250 -0400 47095+++ linux-2.6.32.12/include/trace/events/irq.h 2010-04-04 20:46:41.685762250 -0400
46599@@ -34,7 +34,7 @@ 47096@@ -34,7 +34,7 @@
46600 */ 47097 */
46601 TRACE_EVENT(irq_handler_entry, 47098 TRACE_EVENT(irq_handler_entry,
@@ -46632,9 +47129,9 @@ diff -urNp linux-2.6.32.11/include/trace/events/irq.h linux-2.6.32.11/include/tr
46632 47129
46633 TP_ARGS(h, vec), 47130 TP_ARGS(h, vec),
46634 47131
46635diff -urNp linux-2.6.32.11/include/video/uvesafb.h linux-2.6.32.11/include/video/uvesafb.h 47132diff -urNp linux-2.6.32.12/include/video/uvesafb.h linux-2.6.32.12/include/video/uvesafb.h
46636--- linux-2.6.32.11/include/video/uvesafb.h 2010-03-15 11:52:04.000000000 -0400 47133--- linux-2.6.32.12/include/video/uvesafb.h 2010-03-15 11:52:04.000000000 -0400
46637+++ linux-2.6.32.11/include/video/uvesafb.h 2010-04-04 20:46:41.685762250 -0400 47134+++ linux-2.6.32.12/include/video/uvesafb.h 2010-04-04 20:46:41.685762250 -0400
46638@@ -177,6 +177,7 @@ struct uvesafb_par { 47135@@ -177,6 +177,7 @@ struct uvesafb_par {
46639 u8 ypan; /* 0 - nothing, 1 - ypan, 2 - ywrap */ 47136 u8 ypan; /* 0 - nothing, 1 - ypan, 2 - ywrap */
46640 u8 pmi_setpal; /* PMI for palette changes */ 47137 u8 pmi_setpal; /* PMI for palette changes */
@@ -46643,9 +47140,9 @@ diff -urNp linux-2.6.32.11/include/video/uvesafb.h linux-2.6.32.11/include/video
46643 void *pmi_start; 47140 void *pmi_start;
46644 void *pmi_pal; 47141 void *pmi_pal;
46645 u8 *vbe_state_orig; /* 47142 u8 *vbe_state_orig; /*
46646diff -urNp linux-2.6.32.11/init/do_mounts.c linux-2.6.32.11/init/do_mounts.c 47143diff -urNp linux-2.6.32.12/init/do_mounts.c linux-2.6.32.12/init/do_mounts.c
46647--- linux-2.6.32.11/init/do_mounts.c 2010-03-15 11:52:04.000000000 -0400 47144--- linux-2.6.32.12/init/do_mounts.c 2010-03-15 11:52:04.000000000 -0400
46648+++ linux-2.6.32.11/init/do_mounts.c 2010-04-04 20:46:41.685762250 -0400 47145+++ linux-2.6.32.12/init/do_mounts.c 2010-04-04 20:46:41.685762250 -0400
46649@@ -216,11 +216,11 @@ static void __init get_fs_names(char *pa 47146@@ -216,11 +216,11 @@ static void __init get_fs_names(char *pa
46650 47147
46651 static int __init do_mount_root(char *name, char *fs, int flags, void *data) 47148 static int __init do_mount_root(char *name, char *fs, int flags, void *data)
@@ -46691,9 +47188,9 @@ diff -urNp linux-2.6.32.11/init/do_mounts.c linux-2.6.32.11/init/do_mounts.c
46691+ sys_mount((__force char __user *)".", (__force char __user *)"/", NULL, MS_MOVE, NULL); 47188+ sys_mount((__force char __user *)".", (__force char __user *)"/", NULL, MS_MOVE, NULL);
46692+ sys_chroot((__force char __user *)"."); 47189+ sys_chroot((__force char __user *)".");
46693 } 47190 }
46694diff -urNp linux-2.6.32.11/init/do_mounts.h linux-2.6.32.11/init/do_mounts.h 47191diff -urNp linux-2.6.32.12/init/do_mounts.h linux-2.6.32.12/init/do_mounts.h
46695--- linux-2.6.32.11/init/do_mounts.h 2010-03-15 11:52:04.000000000 -0400 47192--- linux-2.6.32.12/init/do_mounts.h 2010-03-15 11:52:04.000000000 -0400
46696+++ linux-2.6.32.11/init/do_mounts.h 2010-04-04 20:46:41.685762250 -0400 47193+++ linux-2.6.32.12/init/do_mounts.h 2010-04-04 20:46:41.685762250 -0400
46697@@ -15,15 +15,15 @@ extern int root_mountflags; 47194@@ -15,15 +15,15 @@ extern int root_mountflags;
46698 47195
46699 static inline int create_dev(char *name, dev_t dev) 47196 static inline int create_dev(char *name, dev_t dev)
@@ -46713,9 +47210,9 @@ diff -urNp linux-2.6.32.11/init/do_mounts.h linux-2.6.32.11/init/do_mounts.h
46713 return 0; 47210 return 0;
46714 if (!S_ISBLK(stat.st_mode)) 47211 if (!S_ISBLK(stat.st_mode))
46715 return 0; 47212 return 0;
46716diff -urNp linux-2.6.32.11/init/do_mounts_initrd.c linux-2.6.32.11/init/do_mounts_initrd.c 47213diff -urNp linux-2.6.32.12/init/do_mounts_initrd.c linux-2.6.32.12/init/do_mounts_initrd.c
46717--- linux-2.6.32.11/init/do_mounts_initrd.c 2010-03-15 11:52:04.000000000 -0400 47214--- linux-2.6.32.12/init/do_mounts_initrd.c 2010-03-15 11:52:04.000000000 -0400
46718+++ linux-2.6.32.11/init/do_mounts_initrd.c 2010-04-04 20:46:41.685762250 -0400 47215+++ linux-2.6.32.12/init/do_mounts_initrd.c 2010-04-04 20:46:41.685762250 -0400
46719@@ -32,7 +32,7 @@ static int __init do_linuxrc(void * shel 47216@@ -32,7 +32,7 @@ static int __init do_linuxrc(void * shel
46720 sys_close(old_fd);sys_close(root_fd); 47217 sys_close(old_fd);sys_close(root_fd);
46721 sys_close(0);sys_close(1);sys_close(2); 47218 sys_close(0);sys_close(1);sys_close(2);
@@ -46799,9 +47296,9 @@ diff -urNp linux-2.6.32.11/init/do_mounts_initrd.c linux-2.6.32.11/init/do_mount
46799+ sys_unlink((__force const char __user *)"/initrd.image"); 47296+ sys_unlink((__force const char __user *)"/initrd.image");
46800 return 0; 47297 return 0;
46801 } 47298 }
46802diff -urNp linux-2.6.32.11/init/do_mounts_md.c linux-2.6.32.11/init/do_mounts_md.c 47299diff -urNp linux-2.6.32.12/init/do_mounts_md.c linux-2.6.32.12/init/do_mounts_md.c
46803--- linux-2.6.32.11/init/do_mounts_md.c 2010-03-15 11:52:04.000000000 -0400 47300--- linux-2.6.32.12/init/do_mounts_md.c 2010-03-15 11:52:04.000000000 -0400
46804+++ linux-2.6.32.11/init/do_mounts_md.c 2010-04-04 20:46:41.689696132 -0400 47301+++ linux-2.6.32.12/init/do_mounts_md.c 2010-04-04 20:46:41.689696132 -0400
46805@@ -170,7 +170,7 @@ static void __init md_setup_drive(void) 47302@@ -170,7 +170,7 @@ static void __init md_setup_drive(void)
46806 partitioned ? "_d" : "", minor, 47303 partitioned ? "_d" : "", minor,
46807 md_setup_args[ent].device_names); 47304 md_setup_args[ent].device_names);
@@ -46829,9 +47326,9 @@ diff -urNp linux-2.6.32.11/init/do_mounts_md.c linux-2.6.32.11/init/do_mounts_md
46829 if (fd >= 0) { 47326 if (fd >= 0) {
46830 sys_ioctl(fd, RAID_AUTORUN, raid_autopart); 47327 sys_ioctl(fd, RAID_AUTORUN, raid_autopart);
46831 sys_close(fd); 47328 sys_close(fd);
46832diff -urNp linux-2.6.32.11/init/initramfs.c linux-2.6.32.11/init/initramfs.c 47329diff -urNp linux-2.6.32.12/init/initramfs.c linux-2.6.32.12/init/initramfs.c
46833--- linux-2.6.32.11/init/initramfs.c 2010-03-15 11:52:04.000000000 -0400 47330--- linux-2.6.32.12/init/initramfs.c 2010-03-15 11:52:04.000000000 -0400
46834+++ linux-2.6.32.11/init/initramfs.c 2010-04-04 20:46:41.689696132 -0400 47331+++ linux-2.6.32.12/init/initramfs.c 2010-04-04 20:46:41.689696132 -0400
46835@@ -74,7 +74,7 @@ static void __init free_hash(void) 47332@@ -74,7 +74,7 @@ static void __init free_hash(void)
46836 } 47333 }
46837 } 47334 }
@@ -46940,9 +47437,9 @@ diff -urNp linux-2.6.32.11/init/initramfs.c linux-2.6.32.11/init/initramfs.c
46940 state = SkipIt; 47437 state = SkipIt;
46941 next_state = Reset; 47438 next_state = Reset;
46942 return 0; 47439 return 0;
46943diff -urNp linux-2.6.32.11/init/Kconfig linux-2.6.32.11/init/Kconfig 47440diff -urNp linux-2.6.32.12/init/Kconfig linux-2.6.32.12/init/Kconfig
46944--- linux-2.6.32.11/init/Kconfig 2010-03-15 11:52:04.000000000 -0400 47441--- linux-2.6.32.12/init/Kconfig 2010-03-15 11:52:04.000000000 -0400
46945+++ linux-2.6.32.11/init/Kconfig 2010-04-04 20:46:41.689696132 -0400 47442+++ linux-2.6.32.12/init/Kconfig 2010-04-04 20:46:41.689696132 -0400
46946@@ -1026,7 +1026,7 @@ config SLUB_DEBUG 47443@@ -1026,7 +1026,7 @@ config SLUB_DEBUG
46947 47444
46948 config COMPAT_BRK 47445 config COMPAT_BRK
@@ -46964,9 +47461,9 @@ diff -urNp linux-2.6.32.11/init/Kconfig linux-2.6.32.11/init/Kconfig
46964 47461
46965 config RT_MUTEXES 47462 config RT_MUTEXES
46966 boolean 47463 boolean
46967diff -urNp linux-2.6.32.11/init/main.c linux-2.6.32.11/init/main.c 47464diff -urNp linux-2.6.32.12/init/main.c linux-2.6.32.12/init/main.c
46968--- linux-2.6.32.11/init/main.c 2010-04-04 20:41:50.060586306 -0400 47465--- linux-2.6.32.12/init/main.c 2010-04-04 20:41:50.060586306 -0400
46969+++ linux-2.6.32.11/init/main.c 2010-04-04 20:58:33.225084964 -0400 47466+++ linux-2.6.32.12/init/main.c 2010-04-04 20:58:33.225084964 -0400
46970@@ -97,6 +97,7 @@ static inline void mark_rodata_ro(void) 47467@@ -97,6 +97,7 @@ static inline void mark_rodata_ro(void)
46971 #ifdef CONFIG_TC 47468 #ifdef CONFIG_TC
46972 extern void tc_init(void); 47469 extern void tc_init(void);
@@ -47111,9 +47608,9 @@ diff -urNp linux-2.6.32.11/init/main.c linux-2.6.32.11/init/main.c
47111 /* 47608 /*
47112 * Ok, we have completed the initial bootup, and 47609 * Ok, we have completed the initial bootup, and
47113 * we're essentially up and running. Get rid of the 47610 * we're essentially up and running. Get rid of the
47114diff -urNp linux-2.6.32.11/init/noinitramfs.c linux-2.6.32.11/init/noinitramfs.c 47611diff -urNp linux-2.6.32.12/init/noinitramfs.c linux-2.6.32.12/init/noinitramfs.c
47115--- linux-2.6.32.11/init/noinitramfs.c 2010-03-15 11:52:04.000000000 -0400 47612--- linux-2.6.32.12/init/noinitramfs.c 2010-03-15 11:52:04.000000000 -0400
47116+++ linux-2.6.32.11/init/noinitramfs.c 2010-04-04 20:46:41.689696132 -0400 47613+++ linux-2.6.32.12/init/noinitramfs.c 2010-04-04 20:46:41.689696132 -0400
47117@@ -29,7 +29,7 @@ static int __init default_rootfs(void) 47614@@ -29,7 +29,7 @@ static int __init default_rootfs(void)
47118 { 47615 {
47119 int err; 47616 int err;
@@ -47132,9 +47629,9 @@ diff -urNp linux-2.6.32.11/init/noinitramfs.c linux-2.6.32.11/init/noinitramfs.c
47132 if (err < 0) 47629 if (err < 0)
47133 goto out; 47630 goto out;
47134 47631
47135diff -urNp linux-2.6.32.11/ipc/ipc_sysctl.c linux-2.6.32.11/ipc/ipc_sysctl.c 47632diff -urNp linux-2.6.32.12/ipc/ipc_sysctl.c linux-2.6.32.12/ipc/ipc_sysctl.c
47136--- linux-2.6.32.11/ipc/ipc_sysctl.c 2010-03-15 11:52:04.000000000 -0400 47633--- linux-2.6.32.12/ipc/ipc_sysctl.c 2010-03-15 11:52:04.000000000 -0400
47137+++ linux-2.6.32.11/ipc/ipc_sysctl.c 2010-04-04 20:46:41.689696132 -0400 47634+++ linux-2.6.32.12/ipc/ipc_sysctl.c 2010-04-04 20:46:41.689696132 -0400
47138@@ -267,7 +267,7 @@ static struct ctl_table ipc_kern_table[] 47635@@ -267,7 +267,7 @@ static struct ctl_table ipc_kern_table[]
47139 .extra1 = &zero, 47636 .extra1 = &zero,
47140 .extra2 = &one, 47637 .extra2 = &one,
@@ -47153,9 +47650,9 @@ diff -urNp linux-2.6.32.11/ipc/ipc_sysctl.c linux-2.6.32.11/ipc/ipc_sysctl.c
47153 }; 47650 };
47154 47651
47155 static int __init ipc_sysctl_init(void) 47652 static int __init ipc_sysctl_init(void)
47156diff -urNp linux-2.6.32.11/ipc/mqueue.c linux-2.6.32.11/ipc/mqueue.c 47653diff -urNp linux-2.6.32.12/ipc/mqueue.c linux-2.6.32.12/ipc/mqueue.c
47157--- linux-2.6.32.11/ipc/mqueue.c 2010-04-04 20:41:50.060586306 -0400 47654--- linux-2.6.32.12/ipc/mqueue.c 2010-04-04 20:41:50.060586306 -0400
47158+++ linux-2.6.32.11/ipc/mqueue.c 2010-04-04 20:46:41.689696132 -0400 47655+++ linux-2.6.32.12/ipc/mqueue.c 2010-04-04 20:46:41.689696132 -0400
47159@@ -150,6 +150,7 @@ static struct inode *mqueue_get_inode(st 47656@@ -150,6 +150,7 @@ static struct inode *mqueue_get_inode(st
47160 mq_bytes = (mq_msg_tblsz + 47657 mq_bytes = (mq_msg_tblsz +
47161 (info->attr.mq_maxmsg * info->attr.mq_msgsize)); 47658 (info->attr.mq_maxmsg * info->attr.mq_msgsize));
@@ -47164,9 +47661,9 @@ diff -urNp linux-2.6.32.11/ipc/mqueue.c linux-2.6.32.11/ipc/mqueue.c
47164 spin_lock(&mq_lock); 47661 spin_lock(&mq_lock);
47165 if (u->mq_bytes + mq_bytes < u->mq_bytes || 47662 if (u->mq_bytes + mq_bytes < u->mq_bytes ||
47166 u->mq_bytes + mq_bytes > 47663 u->mq_bytes + mq_bytes >
47167diff -urNp linux-2.6.32.11/ipc/shm.c linux-2.6.32.11/ipc/shm.c 47664diff -urNp linux-2.6.32.12/ipc/shm.c linux-2.6.32.12/ipc/shm.c
47168--- linux-2.6.32.11/ipc/shm.c 2010-03-15 11:52:04.000000000 -0400 47665--- linux-2.6.32.12/ipc/shm.c 2010-03-15 11:52:04.000000000 -0400
47169+++ linux-2.6.32.11/ipc/shm.c 2010-04-04 20:46:41.689696132 -0400 47666+++ linux-2.6.32.12/ipc/shm.c 2010-04-04 20:46:41.689696132 -0400
47170@@ -70,6 +70,14 @@ static void shm_destroy (struct ipc_name 47667@@ -70,6 +70,14 @@ static void shm_destroy (struct ipc_name
47171 static int sysvipc_shm_proc_show(struct seq_file *s, void *it); 47668 static int sysvipc_shm_proc_show(struct seq_file *s, void *it);
47172 #endif 47669 #endif
@@ -47219,9 +47716,9 @@ diff -urNp linux-2.6.32.11/ipc/shm.c linux-2.6.32.11/ipc/shm.c
47219 size = i_size_read(path.dentry->d_inode); 47716 size = i_size_read(path.dentry->d_inode);
47220 shm_unlock(shp); 47717 shm_unlock(shp);
47221 47718
47222diff -urNp linux-2.6.32.11/kernel/acct.c linux-2.6.32.11/kernel/acct.c 47719diff -urNp linux-2.6.32.12/kernel/acct.c linux-2.6.32.12/kernel/acct.c
47223--- linux-2.6.32.11/kernel/acct.c 2010-03-15 11:52:04.000000000 -0400 47720--- linux-2.6.32.12/kernel/acct.c 2010-03-15 11:52:04.000000000 -0400
47224+++ linux-2.6.32.11/kernel/acct.c 2010-04-04 20:46:41.689696132 -0400 47721+++ linux-2.6.32.12/kernel/acct.c 2010-04-04 20:46:41.689696132 -0400
47225@@ -579,7 +579,7 @@ static void do_acct_process(struct bsd_a 47722@@ -579,7 +579,7 @@ static void do_acct_process(struct bsd_a
47226 */ 47723 */
47227 flim = current->signal->rlim[RLIMIT_FSIZE].rlim_cur; 47724 flim = current->signal->rlim[RLIMIT_FSIZE].rlim_cur;
@@ -47231,9 +47728,9 @@ diff -urNp linux-2.6.32.11/kernel/acct.c linux-2.6.32.11/kernel/acct.c
47231 sizeof(acct_t), &file->f_pos); 47728 sizeof(acct_t), &file->f_pos);
47232 current->signal->rlim[RLIMIT_FSIZE].rlim_cur = flim; 47729 current->signal->rlim[RLIMIT_FSIZE].rlim_cur = flim;
47233 set_fs(fs); 47730 set_fs(fs);
47234diff -urNp linux-2.6.32.11/kernel/capability.c linux-2.6.32.11/kernel/capability.c 47731diff -urNp linux-2.6.32.12/kernel/capability.c linux-2.6.32.12/kernel/capability.c
47235--- linux-2.6.32.11/kernel/capability.c 2010-03-15 11:52:04.000000000 -0400 47732--- linux-2.6.32.12/kernel/capability.c 2010-03-15 11:52:04.000000000 -0400
47236+++ linux-2.6.32.11/kernel/capability.c 2010-04-04 20:46:41.689696132 -0400 47733+++ linux-2.6.32.12/kernel/capability.c 2010-04-04 20:46:41.689696132 -0400
47237@@ -306,10 +306,21 @@ int capable(int cap) 47734@@ -306,10 +306,21 @@ int capable(int cap)
47238 BUG(); 47735 BUG();
47239 } 47736 }
@@ -47257,9 +47754,9 @@ diff -urNp linux-2.6.32.11/kernel/capability.c linux-2.6.32.11/kernel/capability
47257+ 47754+
47258 EXPORT_SYMBOL(capable); 47755 EXPORT_SYMBOL(capable);
47259+EXPORT_SYMBOL(capable_nolog); 47756+EXPORT_SYMBOL(capable_nolog);
47260diff -urNp linux-2.6.32.11/kernel/configs.c linux-2.6.32.11/kernel/configs.c 47757diff -urNp linux-2.6.32.12/kernel/configs.c linux-2.6.32.12/kernel/configs.c
47261--- linux-2.6.32.11/kernel/configs.c 2010-03-15 11:52:04.000000000 -0400 47758--- linux-2.6.32.12/kernel/configs.c 2010-03-15 11:52:04.000000000 -0400
47262+++ linux-2.6.32.11/kernel/configs.c 2010-04-04 20:46:41.689696132 -0400 47759+++ linux-2.6.32.12/kernel/configs.c 2010-04-04 20:46:41.689696132 -0400
47263@@ -73,8 +73,19 @@ static int __init ikconfig_init(void) 47760@@ -73,8 +73,19 @@ static int __init ikconfig_init(void)
47264 struct proc_dir_entry *entry; 47761 struct proc_dir_entry *entry;
47265 47762
@@ -47280,9 +47777,9 @@ diff -urNp linux-2.6.32.11/kernel/configs.c linux-2.6.32.11/kernel/configs.c
47280 if (!entry) 47777 if (!entry)
47281 return -ENOMEM; 47778 return -ENOMEM;
47282 47779
47283diff -urNp linux-2.6.32.11/kernel/cpu.c linux-2.6.32.11/kernel/cpu.c 47780diff -urNp linux-2.6.32.12/kernel/cpu.c linux-2.6.32.12/kernel/cpu.c
47284--- linux-2.6.32.11/kernel/cpu.c 2010-03-15 11:52:04.000000000 -0400 47781--- linux-2.6.32.12/kernel/cpu.c 2010-03-15 11:52:04.000000000 -0400
47285+++ linux-2.6.32.11/kernel/cpu.c 2010-04-04 20:46:41.689696132 -0400 47782+++ linux-2.6.32.12/kernel/cpu.c 2010-04-04 20:46:41.689696132 -0400
47286@@ -19,7 +19,7 @@ 47783@@ -19,7 +19,7 @@
47287 /* Serializes the updates to cpu_online_mask, cpu_present_mask */ 47784 /* Serializes the updates to cpu_online_mask, cpu_present_mask */
47288 static DEFINE_MUTEX(cpu_add_remove_lock); 47785 static DEFINE_MUTEX(cpu_add_remove_lock);
@@ -47292,9 +47789,9 @@ diff -urNp linux-2.6.32.11/kernel/cpu.c linux-2.6.32.11/kernel/cpu.c
47292 47789
47293 /* If set, cpu_up and cpu_down will return -EBUSY and do nothing. 47790 /* If set, cpu_up and cpu_down will return -EBUSY and do nothing.
47294 * Should always be manipulated under cpu_add_remove_lock 47791 * Should always be manipulated under cpu_add_remove_lock
47295diff -urNp linux-2.6.32.11/kernel/cred.c linux-2.6.32.11/kernel/cred.c 47792diff -urNp linux-2.6.32.12/kernel/cred.c linux-2.6.32.12/kernel/cred.c
47296--- linux-2.6.32.11/kernel/cred.c 2010-03-15 11:52:04.000000000 -0400 47793--- linux-2.6.32.12/kernel/cred.c 2010-03-15 11:52:04.000000000 -0400
47297+++ linux-2.6.32.11/kernel/cred.c 2010-04-04 20:46:41.689696132 -0400 47794+++ linux-2.6.32.12/kernel/cred.c 2010-04-04 20:46:41.689696132 -0400
47298@@ -520,6 +520,8 @@ int commit_creds(struct cred *new) 47795@@ -520,6 +520,8 @@ int commit_creds(struct cred *new)
47299 47796
47300 get_cred(new); /* we will require a ref for the subj creds too */ 47797 get_cred(new); /* we will require a ref for the subj creds too */
@@ -47304,9 +47801,9 @@ diff -urNp linux-2.6.32.11/kernel/cred.c linux-2.6.32.11/kernel/cred.c
47304 /* dumpability changes */ 47801 /* dumpability changes */
47305 if (old->euid != new->euid || 47802 if (old->euid != new->euid ||
47306 old->egid != new->egid || 47803 old->egid != new->egid ||
47307diff -urNp linux-2.6.32.11/kernel/exit.c linux-2.6.32.11/kernel/exit.c 47804diff -urNp linux-2.6.32.12/kernel/exit.c linux-2.6.32.12/kernel/exit.c
47308--- linux-2.6.32.11/kernel/exit.c 2010-03-15 11:52:04.000000000 -0400 47805--- linux-2.6.32.12/kernel/exit.c 2010-03-15 11:52:04.000000000 -0400
47309+++ linux-2.6.32.11/kernel/exit.c 2010-04-04 20:46:41.689696132 -0400 47806+++ linux-2.6.32.12/kernel/exit.c 2010-04-04 20:46:41.689696132 -0400
47310@@ -56,6 +56,10 @@ 47807@@ -56,6 +56,10 @@
47311 #include <asm/mmu_context.h> 47808 #include <asm/mmu_context.h>
47312 #include "cred-internals.h" 47809 #include "cred-internals.h"
@@ -47396,9 +47893,9 @@ diff -urNp linux-2.6.32.11/kernel/exit.c linux-2.6.32.11/kernel/exit.c
47396 47893
47397 get_task_struct(p); 47894 get_task_struct(p);
47398 read_unlock(&tasklist_lock); 47895 read_unlock(&tasklist_lock);
47399diff -urNp linux-2.6.32.11/kernel/fork.c linux-2.6.32.11/kernel/fork.c 47896diff -urNp linux-2.6.32.12/kernel/fork.c linux-2.6.32.12/kernel/fork.c
47400--- linux-2.6.32.11/kernel/fork.c 2010-03-15 11:52:04.000000000 -0400 47897--- linux-2.6.32.12/kernel/fork.c 2010-03-15 11:52:04.000000000 -0400
47401+++ linux-2.6.32.11/kernel/fork.c 2010-04-04 20:46:41.689696132 -0400 47898+++ linux-2.6.32.12/kernel/fork.c 2010-04-04 20:46:41.689696132 -0400
47402@@ -253,7 +253,7 @@ static struct task_struct *dup_task_stru 47899@@ -253,7 +253,7 @@ static struct task_struct *dup_task_stru
47403 *stackend = STACK_END_MAGIC; /* for overflow detection */ 47900 *stackend = STACK_END_MAGIC; /* for overflow detection */
47404 47901
@@ -47551,9 +48048,9 @@ diff -urNp linux-2.6.32.11/kernel/fork.c linux-2.6.32.11/kernel/fork.c
47551 } 48048 }
47552 48049
47553 if (new_mm) { 48050 if (new_mm) {
47554diff -urNp linux-2.6.32.11/kernel/futex.c linux-2.6.32.11/kernel/futex.c 48051diff -urNp linux-2.6.32.12/kernel/futex.c linux-2.6.32.12/kernel/futex.c
47555--- linux-2.6.32.11/kernel/futex.c 2010-03-15 11:52:04.000000000 -0400 48052--- linux-2.6.32.12/kernel/futex.c 2010-03-15 11:52:04.000000000 -0400
47556+++ linux-2.6.32.11/kernel/futex.c 2010-04-04 20:46:41.689696132 -0400 48053+++ linux-2.6.32.12/kernel/futex.c 2010-04-04 20:46:41.689696132 -0400
47557@@ -54,6 +54,7 @@ 48054@@ -54,6 +54,7 @@
47558 #include <linux/mount.h> 48055 #include <linux/mount.h>
47559 #include <linux/pagemap.h> 48056 #include <linux/pagemap.h>
@@ -47621,9 +48118,9 @@ diff -urNp linux-2.6.32.11/kernel/futex.c linux-2.6.32.11/kernel/futex.c
47621 { 48118 {
47622 unsigned long uentry; 48119 unsigned long uentry;
47623 48120
47624diff -urNp linux-2.6.32.11/kernel/futex_compat.c linux-2.6.32.11/kernel/futex_compat.c 48121diff -urNp linux-2.6.32.12/kernel/futex_compat.c linux-2.6.32.12/kernel/futex_compat.c
47625--- linux-2.6.32.11/kernel/futex_compat.c 2010-03-15 11:52:04.000000000 -0400 48122--- linux-2.6.32.12/kernel/futex_compat.c 2010-03-15 11:52:04.000000000 -0400
47626+++ linux-2.6.32.11/kernel/futex_compat.c 2010-04-04 20:46:41.693491350 -0400 48123+++ linux-2.6.32.12/kernel/futex_compat.c 2010-04-04 20:46:41.693491350 -0400
47627@@ -10,6 +10,7 @@ 48124@@ -10,6 +10,7 @@
47628 #include <linux/compat.h> 48125 #include <linux/compat.h>
47629 #include <linux/nsproxy.h> 48126 #include <linux/nsproxy.h>
@@ -47661,9 +48158,9 @@ diff -urNp linux-2.6.32.11/kernel/futex_compat.c linux-2.6.32.11/kernel/futex_co
47661 head = p->compat_robust_list; 48158 head = p->compat_robust_list;
47662 read_unlock(&tasklist_lock); 48159 read_unlock(&tasklist_lock);
47663 } 48160 }
47664diff -urNp linux-2.6.32.11/kernel/gcov/base.c linux-2.6.32.11/kernel/gcov/base.c 48161diff -urNp linux-2.6.32.12/kernel/gcov/base.c linux-2.6.32.12/kernel/gcov/base.c
47665--- linux-2.6.32.11/kernel/gcov/base.c 2010-03-15 11:52:04.000000000 -0400 48162--- linux-2.6.32.12/kernel/gcov/base.c 2010-03-15 11:52:04.000000000 -0400
47666+++ linux-2.6.32.11/kernel/gcov/base.c 2010-04-04 20:46:41.693491350 -0400 48163+++ linux-2.6.32.12/kernel/gcov/base.c 2010-04-04 20:46:41.693491350 -0400
47667@@ -102,11 +102,6 @@ void gcov_enable_events(void) 48164@@ -102,11 +102,6 @@ void gcov_enable_events(void)
47668 } 48165 }
47669 48166
@@ -47685,9 +48182,9 @@ diff -urNp linux-2.6.32.11/kernel/gcov/base.c linux-2.6.32.11/kernel/gcov/base.c
47685 if (prev) 48182 if (prev)
47686 prev->next = info->next; 48183 prev->next = info->next;
47687 else 48184 else
47688diff -urNp linux-2.6.32.11/kernel/hrtimer.c linux-2.6.32.11/kernel/hrtimer.c 48185diff -urNp linux-2.6.32.12/kernel/hrtimer.c linux-2.6.32.12/kernel/hrtimer.c
47689--- linux-2.6.32.11/kernel/hrtimer.c 2010-04-04 20:41:50.064534828 -0400 48186--- linux-2.6.32.12/kernel/hrtimer.c 2010-04-04 20:41:50.064534828 -0400
47690+++ linux-2.6.32.11/kernel/hrtimer.c 2010-04-04 20:46:41.693491350 -0400 48187+++ linux-2.6.32.12/kernel/hrtimer.c 2010-04-04 20:46:41.693491350 -0400
47691@@ -1382,7 +1382,7 @@ void hrtimer_peek_ahead_timers(void) 48188@@ -1382,7 +1382,7 @@ void hrtimer_peek_ahead_timers(void)
47692 local_irq_restore(flags); 48189 local_irq_restore(flags);
47693 } 48190 }
@@ -47697,9 +48194,9 @@ diff -urNp linux-2.6.32.11/kernel/hrtimer.c linux-2.6.32.11/kernel/hrtimer.c
47697 { 48194 {
47698 hrtimer_peek_ahead_timers(); 48195 hrtimer_peek_ahead_timers();
47699 } 48196 }
47700diff -urNp linux-2.6.32.11/kernel/kallsyms.c linux-2.6.32.11/kernel/kallsyms.c 48197diff -urNp linux-2.6.32.12/kernel/kallsyms.c linux-2.6.32.12/kernel/kallsyms.c
47701--- linux-2.6.32.11/kernel/kallsyms.c 2010-03-15 11:52:04.000000000 -0400 48198--- linux-2.6.32.12/kernel/kallsyms.c 2010-03-15 11:52:04.000000000 -0400
47702+++ linux-2.6.32.11/kernel/kallsyms.c 2010-04-06 22:21:53.692294722 -0400 48199+++ linux-2.6.32.12/kernel/kallsyms.c 2010-04-06 22:21:53.692294722 -0400
47703@@ -11,6 +11,9 @@ 48200@@ -11,6 +11,9 @@
47704 * Changed the compression method from stem compression to "table lookup" 48201 * Changed the compression method from stem compression to "table lookup"
47705 * compression (see scripts/kallsyms.c for a more complete description) 48202 * compression (see scripts/kallsyms.c for a more complete description)
@@ -47776,9 +48273,9 @@ diff -urNp linux-2.6.32.11/kernel/kallsyms.c linux-2.6.32.11/kernel/kallsyms.c
47776 if (!iter) 48273 if (!iter)
47777 return -ENOMEM; 48274 return -ENOMEM;
47778 reset_iter(iter, 0); 48275 reset_iter(iter, 0);
47779diff -urNp linux-2.6.32.11/kernel/kgdb.c linux-2.6.32.11/kernel/kgdb.c 48276diff -urNp linux-2.6.32.12/kernel/kgdb.c linux-2.6.32.12/kernel/kgdb.c
47780--- linux-2.6.32.11/kernel/kgdb.c 2010-03-15 11:52:04.000000000 -0400 48277--- linux-2.6.32.12/kernel/kgdb.c 2010-03-15 11:52:04.000000000 -0400
47781+++ linux-2.6.32.11/kernel/kgdb.c 2010-04-04 20:46:41.693491350 -0400 48278+++ linux-2.6.32.12/kernel/kgdb.c 2010-04-04 20:46:41.693491350 -0400
47782@@ -86,7 +86,7 @@ static int kgdb_io_module_registered; 48279@@ -86,7 +86,7 @@ static int kgdb_io_module_registered;
47783 /* Guard for recursive entry */ 48280 /* Guard for recursive entry */
47784 static int exception_level; 48281 static int exception_level;
@@ -47806,9 +48303,9 @@ diff -urNp linux-2.6.32.11/kernel/kgdb.c linux-2.6.32.11/kernel/kgdb.c
47806 { 48303 {
47807 BUG_ON(kgdb_connected); 48304 BUG_ON(kgdb_connected);
47808 48305
47809diff -urNp linux-2.6.32.11/kernel/kmod.c linux-2.6.32.11/kernel/kmod.c 48306diff -urNp linux-2.6.32.12/kernel/kmod.c linux-2.6.32.12/kernel/kmod.c
47810--- linux-2.6.32.11/kernel/kmod.c 2010-03-15 11:52:04.000000000 -0400 48307--- linux-2.6.32.12/kernel/kmod.c 2010-03-15 11:52:04.000000000 -0400
47811+++ linux-2.6.32.11/kernel/kmod.c 2010-04-04 20:46:41.693491350 -0400 48308+++ linux-2.6.32.12/kernel/kmod.c 2010-04-04 20:46:41.693491350 -0400
47812@@ -90,6 +90,18 @@ int __request_module(bool wait, const ch 48309@@ -90,6 +90,18 @@ int __request_module(bool wait, const ch
47813 if (ret >= MODULE_NAME_LEN) 48310 if (ret >= MODULE_NAME_LEN)
47814 return -ENAMETOOLONG; 48311 return -ENAMETOOLONG;
@@ -47828,9 +48325,9 @@ diff -urNp linux-2.6.32.11/kernel/kmod.c linux-2.6.32.11/kernel/kmod.c
47828 /* If modprobe needs a service that is in a module, we get a recursive 48325 /* If modprobe needs a service that is in a module, we get a recursive
47829 * loop. Limit the number of running kmod threads to max_threads/2 or 48326 * loop. Limit the number of running kmod threads to max_threads/2 or
47830 * MAX_KMOD_CONCURRENT, whichever is the smaller. A cleaner method 48327 * MAX_KMOD_CONCURRENT, whichever is the smaller. A cleaner method
47831diff -urNp linux-2.6.32.11/kernel/kprobes.c linux-2.6.32.11/kernel/kprobes.c 48328diff -urNp linux-2.6.32.12/kernel/kprobes.c linux-2.6.32.12/kernel/kprobes.c
47832--- linux-2.6.32.11/kernel/kprobes.c 2010-03-15 11:52:04.000000000 -0400 48329--- linux-2.6.32.12/kernel/kprobes.c 2010-03-15 11:52:04.000000000 -0400
47833+++ linux-2.6.32.11/kernel/kprobes.c 2010-04-04 20:46:41.693491350 -0400 48330+++ linux-2.6.32.12/kernel/kprobes.c 2010-04-29 17:46:36.959467563 -0400
47834@@ -183,7 +183,7 @@ static kprobe_opcode_t __kprobes *__get_ 48331@@ -183,7 +183,7 @@ static kprobe_opcode_t __kprobes *__get_
47835 * kernel image and loaded module images reside. This is required 48332 * kernel image and loaded module images reside. This is required
47836 * so x86_64 can correctly handle the %rip-relative fixups. 48333 * so x86_64 can correctly handle the %rip-relative fixups.
@@ -47849,9 +48346,27 @@ diff -urNp linux-2.6.32.11/kernel/kprobes.c linux-2.6.32.11/kernel/kprobes.c
47849 kfree(kip); 48346 kfree(kip);
47850 } 48347 }
47851 return 1; 48348 return 1;
47852diff -urNp linux-2.6.32.11/kernel/lockdep.c linux-2.6.32.11/kernel/lockdep.c 48349@@ -1189,7 +1189,7 @@ static int __init init_kprobes(void)
47853--- linux-2.6.32.11/kernel/lockdep.c 2010-03-15 11:52:04.000000000 -0400 48350 {
47854+++ linux-2.6.32.11/kernel/lockdep.c 2010-04-04 20:46:41.693491350 -0400 48351 int i, err = 0;
48352 unsigned long offset = 0, size = 0;
48353- char *modname, namebuf[128];
48354+ char *modname, namebuf[KSYM_NAME_LEN];
48355 const char *symbol_name;
48356 void *addr;
48357 struct kprobe_blackpoint *kb;
48358@@ -1304,7 +1304,7 @@ static int __kprobes show_kprobe_addr(st
48359 const char *sym = NULL;
48360 unsigned int i = *(loff_t *) v;
48361 unsigned long offset = 0;
48362- char *modname, namebuf[128];
48363+ char *modname, namebuf[KSYM_NAME_LEN];
48364
48365 head = &kprobe_table[i];
48366 preempt_disable();
48367diff -urNp linux-2.6.32.12/kernel/lockdep.c linux-2.6.32.12/kernel/lockdep.c
48368--- linux-2.6.32.12/kernel/lockdep.c 2010-04-29 17:49:38.578001941 -0400
48369+++ linux-2.6.32.12/kernel/lockdep.c 2010-04-29 18:02:39.221319476 -0400
47855@@ -577,6 +577,10 @@ static int static_obj(void *obj) 48370@@ -577,6 +577,10 @@ static int static_obj(void *obj)
47856 int i; 48371 int i;
47857 #endif 48372 #endif
@@ -47866,9 +48381,9 @@ diff -urNp linux-2.6.32.11/kernel/lockdep.c linux-2.6.32.11/kernel/lockdep.c
47866@@ -592,8 +596,7 @@ static int static_obj(void *obj) 48381@@ -592,8 +596,7 @@ static int static_obj(void *obj)
47867 */ 48382 */
47868 for_each_possible_cpu(i) { 48383 for_each_possible_cpu(i) {
47869 start = (unsigned long) &__per_cpu_start + per_cpu_offset(i); 48384 start = (unsigned long) per_cpu_ptr(&__per_cpu_start, i);
47870- end = (unsigned long) &__per_cpu_start + PERCPU_ENOUGH_ROOM 48385- end = (unsigned long) per_cpu_ptr(&__per_cpu_start, i)
47871- + per_cpu_offset(i); 48386- + PERCPU_ENOUGH_ROOM;
47872+ end = start + PERCPU_ENOUGH_ROOM; 48387+ end = start + PERCPU_ENOUGH_ROOM;
47873 48388
47874 if ((addr >= start) && (addr < end)) 48389 if ((addr >= start) && (addr < end))
@@ -47881,9 +48396,21 @@ diff -urNp linux-2.6.32.11/kernel/lockdep.c linux-2.6.32.11/kernel/lockdep.c
47881 printk("the code is fine but needs lockdep annotation.\n"); 48396 printk("the code is fine but needs lockdep annotation.\n");
47882 printk("turning off the locking correctness validator.\n"); 48397 printk("turning off the locking correctness validator.\n");
47883 dump_stack(); 48398 dump_stack();
47884diff -urNp linux-2.6.32.11/kernel/module.c linux-2.6.32.11/kernel/module.c 48399diff -urNp linux-2.6.32.12/kernel/lockdep_proc.c linux-2.6.32.12/kernel/lockdep_proc.c
47885--- linux-2.6.32.11/kernel/module.c 2010-03-15 11:52:04.000000000 -0400 48400--- linux-2.6.32.12/kernel/lockdep_proc.c 2010-03-15 11:52:04.000000000 -0400
47886+++ linux-2.6.32.11/kernel/module.c 2010-04-04 20:46:41.693491350 -0400 48401+++ linux-2.6.32.12/kernel/lockdep_proc.c 2010-04-29 17:46:37.305259446 -0400
48402@@ -39,7 +39,7 @@ static void l_stop(struct seq_file *m, v
48403
48404 static void print_name(struct seq_file *m, struct lock_class *class)
48405 {
48406- char str[128];
48407+ char str[KSYM_NAME_LEN];
48408 const char *name = class->name;
48409
48410 if (!name) {
48411diff -urNp linux-2.6.32.12/kernel/module.c linux-2.6.32.12/kernel/module.c
48412--- linux-2.6.32.12/kernel/module.c 2010-04-29 17:49:38.586002480 -0400
48413+++ linux-2.6.32.12/kernel/module.c 2010-04-29 17:49:58.693515313 -0400
47887@@ -89,7 +89,8 @@ static DECLARE_WAIT_QUEUE_HEAD(module_wq 48414@@ -89,7 +89,8 @@ static DECLARE_WAIT_QUEUE_HEAD(module_wq
47888 static BLOCKING_NOTIFIER_HEAD(module_notify_list); 48415 static BLOCKING_NOTIFIER_HEAD(module_notify_list);
47889 48416
@@ -48423,9 +48950,9 @@ diff -urNp linux-2.6.32.11/kernel/module.c linux-2.6.32.11/kernel/module.c
48423 mod = NULL; 48950 mod = NULL;
48424 } 48951 }
48425 return mod; 48952 return mod;
48426diff -urNp linux-2.6.32.11/kernel/panic.c linux-2.6.32.11/kernel/panic.c 48953diff -urNp linux-2.6.32.12/kernel/panic.c linux-2.6.32.12/kernel/panic.c
48427--- linux-2.6.32.11/kernel/panic.c 2010-03-15 11:52:04.000000000 -0400 48954--- linux-2.6.32.12/kernel/panic.c 2010-03-15 11:52:04.000000000 -0400
48428+++ linux-2.6.32.11/kernel/panic.c 2010-04-04 20:46:41.693491350 -0400 48955+++ linux-2.6.32.12/kernel/panic.c 2010-04-04 20:46:41.693491350 -0400
48429@@ -392,7 +392,8 @@ EXPORT_SYMBOL(warn_slowpath_null); 48956@@ -392,7 +392,8 @@ EXPORT_SYMBOL(warn_slowpath_null);
48430 */ 48957 */
48431 void __stack_chk_fail(void) 48958 void __stack_chk_fail(void)
@@ -48436,9 +48963,9 @@ diff -urNp linux-2.6.32.11/kernel/panic.c linux-2.6.32.11/kernel/panic.c
48436 __builtin_return_address(0)); 48963 __builtin_return_address(0));
48437 } 48964 }
48438 EXPORT_SYMBOL(__stack_chk_fail); 48965 EXPORT_SYMBOL(__stack_chk_fail);
48439diff -urNp linux-2.6.32.11/kernel/params.c linux-2.6.32.11/kernel/params.c 48966diff -urNp linux-2.6.32.12/kernel/params.c linux-2.6.32.12/kernel/params.c
48440--- linux-2.6.32.11/kernel/params.c 2010-03-15 11:52:04.000000000 -0400 48967--- linux-2.6.32.12/kernel/params.c 2010-03-15 11:52:04.000000000 -0400
48441+++ linux-2.6.32.11/kernel/params.c 2010-04-04 20:46:41.693491350 -0400 48968+++ linux-2.6.32.12/kernel/params.c 2010-04-04 20:46:41.693491350 -0400
48442@@ -725,7 +725,7 @@ static ssize_t module_attr_store(struct 48969@@ -725,7 +725,7 @@ static ssize_t module_attr_store(struct
48443 return ret; 48970 return ret;
48444 } 48971 }
@@ -48457,9 +48984,9 @@ diff -urNp linux-2.6.32.11/kernel/params.c linux-2.6.32.11/kernel/params.c
48457 .filter = uevent_filter, 48984 .filter = uevent_filter,
48458 }; 48985 };
48459 48986
48460diff -urNp linux-2.6.32.11/kernel/pid.c linux-2.6.32.11/kernel/pid.c 48987diff -urNp linux-2.6.32.12/kernel/pid.c linux-2.6.32.12/kernel/pid.c
48461--- linux-2.6.32.11/kernel/pid.c 2010-03-15 11:52:04.000000000 -0400 48988--- linux-2.6.32.12/kernel/pid.c 2010-03-15 11:52:04.000000000 -0400
48462+++ linux-2.6.32.11/kernel/pid.c 2010-04-04 20:46:41.693491350 -0400 48989+++ linux-2.6.32.12/kernel/pid.c 2010-04-04 20:46:41.693491350 -0400
48463@@ -33,6 +33,7 @@ 48990@@ -33,6 +33,7 @@
48464 #include <linux/rculist.h> 48991 #include <linux/rculist.h>
48465 #include <linux/bootmem.h> 48992 #include <linux/bootmem.h>
@@ -48493,9 +49020,9 @@ diff -urNp linux-2.6.32.11/kernel/pid.c linux-2.6.32.11/kernel/pid.c
48493 } 49020 }
48494 49021
48495 struct task_struct *find_task_by_vpid(pid_t vnr) 49022 struct task_struct *find_task_by_vpid(pid_t vnr)
48496diff -urNp linux-2.6.32.11/kernel/posix-cpu-timers.c linux-2.6.32.11/kernel/posix-cpu-timers.c 49023diff -urNp linux-2.6.32.12/kernel/posix-cpu-timers.c linux-2.6.32.12/kernel/posix-cpu-timers.c
48497--- linux-2.6.32.11/kernel/posix-cpu-timers.c 2010-03-15 11:52:04.000000000 -0400 49024--- linux-2.6.32.12/kernel/posix-cpu-timers.c 2010-03-15 11:52:04.000000000 -0400
48498+++ linux-2.6.32.11/kernel/posix-cpu-timers.c 2010-04-04 20:46:41.697788265 -0400 49025+++ linux-2.6.32.12/kernel/posix-cpu-timers.c 2010-04-04 20:46:41.697788265 -0400
48499@@ -6,6 +6,7 @@ 49026@@ -6,6 +6,7 @@
48500 #include <linux/posix-timers.h> 49027 #include <linux/posix-timers.h>
48501 #include <linux/errno.h> 49028 #include <linux/errno.h>
@@ -48520,9 +49047,9 @@ diff -urNp linux-2.6.32.11/kernel/posix-cpu-timers.c linux-2.6.32.11/kernel/posi
48520 if (psecs >= sig->rlim[RLIMIT_CPU].rlim_cur) { 49047 if (psecs >= sig->rlim[RLIMIT_CPU].rlim_cur) {
48521 /* 49048 /*
48522 * At the soft limit, send a SIGXCPU every second. 49049 * At the soft limit, send a SIGXCPU every second.
48523diff -urNp linux-2.6.32.11/kernel/power/hibernate.c linux-2.6.32.11/kernel/power/hibernate.c 49050diff -urNp linux-2.6.32.12/kernel/power/hibernate.c linux-2.6.32.12/kernel/power/hibernate.c
48524--- linux-2.6.32.11/kernel/power/hibernate.c 2010-03-15 11:52:04.000000000 -0400 49051--- linux-2.6.32.12/kernel/power/hibernate.c 2010-03-15 11:52:04.000000000 -0400
48525+++ linux-2.6.32.11/kernel/power/hibernate.c 2010-04-04 20:46:41.697788265 -0400 49052+++ linux-2.6.32.12/kernel/power/hibernate.c 2010-04-04 20:46:41.697788265 -0400
48526@@ -48,14 +48,14 @@ enum { 49053@@ -48,14 +48,14 @@ enum {
48527 49054
48528 static int hibernation_mode = HIBERNATION_SHUTDOWN; 49055 static int hibernation_mode = HIBERNATION_SHUTDOWN;
@@ -48540,9 +49067,9 @@ diff -urNp linux-2.6.32.11/kernel/power/hibernate.c linux-2.6.32.11/kernel/power
48540 { 49067 {
48541 if (ops && !(ops->begin && ops->end && ops->pre_snapshot 49068 if (ops && !(ops->begin && ops->end && ops->pre_snapshot
48542 && ops->prepare && ops->finish && ops->enter && ops->pre_restore 49069 && ops->prepare && ops->finish && ops->enter && ops->pre_restore
48543diff -urNp linux-2.6.32.11/kernel/power/poweroff.c linux-2.6.32.11/kernel/power/poweroff.c 49070diff -urNp linux-2.6.32.12/kernel/power/poweroff.c linux-2.6.32.12/kernel/power/poweroff.c
48544--- linux-2.6.32.11/kernel/power/poweroff.c 2010-03-15 11:52:04.000000000 -0400 49071--- linux-2.6.32.12/kernel/power/poweroff.c 2010-03-15 11:52:04.000000000 -0400
48545+++ linux-2.6.32.11/kernel/power/poweroff.c 2010-04-04 20:46:41.697788265 -0400 49072+++ linux-2.6.32.12/kernel/power/poweroff.c 2010-04-04 20:46:41.697788265 -0400
48546@@ -37,7 +37,7 @@ static struct sysrq_key_op sysrq_powerof 49073@@ -37,7 +37,7 @@ static struct sysrq_key_op sysrq_powerof
48547 .enable_mask = SYSRQ_ENABLE_BOOT, 49074 .enable_mask = SYSRQ_ENABLE_BOOT,
48548 }; 49075 };
@@ -48552,9 +49079,9 @@ diff -urNp linux-2.6.32.11/kernel/power/poweroff.c linux-2.6.32.11/kernel/power/
48552 { 49079 {
48553 register_sysrq_key('o', &sysrq_poweroff_op); 49080 register_sysrq_key('o', &sysrq_poweroff_op);
48554 return 0; 49081 return 0;
48555diff -urNp linux-2.6.32.11/kernel/power/process.c linux-2.6.32.11/kernel/power/process.c 49082diff -urNp linux-2.6.32.12/kernel/power/process.c linux-2.6.32.12/kernel/power/process.c
48556--- linux-2.6.32.11/kernel/power/process.c 2010-03-15 11:52:04.000000000 -0400 49083--- linux-2.6.32.12/kernel/power/process.c 2010-04-29 17:49:38.590000225 -0400
48557+++ linux-2.6.32.11/kernel/power/process.c 2010-04-04 20:46:41.697788265 -0400 49084+++ linux-2.6.32.12/kernel/power/process.c 2010-04-29 17:49:58.697130575 -0400
48558@@ -37,12 +37,15 @@ static int try_to_freeze_tasks(bool sig_ 49085@@ -37,12 +37,15 @@ static int try_to_freeze_tasks(bool sig_
48559 struct timeval start, end; 49086 struct timeval start, end;
48560 u64 elapsed_csecs64; 49087 u64 elapsed_csecs64;
@@ -48594,9 +49121,9 @@ diff -urNp linux-2.6.32.11/kernel/power/process.c linux-2.6.32.11/kernel/power/p
48594 49121
48595 do_gettimeofday(&end); 49122 do_gettimeofday(&end);
48596 elapsed_csecs64 = timeval_to_ns(&end) - timeval_to_ns(&start); 49123 elapsed_csecs64 = timeval_to_ns(&end) - timeval_to_ns(&start);
48597diff -urNp linux-2.6.32.11/kernel/power/suspend.c linux-2.6.32.11/kernel/power/suspend.c 49124diff -urNp linux-2.6.32.12/kernel/power/suspend.c linux-2.6.32.12/kernel/power/suspend.c
48598--- linux-2.6.32.11/kernel/power/suspend.c 2010-03-15 11:52:04.000000000 -0400 49125--- linux-2.6.32.12/kernel/power/suspend.c 2010-03-15 11:52:04.000000000 -0400
48599+++ linux-2.6.32.11/kernel/power/suspend.c 2010-04-04 20:46:41.697788265 -0400 49126+++ linux-2.6.32.12/kernel/power/suspend.c 2010-04-04 20:46:41.697788265 -0400
48600@@ -23,13 +23,13 @@ const char *const pm_states[PM_SUSPEND_M 49127@@ -23,13 +23,13 @@ const char *const pm_states[PM_SUSPEND_M
48601 [PM_SUSPEND_MEM] = "mem", 49128 [PM_SUSPEND_MEM] = "mem",
48602 }; 49129 };
@@ -48613,9 +49140,9 @@ diff -urNp linux-2.6.32.11/kernel/power/suspend.c linux-2.6.32.11/kernel/power/s
48613 { 49140 {
48614 mutex_lock(&pm_mutex); 49141 mutex_lock(&pm_mutex);
48615 suspend_ops = ops; 49142 suspend_ops = ops;
48616diff -urNp linux-2.6.32.11/kernel/printk.c linux-2.6.32.11/kernel/printk.c 49143diff -urNp linux-2.6.32.12/kernel/printk.c linux-2.6.32.12/kernel/printk.c
48617--- linux-2.6.32.11/kernel/printk.c 2010-03-15 11:52:04.000000000 -0400 49144--- linux-2.6.32.12/kernel/printk.c 2010-03-15 11:52:04.000000000 -0400
48618+++ linux-2.6.32.11/kernel/printk.c 2010-04-04 20:46:41.697788265 -0400 49145+++ linux-2.6.32.12/kernel/printk.c 2010-04-04 20:46:41.697788265 -0400
48619@@ -278,6 +278,11 @@ int do_syslog(int type, char __user *buf 49146@@ -278,6 +278,11 @@ int do_syslog(int type, char __user *buf
48620 char c; 49147 char c;
48621 int error = 0; 49148 int error = 0;
@@ -48628,9 +49155,9 @@ diff -urNp linux-2.6.32.11/kernel/printk.c linux-2.6.32.11/kernel/printk.c
48628 error = security_syslog(type); 49155 error = security_syslog(type);
48629 if (error) 49156 if (error)
48630 return error; 49157 return error;
48631diff -urNp linux-2.6.32.11/kernel/ptrace.c linux-2.6.32.11/kernel/ptrace.c 49158diff -urNp linux-2.6.32.12/kernel/ptrace.c linux-2.6.32.12/kernel/ptrace.c
48632--- linux-2.6.32.11/kernel/ptrace.c 2010-03-15 11:52:04.000000000 -0400 49159--- linux-2.6.32.12/kernel/ptrace.c 2010-03-15 11:52:04.000000000 -0400
48633+++ linux-2.6.32.11/kernel/ptrace.c 2010-04-04 20:46:41.697788265 -0400 49160+++ linux-2.6.32.12/kernel/ptrace.c 2010-04-04 20:46:41.697788265 -0400
48634@@ -141,7 +141,7 @@ int __ptrace_may_access(struct task_stru 49161@@ -141,7 +141,7 @@ int __ptrace_may_access(struct task_stru
48635 cred->gid != tcred->egid || 49162 cred->gid != tcred->egid ||
48636 cred->gid != tcred->sgid || 49163 cred->gid != tcred->sgid ||
@@ -48712,9 +49239,9 @@ diff -urNp linux-2.6.32.11/kernel/ptrace.c linux-2.6.32.11/kernel/ptrace.c
48712 } 49239 }
48713 49240
48714 int generic_ptrace_pokedata(struct task_struct *tsk, long addr, long data) 49241 int generic_ptrace_pokedata(struct task_struct *tsk, long addr, long data)
48715diff -urNp linux-2.6.32.11/kernel/rcutree.c linux-2.6.32.11/kernel/rcutree.c 49242diff -urNp linux-2.6.32.12/kernel/rcutree.c linux-2.6.32.12/kernel/rcutree.c
48716--- linux-2.6.32.11/kernel/rcutree.c 2010-03-15 11:52:04.000000000 -0400 49243--- linux-2.6.32.12/kernel/rcutree.c 2010-03-15 11:52:04.000000000 -0400
48717+++ linux-2.6.32.11/kernel/rcutree.c 2010-04-04 20:46:41.697788265 -0400 49244+++ linux-2.6.32.12/kernel/rcutree.c 2010-04-04 20:46:41.697788265 -0400
48718@@ -1303,7 +1303,7 @@ __rcu_process_callbacks(struct rcu_state 49245@@ -1303,7 +1303,7 @@ __rcu_process_callbacks(struct rcu_state
48719 /* 49246 /*
48720 * Do softirq processing for the current CPU. 49247 * Do softirq processing for the current CPU.
@@ -48724,9 +49251,9 @@ diff -urNp linux-2.6.32.11/kernel/rcutree.c linux-2.6.32.11/kernel/rcutree.c
48724 { 49251 {
48725 /* 49252 /*
48726 * Memory references from any prior RCU read-side critical sections 49253 * Memory references from any prior RCU read-side critical sections
48727diff -urNp linux-2.6.32.11/kernel/relay.c linux-2.6.32.11/kernel/relay.c 49254diff -urNp linux-2.6.32.12/kernel/relay.c linux-2.6.32.12/kernel/relay.c
48728--- linux-2.6.32.11/kernel/relay.c 2010-03-15 11:52:04.000000000 -0400 49255--- linux-2.6.32.12/kernel/relay.c 2010-03-15 11:52:04.000000000 -0400
48729+++ linux-2.6.32.11/kernel/relay.c 2010-04-04 20:46:41.697788265 -0400 49256+++ linux-2.6.32.12/kernel/relay.c 2010-04-04 20:46:41.697788265 -0400
48730@@ -1292,7 +1292,7 @@ static int subbuf_splice_actor(struct fi 49257@@ -1292,7 +1292,7 @@ static int subbuf_splice_actor(struct fi
48731 return 0; 49258 return 0;
48732 49259
@@ -48736,9 +49263,9 @@ diff -urNp linux-2.6.32.11/kernel/relay.c linux-2.6.32.11/kernel/relay.c
48736 return ret; 49263 return ret;
48737 49264
48738 if (read_start + ret == nonpad_end) 49265 if (read_start + ret == nonpad_end)
48739diff -urNp linux-2.6.32.11/kernel/resource.c linux-2.6.32.11/kernel/resource.c 49266diff -urNp linux-2.6.32.12/kernel/resource.c linux-2.6.32.12/kernel/resource.c
48740--- linux-2.6.32.11/kernel/resource.c 2010-03-15 11:52:04.000000000 -0400 49267--- linux-2.6.32.12/kernel/resource.c 2010-03-15 11:52:04.000000000 -0400
48741+++ linux-2.6.32.11/kernel/resource.c 2010-04-04 20:46:41.697788265 -0400 49268+++ linux-2.6.32.12/kernel/resource.c 2010-04-04 20:46:41.697788265 -0400
48742@@ -132,8 +132,18 @@ static const struct file_operations proc 49269@@ -132,8 +132,18 @@ static const struct file_operations proc
48743 49270
48744 static int __init ioresources_init(void) 49271 static int __init ioresources_init(void)
@@ -48758,10 +49285,10 @@ diff -urNp linux-2.6.32.11/kernel/resource.c linux-2.6.32.11/kernel/resource.c
48758 return 0; 49285 return 0;
48759 } 49286 }
48760 __initcall(ioresources_init); 49287 __initcall(ioresources_init);
48761diff -urNp linux-2.6.32.11/kernel/sched.c linux-2.6.32.11/kernel/sched.c 49288diff -urNp linux-2.6.32.12/kernel/sched.c linux-2.6.32.12/kernel/sched.c
48762--- linux-2.6.32.11/kernel/sched.c 2010-04-04 20:41:50.068477203 -0400 49289--- linux-2.6.32.12/kernel/sched.c 2010-04-29 17:49:38.609495328 -0400
48763+++ linux-2.6.32.11/kernel/sched.c 2010-04-04 20:46:41.697788265 -0400 49290+++ linux-2.6.32.12/kernel/sched.c 2010-04-29 17:49:58.717524885 -0400
48764@@ -4843,7 +4843,7 @@ out: 49291@@ -4841,7 +4841,7 @@ out:
48765 * In CONFIG_NO_HZ case, the idle load balance owner will do the 49292 * In CONFIG_NO_HZ case, the idle load balance owner will do the
48766 * rebalancing for all the cpus for whom scheduler ticks are stopped. 49293 * rebalancing for all the cpus for whom scheduler ticks are stopped.
48767 */ 49294 */
@@ -48770,7 +49297,7 @@ diff -urNp linux-2.6.32.11/kernel/sched.c linux-2.6.32.11/kernel/sched.c
48770 { 49297 {
48771 int this_cpu = smp_processor_id(); 49298 int this_cpu = smp_processor_id();
48772 struct rq *this_rq = cpu_rq(this_cpu); 49299 struct rq *this_rq = cpu_rq(this_cpu);
48773@@ -6112,6 +6112,8 @@ int can_nice(const struct task_struct *p 49300@@ -6110,6 +6110,8 @@ int can_nice(const struct task_struct *p
48774 /* convert nice value [19,-20] to rlimit style value [1,40] */ 49301 /* convert nice value [19,-20] to rlimit style value [1,40] */
48775 int nice_rlim = 20 - nice; 49302 int nice_rlim = 20 - nice;
48776 49303
@@ -48779,7 +49306,7 @@ diff -urNp linux-2.6.32.11/kernel/sched.c linux-2.6.32.11/kernel/sched.c
48779 return (nice_rlim <= p->signal->rlim[RLIMIT_NICE].rlim_cur || 49306 return (nice_rlim <= p->signal->rlim[RLIMIT_NICE].rlim_cur ||
48780 capable(CAP_SYS_NICE)); 49307 capable(CAP_SYS_NICE));
48781 } 49308 }
48782@@ -6145,7 +6147,8 @@ SYSCALL_DEFINE1(nice, int, increment) 49309@@ -6143,7 +6145,8 @@ SYSCALL_DEFINE1(nice, int, increment)
48783 if (nice > 19) 49310 if (nice > 19)
48784 nice = 19; 49311 nice = 19;
48785 49312
@@ -48789,7 +49316,7 @@ diff -urNp linux-2.6.32.11/kernel/sched.c linux-2.6.32.11/kernel/sched.c
48789 return -EPERM; 49316 return -EPERM;
48790 49317
48791 retval = security_task_setnice(current, nice); 49318 retval = security_task_setnice(current, nice);
48792@@ -6295,6 +6298,8 @@ recheck: 49319@@ -6293,6 +6296,8 @@ recheck:
48793 if (rt_policy(policy)) { 49320 if (rt_policy(policy)) {
48794 unsigned long rlim_rtprio; 49321 unsigned long rlim_rtprio;
48795 49322
@@ -48798,7 +49325,7 @@ diff -urNp linux-2.6.32.11/kernel/sched.c linux-2.6.32.11/kernel/sched.c
48798 if (!lock_task_sighand(p, &flags)) 49325 if (!lock_task_sighand(p, &flags))
48799 return -ESRCH; 49326 return -ESRCH;
48800 rlim_rtprio = p->signal->rlim[RLIMIT_RTPRIO].rlim_cur; 49327 rlim_rtprio = p->signal->rlim[RLIMIT_RTPRIO].rlim_cur;
48801@@ -7447,7 +7452,7 @@ static struct ctl_table sd_ctl_dir[] = { 49328@@ -7452,7 +7457,7 @@ static struct ctl_table sd_ctl_dir[] = {
48802 .procname = "sched_domain", 49329 .procname = "sched_domain",
48803 .mode = 0555, 49330 .mode = 0555,
48804 }, 49331 },
@@ -48807,7 +49334,7 @@ diff -urNp linux-2.6.32.11/kernel/sched.c linux-2.6.32.11/kernel/sched.c
48807 }; 49334 };
48808 49335
48809 static struct ctl_table sd_ctl_root[] = { 49336 static struct ctl_table sd_ctl_root[] = {
48810@@ -7457,7 +7462,7 @@ static struct ctl_table sd_ctl_root[] = 49337@@ -7462,7 +7467,7 @@ static struct ctl_table sd_ctl_root[] =
48811 .mode = 0555, 49338 .mode = 0555,
48812 .child = sd_ctl_dir, 49339 .child = sd_ctl_dir,
48813 }, 49340 },
@@ -48816,9 +49343,33 @@ diff -urNp linux-2.6.32.11/kernel/sched.c linux-2.6.32.11/kernel/sched.c
48816 }; 49343 };
48817 49344
48818 static struct ctl_table *sd_alloc_ctl_entry(int n) 49345 static struct ctl_table *sd_alloc_ctl_entry(int n)
48819diff -urNp linux-2.6.32.11/kernel/signal.c linux-2.6.32.11/kernel/signal.c 49346diff -urNp linux-2.6.32.12/kernel/signal.c linux-2.6.32.12/kernel/signal.c
48820--- linux-2.6.32.11/kernel/signal.c 2010-03-15 11:52:04.000000000 -0400 49347--- linux-2.6.32.12/kernel/signal.c 2010-03-15 11:52:04.000000000 -0400
48821+++ linux-2.6.32.11/kernel/signal.c 2010-04-04 20:46:41.701624986 -0400 49348+++ linux-2.6.32.12/kernel/signal.c 2010-04-29 17:46:37.333938325 -0400
49349@@ -41,12 +41,12 @@
49350
49351 static struct kmem_cache *sigqueue_cachep;
49352
49353-static void __user *sig_handler(struct task_struct *t, int sig)
49354+static __sighandler_t sig_handler(struct task_struct *t, int sig)
49355 {
49356 return t->sighand->action[sig - 1].sa.sa_handler;
49357 }
49358
49359-static int sig_handler_ignored(void __user *handler, int sig)
49360+static int sig_handler_ignored(__sighandler_t handler, int sig)
49361 {
49362 /* Is it explicitly or implicitly ignored? */
49363 return handler == SIG_IGN ||
49364@@ -56,7 +56,7 @@ static int sig_handler_ignored(void __us
49365 static int sig_task_ignored(struct task_struct *t, int sig,
49366 int from_ancestor_ns)
49367 {
49368- void __user *handler;
49369+ __sighandler_t handler;
49370
49371 handler = sig_handler(t, sig);
49372
48822@@ -207,6 +207,9 @@ static struct sigqueue *__sigqueue_alloc 49373@@ -207,6 +207,9 @@ static struct sigqueue *__sigqueue_alloc
48823 */ 49374 */
48824 user = get_uid(__task_cred(t)->user); 49375 user = get_uid(__task_cred(t)->user);
@@ -48829,6 +49380,15 @@ diff -urNp linux-2.6.32.11/kernel/signal.c linux-2.6.32.11/kernel/signal.c
48829 if (override_rlimit || 49380 if (override_rlimit ||
48830 atomic_read(&user->sigpending) <= 49381 atomic_read(&user->sigpending) <=
48831 t->signal->rlim[RLIMIT_SIGPENDING].rlim_cur) 49382 t->signal->rlim[RLIMIT_SIGPENDING].rlim_cur)
49383@@ -327,7 +330,7 @@ flush_signal_handlers(struct task_struct
49384
49385 int unhandled_signal(struct task_struct *tsk, int sig)
49386 {
49387- void __user *handler = tsk->sighand->action[sig-1].sa.sa_handler;
49388+ __sighandler_t handler = tsk->sighand->action[sig-1].sa.sa_handler;
49389 if (is_global_init(tsk))
49390 return 1;
49391 if (handler != SIG_IGN && handler != SIG_DFL)
48832@@ -625,6 +628,9 @@ static int check_kill_permission(int sig 49392@@ -625,6 +628,9 @@ static int check_kill_permission(int sig
48833 } 49393 }
48834 } 49394 }
@@ -48871,9 +49431,9 @@ diff -urNp linux-2.6.32.11/kernel/signal.c linux-2.6.32.11/kernel/signal.c
48871 49431
48872 return ret; 49432 return ret;
48873 } 49433 }
48874diff -urNp linux-2.6.32.11/kernel/smp.c linux-2.6.32.11/kernel/smp.c 49434diff -urNp linux-2.6.32.12/kernel/smp.c linux-2.6.32.12/kernel/smp.c
48875--- linux-2.6.32.11/kernel/smp.c 2010-03-15 11:52:04.000000000 -0400 49435--- linux-2.6.32.12/kernel/smp.c 2010-03-15 11:52:04.000000000 -0400
48876+++ linux-2.6.32.11/kernel/smp.c 2010-04-04 20:46:41.701624986 -0400 49436+++ linux-2.6.32.12/kernel/smp.c 2010-04-04 20:46:41.701624986 -0400
48877@@ -459,22 +459,22 @@ int smp_call_function(void (*func)(void 49437@@ -459,22 +459,22 @@ int smp_call_function(void (*func)(void
48878 } 49438 }
48879 EXPORT_SYMBOL(smp_call_function); 49439 EXPORT_SYMBOL(smp_call_function);
@@ -48901,9 +49461,9 @@ diff -urNp linux-2.6.32.11/kernel/smp.c linux-2.6.32.11/kernel/smp.c
48901 { 49461 {
48902 spin_unlock_irq(&call_function.lock); 49462 spin_unlock_irq(&call_function.lock);
48903 } 49463 }
48904diff -urNp linux-2.6.32.11/kernel/softirq.c linux-2.6.32.11/kernel/softirq.c 49464diff -urNp linux-2.6.32.12/kernel/softirq.c linux-2.6.32.12/kernel/softirq.c
48905--- linux-2.6.32.11/kernel/softirq.c 2010-03-15 11:52:04.000000000 -0400 49465--- linux-2.6.32.12/kernel/softirq.c 2010-03-15 11:52:04.000000000 -0400
48906+++ linux-2.6.32.11/kernel/softirq.c 2010-04-04 20:46:41.701624986 -0400 49466+++ linux-2.6.32.12/kernel/softirq.c 2010-04-04 20:46:41.701624986 -0400
48907@@ -56,7 +56,7 @@ static struct softirq_action softirq_vec 49467@@ -56,7 +56,7 @@ static struct softirq_action softirq_vec
48908 49468
48909 static DEFINE_PER_CPU(struct task_struct *, ksoftirqd); 49469 static DEFINE_PER_CPU(struct task_struct *, ksoftirqd);
@@ -48958,9 +49518,9 @@ diff -urNp linux-2.6.32.11/kernel/softirq.c linux-2.6.32.11/kernel/softirq.c
48958 { 49518 {
48959 struct tasklet_struct *list; 49519 struct tasklet_struct *list;
48960 49520
48961diff -urNp linux-2.6.32.11/kernel/sys.c linux-2.6.32.11/kernel/sys.c 49521diff -urNp linux-2.6.32.12/kernel/sys.c linux-2.6.32.12/kernel/sys.c
48962--- linux-2.6.32.11/kernel/sys.c 2010-03-15 11:52:04.000000000 -0400 49522--- linux-2.6.32.12/kernel/sys.c 2010-03-15 11:52:04.000000000 -0400
48963+++ linux-2.6.32.11/kernel/sys.c 2010-04-04 20:46:41.701624986 -0400 49523+++ linux-2.6.32.12/kernel/sys.c 2010-04-04 20:46:41.701624986 -0400
48964@@ -133,6 +133,12 @@ static int set_one_prio(struct task_stru 49524@@ -133,6 +133,12 @@ static int set_one_prio(struct task_stru
48965 error = -EACCES; 49525 error = -EACCES;
48966 goto out; 49526 goto out;
@@ -49096,9 +49656,9 @@ diff -urNp linux-2.6.32.11/kernel/sys.c linux-2.6.32.11/kernel/sys.c
49096 error = -EINVAL; 49656 error = -EINVAL;
49097 break; 49657 break;
49098 } 49658 }
49099diff -urNp linux-2.6.32.11/kernel/sysctl.c linux-2.6.32.11/kernel/sysctl.c 49659diff -urNp linux-2.6.32.12/kernel/sysctl.c linux-2.6.32.12/kernel/sysctl.c
49100--- linux-2.6.32.11/kernel/sysctl.c 2010-03-15 11:52:04.000000000 -0400 49660--- linux-2.6.32.12/kernel/sysctl.c 2010-03-15 11:52:04.000000000 -0400
49101+++ linux-2.6.32.11/kernel/sysctl.c 2010-04-04 20:46:41.701624986 -0400 49661+++ linux-2.6.32.12/kernel/sysctl.c 2010-04-04 20:46:41.701624986 -0400
49102@@ -63,6 +63,13 @@ 49662@@ -63,6 +63,13 @@
49103 static int deprecated_sysctl_warning(struct __sysctl_args *args); 49663 static int deprecated_sysctl_warning(struct __sysctl_args *args);
49104 49664
@@ -49220,9 +49780,9 @@ diff -urNp linux-2.6.32.11/kernel/sysctl.c linux-2.6.32.11/kernel/sysctl.c
49220 error = security_sysctl(table, op & (MAY_READ | MAY_WRITE | MAY_EXEC)); 49780 error = security_sysctl(table, op & (MAY_READ | MAY_WRITE | MAY_EXEC));
49221 if (error) 49781 if (error)
49222 return error; 49782 return error;
49223diff -urNp linux-2.6.32.11/kernel/taskstats.c linux-2.6.32.11/kernel/taskstats.c 49783diff -urNp linux-2.6.32.12/kernel/taskstats.c linux-2.6.32.12/kernel/taskstats.c
49224--- linux-2.6.32.11/kernel/taskstats.c 2010-03-15 11:52:04.000000000 -0400 49784--- linux-2.6.32.12/kernel/taskstats.c 2010-03-15 11:52:04.000000000 -0400
49225+++ linux-2.6.32.11/kernel/taskstats.c 2010-04-04 20:46:41.701624986 -0400 49785+++ linux-2.6.32.12/kernel/taskstats.c 2010-04-04 20:46:41.701624986 -0400
49226@@ -26,9 +26,12 @@ 49786@@ -26,9 +26,12 @@
49227 #include <linux/cgroup.h> 49787 #include <linux/cgroup.h>
49228 #include <linux/fs.h> 49788 #include <linux/fs.h>
@@ -49246,9 +49806,9 @@ diff -urNp linux-2.6.32.11/kernel/taskstats.c linux-2.6.32.11/kernel/taskstats.c
49246 if (!alloc_cpumask_var(&mask, GFP_KERNEL)) 49806 if (!alloc_cpumask_var(&mask, GFP_KERNEL))
49247 return -ENOMEM; 49807 return -ENOMEM;
49248 49808
49249diff -urNp linux-2.6.32.11/kernel/time/tick-broadcast.c linux-2.6.32.11/kernel/time/tick-broadcast.c 49809diff -urNp linux-2.6.32.12/kernel/time/tick-broadcast.c linux-2.6.32.12/kernel/time/tick-broadcast.c
49250--- linux-2.6.32.11/kernel/time/tick-broadcast.c 2010-03-15 11:52:04.000000000 -0400 49810--- linux-2.6.32.12/kernel/time/tick-broadcast.c 2010-03-15 11:52:04.000000000 -0400
49251+++ linux-2.6.32.11/kernel/time/tick-broadcast.c 2010-04-04 20:46:41.701624986 -0400 49811+++ linux-2.6.32.12/kernel/time/tick-broadcast.c 2010-04-04 20:46:41.701624986 -0400
49252@@ -116,7 +116,7 @@ int tick_device_uses_broadcast(struct cl 49812@@ -116,7 +116,7 @@ int tick_device_uses_broadcast(struct cl
49253 * then clear the broadcast bit. 49813 * then clear the broadcast bit.
49254 */ 49814 */
@@ -49258,9 +49818,9 @@ diff -urNp linux-2.6.32.11/kernel/time/tick-broadcast.c linux-2.6.32.11/kernel/t
49258 49818
49259 cpumask_clear_cpu(cpu, tick_get_broadcast_mask()); 49819 cpumask_clear_cpu(cpu, tick_get_broadcast_mask());
49260 tick_broadcast_clear_oneshot(cpu); 49820 tick_broadcast_clear_oneshot(cpu);
49261diff -urNp linux-2.6.32.11/kernel/time.c linux-2.6.32.11/kernel/time.c 49821diff -urNp linux-2.6.32.12/kernel/time.c linux-2.6.32.12/kernel/time.c
49262--- linux-2.6.32.11/kernel/time.c 2010-03-15 11:52:04.000000000 -0400 49822--- linux-2.6.32.12/kernel/time.c 2010-03-15 11:52:04.000000000 -0400
49263+++ linux-2.6.32.11/kernel/time.c 2010-04-04 20:46:41.701624986 -0400 49823+++ linux-2.6.32.12/kernel/time.c 2010-04-04 20:46:41.701624986 -0400
49264@@ -94,6 +94,9 @@ SYSCALL_DEFINE1(stime, time_t __user *, 49824@@ -94,6 +94,9 @@ SYSCALL_DEFINE1(stime, time_t __user *,
49265 return err; 49825 return err;
49266 49826
@@ -49298,9 +49858,9 @@ diff -urNp linux-2.6.32.11/kernel/time.c linux-2.6.32.11/kernel/time.c
49298 { 49858 {
49299 #if HZ <= USEC_PER_SEC && !(USEC_PER_SEC % HZ) 49859 #if HZ <= USEC_PER_SEC && !(USEC_PER_SEC % HZ)
49300 return (USEC_PER_SEC / HZ) * j; 49860 return (USEC_PER_SEC / HZ) * j;
49301diff -urNp linux-2.6.32.11/kernel/timer.c linux-2.6.32.11/kernel/timer.c 49861diff -urNp linux-2.6.32.12/kernel/timer.c linux-2.6.32.12/kernel/timer.c
49302--- linux-2.6.32.11/kernel/timer.c 2010-03-15 11:52:04.000000000 -0400 49862--- linux-2.6.32.12/kernel/timer.c 2010-03-15 11:52:04.000000000 -0400
49303+++ linux-2.6.32.11/kernel/timer.c 2010-04-04 20:46:41.701624986 -0400 49863+++ linux-2.6.32.12/kernel/timer.c 2010-04-04 20:46:41.701624986 -0400
49304@@ -1207,7 +1207,7 @@ void update_process_times(int user_tick) 49864@@ -1207,7 +1207,7 @@ void update_process_times(int user_tick)
49305 /* 49865 /*
49306 * This function runs timers and the timer-tq in bottom half context. 49866 * This function runs timers and the timer-tq in bottom half context.
@@ -49310,9 +49870,9 @@ diff -urNp linux-2.6.32.11/kernel/timer.c linux-2.6.32.11/kernel/timer.c
49310 { 49870 {
49311 struct tvec_base *base = __get_cpu_var(tvec_bases); 49871 struct tvec_base *base = __get_cpu_var(tvec_bases);
49312 49872
49313diff -urNp linux-2.6.32.11/kernel/trace/ftrace.c linux-2.6.32.11/kernel/trace/ftrace.c 49873diff -urNp linux-2.6.32.12/kernel/trace/ftrace.c linux-2.6.32.12/kernel/trace/ftrace.c
49314--- linux-2.6.32.11/kernel/trace/ftrace.c 2010-04-04 20:41:50.068477203 -0400 49874--- linux-2.6.32.12/kernel/trace/ftrace.c 2010-04-04 20:41:50.068477203 -0400
49315+++ linux-2.6.32.11/kernel/trace/ftrace.c 2010-04-04 20:46:41.701624986 -0400 49875+++ linux-2.6.32.12/kernel/trace/ftrace.c 2010-04-04 20:46:41.701624986 -0400
49316@@ -1093,13 +1093,18 @@ ftrace_code_disable(struct module *mod, 49876@@ -1093,13 +1093,18 @@ ftrace_code_disable(struct module *mod,
49317 49877
49318 ip = rec->ip; 49878 ip = rec->ip;
@@ -49334,9 +49894,9 @@ diff -urNp linux-2.6.32.11/kernel/trace/ftrace.c linux-2.6.32.11/kernel/trace/ft
49334 } 49894 }
49335 49895
49336 /* 49896 /*
49337diff -urNp linux-2.6.32.11/kernel/trace/Kconfig linux-2.6.32.11/kernel/trace/Kconfig 49897diff -urNp linux-2.6.32.12/kernel/trace/Kconfig linux-2.6.32.12/kernel/trace/Kconfig
49338--- linux-2.6.32.11/kernel/trace/Kconfig 2010-03-15 11:52:04.000000000 -0400 49898--- linux-2.6.32.12/kernel/trace/Kconfig 2010-03-15 11:52:04.000000000 -0400
49339+++ linux-2.6.32.11/kernel/trace/Kconfig 2010-04-04 20:46:41.701624986 -0400 49899+++ linux-2.6.32.12/kernel/trace/Kconfig 2010-04-04 20:46:41.701624986 -0400
49340@@ -126,6 +126,7 @@ if FTRACE 49900@@ -126,6 +126,7 @@ if FTRACE
49341 config FUNCTION_TRACER 49901 config FUNCTION_TRACER
49342 bool "Kernel Function Tracer" 49902 bool "Kernel Function Tracer"
@@ -49353,9 +49913,21 @@ diff -urNp linux-2.6.32.11/kernel/trace/Kconfig linux-2.6.32.11/kernel/trace/Kco
49353 select FUNCTION_TRACER 49913 select FUNCTION_TRACER
49354 select STACKTRACE 49914 select STACKTRACE
49355 select KALLSYMS 49915 select KALLSYMS
49356diff -urNp linux-2.6.32.11/kernel/trace/trace.c linux-2.6.32.11/kernel/trace/trace.c 49916diff -urNp linux-2.6.32.12/kernel/trace/ring_buffer.c linux-2.6.32.12/kernel/trace/ring_buffer.c
49357--- linux-2.6.32.11/kernel/trace/trace.c 2010-04-04 20:41:50.072525146 -0400 49917--- linux-2.6.32.12/kernel/trace/ring_buffer.c 2010-04-04 20:41:50.072525146 -0400
49358+++ linux-2.6.32.11/kernel/trace/trace.c 2010-04-04 20:46:41.705142860 -0400 49918+++ linux-2.6.32.12/kernel/trace/ring_buffer.c 2010-04-29 17:46:37.362529614 -0400
49919@@ -606,7 +606,7 @@ static struct list_head *rb_list_head(st
49920 * the reader page). But if the next page is a header page,
49921 * its flags will be non zero.
49922 */
49923-static int inline
49924+static inline int
49925 rb_is_head_page(struct ring_buffer_per_cpu *cpu_buffer,
49926 struct buffer_page *page, struct list_head *list)
49927 {
49928diff -urNp linux-2.6.32.12/kernel/trace/trace.c linux-2.6.32.12/kernel/trace/trace.c
49929--- linux-2.6.32.12/kernel/trace/trace.c 2010-04-04 20:41:50.072525146 -0400
49930+++ linux-2.6.32.12/kernel/trace/trace.c 2010-04-04 20:46:41.705142860 -0400
49359@@ -3808,10 +3808,9 @@ static const struct file_operations trac 49931@@ -3808,10 +3808,9 @@ static const struct file_operations trac
49360 }; 49932 };
49361 #endif 49933 #endif
@@ -49380,9 +49952,9 @@ diff -urNp linux-2.6.32.11/kernel/trace/trace.c linux-2.6.32.11/kernel/trace/tra
49380 static int once; 49952 static int once;
49381 struct dentry *d_tracer; 49953 struct dentry *d_tracer;
49382 49954
49383diff -urNp linux-2.6.32.11/kernel/trace/trace_events.c linux-2.6.32.11/kernel/trace/trace_events.c 49955diff -urNp linux-2.6.32.12/kernel/trace/trace_events.c linux-2.6.32.12/kernel/trace/trace_events.c
49384--- linux-2.6.32.11/kernel/trace/trace_events.c 2010-03-15 11:52:04.000000000 -0400 49956--- linux-2.6.32.12/kernel/trace/trace_events.c 2010-03-15 11:52:04.000000000 -0400
49385+++ linux-2.6.32.11/kernel/trace/trace_events.c 2010-04-04 20:46:41.705142860 -0400 49957+++ linux-2.6.32.12/kernel/trace/trace_events.c 2010-04-04 20:46:41.705142860 -0400
49386@@ -951,6 +951,8 @@ static LIST_HEAD(ftrace_module_file_list 49958@@ -951,6 +951,8 @@ static LIST_HEAD(ftrace_module_file_list
49387 * Modules must own their file_operations to keep up with 49959 * Modules must own their file_operations to keep up with
49388 * reference counting. 49960 * reference counting.
@@ -49392,9 +49964,9 @@ diff -urNp linux-2.6.32.11/kernel/trace/trace_events.c linux-2.6.32.11/kernel/tr
49392 struct ftrace_module_file_ops { 49964 struct ftrace_module_file_ops {
49393 struct list_head list; 49965 struct list_head list;
49394 struct module *mod; 49966 struct module *mod;
49395diff -urNp linux-2.6.32.11/kernel/trace/trace_output.c linux-2.6.32.11/kernel/trace/trace_output.c 49967diff -urNp linux-2.6.32.12/kernel/trace/trace_output.c linux-2.6.32.12/kernel/trace/trace_output.c
49396--- linux-2.6.32.11/kernel/trace/trace_output.c 2010-03-15 11:52:04.000000000 -0400 49968--- linux-2.6.32.12/kernel/trace/trace_output.c 2010-03-15 11:52:04.000000000 -0400
49397+++ linux-2.6.32.11/kernel/trace/trace_output.c 2010-04-04 20:46:41.705142860 -0400 49969+++ linux-2.6.32.12/kernel/trace/trace_output.c 2010-04-04 20:46:41.705142860 -0400
49398@@ -237,7 +237,7 @@ int trace_seq_path(struct trace_seq *s, 49970@@ -237,7 +237,7 @@ int trace_seq_path(struct trace_seq *s,
49399 return 0; 49971 return 0;
49400 p = d_path(path, s->buffer + s->len, PAGE_SIZE - s->len); 49972 p = d_path(path, s->buffer + s->len, PAGE_SIZE - s->len);
@@ -49404,9 +49976,9 @@ diff -urNp linux-2.6.32.11/kernel/trace/trace_output.c linux-2.6.32.11/kernel/tr
49404 if (p) { 49976 if (p) {
49405 s->len = p - s->buffer; 49977 s->len = p - s->buffer;
49406 return 1; 49978 return 1;
49407diff -urNp linux-2.6.32.11/kernel/trace/trace_stack.c linux-2.6.32.11/kernel/trace/trace_stack.c 49979diff -urNp linux-2.6.32.12/kernel/trace/trace_stack.c linux-2.6.32.12/kernel/trace/trace_stack.c
49408--- linux-2.6.32.11/kernel/trace/trace_stack.c 2010-03-15 11:52:04.000000000 -0400 49980--- linux-2.6.32.12/kernel/trace/trace_stack.c 2010-03-15 11:52:04.000000000 -0400
49409+++ linux-2.6.32.11/kernel/trace/trace_stack.c 2010-04-04 20:46:41.705142860 -0400 49981+++ linux-2.6.32.12/kernel/trace/trace_stack.c 2010-04-04 20:46:41.705142860 -0400
49410@@ -50,7 +50,7 @@ static inline void check_stack(void) 49982@@ -50,7 +50,7 @@ static inline void check_stack(void)
49411 return; 49983 return;
49412 49984
@@ -49416,9 +49988,9 @@ diff -urNp linux-2.6.32.11/kernel/trace/trace_stack.c linux-2.6.32.11/kernel/tra
49416 return; 49988 return;
49417 49989
49418 local_irq_save(flags); 49990 local_irq_save(flags);
49419diff -urNp linux-2.6.32.11/kernel/utsname_sysctl.c linux-2.6.32.11/kernel/utsname_sysctl.c 49991diff -urNp linux-2.6.32.12/kernel/utsname_sysctl.c linux-2.6.32.12/kernel/utsname_sysctl.c
49420--- linux-2.6.32.11/kernel/utsname_sysctl.c 2010-03-15 11:52:04.000000000 -0400 49992--- linux-2.6.32.12/kernel/utsname_sysctl.c 2010-03-15 11:52:04.000000000 -0400
49421+++ linux-2.6.32.11/kernel/utsname_sysctl.c 2010-04-04 20:46:41.705142860 -0400 49993+++ linux-2.6.32.12/kernel/utsname_sysctl.c 2010-04-04 20:46:41.705142860 -0400
49422@@ -123,7 +123,7 @@ static struct ctl_table uts_kern_table[] 49994@@ -123,7 +123,7 @@ static struct ctl_table uts_kern_table[]
49423 .proc_handler = proc_do_uts_string, 49995 .proc_handler = proc_do_uts_string,
49424 .strategy = sysctl_uts_string, 49996 .strategy = sysctl_uts_string,
@@ -49437,9 +50009,9 @@ diff -urNp linux-2.6.32.11/kernel/utsname_sysctl.c linux-2.6.32.11/kernel/utsnam
49437 }; 50009 };
49438 50010
49439 static int __init utsname_sysctl_init(void) 50011 static int __init utsname_sysctl_init(void)
49440diff -urNp linux-2.6.32.11/lib/bug.c linux-2.6.32.11/lib/bug.c 50012diff -urNp linux-2.6.32.12/lib/bug.c linux-2.6.32.12/lib/bug.c
49441--- linux-2.6.32.11/lib/bug.c 2010-03-15 11:52:04.000000000 -0400 50013--- linux-2.6.32.12/lib/bug.c 2010-03-15 11:52:04.000000000 -0400
49442+++ linux-2.6.32.11/lib/bug.c 2010-04-04 20:46:41.705142860 -0400 50014+++ linux-2.6.32.12/lib/bug.c 2010-04-04 20:46:41.705142860 -0400
49443@@ -135,6 +135,8 @@ enum bug_trap_type report_bug(unsigned l 50015@@ -135,6 +135,8 @@ enum bug_trap_type report_bug(unsigned l
49444 return BUG_TRAP_TYPE_NONE; 50016 return BUG_TRAP_TYPE_NONE;
49445 50017
@@ -49449,9 +50021,9 @@ diff -urNp linux-2.6.32.11/lib/bug.c linux-2.6.32.11/lib/bug.c
49449 50021
49450 printk(KERN_EMERG "------------[ cut here ]------------\n"); 50022 printk(KERN_EMERG "------------[ cut here ]------------\n");
49451 50023
49452diff -urNp linux-2.6.32.11/lib/debugobjects.c linux-2.6.32.11/lib/debugobjects.c 50024diff -urNp linux-2.6.32.12/lib/debugobjects.c linux-2.6.32.12/lib/debugobjects.c
49453--- linux-2.6.32.11/lib/debugobjects.c 2010-03-15 11:52:04.000000000 -0400 50025--- linux-2.6.32.12/lib/debugobjects.c 2010-03-15 11:52:04.000000000 -0400
49454+++ linux-2.6.32.11/lib/debugobjects.c 2010-04-04 20:46:41.705142860 -0400 50026+++ linux-2.6.32.12/lib/debugobjects.c 2010-04-04 20:46:41.705142860 -0400
49455@@ -277,7 +277,7 @@ static void debug_object_is_on_stack(voi 50027@@ -277,7 +277,7 @@ static void debug_object_is_on_stack(voi
49456 if (limit > 4) 50028 if (limit > 4)
49457 return; 50029 return;
@@ -49461,9 +50033,9 @@ diff -urNp linux-2.6.32.11/lib/debugobjects.c linux-2.6.32.11/lib/debugobjects.c
49461 if (is_on_stack == onstack) 50033 if (is_on_stack == onstack)
49462 return; 50034 return;
49463 50035
49464diff -urNp linux-2.6.32.11/lib/dma-debug.c linux-2.6.32.11/lib/dma-debug.c 50036diff -urNp linux-2.6.32.12/lib/dma-debug.c linux-2.6.32.12/lib/dma-debug.c
49465--- linux-2.6.32.11/lib/dma-debug.c 2010-03-15 11:52:04.000000000 -0400 50037--- linux-2.6.32.12/lib/dma-debug.c 2010-03-15 11:52:04.000000000 -0400
49466+++ linux-2.6.32.11/lib/dma-debug.c 2010-04-04 20:46:41.705142860 -0400 50038+++ linux-2.6.32.12/lib/dma-debug.c 2010-04-04 20:46:41.705142860 -0400
49467@@ -861,7 +861,7 @@ out: 50039@@ -861,7 +861,7 @@ out:
49468 50040
49469 static void check_for_stack(struct device *dev, void *addr) 50041 static void check_for_stack(struct device *dev, void *addr)
@@ -49473,9 +50045,9 @@ diff -urNp linux-2.6.32.11/lib/dma-debug.c linux-2.6.32.11/lib/dma-debug.c
49473 err_printk(dev, NULL, "DMA-API: device driver maps memory from" 50045 err_printk(dev, NULL, "DMA-API: device driver maps memory from"
49474 "stack [addr=%p]\n", addr); 50046 "stack [addr=%p]\n", addr);
49475 } 50047 }
49476diff -urNp linux-2.6.32.11/lib/idr.c linux-2.6.32.11/lib/idr.c 50048diff -urNp linux-2.6.32.12/lib/idr.c linux-2.6.32.12/lib/idr.c
49477--- linux-2.6.32.11/lib/idr.c 2010-03-15 11:52:04.000000000 -0400 50049--- linux-2.6.32.12/lib/idr.c 2010-03-15 11:52:04.000000000 -0400
49478+++ linux-2.6.32.11/lib/idr.c 2010-04-04 20:46:41.705142860 -0400 50050+++ linux-2.6.32.12/lib/idr.c 2010-04-04 20:46:41.705142860 -0400
49479@@ -156,7 +156,7 @@ static int sub_alloc(struct idr *idp, in 50051@@ -156,7 +156,7 @@ static int sub_alloc(struct idr *idp, in
49480 id = (id | ((1 << (IDR_BITS * l)) - 1)) + 1; 50052 id = (id | ((1 << (IDR_BITS * l)) - 1)) + 1;
49481 50053
@@ -49485,9 +50057,9 @@ diff -urNp linux-2.6.32.11/lib/idr.c linux-2.6.32.11/lib/idr.c
49485 *starting_id = id; 50057 *starting_id = id;
49486 return IDR_NEED_TO_GROW; 50058 return IDR_NEED_TO_GROW;
49487 } 50059 }
49488diff -urNp linux-2.6.32.11/lib/inflate.c linux-2.6.32.11/lib/inflate.c 50060diff -urNp linux-2.6.32.12/lib/inflate.c linux-2.6.32.12/lib/inflate.c
49489--- linux-2.6.32.11/lib/inflate.c 2010-03-15 11:52:04.000000000 -0400 50061--- linux-2.6.32.12/lib/inflate.c 2010-03-15 11:52:04.000000000 -0400
49490+++ linux-2.6.32.11/lib/inflate.c 2010-04-04 20:46:41.705142860 -0400 50062+++ linux-2.6.32.12/lib/inflate.c 2010-04-04 20:46:41.705142860 -0400
49491@@ -266,7 +266,7 @@ static void free(void *where) 50063@@ -266,7 +266,7 @@ static void free(void *where)
49492 malloc_ptr = free_mem_ptr; 50064 malloc_ptr = free_mem_ptr;
49493 } 50065 }
@@ -49497,9 +50069,9 @@ diff -urNp linux-2.6.32.11/lib/inflate.c linux-2.6.32.11/lib/inflate.c
49497 #define free(a) kfree(a) 50069 #define free(a) kfree(a)
49498 #endif 50070 #endif
49499 50071
49500diff -urNp linux-2.6.32.11/lib/Kconfig.debug linux-2.6.32.11/lib/Kconfig.debug 50072diff -urNp linux-2.6.32.12/lib/Kconfig.debug linux-2.6.32.12/lib/Kconfig.debug
49501--- linux-2.6.32.11/lib/Kconfig.debug 2010-03-15 11:52:04.000000000 -0400 50073--- linux-2.6.32.12/lib/Kconfig.debug 2010-03-15 11:52:04.000000000 -0400
49502+++ linux-2.6.32.11/lib/Kconfig.debug 2010-04-04 20:46:41.705142860 -0400 50074+++ linux-2.6.32.12/lib/Kconfig.debug 2010-04-04 20:46:41.705142860 -0400
49503@@ -905,7 +905,7 @@ config LATENCYTOP 50075@@ -905,7 +905,7 @@ config LATENCYTOP
49504 select STACKTRACE 50076 select STACKTRACE
49505 select SCHEDSTATS 50077 select SCHEDSTATS
@@ -49509,9 +50081,9 @@ diff -urNp linux-2.6.32.11/lib/Kconfig.debug linux-2.6.32.11/lib/Kconfig.debug
49509 help 50081 help
49510 Enable this option if you want to use the LatencyTOP tool 50082 Enable this option if you want to use the LatencyTOP tool
49511 to find out which userspace is blocking on what kernel operations. 50083 to find out which userspace is blocking on what kernel operations.
49512diff -urNp linux-2.6.32.11/lib/kobject.c linux-2.6.32.11/lib/kobject.c 50084diff -urNp linux-2.6.32.12/lib/kobject.c linux-2.6.32.12/lib/kobject.c
49513--- linux-2.6.32.11/lib/kobject.c 2010-03-15 11:52:04.000000000 -0400 50085--- linux-2.6.32.12/lib/kobject.c 2010-03-15 11:52:04.000000000 -0400
49514+++ linux-2.6.32.11/lib/kobject.c 2010-04-04 20:46:41.705142860 -0400 50086+++ linux-2.6.32.12/lib/kobject.c 2010-04-04 20:46:41.705142860 -0400
49515@@ -700,7 +700,7 @@ static ssize_t kobj_attr_store(struct ko 50087@@ -700,7 +700,7 @@ static ssize_t kobj_attr_store(struct ko
49516 return ret; 50088 return ret;
49517 } 50089 }
@@ -49539,9 +50111,9 @@ diff -urNp linux-2.6.32.11/lib/kobject.c linux-2.6.32.11/lib/kobject.c
49539 struct kobject *parent_kobj) 50111 struct kobject *parent_kobj)
49540 { 50112 {
49541 struct kset *kset; 50113 struct kset *kset;
49542diff -urNp linux-2.6.32.11/lib/kobject_uevent.c linux-2.6.32.11/lib/kobject_uevent.c 50114diff -urNp linux-2.6.32.12/lib/kobject_uevent.c linux-2.6.32.12/lib/kobject_uevent.c
49543--- linux-2.6.32.11/lib/kobject_uevent.c 2010-03-15 11:52:04.000000000 -0400 50115--- linux-2.6.32.12/lib/kobject_uevent.c 2010-03-15 11:52:04.000000000 -0400
49544+++ linux-2.6.32.11/lib/kobject_uevent.c 2010-04-04 20:46:41.705142860 -0400 50116+++ linux-2.6.32.12/lib/kobject_uevent.c 2010-04-04 20:46:41.705142860 -0400
49545@@ -95,7 +95,7 @@ int kobject_uevent_env(struct kobject *k 50117@@ -95,7 +95,7 @@ int kobject_uevent_env(struct kobject *k
49546 const char *subsystem; 50118 const char *subsystem;
49547 struct kobject *top_kobj; 50119 struct kobject *top_kobj;
@@ -49551,9 +50123,9 @@ diff -urNp linux-2.6.32.11/lib/kobject_uevent.c linux-2.6.32.11/lib/kobject_ueve
49551 u64 seq; 50123 u64 seq;
49552 int i = 0; 50124 int i = 0;
49553 int retval = 0; 50125 int retval = 0;
49554diff -urNp linux-2.6.32.11/lib/parser.c linux-2.6.32.11/lib/parser.c 50126diff -urNp linux-2.6.32.12/lib/parser.c linux-2.6.32.12/lib/parser.c
49555--- linux-2.6.32.11/lib/parser.c 2010-03-15 11:52:04.000000000 -0400 50127--- linux-2.6.32.12/lib/parser.c 2010-03-15 11:52:04.000000000 -0400
49556+++ linux-2.6.32.11/lib/parser.c 2010-04-04 20:46:41.705142860 -0400 50128+++ linux-2.6.32.12/lib/parser.c 2010-04-04 20:46:41.705142860 -0400
49557@@ -126,7 +126,7 @@ static int match_number(substring_t *s, 50129@@ -126,7 +126,7 @@ static int match_number(substring_t *s,
49558 char *buf; 50130 char *buf;
49559 int ret; 50131 int ret;
@@ -49563,9 +50135,9 @@ diff -urNp linux-2.6.32.11/lib/parser.c linux-2.6.32.11/lib/parser.c
49563 if (!buf) 50135 if (!buf)
49564 return -ENOMEM; 50136 return -ENOMEM;
49565 memcpy(buf, s->from, s->to - s->from); 50137 memcpy(buf, s->from, s->to - s->from);
49566diff -urNp linux-2.6.32.11/lib/radix-tree.c linux-2.6.32.11/lib/radix-tree.c 50138diff -urNp linux-2.6.32.12/lib/radix-tree.c linux-2.6.32.12/lib/radix-tree.c
49567--- linux-2.6.32.11/lib/radix-tree.c 2010-03-15 11:52:04.000000000 -0400 50139--- linux-2.6.32.12/lib/radix-tree.c 2010-03-15 11:52:04.000000000 -0400
49568+++ linux-2.6.32.11/lib/radix-tree.c 2010-04-04 20:46:41.705142860 -0400 50140+++ linux-2.6.32.12/lib/radix-tree.c 2010-04-04 20:46:41.705142860 -0400
49569@@ -81,7 +81,7 @@ struct radix_tree_preload { 50141@@ -81,7 +81,7 @@ struct radix_tree_preload {
49570 int nr; 50142 int nr;
49571 struct radix_tree_node *nodes[RADIX_TREE_MAX_PATH]; 50143 struct radix_tree_node *nodes[RADIX_TREE_MAX_PATH];
@@ -49575,9 +50147,9 @@ diff -urNp linux-2.6.32.11/lib/radix-tree.c linux-2.6.32.11/lib/radix-tree.c
49575 50147
49576 static inline gfp_t root_gfp_mask(struct radix_tree_root *root) 50148 static inline gfp_t root_gfp_mask(struct radix_tree_root *root)
49577 { 50149 {
49578diff -urNp linux-2.6.32.11/lib/random32.c linux-2.6.32.11/lib/random32.c 50150diff -urNp linux-2.6.32.12/lib/random32.c linux-2.6.32.12/lib/random32.c
49579--- linux-2.6.32.11/lib/random32.c 2010-03-15 11:52:04.000000000 -0400 50151--- linux-2.6.32.12/lib/random32.c 2010-03-15 11:52:04.000000000 -0400
49580+++ linux-2.6.32.11/lib/random32.c 2010-04-04 20:46:41.705142860 -0400 50152+++ linux-2.6.32.12/lib/random32.c 2010-04-04 20:46:41.705142860 -0400
49581@@ -61,7 +61,7 @@ static u32 __random32(struct rnd_state * 50153@@ -61,7 +61,7 @@ static u32 __random32(struct rnd_state *
49582 */ 50154 */
49583 static inline u32 __seed(u32 x, u32 m) 50155 static inline u32 __seed(u32 x, u32 m)
@@ -49587,14 +50159,14 @@ diff -urNp linux-2.6.32.11/lib/random32.c linux-2.6.32.11/lib/random32.c
49587 } 50159 }
49588 50160
49589 /** 50161 /**
49590diff -urNp linux-2.6.32.11/localversion-grsec linux-2.6.32.11/localversion-grsec 50162diff -urNp linux-2.6.32.12/localversion-grsec linux-2.6.32.12/localversion-grsec
49591--- linux-2.6.32.11/localversion-grsec 1969-12-31 19:00:00.000000000 -0500 50163--- linux-2.6.32.12/localversion-grsec 1969-12-31 19:00:00.000000000 -0500
49592+++ linux-2.6.32.11/localversion-grsec 2010-04-04 20:46:41.705142860 -0400 50164+++ linux-2.6.32.12/localversion-grsec 2010-04-04 20:46:41.705142860 -0400
49593@@ -0,0 +1 @@ 50165@@ -0,0 +1 @@
49594+-grsec 50166+-grsec
49595diff -urNp linux-2.6.32.11/Makefile linux-2.6.32.11/Makefile 50167diff -urNp linux-2.6.32.12/Makefile linux-2.6.32.12/Makefile
49596--- linux-2.6.32.11/Makefile 2010-04-04 20:41:49.914404054 -0400 50168--- linux-2.6.32.12/Makefile 2010-04-29 17:49:37.365428457 -0400
49597+++ linux-2.6.32.11/Makefile 2010-04-04 20:46:41.705142860 -0400 50169+++ linux-2.6.32.12/Makefile 2010-04-29 17:49:57.861101311 -0400
49598@@ -221,8 +221,8 @@ CONFIG_SHELL := $(shell if [ -x "$$BASH" 50170@@ -221,8 +221,8 @@ CONFIG_SHELL := $(shell if [ -x "$$BASH"
49599 50171
49600 HOSTCC = gcc 50172 HOSTCC = gcc
@@ -49615,9 +50187,9 @@ diff -urNp linux-2.6.32.11/Makefile linux-2.6.32.11/Makefile
49615 50187
49616 vmlinux-dirs := $(patsubst %/,%,$(filter %/, $(init-y) $(init-m) \ 50188 vmlinux-dirs := $(patsubst %/,%,$(filter %/, $(init-y) $(init-m) \
49617 $(core-y) $(core-m) $(drivers-y) $(drivers-m) \ 50189 $(core-y) $(core-m) $(drivers-y) $(drivers-m) \
49618diff -urNp linux-2.6.32.11/mm/filemap.c linux-2.6.32.11/mm/filemap.c 50190diff -urNp linux-2.6.32.12/mm/filemap.c linux-2.6.32.12/mm/filemap.c
49619--- linux-2.6.32.11/mm/filemap.c 2010-03-15 11:52:04.000000000 -0400 50191--- linux-2.6.32.12/mm/filemap.c 2010-03-15 11:52:04.000000000 -0400
49620+++ linux-2.6.32.11/mm/filemap.c 2010-04-04 20:46:41.708732353 -0400 50192+++ linux-2.6.32.12/mm/filemap.c 2010-04-04 20:46:41.708732353 -0400
49621@@ -1622,7 +1622,7 @@ int generic_file_mmap(struct file * file 50193@@ -1622,7 +1622,7 @@ int generic_file_mmap(struct file * file
49622 struct address_space *mapping = file->f_mapping; 50194 struct address_space *mapping = file->f_mapping;
49623 50195
@@ -49635,9 +50207,9 @@ diff -urNp linux-2.6.32.11/mm/filemap.c linux-2.6.32.11/mm/filemap.c
49635 if (*pos >= limit) { 50207 if (*pos >= limit) {
49636 send_sig(SIGXFSZ, current, 0); 50208 send_sig(SIGXFSZ, current, 0);
49637 return -EFBIG; 50209 return -EFBIG;
49638diff -urNp linux-2.6.32.11/mm/fremap.c linux-2.6.32.11/mm/fremap.c 50210diff -urNp linux-2.6.32.12/mm/fremap.c linux-2.6.32.12/mm/fremap.c
49639--- linux-2.6.32.11/mm/fremap.c 2010-03-15 11:52:04.000000000 -0400 50211--- linux-2.6.32.12/mm/fremap.c 2010-03-15 11:52:04.000000000 -0400
49640+++ linux-2.6.32.11/mm/fremap.c 2010-04-04 20:46:41.708732353 -0400 50212+++ linux-2.6.32.12/mm/fremap.c 2010-04-04 20:46:41.708732353 -0400
49641@@ -153,6 +153,11 @@ SYSCALL_DEFINE5(remap_file_pages, unsign 50213@@ -153,6 +153,11 @@ SYSCALL_DEFINE5(remap_file_pages, unsign
49642 retry: 50214 retry:
49643 vma = find_vma(mm, start); 50215 vma = find_vma(mm, start);
@@ -49650,9 +50222,9 @@ diff -urNp linux-2.6.32.11/mm/fremap.c linux-2.6.32.11/mm/fremap.c
49650 /* 50222 /*
49651 * Make sure the vma is shared, that it supports prefaulting, 50223 * Make sure the vma is shared, that it supports prefaulting,
49652 * and that the remapped range is valid and fully within 50224 * and that the remapped range is valid and fully within
49653diff -urNp linux-2.6.32.11/mm/highmem.c linux-2.6.32.11/mm/highmem.c 50225diff -urNp linux-2.6.32.12/mm/highmem.c linux-2.6.32.12/mm/highmem.c
49654--- linux-2.6.32.11/mm/highmem.c 2010-03-15 11:52:04.000000000 -0400 50226--- linux-2.6.32.12/mm/highmem.c 2010-03-15 11:52:04.000000000 -0400
49655+++ linux-2.6.32.11/mm/highmem.c 2010-04-04 20:46:41.708732353 -0400 50227+++ linux-2.6.32.12/mm/highmem.c 2010-04-04 20:46:41.708732353 -0400
49656@@ -116,9 +116,10 @@ static void flush_all_zero_pkmaps(void) 50228@@ -116,9 +116,10 @@ static void flush_all_zero_pkmaps(void)
49657 * So no dangers, even with speculative execution. 50229 * So no dangers, even with speculative execution.
49658 */ 50230 */
@@ -49678,9 +50250,9 @@ diff -urNp linux-2.6.32.11/mm/highmem.c linux-2.6.32.11/mm/highmem.c
49678 pkmap_count[last_pkmap_nr] = 1; 50250 pkmap_count[last_pkmap_nr] = 1;
49679 set_page_address(page, (void *)vaddr); 50251 set_page_address(page, (void *)vaddr);
49680 50252
49681diff -urNp linux-2.6.32.11/mm/hugetlb.c linux-2.6.32.11/mm/hugetlb.c 50253diff -urNp linux-2.6.32.12/mm/hugetlb.c linux-2.6.32.12/mm/hugetlb.c
49682--- linux-2.6.32.11/mm/hugetlb.c 2010-03-15 11:52:04.000000000 -0400 50254--- linux-2.6.32.12/mm/hugetlb.c 2010-03-15 11:52:04.000000000 -0400
49683+++ linux-2.6.32.11/mm/hugetlb.c 2010-04-04 20:46:41.708732353 -0400 50255+++ linux-2.6.32.12/mm/hugetlb.c 2010-04-04 20:46:41.708732353 -0400
49684@@ -1924,6 +1924,26 @@ static int unmap_ref_private(struct mm_s 50256@@ -1924,6 +1924,26 @@ static int unmap_ref_private(struct mm_s
49685 return 1; 50257 return 1;
49686 } 50258 }
@@ -49760,9 +50332,9 @@ diff -urNp linux-2.6.32.11/mm/hugetlb.c linux-2.6.32.11/mm/hugetlb.c
49760 ptep = huge_pte_alloc(mm, address, huge_page_size(h)); 50332 ptep = huge_pte_alloc(mm, address, huge_page_size(h));
49761 if (!ptep) 50333 if (!ptep)
49762 return VM_FAULT_OOM; 50334 return VM_FAULT_OOM;
49763diff -urNp linux-2.6.32.11/mm/Kconfig linux-2.6.32.11/mm/Kconfig 50335diff -urNp linux-2.6.32.12/mm/Kconfig linux-2.6.32.12/mm/Kconfig
49764--- linux-2.6.32.11/mm/Kconfig 2010-03-15 11:52:04.000000000 -0400 50336--- linux-2.6.32.12/mm/Kconfig 2010-03-15 11:52:04.000000000 -0400
49765+++ linux-2.6.32.11/mm/Kconfig 2010-04-04 20:46:41.708732353 -0400 50337+++ linux-2.6.32.12/mm/Kconfig 2010-04-04 20:46:41.708732353 -0400
49766@@ -228,7 +228,7 @@ config KSM 50338@@ -228,7 +228,7 @@ config KSM
49767 config DEFAULT_MMAP_MIN_ADDR 50339 config DEFAULT_MMAP_MIN_ADDR
49768 int "Low address space to protect from user allocation" 50340 int "Low address space to protect from user allocation"
@@ -49772,9 +50344,9 @@ diff -urNp linux-2.6.32.11/mm/Kconfig linux-2.6.32.11/mm/Kconfig
49772 help 50344 help
49773 This is the portion of low virtual memory which should be protected 50345 This is the portion of low virtual memory which should be protected
49774 from userspace allocation. Keeping a user from writing to low pages 50346 from userspace allocation. Keeping a user from writing to low pages
49775diff -urNp linux-2.6.32.11/mm/maccess.c linux-2.6.32.11/mm/maccess.c 50347diff -urNp linux-2.6.32.12/mm/maccess.c linux-2.6.32.12/mm/maccess.c
49776--- linux-2.6.32.11/mm/maccess.c 2010-03-15 11:52:04.000000000 -0400 50348--- linux-2.6.32.12/mm/maccess.c 2010-03-15 11:52:04.000000000 -0400
49777+++ linux-2.6.32.11/mm/maccess.c 2010-04-04 20:46:41.708732353 -0400 50349+++ linux-2.6.32.12/mm/maccess.c 2010-04-04 20:46:41.708732353 -0400
49778@@ -14,7 +14,7 @@ 50350@@ -14,7 +14,7 @@
49779 * Safely read from address @src to the buffer at @dst. If a kernel fault 50351 * Safely read from address @src to the buffer at @dst. If a kernel fault
49780 * happens, handle that and return -EFAULT. 50352 * happens, handle that and return -EFAULT.
@@ -49793,9 +50365,9 @@ diff -urNp linux-2.6.32.11/mm/maccess.c linux-2.6.32.11/mm/maccess.c
49793 { 50365 {
49794 long ret; 50366 long ret;
49795 mm_segment_t old_fs = get_fs(); 50367 mm_segment_t old_fs = get_fs();
49796diff -urNp linux-2.6.32.11/mm/madvise.c linux-2.6.32.11/mm/madvise.c 50368diff -urNp linux-2.6.32.12/mm/madvise.c linux-2.6.32.12/mm/madvise.c
49797--- linux-2.6.32.11/mm/madvise.c 2010-03-15 11:52:04.000000000 -0400 50369--- linux-2.6.32.12/mm/madvise.c 2010-03-15 11:52:04.000000000 -0400
49798+++ linux-2.6.32.11/mm/madvise.c 2010-04-04 20:46:41.708732353 -0400 50370+++ linux-2.6.32.12/mm/madvise.c 2010-04-04 20:46:41.708732353 -0400
49799@@ -44,6 +44,10 @@ static long madvise_behavior(struct vm_a 50371@@ -44,6 +44,10 @@ static long madvise_behavior(struct vm_a
49800 pgoff_t pgoff; 50372 pgoff_t pgoff;
49801 unsigned long new_flags = vma->vm_flags; 50373 unsigned long new_flags = vma->vm_flags;
@@ -49872,9 +50444,9 @@ diff -urNp linux-2.6.32.11/mm/madvise.c linux-2.6.32.11/mm/madvise.c
49872 error = 0; 50444 error = 0;
49873 if (end == start) 50445 if (end == start)
49874 goto out; 50446 goto out;
49875diff -urNp linux-2.6.32.11/mm/memory.c linux-2.6.32.11/mm/memory.c 50447diff -urNp linux-2.6.32.12/mm/memory.c linux-2.6.32.12/mm/memory.c
49876--- linux-2.6.32.11/mm/memory.c 2010-03-15 11:52:04.000000000 -0400 50448--- linux-2.6.32.12/mm/memory.c 2010-03-15 11:52:04.000000000 -0400
49877+++ linux-2.6.32.11/mm/memory.c 2010-04-04 20:46:41.708732353 -0400 50449+++ linux-2.6.32.12/mm/memory.c 2010-04-04 20:46:41.708732353 -0400
49878@@ -48,6 +48,7 @@ 50450@@ -48,6 +48,7 @@
49879 #include <linux/ksm.h> 50451 #include <linux/ksm.h>
49880 #include <linux/rmap.h> 50452 #include <linux/rmap.h>
@@ -50279,9 +50851,9 @@ diff -urNp linux-2.6.32.11/mm/memory.c linux-2.6.32.11/mm/memory.c
50279 /* 50851 /*
50280 * Make sure the vDSO gets into every core dump. 50852 * Make sure the vDSO gets into every core dump.
50281 * Dumping its contents makes post-mortem fully interpretable later 50853 * Dumping its contents makes post-mortem fully interpretable later
50282diff -urNp linux-2.6.32.11/mm/memory-failure.c linux-2.6.32.11/mm/memory-failure.c 50854diff -urNp linux-2.6.32.12/mm/memory-failure.c linux-2.6.32.12/mm/memory-failure.c
50283--- linux-2.6.32.11/mm/memory-failure.c 2010-03-15 11:52:04.000000000 -0400 50855--- linux-2.6.32.12/mm/memory-failure.c 2010-03-15 11:52:04.000000000 -0400
50284+++ linux-2.6.32.11/mm/memory-failure.c 2010-04-04 20:46:41.708732353 -0400 50856+++ linux-2.6.32.12/mm/memory-failure.c 2010-04-04 20:46:41.708732353 -0400
50285@@ -46,7 +46,7 @@ int sysctl_memory_failure_early_kill __r 50857@@ -46,7 +46,7 @@ int sysctl_memory_failure_early_kill __r
50286 50858
50287 int sysctl_memory_failure_recovery __read_mostly = 1; 50859 int sysctl_memory_failure_recovery __read_mostly = 1;
@@ -50300,9 +50872,9 @@ diff -urNp linux-2.6.32.11/mm/memory-failure.c linux-2.6.32.11/mm/memory-failure
50300 50872
50301 /* 50873 /*
50302 * We need/can do nothing about count=0 pages. 50874 * We need/can do nothing about count=0 pages.
50303diff -urNp linux-2.6.32.11/mm/mempolicy.c linux-2.6.32.11/mm/mempolicy.c 50875diff -urNp linux-2.6.32.12/mm/mempolicy.c linux-2.6.32.12/mm/mempolicy.c
50304--- linux-2.6.32.11/mm/mempolicy.c 2010-04-04 20:41:50.072525146 -0400 50876--- linux-2.6.32.12/mm/mempolicy.c 2010-04-04 20:41:50.072525146 -0400
50305+++ linux-2.6.32.11/mm/mempolicy.c 2010-04-04 20:46:41.708732353 -0400 50877+++ linux-2.6.32.12/mm/mempolicy.c 2010-04-04 20:46:41.708732353 -0400
50306@@ -573,6 +573,10 @@ static int mbind_range(struct vm_area_st 50878@@ -573,6 +573,10 @@ static int mbind_range(struct vm_area_st
50307 struct vm_area_struct *next; 50879 struct vm_area_struct *next;
50308 int err; 50880 int err;
@@ -50383,9 +50955,9 @@ diff -urNp linux-2.6.32.11/mm/mempolicy.c linux-2.6.32.11/mm/mempolicy.c
50383 } else if (vma->vm_start <= mm->brk && vma->vm_end >= mm->start_brk) { 50955 } else if (vma->vm_start <= mm->brk && vma->vm_end >= mm->start_brk) {
50384 seq_printf(m, " heap"); 50956 seq_printf(m, " heap");
50385 } else if (vma->vm_start <= mm->start_stack && 50957 } else if (vma->vm_start <= mm->start_stack &&
50386diff -urNp linux-2.6.32.11/mm/migrate.c linux-2.6.32.11/mm/migrate.c 50958diff -urNp linux-2.6.32.12/mm/migrate.c linux-2.6.32.12/mm/migrate.c
50387--- linux-2.6.32.11/mm/migrate.c 2010-03-15 11:52:04.000000000 -0400 50959--- linux-2.6.32.12/mm/migrate.c 2010-03-15 11:52:04.000000000 -0400
50388+++ linux-2.6.32.11/mm/migrate.c 2010-04-04 20:46:41.708732353 -0400 50960+++ linux-2.6.32.12/mm/migrate.c 2010-04-04 20:46:41.708732353 -0400
50389@@ -1106,6 +1106,14 @@ SYSCALL_DEFINE6(move_pages, pid_t, pid, 50961@@ -1106,6 +1106,14 @@ SYSCALL_DEFINE6(move_pages, pid_t, pid,
50390 if (!mm) 50962 if (!mm)
50391 return -EINVAL; 50963 return -EINVAL;
@@ -50411,9 +50983,9 @@ diff -urNp linux-2.6.32.11/mm/migrate.c linux-2.6.32.11/mm/migrate.c
50411 rcu_read_unlock(); 50983 rcu_read_unlock();
50412 err = -EPERM; 50984 err = -EPERM;
50413 goto out; 50985 goto out;
50414diff -urNp linux-2.6.32.11/mm/mlock.c linux-2.6.32.11/mm/mlock.c 50986diff -urNp linux-2.6.32.12/mm/mlock.c linux-2.6.32.12/mm/mlock.c
50415--- linux-2.6.32.11/mm/mlock.c 2010-03-15 11:52:04.000000000 -0400 50987--- linux-2.6.32.12/mm/mlock.c 2010-03-15 11:52:04.000000000 -0400
50416+++ linux-2.6.32.11/mm/mlock.c 2010-04-04 20:46:41.708732353 -0400 50988+++ linux-2.6.32.12/mm/mlock.c 2010-04-04 20:46:41.708732353 -0400
50417@@ -13,6 +13,7 @@ 50989@@ -13,6 +13,7 @@
50418 #include <linux/pagemap.h> 50990 #include <linux/pagemap.h>
50419 #include <linux/mempolicy.h> 50991 #include <linux/mempolicy.h>
@@ -50482,9 +51054,9 @@ diff -urNp linux-2.6.32.11/mm/mlock.c linux-2.6.32.11/mm/mlock.c
50482 if (!(flags & MCL_CURRENT) || (current->mm->total_vm <= lock_limit) || 51054 if (!(flags & MCL_CURRENT) || (current->mm->total_vm <= lock_limit) ||
50483 capable(CAP_IPC_LOCK)) 51055 capable(CAP_IPC_LOCK))
50484 ret = do_mlockall(flags); 51056 ret = do_mlockall(flags);
50485diff -urNp linux-2.6.32.11/mm/mmap.c linux-2.6.32.11/mm/mmap.c 51057diff -urNp linux-2.6.32.12/mm/mmap.c linux-2.6.32.12/mm/mmap.c
50486--- linux-2.6.32.11/mm/mmap.c 2010-03-15 11:52:04.000000000 -0400 51058--- linux-2.6.32.12/mm/mmap.c 2010-03-15 11:52:04.000000000 -0400
50487+++ linux-2.6.32.11/mm/mmap.c 2010-04-04 20:46:41.713805609 -0400 51059+++ linux-2.6.32.12/mm/mmap.c 2010-04-04 20:46:41.713805609 -0400
50488@@ -45,6 +45,16 @@ 51060@@ -45,6 +45,16 @@
50489 #define arch_rebalance_pgtables(addr, len) (addr) 51061 #define arch_rebalance_pgtables(addr, len) (addr)
50490 #endif 51062 #endif
@@ -51573,9 +52145,9 @@ diff -urNp linux-2.6.32.11/mm/mmap.c linux-2.6.32.11/mm/mmap.c
51573 vma->vm_flags = vm_flags | mm->def_flags | VM_DONTEXPAND; 52145 vma->vm_flags = vm_flags | mm->def_flags | VM_DONTEXPAND;
51574 vma->vm_page_prot = vm_get_page_prot(vma->vm_flags); 52146 vma->vm_page_prot = vm_get_page_prot(vma->vm_flags);
51575 52147
51576diff -urNp linux-2.6.32.11/mm/mprotect.c linux-2.6.32.11/mm/mprotect.c 52148diff -urNp linux-2.6.32.12/mm/mprotect.c linux-2.6.32.12/mm/mprotect.c
51577--- linux-2.6.32.11/mm/mprotect.c 2010-03-15 11:52:04.000000000 -0400 52149--- linux-2.6.32.12/mm/mprotect.c 2010-03-15 11:52:04.000000000 -0400
51578+++ linux-2.6.32.11/mm/mprotect.c 2010-04-04 20:46:41.713805609 -0400 52150+++ linux-2.6.32.12/mm/mprotect.c 2010-04-04 20:46:41.713805609 -0400
51579@@ -24,10 +24,16 @@ 52151@@ -24,10 +24,16 @@
51580 #include <linux/mmu_notifier.h> 52152 #include <linux/mmu_notifier.h>
51581 #include <linux/migrate.h> 52153 #include <linux/migrate.h>
@@ -51766,9 +52338,9 @@ diff -urNp linux-2.6.32.11/mm/mprotect.c linux-2.6.32.11/mm/mprotect.c
51766 nstart = tmp; 52338 nstart = tmp;
51767 52339
51768 if (nstart < prev->vm_end) 52340 if (nstart < prev->vm_end)
51769diff -urNp linux-2.6.32.11/mm/mremap.c linux-2.6.32.11/mm/mremap.c 52341diff -urNp linux-2.6.32.12/mm/mremap.c linux-2.6.32.12/mm/mremap.c
51770--- linux-2.6.32.11/mm/mremap.c 2010-03-15 11:52:04.000000000 -0400 52342--- linux-2.6.32.12/mm/mremap.c 2010-03-15 11:52:04.000000000 -0400
51771+++ linux-2.6.32.11/mm/mremap.c 2010-04-04 20:46:41.713805609 -0400 52343+++ linux-2.6.32.12/mm/mremap.c 2010-04-04 20:46:41.713805609 -0400
51772@@ -114,6 +114,12 @@ static void move_ptes(struct vm_area_str 52344@@ -114,6 +114,12 @@ static void move_ptes(struct vm_area_str
51773 continue; 52345 continue;
51774 pte = ptep_clear_flush(vma, old_addr, old_pte); 52346 pte = ptep_clear_flush(vma, old_addr, old_pte);
@@ -51869,9 +52441,9 @@ diff -urNp linux-2.6.32.11/mm/mremap.c linux-2.6.32.11/mm/mremap.c
51869 } 52441 }
51870 out: 52442 out:
51871 if (ret & ~PAGE_MASK) 52443 if (ret & ~PAGE_MASK)
51872diff -urNp linux-2.6.32.11/mm/nommu.c linux-2.6.32.11/mm/nommu.c 52444diff -urNp linux-2.6.32.12/mm/nommu.c linux-2.6.32.12/mm/nommu.c
51873--- linux-2.6.32.11/mm/nommu.c 2010-03-15 11:52:04.000000000 -0400 52445--- linux-2.6.32.12/mm/nommu.c 2010-03-15 11:52:04.000000000 -0400
51874+++ linux-2.6.32.11/mm/nommu.c 2010-04-04 20:46:41.713805609 -0400 52446+++ linux-2.6.32.12/mm/nommu.c 2010-04-04 20:46:41.713805609 -0400
51875@@ -758,15 +758,6 @@ struct vm_area_struct *find_vma(struct m 52447@@ -758,15 +758,6 @@ struct vm_area_struct *find_vma(struct m
51876 EXPORT_SYMBOL(find_vma); 52448 EXPORT_SYMBOL(find_vma);
51877 52449
@@ -51888,9 +52460,9 @@ diff -urNp linux-2.6.32.11/mm/nommu.c linux-2.6.32.11/mm/nommu.c
51888 * expand a stack to a given address 52460 * expand a stack to a given address
51889 * - not supported under NOMMU conditions 52461 * - not supported under NOMMU conditions
51890 */ 52462 */
51891diff -urNp linux-2.6.32.11/mm/page_alloc.c linux-2.6.32.11/mm/page_alloc.c 52463diff -urNp linux-2.6.32.12/mm/page_alloc.c linux-2.6.32.12/mm/page_alloc.c
51892--- linux-2.6.32.11/mm/page_alloc.c 2010-03-15 11:52:04.000000000 -0400 52464--- linux-2.6.32.12/mm/page_alloc.c 2010-03-15 11:52:04.000000000 -0400
51893+++ linux-2.6.32.11/mm/page_alloc.c 2010-04-04 20:46:41.713805609 -0400 52465+++ linux-2.6.32.12/mm/page_alloc.c 2010-04-29 17:46:37.045244082 -0400
51894@@ -586,6 +586,10 @@ static void __free_pages_ok(struct page 52466@@ -586,6 +586,10 @@ static void __free_pages_ok(struct page
51895 int bad = 0; 52467 int bad = 0;
51896 int wasMlocked = __TestClearPageMlocked(page); 52468 int wasMlocked = __TestClearPageMlocked(page);
@@ -51938,9 +52510,18 @@ diff -urNp linux-2.6.32.11/mm/page_alloc.c linux-2.6.32.11/mm/page_alloc.c
51938 arch_free_page(page, 0); 52510 arch_free_page(page, 0);
51939 kernel_map_pages(page, 1, 0); 52511 kernel_map_pages(page, 1, 0);
51940 52512
51941diff -urNp linux-2.6.32.11/mm/percpu.c linux-2.6.32.11/mm/percpu.c 52513@@ -3723,7 +3740,7 @@ static void __init setup_usemap(struct p
51942--- linux-2.6.32.11/mm/percpu.c 2010-03-15 11:52:04.000000000 -0400 52514 zone->pageblock_flags = alloc_bootmem_node(pgdat, usemapsize);
51943+++ linux-2.6.32.11/mm/percpu.c 2010-04-04 20:46:41.713805609 -0400 52515 }
52516 #else
52517-static void inline setup_usemap(struct pglist_data *pgdat,
52518+static inline void setup_usemap(struct pglist_data *pgdat,
52519 struct zone *zone, unsigned long zonesize) {}
52520 #endif /* CONFIG_SPARSEMEM */
52521
52522diff -urNp linux-2.6.32.12/mm/percpu.c linux-2.6.32.12/mm/percpu.c
52523--- linux-2.6.32.12/mm/percpu.c 2010-03-15 11:52:04.000000000 -0400
52524+++ linux-2.6.32.12/mm/percpu.c 2010-04-04 20:46:41.713805609 -0400
51944@@ -115,7 +115,7 @@ static unsigned int pcpu_first_unit_cpu 52525@@ -115,7 +115,7 @@ static unsigned int pcpu_first_unit_cpu
51945 static unsigned int pcpu_last_unit_cpu __read_mostly; 52526 static unsigned int pcpu_last_unit_cpu __read_mostly;
51946 52527
@@ -51950,9 +52531,9 @@ diff -urNp linux-2.6.32.11/mm/percpu.c linux-2.6.32.11/mm/percpu.c
51950 EXPORT_SYMBOL_GPL(pcpu_base_addr); 52531 EXPORT_SYMBOL_GPL(pcpu_base_addr);
51951 52532
51952 static const int *pcpu_unit_map __read_mostly; /* cpu -> unit */ 52533 static const int *pcpu_unit_map __read_mostly; /* cpu -> unit */
51953diff -urNp linux-2.6.32.11/mm/rmap.c linux-2.6.32.11/mm/rmap.c 52534diff -urNp linux-2.6.32.12/mm/rmap.c linux-2.6.32.12/mm/rmap.c
51954--- linux-2.6.32.11/mm/rmap.c 2010-03-15 11:52:04.000000000 -0400 52535--- linux-2.6.32.12/mm/rmap.c 2010-03-15 11:52:04.000000000 -0400
51955+++ linux-2.6.32.11/mm/rmap.c 2010-04-04 20:46:41.713805609 -0400 52536+++ linux-2.6.32.12/mm/rmap.c 2010-04-04 20:46:41.713805609 -0400
51956@@ -108,6 +108,10 @@ int anon_vma_prepare(struct vm_area_stru 52537@@ -108,6 +108,10 @@ int anon_vma_prepare(struct vm_area_stru
51957 struct mm_struct *mm = vma->vm_mm; 52538 struct mm_struct *mm = vma->vm_mm;
51958 struct anon_vma *allocated; 52539 struct anon_vma *allocated;
@@ -51980,9 +52561,9 @@ diff -urNp linux-2.6.32.11/mm/rmap.c linux-2.6.32.11/mm/rmap.c
51980 vma->anon_vma = anon_vma; 52561 vma->anon_vma = anon_vma;
51981 list_add_tail(&vma->anon_vma_node, &anon_vma->head); 52562 list_add_tail(&vma->anon_vma_node, &anon_vma->head);
51982 allocated = NULL; 52563 allocated = NULL;
51983diff -urNp linux-2.6.32.11/mm/shmem.c linux-2.6.32.11/mm/shmem.c 52564diff -urNp linux-2.6.32.12/mm/shmem.c linux-2.6.32.12/mm/shmem.c
51984--- linux-2.6.32.11/mm/shmem.c 2010-03-15 11:52:04.000000000 -0400 52565--- linux-2.6.32.12/mm/shmem.c 2010-03-15 11:52:04.000000000 -0400
51985+++ linux-2.6.32.11/mm/shmem.c 2010-04-04 20:46:41.716811517 -0400 52566+++ linux-2.6.32.12/mm/shmem.c 2010-04-04 20:46:41.716811517 -0400
51986@@ -31,7 +31,7 @@ 52567@@ -31,7 +31,7 @@
51987 #include <linux/swap.h> 52568 #include <linux/swap.h>
51988 #include <linux/ima.h> 52569 #include <linux/ima.h>
@@ -51992,9 +52573,9 @@ diff -urNp linux-2.6.32.11/mm/shmem.c linux-2.6.32.11/mm/shmem.c
51992 52573
51993 #ifdef CONFIG_SHMEM 52574 #ifdef CONFIG_SHMEM
51994 /* 52575 /*
51995diff -urNp linux-2.6.32.11/mm/slab.c linux-2.6.32.11/mm/slab.c 52576diff -urNp linux-2.6.32.12/mm/slab.c linux-2.6.32.12/mm/slab.c
51996--- linux-2.6.32.11/mm/slab.c 2010-03-15 11:52:04.000000000 -0400 52577--- linux-2.6.32.12/mm/slab.c 2010-03-15 11:52:04.000000000 -0400
51997+++ linux-2.6.32.11/mm/slab.c 2010-04-04 20:46:41.716811517 -0400 52578+++ linux-2.6.32.12/mm/slab.c 2010-04-04 20:46:41.716811517 -0400
51998@@ -308,7 +308,7 @@ struct kmem_list3 { 52579@@ -308,7 +308,7 @@ struct kmem_list3 {
51999 * Need this for bootstrapping a per node allocator. 52580 * Need this for bootstrapping a per node allocator.
52000 */ 52581 */
@@ -52092,9 +52673,9 @@ diff -urNp linux-2.6.32.11/mm/slab.c linux-2.6.32.11/mm/slab.c
52092 /** 52673 /**
52093 * ksize - get the actual amount of memory allocated for a given object 52674 * ksize - get the actual amount of memory allocated for a given object
52094 * @objp: Pointer to the object 52675 * @objp: Pointer to the object
52095diff -urNp linux-2.6.32.11/mm/slob.c linux-2.6.32.11/mm/slob.c 52676diff -urNp linux-2.6.32.12/mm/slob.c linux-2.6.32.12/mm/slob.c
52096--- linux-2.6.32.11/mm/slob.c 2010-03-15 11:52:04.000000000 -0400 52677--- linux-2.6.32.12/mm/slob.c 2010-03-15 11:52:04.000000000 -0400
52097+++ linux-2.6.32.11/mm/slob.c 2010-04-04 20:46:41.716811517 -0400 52678+++ linux-2.6.32.12/mm/slob.c 2010-04-04 20:46:41.716811517 -0400
52098@@ -29,7 +29,7 @@ 52679@@ -29,7 +29,7 @@
52099 * If kmalloc is asked for objects of PAGE_SIZE or larger, it calls 52680 * If kmalloc is asked for objects of PAGE_SIZE or larger, it calls
52100 * alloc_pages() directly, allocating compound pages so the page order 52681 * alloc_pages() directly, allocating compound pages so the page order
@@ -52415,9 +52996,9 @@ diff -urNp linux-2.6.32.11/mm/slob.c linux-2.6.32.11/mm/slob.c
52415 } 52996 }
52416 52997
52417 trace_kmem_cache_free(_RET_IP_, b); 52998 trace_kmem_cache_free(_RET_IP_, b);
52418diff -urNp linux-2.6.32.11/mm/slub.c linux-2.6.32.11/mm/slub.c 52999diff -urNp linux-2.6.32.12/mm/slub.c linux-2.6.32.12/mm/slub.c
52419--- linux-2.6.32.11/mm/slub.c 2010-03-15 11:52:04.000000000 -0400 53000--- linux-2.6.32.12/mm/slub.c 2010-03-15 11:52:04.000000000 -0400
52420+++ linux-2.6.32.11/mm/slub.c 2010-04-04 20:46:41.716811517 -0400 53001+++ linux-2.6.32.12/mm/slub.c 2010-04-04 20:46:41.716811517 -0400
52421@@ -1893,6 +1893,8 @@ void kmem_cache_free(struct kmem_cache * 53002@@ -1893,6 +1893,8 @@ void kmem_cache_free(struct kmem_cache *
52422 53003
52423 page = virt_to_head_page(x); 53004 page = virt_to_head_page(x);
@@ -52574,9 +53155,9 @@ diff -urNp linux-2.6.32.11/mm/slub.c linux-2.6.32.11/mm/slub.c
52574 static void print_slabinfo_header(struct seq_file *m) 53155 static void print_slabinfo_header(struct seq_file *m)
52575 { 53156 {
52576 seq_puts(m, "slabinfo - version: 2.1\n"); 53157 seq_puts(m, "slabinfo - version: 2.1\n");
52577diff -urNp linux-2.6.32.11/mm/util.c linux-2.6.32.11/mm/util.c 53158diff -urNp linux-2.6.32.12/mm/util.c linux-2.6.32.12/mm/util.c
52578--- linux-2.6.32.11/mm/util.c 2010-03-15 11:52:04.000000000 -0400 53159--- linux-2.6.32.12/mm/util.c 2010-03-15 11:52:04.000000000 -0400
52579+++ linux-2.6.32.11/mm/util.c 2010-04-04 20:46:41.716811517 -0400 53160+++ linux-2.6.32.12/mm/util.c 2010-04-04 20:46:41.716811517 -0400
52580@@ -228,6 +228,12 @@ EXPORT_SYMBOL(strndup_user); 53161@@ -228,6 +228,12 @@ EXPORT_SYMBOL(strndup_user);
52581 void arch_pick_mmap_layout(struct mm_struct *mm) 53162 void arch_pick_mmap_layout(struct mm_struct *mm)
52582 { 53163 {
@@ -52590,9 +53171,9 @@ diff -urNp linux-2.6.32.11/mm/util.c linux-2.6.32.11/mm/util.c
52590 mm->get_unmapped_area = arch_get_unmapped_area; 53171 mm->get_unmapped_area = arch_get_unmapped_area;
52591 mm->unmap_area = arch_unmap_area; 53172 mm->unmap_area = arch_unmap_area;
52592 } 53173 }
52593diff -urNp linux-2.6.32.11/mm/vmalloc.c linux-2.6.32.11/mm/vmalloc.c 53174diff -urNp linux-2.6.32.12/mm/vmalloc.c linux-2.6.32.12/mm/vmalloc.c
52594--- linux-2.6.32.11/mm/vmalloc.c 2010-03-15 11:52:04.000000000 -0400 53175--- linux-2.6.32.12/mm/vmalloc.c 2010-03-15 11:52:04.000000000 -0400
52595+++ linux-2.6.32.11/mm/vmalloc.c 2010-04-04 20:46:41.716811517 -0400 53176+++ linux-2.6.32.12/mm/vmalloc.c 2010-04-04 20:46:41.716811517 -0400
52596@@ -40,8 +40,19 @@ static void vunmap_pte_range(pmd_t *pmd, 53177@@ -40,8 +40,19 @@ static void vunmap_pte_range(pmd_t *pmd,
52597 53178
52598 pte = pte_offset_kernel(pmd, addr); 53179 pte = pte_offset_kernel(pmd, addr);
@@ -52803,9 +53384,22 @@ diff -urNp linux-2.6.32.11/mm/vmalloc.c linux-2.6.32.11/mm/vmalloc.c
52803 void *vmalloc_32_user(unsigned long size) 53384 void *vmalloc_32_user(unsigned long size)
52804 { 53385 {
52805 struct vm_struct *area; 53386 struct vm_struct *area;
52806diff -urNp linux-2.6.32.11/net/atm/atm_misc.c linux-2.6.32.11/net/atm/atm_misc.c 53387diff -urNp linux-2.6.32.12/net/8021q/vlan.c linux-2.6.32.12/net/8021q/vlan.c
52807--- linux-2.6.32.11/net/atm/atm_misc.c 2010-03-15 11:52:04.000000000 -0400 53388--- linux-2.6.32.12/net/8021q/vlan.c 2010-03-15 11:52:04.000000000 -0400
52808+++ linux-2.6.32.11/net/atm/atm_misc.c 2010-04-04 20:46:41.716811517 -0400 53389+++ linux-2.6.32.12/net/8021q/vlan.c 2010-04-29 17:46:37.373258882 -0400
53390@@ -622,8 +622,7 @@ static int vlan_ioctl_handler(struct net
53391 err = -EPERM;
53392 if (!capable(CAP_NET_ADMIN))
53393 break;
53394- if ((args.u.name_type >= 0) &&
53395- (args.u.name_type < VLAN_NAME_TYPE_HIGHEST)) {
53396+ if (args.u.name_type < VLAN_NAME_TYPE_HIGHEST) {
53397 struct vlan_net *vn;
53398
53399 vn = net_generic(net, vlan_net_id);
53400diff -urNp linux-2.6.32.12/net/atm/atm_misc.c linux-2.6.32.12/net/atm/atm_misc.c
53401--- linux-2.6.32.12/net/atm/atm_misc.c 2010-03-15 11:52:04.000000000 -0400
53402+++ linux-2.6.32.12/net/atm/atm_misc.c 2010-04-04 20:46:41.716811517 -0400
52809@@ -19,7 +19,7 @@ int atm_charge(struct atm_vcc *vcc,int t 53403@@ -19,7 +19,7 @@ int atm_charge(struct atm_vcc *vcc,int t
52810 if (atomic_read(&sk_atm(vcc)->sk_rmem_alloc) <= sk_atm(vcc)->sk_rcvbuf) 53404 if (atomic_read(&sk_atm(vcc)->sk_rmem_alloc) <= sk_atm(vcc)->sk_rcvbuf)
52811 return 1; 53405 return 1;
@@ -52842,9 +53436,9 @@ diff -urNp linux-2.6.32.11/net/atm/atm_misc.c linux-2.6.32.11/net/atm/atm_misc.c
52842 __SONET_ITEMS 53436 __SONET_ITEMS
52843 #undef __HANDLE_ITEM 53437 #undef __HANDLE_ITEM
52844 } 53438 }
52845diff -urNp linux-2.6.32.11/net/atm/proc.c linux-2.6.32.11/net/atm/proc.c 53439diff -urNp linux-2.6.32.12/net/atm/proc.c linux-2.6.32.12/net/atm/proc.c
52846--- linux-2.6.32.11/net/atm/proc.c 2010-03-15 11:52:04.000000000 -0400 53440--- linux-2.6.32.12/net/atm/proc.c 2010-03-15 11:52:04.000000000 -0400
52847+++ linux-2.6.32.11/net/atm/proc.c 2010-04-04 20:46:41.716811517 -0400 53441+++ linux-2.6.32.12/net/atm/proc.c 2010-04-04 20:46:41.716811517 -0400
52848@@ -43,9 +43,9 @@ static void add_stats(struct seq_file *s 53442@@ -43,9 +43,9 @@ static void add_stats(struct seq_file *s
52849 const struct k_atm_aal_stats *stats) 53443 const struct k_atm_aal_stats *stats)
52850 { 53444 {
@@ -52858,9 +53452,9 @@ diff -urNp linux-2.6.32.11/net/atm/proc.c linux-2.6.32.11/net/atm/proc.c
52858 } 53452 }
52859 53453
52860 static void atm_dev_info(struct seq_file *seq, const struct atm_dev *dev) 53454 static void atm_dev_info(struct seq_file *seq, const struct atm_dev *dev)
52861diff -urNp linux-2.6.32.11/net/atm/resources.c linux-2.6.32.11/net/atm/resources.c 53455diff -urNp linux-2.6.32.12/net/atm/resources.c linux-2.6.32.12/net/atm/resources.c
52862--- linux-2.6.32.11/net/atm/resources.c 2010-03-15 11:52:04.000000000 -0400 53456--- linux-2.6.32.12/net/atm/resources.c 2010-03-15 11:52:04.000000000 -0400
52863+++ linux-2.6.32.11/net/atm/resources.c 2010-04-04 20:46:41.716811517 -0400 53457+++ linux-2.6.32.12/net/atm/resources.c 2010-04-04 20:46:41.716811517 -0400
52864@@ -161,7 +161,7 @@ void atm_dev_deregister(struct atm_dev * 53458@@ -161,7 +161,7 @@ void atm_dev_deregister(struct atm_dev *
52865 static void copy_aal_stats(struct k_atm_aal_stats *from, 53459 static void copy_aal_stats(struct k_atm_aal_stats *from,
52866 struct atm_aal_stats *to) 53460 struct atm_aal_stats *to)
@@ -52879,9 +53473,9 @@ diff -urNp linux-2.6.32.11/net/atm/resources.c linux-2.6.32.11/net/atm/resources
52879 __AAL_STAT_ITEMS 53473 __AAL_STAT_ITEMS
52880 #undef __HANDLE_ITEM 53474 #undef __HANDLE_ITEM
52881 } 53475 }
52882diff -urNp linux-2.6.32.11/net/bridge/br_private.h linux-2.6.32.11/net/bridge/br_private.h 53476diff -urNp linux-2.6.32.12/net/bridge/br_private.h linux-2.6.32.12/net/bridge/br_private.h
52883--- linux-2.6.32.11/net/bridge/br_private.h 2010-03-15 11:52:04.000000000 -0400 53477--- linux-2.6.32.12/net/bridge/br_private.h 2010-03-15 11:52:04.000000000 -0400
52884+++ linux-2.6.32.11/net/bridge/br_private.h 2010-04-04 20:46:41.716811517 -0400 53478+++ linux-2.6.32.12/net/bridge/br_private.h 2010-04-04 20:46:41.716811517 -0400
52885@@ -254,7 +254,7 @@ extern void br_ifinfo_notify(int event, 53479@@ -254,7 +254,7 @@ extern void br_ifinfo_notify(int event,
52886 53480
52887 #ifdef CONFIG_SYSFS 53481 #ifdef CONFIG_SYSFS
@@ -52891,9 +53485,9 @@ diff -urNp linux-2.6.32.11/net/bridge/br_private.h linux-2.6.32.11/net/bridge/br
52891 extern int br_sysfs_addif(struct net_bridge_port *p); 53485 extern int br_sysfs_addif(struct net_bridge_port *p);
52892 53486
52893 /* br_sysfs_br.c */ 53487 /* br_sysfs_br.c */
52894diff -urNp linux-2.6.32.11/net/bridge/br_stp_if.c linux-2.6.32.11/net/bridge/br_stp_if.c 53488diff -urNp linux-2.6.32.12/net/bridge/br_stp_if.c linux-2.6.32.12/net/bridge/br_stp_if.c
52895--- linux-2.6.32.11/net/bridge/br_stp_if.c 2010-03-15 11:52:04.000000000 -0400 53489--- linux-2.6.32.12/net/bridge/br_stp_if.c 2010-03-15 11:52:04.000000000 -0400
52896+++ linux-2.6.32.11/net/bridge/br_stp_if.c 2010-04-04 20:46:41.716811517 -0400 53490+++ linux-2.6.32.12/net/bridge/br_stp_if.c 2010-04-04 20:46:41.716811517 -0400
52897@@ -146,7 +146,7 @@ static void br_stp_stop(struct net_bridg 53491@@ -146,7 +146,7 @@ static void br_stp_stop(struct net_bridg
52898 char *envp[] = { NULL }; 53492 char *envp[] = { NULL };
52899 53493
@@ -52903,9 +53497,9 @@ diff -urNp linux-2.6.32.11/net/bridge/br_stp_if.c linux-2.6.32.11/net/bridge/br_
52903 printk(KERN_INFO "%s: userspace STP stopped, return code %d\n", 53497 printk(KERN_INFO "%s: userspace STP stopped, return code %d\n",
52904 br->dev->name, r); 53498 br->dev->name, r);
52905 53499
52906diff -urNp linux-2.6.32.11/net/bridge/br_sysfs_if.c linux-2.6.32.11/net/bridge/br_sysfs_if.c 53500diff -urNp linux-2.6.32.12/net/bridge/br_sysfs_if.c linux-2.6.32.12/net/bridge/br_sysfs_if.c
52907--- linux-2.6.32.11/net/bridge/br_sysfs_if.c 2010-03-15 11:52:04.000000000 -0400 53501--- linux-2.6.32.12/net/bridge/br_sysfs_if.c 2010-03-15 11:52:04.000000000 -0400
52908+++ linux-2.6.32.11/net/bridge/br_sysfs_if.c 2010-04-04 20:46:41.716811517 -0400 53502+++ linux-2.6.32.12/net/bridge/br_sysfs_if.c 2010-04-04 20:46:41.716811517 -0400
52909@@ -220,7 +220,7 @@ static ssize_t brport_store(struct kobje 53503@@ -220,7 +220,7 @@ static ssize_t brport_store(struct kobje
52910 return ret; 53504 return ret;
52911 } 53505 }
@@ -52915,9 +53509,9 @@ diff -urNp linux-2.6.32.11/net/bridge/br_sysfs_if.c linux-2.6.32.11/net/bridge/b
52915 .show = brport_show, 53509 .show = brport_show,
52916 .store = brport_store, 53510 .store = brport_store,
52917 }; 53511 };
52918diff -urNp linux-2.6.32.11/net/core/dev.c linux-2.6.32.11/net/core/dev.c 53512diff -urNp linux-2.6.32.12/net/core/dev.c linux-2.6.32.12/net/core/dev.c
52919--- linux-2.6.32.11/net/core/dev.c 2010-03-15 11:52:04.000000000 -0400 53513--- linux-2.6.32.12/net/core/dev.c 2010-03-15 11:52:04.000000000 -0400
52920+++ linux-2.6.32.11/net/core/dev.c 2010-04-04 20:46:41.721901011 -0400 53514+++ linux-2.6.32.12/net/core/dev.c 2010-04-04 20:46:41.721901011 -0400
52921@@ -2047,7 +2047,7 @@ int netif_rx_ni(struct sk_buff *skb) 53515@@ -2047,7 +2047,7 @@ int netif_rx_ni(struct sk_buff *skb)
52922 } 53516 }
52923 EXPORT_SYMBOL(netif_rx_ni); 53517 EXPORT_SYMBOL(netif_rx_ni);
@@ -52936,9 +53530,9 @@ diff -urNp linux-2.6.32.11/net/core/dev.c linux-2.6.32.11/net/core/dev.c
52936 { 53530 {
52937 struct list_head *list = &__get_cpu_var(softnet_data).poll_list; 53531 struct list_head *list = &__get_cpu_var(softnet_data).poll_list;
52938 unsigned long time_limit = jiffies + 2; 53532 unsigned long time_limit = jiffies + 2;
52939diff -urNp linux-2.6.32.11/net/core/flow.c linux-2.6.32.11/net/core/flow.c 53533diff -urNp linux-2.6.32.12/net/core/flow.c linux-2.6.32.12/net/core/flow.c
52940--- linux-2.6.32.11/net/core/flow.c 2010-03-15 11:52:04.000000000 -0400 53534--- linux-2.6.32.12/net/core/flow.c 2010-03-15 11:52:04.000000000 -0400
52941+++ linux-2.6.32.11/net/core/flow.c 2010-04-04 20:46:41.721901011 -0400 53535+++ linux-2.6.32.12/net/core/flow.c 2010-04-04 20:46:41.721901011 -0400
52942@@ -39,7 +39,7 @@ atomic_t flow_cache_genid = ATOMIC_INIT( 53536@@ -39,7 +39,7 @@ atomic_t flow_cache_genid = ATOMIC_INIT(
52943 53537
52944 static u32 flow_hash_shift; 53538 static u32 flow_hash_shift;
@@ -52966,9 +53560,9 @@ diff -urNp linux-2.6.32.11/net/core/flow.c linux-2.6.32.11/net/core/flow.c
52966 53560
52967 #define flow_flush_tasklet(cpu) (&per_cpu(flow_flush_tasklets, cpu)) 53561 #define flow_flush_tasklet(cpu) (&per_cpu(flow_flush_tasklets, cpu))
52968 53562
52969diff -urNp linux-2.6.32.11/net/dccp/ccids/ccid3.c linux-2.6.32.11/net/dccp/ccids/ccid3.c 53563diff -urNp linux-2.6.32.12/net/dccp/ccids/ccid3.c linux-2.6.32.12/net/dccp/ccids/ccid3.c
52970--- linux-2.6.32.11/net/dccp/ccids/ccid3.c 2010-03-15 11:52:04.000000000 -0400 53564--- linux-2.6.32.12/net/dccp/ccids/ccid3.c 2010-03-15 11:52:04.000000000 -0400
52971+++ linux-2.6.32.11/net/dccp/ccids/ccid3.c 2010-04-04 20:46:41.721901011 -0400 53565+++ linux-2.6.32.12/net/dccp/ccids/ccid3.c 2010-04-04 20:46:41.721901011 -0400
52972@@ -41,7 +41,7 @@ 53566@@ -41,7 +41,7 @@
52973 static int ccid3_debug; 53567 static int ccid3_debug;
52974 #define ccid3_pr_debug(format, a...) DCCP_PR_DEBUG(ccid3_debug, format, ##a) 53568 #define ccid3_pr_debug(format, a...) DCCP_PR_DEBUG(ccid3_debug, format, ##a)
@@ -52978,9 +53572,9 @@ diff -urNp linux-2.6.32.11/net/dccp/ccids/ccid3.c linux-2.6.32.11/net/dccp/ccids
52978 #endif 53572 #endif
52979 53573
52980 /* 53574 /*
52981diff -urNp linux-2.6.32.11/net/dccp/dccp.h linux-2.6.32.11/net/dccp/dccp.h 53575diff -urNp linux-2.6.32.12/net/dccp/dccp.h linux-2.6.32.12/net/dccp/dccp.h
52982--- linux-2.6.32.11/net/dccp/dccp.h 2010-03-15 11:52:04.000000000 -0400 53576--- linux-2.6.32.12/net/dccp/dccp.h 2010-03-15 11:52:04.000000000 -0400
52983+++ linux-2.6.32.11/net/dccp/dccp.h 2010-04-04 20:46:41.721901011 -0400 53577+++ linux-2.6.32.12/net/dccp/dccp.h 2010-04-04 20:46:41.721901011 -0400
52984@@ -44,9 +44,9 @@ extern int dccp_debug; 53578@@ -44,9 +44,9 @@ extern int dccp_debug;
52985 #define dccp_pr_debug_cat(format, a...) DCCP_PRINTK(dccp_debug, format, ##a) 53579 #define dccp_pr_debug_cat(format, a...) DCCP_PRINTK(dccp_debug, format, ##a)
52986 #define dccp_debug(fmt, a...) dccp_pr_debug_cat(KERN_DEBUG fmt, ##a) 53580 #define dccp_debug(fmt, a...) dccp_pr_debug_cat(KERN_DEBUG fmt, ##a)
@@ -52994,9 +53588,9 @@ diff -urNp linux-2.6.32.11/net/dccp/dccp.h linux-2.6.32.11/net/dccp/dccp.h
52994 #endif 53588 #endif
52995 53589
52996 extern struct inet_hashinfo dccp_hashinfo; 53590 extern struct inet_hashinfo dccp_hashinfo;
52997diff -urNp linux-2.6.32.11/net/decnet/sysctl_net_decnet.c linux-2.6.32.11/net/decnet/sysctl_net_decnet.c 53591diff -urNp linux-2.6.32.12/net/decnet/sysctl_net_decnet.c linux-2.6.32.12/net/decnet/sysctl_net_decnet.c
52998--- linux-2.6.32.11/net/decnet/sysctl_net_decnet.c 2010-03-15 11:52:04.000000000 -0400 53592--- linux-2.6.32.12/net/decnet/sysctl_net_decnet.c 2010-03-15 11:52:04.000000000 -0400
52999+++ linux-2.6.32.11/net/decnet/sysctl_net_decnet.c 2010-04-04 20:46:41.721901011 -0400 53593+++ linux-2.6.32.12/net/decnet/sysctl_net_decnet.c 2010-04-04 20:46:41.721901011 -0400
53000@@ -206,7 +206,7 @@ static int dn_node_address_handler(ctl_t 53594@@ -206,7 +206,7 @@ static int dn_node_address_handler(ctl_t
53001 53595
53002 if (len > *lenp) len = *lenp; 53596 if (len > *lenp) len = *lenp;
@@ -53015,9 +53609,9 @@ diff -urNp linux-2.6.32.11/net/decnet/sysctl_net_decnet.c linux-2.6.32.11/net/de
53015 return -EFAULT; 53609 return -EFAULT;
53016 53610
53017 *lenp = len; 53611 *lenp = len;
53018diff -urNp linux-2.6.32.11/net/ipv4/inet_hashtables.c linux-2.6.32.11/net/ipv4/inet_hashtables.c 53612diff -urNp linux-2.6.32.12/net/ipv4/inet_hashtables.c linux-2.6.32.12/net/ipv4/inet_hashtables.c
53019--- linux-2.6.32.11/net/ipv4/inet_hashtables.c 2010-03-15 11:52:04.000000000 -0400 53613--- linux-2.6.32.12/net/ipv4/inet_hashtables.c 2010-03-15 11:52:04.000000000 -0400
53020+++ linux-2.6.32.11/net/ipv4/inet_hashtables.c 2010-04-04 20:46:41.721901011 -0400 53614+++ linux-2.6.32.12/net/ipv4/inet_hashtables.c 2010-04-04 20:46:41.721901011 -0400
53021@@ -18,11 +18,14 @@ 53615@@ -18,11 +18,14 @@
53022 #include <linux/sched.h> 53616 #include <linux/sched.h>
53023 #include <linux/slab.h> 53617 #include <linux/slab.h>
@@ -53042,9 +53636,9 @@ diff -urNp linux-2.6.32.11/net/ipv4/inet_hashtables.c linux-2.6.32.11/net/ipv4/i
53042 if (tw) { 53636 if (tw) {
53043 inet_twsk_deschedule(tw, death_row); 53637 inet_twsk_deschedule(tw, death_row);
53044 inet_twsk_put(tw); 53638 inet_twsk_put(tw);
53045diff -urNp linux-2.6.32.11/net/ipv4/netfilter/nf_nat_snmp_basic.c linux-2.6.32.11/net/ipv4/netfilter/nf_nat_snmp_basic.c 53639diff -urNp linux-2.6.32.12/net/ipv4/netfilter/nf_nat_snmp_basic.c linux-2.6.32.12/net/ipv4/netfilter/nf_nat_snmp_basic.c
53046--- linux-2.6.32.11/net/ipv4/netfilter/nf_nat_snmp_basic.c 2010-03-15 11:52:04.000000000 -0400 53640--- linux-2.6.32.12/net/ipv4/netfilter/nf_nat_snmp_basic.c 2010-03-15 11:52:04.000000000 -0400
53047+++ linux-2.6.32.11/net/ipv4/netfilter/nf_nat_snmp_basic.c 2010-04-04 20:46:41.721901011 -0400 53641+++ linux-2.6.32.12/net/ipv4/netfilter/nf_nat_snmp_basic.c 2010-04-04 20:46:41.721901011 -0400
53048@@ -397,7 +397,7 @@ static unsigned char asn1_octets_decode( 53642@@ -397,7 +397,7 @@ static unsigned char asn1_octets_decode(
53049 53643
53050 *len = 0; 53644 *len = 0;
@@ -53054,9 +53648,9 @@ diff -urNp linux-2.6.32.11/net/ipv4/netfilter/nf_nat_snmp_basic.c linux-2.6.32.1
53054 if (*octets == NULL) { 53648 if (*octets == NULL) {
53055 if (net_ratelimit()) 53649 if (net_ratelimit())
53056 printk("OOM in bsalg (%d)\n", __LINE__); 53650 printk("OOM in bsalg (%d)\n", __LINE__);
53057diff -urNp linux-2.6.32.11/net/ipv4/tcp_ipv4.c linux-2.6.32.11/net/ipv4/tcp_ipv4.c 53651diff -urNp linux-2.6.32.12/net/ipv4/tcp_ipv4.c linux-2.6.32.12/net/ipv4/tcp_ipv4.c
53058--- linux-2.6.32.11/net/ipv4/tcp_ipv4.c 2010-03-15 11:52:04.000000000 -0400 53652--- linux-2.6.32.12/net/ipv4/tcp_ipv4.c 2010-03-15 11:52:04.000000000 -0400
53059+++ linux-2.6.32.11/net/ipv4/tcp_ipv4.c 2010-04-04 20:46:41.721901011 -0400 53653+++ linux-2.6.32.12/net/ipv4/tcp_ipv4.c 2010-04-04 20:46:41.721901011 -0400
53060@@ -84,6 +84,9 @@ 53654@@ -84,6 +84,9 @@
53061 int sysctl_tcp_tw_reuse __read_mostly; 53655 int sysctl_tcp_tw_reuse __read_mostly;
53062 int sysctl_tcp_low_latency __read_mostly; 53656 int sysctl_tcp_low_latency __read_mostly;
@@ -53101,9 +53695,9 @@ diff -urNp linux-2.6.32.11/net/ipv4/tcp_ipv4.c linux-2.6.32.11/net/ipv4/tcp_ipv4
53101 tcp_v4_send_reset(NULL, skb); 53695 tcp_v4_send_reset(NULL, skb);
53102 } 53696 }
53103 53697
53104diff -urNp linux-2.6.32.11/net/ipv4/tcp_minisocks.c linux-2.6.32.11/net/ipv4/tcp_minisocks.c 53698diff -urNp linux-2.6.32.12/net/ipv4/tcp_minisocks.c linux-2.6.32.12/net/ipv4/tcp_minisocks.c
53105--- linux-2.6.32.11/net/ipv4/tcp_minisocks.c 2010-03-15 11:52:04.000000000 -0400 53699--- linux-2.6.32.12/net/ipv4/tcp_minisocks.c 2010-03-15 11:52:04.000000000 -0400
53106+++ linux-2.6.32.11/net/ipv4/tcp_minisocks.c 2010-04-04 20:46:41.721901011 -0400 53700+++ linux-2.6.32.12/net/ipv4/tcp_minisocks.c 2010-04-04 20:46:41.721901011 -0400
53107@@ -26,6 +26,10 @@ 53701@@ -26,6 +26,10 @@
53108 #include <net/inet_common.h> 53702 #include <net/inet_common.h>
53109 #include <net/xfrm.h> 53703 #include <net/xfrm.h>
@@ -53126,9 +53720,9 @@ diff -urNp linux-2.6.32.11/net/ipv4/tcp_minisocks.c linux-2.6.32.11/net/ipv4/tcp
53126 if (!(flg & TCP_FLAG_RST)) 53720 if (!(flg & TCP_FLAG_RST))
53127 req->rsk_ops->send_reset(sk, skb); 53721 req->rsk_ops->send_reset(sk, skb);
53128 53722
53129diff -urNp linux-2.6.32.11/net/ipv4/tcp_probe.c linux-2.6.32.11/net/ipv4/tcp_probe.c 53723diff -urNp linux-2.6.32.12/net/ipv4/tcp_probe.c linux-2.6.32.12/net/ipv4/tcp_probe.c
53130--- linux-2.6.32.11/net/ipv4/tcp_probe.c 2010-03-15 11:52:04.000000000 -0400 53724--- linux-2.6.32.12/net/ipv4/tcp_probe.c 2010-03-15 11:52:04.000000000 -0400
53131+++ linux-2.6.32.11/net/ipv4/tcp_probe.c 2010-04-04 20:46:41.721901011 -0400 53725+++ linux-2.6.32.12/net/ipv4/tcp_probe.c 2010-04-04 20:46:41.721901011 -0400
53132@@ -200,7 +200,7 @@ static ssize_t tcpprobe_read(struct file 53726@@ -200,7 +200,7 @@ static ssize_t tcpprobe_read(struct file
53133 if (cnt + width >= len) 53727 if (cnt + width >= len)
53134 break; 53728 break;
@@ -53138,9 +53732,9 @@ diff -urNp linux-2.6.32.11/net/ipv4/tcp_probe.c linux-2.6.32.11/net/ipv4/tcp_pro
53138 return -EFAULT; 53732 return -EFAULT;
53139 cnt += width; 53733 cnt += width;
53140 } 53734 }
53141diff -urNp linux-2.6.32.11/net/ipv4/tcp_timer.c linux-2.6.32.11/net/ipv4/tcp_timer.c 53735diff -urNp linux-2.6.32.12/net/ipv4/tcp_timer.c linux-2.6.32.12/net/ipv4/tcp_timer.c
53142--- linux-2.6.32.11/net/ipv4/tcp_timer.c 2010-03-15 11:52:04.000000000 -0400 53736--- linux-2.6.32.12/net/ipv4/tcp_timer.c 2010-03-15 11:52:04.000000000 -0400
53143+++ linux-2.6.32.11/net/ipv4/tcp_timer.c 2010-04-04 20:46:41.721901011 -0400 53737+++ linux-2.6.32.12/net/ipv4/tcp_timer.c 2010-04-04 20:46:41.721901011 -0400
53144@@ -21,6 +21,10 @@ 53738@@ -21,6 +21,10 @@
53145 #include <linux/module.h> 53739 #include <linux/module.h>
53146 #include <net/tcp.h> 53740 #include <net/tcp.h>
@@ -53166,9 +53760,9 @@ diff -urNp linux-2.6.32.11/net/ipv4/tcp_timer.c linux-2.6.32.11/net/ipv4/tcp_tim
53166 if (retransmits_timed_out(sk, retry_until)) { 53760 if (retransmits_timed_out(sk, retry_until)) {
53167 /* Has it gone just too far? */ 53761 /* Has it gone just too far? */
53168 tcp_write_err(sk); 53762 tcp_write_err(sk);
53169diff -urNp linux-2.6.32.11/net/ipv4/udp.c linux-2.6.32.11/net/ipv4/udp.c 53763diff -urNp linux-2.6.32.12/net/ipv4/udp.c linux-2.6.32.12/net/ipv4/udp.c
53170--- linux-2.6.32.11/net/ipv4/udp.c 2010-03-15 11:52:04.000000000 -0400 53764--- linux-2.6.32.12/net/ipv4/udp.c 2010-03-15 11:52:04.000000000 -0400
53171+++ linux-2.6.32.11/net/ipv4/udp.c 2010-04-04 20:46:41.724917264 -0400 53765+++ linux-2.6.32.12/net/ipv4/udp.c 2010-04-04 20:46:41.724917264 -0400
53172@@ -86,6 +86,7 @@ 53766@@ -86,6 +86,7 @@
53173 #include <linux/types.h> 53767 #include <linux/types.h>
53174 #include <linux/fcntl.h> 53768 #include <linux/fcntl.h>
@@ -53238,9 +53832,9 @@ diff -urNp linux-2.6.32.11/net/ipv4/udp.c linux-2.6.32.11/net/ipv4/udp.c
53238 icmp_send(skb, ICMP_DEST_UNREACH, ICMP_PORT_UNREACH, 0); 53832 icmp_send(skb, ICMP_DEST_UNREACH, ICMP_PORT_UNREACH, 0);
53239 53833
53240 /* 53834 /*
53241diff -urNp linux-2.6.32.11/net/ipv6/exthdrs.c linux-2.6.32.11/net/ipv6/exthdrs.c 53835diff -urNp linux-2.6.32.12/net/ipv6/exthdrs.c linux-2.6.32.12/net/ipv6/exthdrs.c
53242--- linux-2.6.32.11/net/ipv6/exthdrs.c 2010-03-15 11:52:04.000000000 -0400 53836--- linux-2.6.32.12/net/ipv6/exthdrs.c 2010-03-15 11:52:04.000000000 -0400
53243+++ linux-2.6.32.11/net/ipv6/exthdrs.c 2010-04-04 20:46:41.724917264 -0400 53837+++ linux-2.6.32.12/net/ipv6/exthdrs.c 2010-04-04 20:46:41.724917264 -0400
53244@@ -635,7 +635,7 @@ static struct tlvtype_proc tlvprochopopt 53838@@ -635,7 +635,7 @@ static struct tlvtype_proc tlvprochopopt
53245 .type = IPV6_TLV_JUMBO, 53839 .type = IPV6_TLV_JUMBO,
53246 .func = ipv6_hop_jumbo, 53840 .func = ipv6_hop_jumbo,
@@ -53250,9 +53844,9 @@ diff -urNp linux-2.6.32.11/net/ipv6/exthdrs.c linux-2.6.32.11/net/ipv6/exthdrs.c
53250 }; 53844 };
53251 53845
53252 int ipv6_parse_hopopts(struct sk_buff *skb) 53846 int ipv6_parse_hopopts(struct sk_buff *skb)
53253diff -urNp linux-2.6.32.11/net/ipv6/raw.c linux-2.6.32.11/net/ipv6/raw.c 53847diff -urNp linux-2.6.32.12/net/ipv6/raw.c linux-2.6.32.12/net/ipv6/raw.c
53254--- linux-2.6.32.11/net/ipv6/raw.c 2010-03-15 11:52:04.000000000 -0400 53848--- linux-2.6.32.12/net/ipv6/raw.c 2010-03-15 11:52:04.000000000 -0400
53255+++ linux-2.6.32.11/net/ipv6/raw.c 2010-04-04 20:46:41.724917264 -0400 53849+++ linux-2.6.32.12/net/ipv6/raw.c 2010-04-04 20:46:41.724917264 -0400
53256@@ -600,7 +600,7 @@ out: 53850@@ -600,7 +600,7 @@ out:
53257 return err; 53851 return err;
53258 } 53852 }
@@ -53262,9 +53856,9 @@ diff -urNp linux-2.6.32.11/net/ipv6/raw.c linux-2.6.32.11/net/ipv6/raw.c
53262 struct flowi *fl, struct rt6_info *rt, 53856 struct flowi *fl, struct rt6_info *rt,
53263 unsigned int flags) 53857 unsigned int flags)
53264 { 53858 {
53265diff -urNp linux-2.6.32.11/net/ipv6/tcp_ipv6.c linux-2.6.32.11/net/ipv6/tcp_ipv6.c 53859diff -urNp linux-2.6.32.12/net/ipv6/tcp_ipv6.c linux-2.6.32.12/net/ipv6/tcp_ipv6.c
53266--- linux-2.6.32.11/net/ipv6/tcp_ipv6.c 2010-03-15 11:52:04.000000000 -0400 53860--- linux-2.6.32.12/net/ipv6/tcp_ipv6.c 2010-03-15 11:52:04.000000000 -0400
53267+++ linux-2.6.32.11/net/ipv6/tcp_ipv6.c 2010-04-04 20:46:41.724917264 -0400 53861+++ linux-2.6.32.12/net/ipv6/tcp_ipv6.c 2010-04-04 20:46:41.724917264 -0400
53268@@ -1578,6 +1578,9 @@ static int tcp_v6_do_rcv(struct sock *sk 53862@@ -1578,6 +1578,9 @@ static int tcp_v6_do_rcv(struct sock *sk
53269 return 0; 53863 return 0;
53270 53864
@@ -53285,9 +53879,9 @@ diff -urNp linux-2.6.32.11/net/ipv6/tcp_ipv6.c linux-2.6.32.11/net/ipv6/tcp_ipv6
53285 tcp_v6_send_reset(NULL, skb); 53879 tcp_v6_send_reset(NULL, skb);
53286 } 53880 }
53287 53881
53288diff -urNp linux-2.6.32.11/net/ipv6/udp.c linux-2.6.32.11/net/ipv6/udp.c 53882diff -urNp linux-2.6.32.12/net/ipv6/udp.c linux-2.6.32.12/net/ipv6/udp.c
53289--- linux-2.6.32.11/net/ipv6/udp.c 2010-03-15 11:52:04.000000000 -0400 53883--- linux-2.6.32.12/net/ipv6/udp.c 2010-03-15 11:52:04.000000000 -0400
53290+++ linux-2.6.32.11/net/ipv6/udp.c 2010-04-04 20:46:41.724917264 -0400 53884+++ linux-2.6.32.12/net/ipv6/udp.c 2010-04-04 20:46:41.724917264 -0400
53291@@ -587,6 +587,9 @@ int __udp6_lib_rcv(struct sk_buff *skb, 53885@@ -587,6 +587,9 @@ int __udp6_lib_rcv(struct sk_buff *skb,
53292 UDP6_INC_STATS_BH(net, UDP_MIB_NOPORTS, 53886 UDP6_INC_STATS_BH(net, UDP_MIB_NOPORTS,
53293 proto == IPPROTO_UDPLITE); 53887 proto == IPPROTO_UDPLITE);
@@ -53298,9 +53892,9 @@ diff -urNp linux-2.6.32.11/net/ipv6/udp.c linux-2.6.32.11/net/ipv6/udp.c
53298 icmpv6_send(skb, ICMPV6_DEST_UNREACH, ICMPV6_PORT_UNREACH, 0, dev); 53892 icmpv6_send(skb, ICMPV6_DEST_UNREACH, ICMPV6_PORT_UNREACH, 0, dev);
53299 53893
53300 kfree_skb(skb); 53894 kfree_skb(skb);
53301diff -urNp linux-2.6.32.11/net/irda/ircomm/ircomm_tty.c linux-2.6.32.11/net/irda/ircomm/ircomm_tty.c 53895diff -urNp linux-2.6.32.12/net/irda/ircomm/ircomm_tty.c linux-2.6.32.12/net/irda/ircomm/ircomm_tty.c
53302--- linux-2.6.32.11/net/irda/ircomm/ircomm_tty.c 2010-03-15 11:52:04.000000000 -0400 53896--- linux-2.6.32.12/net/irda/ircomm/ircomm_tty.c 2010-03-15 11:52:04.000000000 -0400
53303+++ linux-2.6.32.11/net/irda/ircomm/ircomm_tty.c 2010-04-04 20:46:41.724917264 -0400 53897+++ linux-2.6.32.12/net/irda/ircomm/ircomm_tty.c 2010-04-04 20:46:41.724917264 -0400
53304@@ -280,16 +280,16 @@ static int ircomm_tty_block_til_ready(st 53898@@ -280,16 +280,16 @@ static int ircomm_tty_block_til_ready(st
53305 add_wait_queue(&self->open_wait, &wait); 53899 add_wait_queue(&self->open_wait, &wait);
53306 53900
@@ -53423,9 +54017,9 @@ diff -urNp linux-2.6.32.11/net/irda/ircomm/ircomm_tty.c linux-2.6.32.11/net/irda
53423 seq_printf(m, "Max data size: %d\n", self->max_data_size); 54017 seq_printf(m, "Max data size: %d\n", self->max_data_size);
53424 seq_printf(m, "Max header size: %d\n", self->max_header_size); 54018 seq_printf(m, "Max header size: %d\n", self->max_header_size);
53425 54019
53426diff -urNp linux-2.6.32.11/net/mac80211/ieee80211_i.h linux-2.6.32.11/net/mac80211/ieee80211_i.h 54020diff -urNp linux-2.6.32.12/net/mac80211/ieee80211_i.h linux-2.6.32.12/net/mac80211/ieee80211_i.h
53427--- linux-2.6.32.11/net/mac80211/ieee80211_i.h 2010-04-04 20:41:50.080541354 -0400 54021--- linux-2.6.32.12/net/mac80211/ieee80211_i.h 2010-04-04 20:41:50.080541354 -0400
53428+++ linux-2.6.32.11/net/mac80211/ieee80211_i.h 2010-04-04 20:46:41.724917264 -0400 54022+++ linux-2.6.32.12/net/mac80211/ieee80211_i.h 2010-04-04 20:46:41.724917264 -0400
53429@@ -635,7 +635,7 @@ struct ieee80211_local { 54023@@ -635,7 +635,7 @@ struct ieee80211_local {
53430 /* also used to protect ampdu_ac_queue and amdpu_ac_stop_refcnt */ 54024 /* also used to protect ampdu_ac_queue and amdpu_ac_stop_refcnt */
53431 spinlock_t queue_stop_reason_lock; 54025 spinlock_t queue_stop_reason_lock;
@@ -53435,9 +54029,9 @@ diff -urNp linux-2.6.32.11/net/mac80211/ieee80211_i.h linux-2.6.32.11/net/mac802
53435 int monitors, cooked_mntrs; 54029 int monitors, cooked_mntrs;
53436 /* number of interfaces with corresponding FIF_ flags */ 54030 /* number of interfaces with corresponding FIF_ flags */
53437 int fif_fcsfail, fif_plcpfail, fif_control, fif_other_bss, fif_pspoll; 54031 int fif_fcsfail, fif_plcpfail, fif_control, fif_other_bss, fif_pspoll;
53438diff -urNp linux-2.6.32.11/net/mac80211/iface.c linux-2.6.32.11/net/mac80211/iface.c 54032diff -urNp linux-2.6.32.12/net/mac80211/iface.c linux-2.6.32.12/net/mac80211/iface.c
53439--- linux-2.6.32.11/net/mac80211/iface.c 2010-03-15 11:52:04.000000000 -0400 54033--- linux-2.6.32.12/net/mac80211/iface.c 2010-03-15 11:52:04.000000000 -0400
53440+++ linux-2.6.32.11/net/mac80211/iface.c 2010-04-04 20:46:41.724917264 -0400 54034+++ linux-2.6.32.12/net/mac80211/iface.c 2010-04-04 20:46:41.724917264 -0400
53441@@ -166,7 +166,7 @@ static int ieee80211_open(struct net_dev 54035@@ -166,7 +166,7 @@ static int ieee80211_open(struct net_dev
53442 break; 54036 break;
53443 } 54037 }
@@ -53492,9 +54086,9 @@ diff -urNp linux-2.6.32.11/net/mac80211/iface.c linux-2.6.32.11/net/mac80211/ifa
53492 ieee80211_clear_tx_pending(local); 54086 ieee80211_clear_tx_pending(local);
53493 ieee80211_stop_device(local); 54087 ieee80211_stop_device(local);
53494 54088
53495diff -urNp linux-2.6.32.11/net/mac80211/main.c linux-2.6.32.11/net/mac80211/main.c 54089diff -urNp linux-2.6.32.12/net/mac80211/main.c linux-2.6.32.12/net/mac80211/main.c
53496--- linux-2.6.32.11/net/mac80211/main.c 2010-04-04 20:41:50.080541354 -0400 54090--- linux-2.6.32.12/net/mac80211/main.c 2010-04-04 20:41:50.080541354 -0400
53497+++ linux-2.6.32.11/net/mac80211/main.c 2010-04-04 20:46:41.724917264 -0400 54091+++ linux-2.6.32.12/net/mac80211/main.c 2010-04-04 20:46:41.724917264 -0400
53498@@ -145,7 +145,7 @@ int ieee80211_hw_config(struct ieee80211 54092@@ -145,7 +145,7 @@ int ieee80211_hw_config(struct ieee80211
53499 local->hw.conf.power_level = power; 54093 local->hw.conf.power_level = power;
53500 } 54094 }
@@ -53504,9 +54098,9 @@ diff -urNp linux-2.6.32.11/net/mac80211/main.c linux-2.6.32.11/net/mac80211/main
53504 ret = drv_config(local, changed); 54098 ret = drv_config(local, changed);
53505 /* 54099 /*
53506 * Goal: 54100 * Goal:
53507diff -urNp linux-2.6.32.11/net/mac80211/pm.c linux-2.6.32.11/net/mac80211/pm.c 54101diff -urNp linux-2.6.32.12/net/mac80211/pm.c linux-2.6.32.12/net/mac80211/pm.c
53508--- linux-2.6.32.11/net/mac80211/pm.c 2010-03-15 11:52:04.000000000 -0400 54102--- linux-2.6.32.12/net/mac80211/pm.c 2010-03-15 11:52:04.000000000 -0400
53509+++ linux-2.6.32.11/net/mac80211/pm.c 2010-04-04 20:46:41.724917264 -0400 54103+++ linux-2.6.32.12/net/mac80211/pm.c 2010-04-04 20:46:41.724917264 -0400
53510@@ -107,7 +107,7 @@ int __ieee80211_suspend(struct ieee80211 54104@@ -107,7 +107,7 @@ int __ieee80211_suspend(struct ieee80211
53511 } 54105 }
53512 54106
@@ -53516,9 +54110,9 @@ diff -urNp linux-2.6.32.11/net/mac80211/pm.c linux-2.6.32.11/net/mac80211/pm.c
53516 ieee80211_stop_device(local); 54110 ieee80211_stop_device(local);
53517 54111
53518 local->suspended = true; 54112 local->suspended = true;
53519diff -urNp linux-2.6.32.11/net/mac80211/rate.c linux-2.6.32.11/net/mac80211/rate.c 54113diff -urNp linux-2.6.32.12/net/mac80211/rate.c linux-2.6.32.12/net/mac80211/rate.c
53520--- linux-2.6.32.11/net/mac80211/rate.c 2010-03-15 11:52:04.000000000 -0400 54114--- linux-2.6.32.12/net/mac80211/rate.c 2010-03-15 11:52:04.000000000 -0400
53521+++ linux-2.6.32.11/net/mac80211/rate.c 2010-04-04 20:46:41.724917264 -0400 54115+++ linux-2.6.32.12/net/mac80211/rate.c 2010-04-04 20:46:41.724917264 -0400
53522@@ -287,7 +287,7 @@ int ieee80211_init_rate_ctrl_alg(struct 54116@@ -287,7 +287,7 @@ int ieee80211_init_rate_ctrl_alg(struct
53523 struct rate_control_ref *ref, *old; 54117 struct rate_control_ref *ref, *old;
53524 54118
@@ -53528,9 +54122,21 @@ diff -urNp linux-2.6.32.11/net/mac80211/rate.c linux-2.6.32.11/net/mac80211/rate
53528 return -EBUSY; 54122 return -EBUSY;
53529 54123
53530 ref = rate_control_alloc(name, local); 54124 ref = rate_control_alloc(name, local);
53531diff -urNp linux-2.6.32.11/net/mac80211/util.c linux-2.6.32.11/net/mac80211/util.c 54125diff -urNp linux-2.6.32.12/net/mac80211/tx.c linux-2.6.32.12/net/mac80211/tx.c
53532--- linux-2.6.32.11/net/mac80211/util.c 2010-03-15 11:52:04.000000000 -0400 54126--- linux-2.6.32.12/net/mac80211/tx.c 2010-04-29 17:49:38.690617032 -0400
53533+++ linux-2.6.32.11/net/mac80211/util.c 2010-04-04 20:46:41.724917264 -0400 54127+++ linux-2.6.32.12/net/mac80211/tx.c 2010-04-29 17:49:58.741536660 -0400
54128@@ -173,7 +173,7 @@ static __le16 ieee80211_duration(struct
54129 return cpu_to_le16(dur);
54130 }
54131
54132-static int inline is_ieee80211_device(struct ieee80211_local *local,
54133+static inline int is_ieee80211_device(struct ieee80211_local *local,
54134 struct net_device *dev)
54135 {
54136 return local == wdev_priv(dev->ieee80211_ptr);
54137diff -urNp linux-2.6.32.12/net/mac80211/util.c linux-2.6.32.12/net/mac80211/util.c
54138--- linux-2.6.32.12/net/mac80211/util.c 2010-04-29 17:49:38.690617032 -0400
54139+++ linux-2.6.32.12/net/mac80211/util.c 2010-04-29 17:49:58.749029456 -0400
53534@@ -1042,14 +1042,14 @@ int ieee80211_reconfig(struct ieee80211_ 54140@@ -1042,14 +1042,14 @@ int ieee80211_reconfig(struct ieee80211_
53535 local->resuming = true; 54141 local->resuming = true;
53536 54142
@@ -53548,9 +54154,9 @@ diff -urNp linux-2.6.32.11/net/mac80211/util.c linux-2.6.32.11/net/mac80211/util
53548 if (res) { 54154 if (res) {
53549 WARN(local->suspended, "Harware became unavailable " 54155 WARN(local->suspended, "Harware became unavailable "
53550 "upon resume. This is could be a software issue" 54156 "upon resume. This is could be a software issue"
53551diff -urNp linux-2.6.32.11/net/sctp/socket.c linux-2.6.32.11/net/sctp/socket.c 54157diff -urNp linux-2.6.32.12/net/sctp/socket.c linux-2.6.32.12/net/sctp/socket.c
53552--- linux-2.6.32.11/net/sctp/socket.c 2010-03-15 11:52:04.000000000 -0400 54158--- linux-2.6.32.12/net/sctp/socket.c 2010-03-15 11:52:04.000000000 -0400
53553+++ linux-2.6.32.11/net/sctp/socket.c 2010-04-04 20:46:41.728797784 -0400 54159+++ linux-2.6.32.12/net/sctp/socket.c 2010-04-04 20:46:41.728797784 -0400
53554@@ -1482,7 +1482,7 @@ SCTP_STATIC int sctp_sendmsg(struct kioc 54160@@ -1482,7 +1482,7 @@ SCTP_STATIC int sctp_sendmsg(struct kioc
53555 struct sctp_sndrcvinfo *sinfo; 54161 struct sctp_sndrcvinfo *sinfo;
53556 struct sctp_initmsg *sinit; 54162 struct sctp_initmsg *sinit;
@@ -53568,9 +54174,9 @@ diff -urNp linux-2.6.32.11/net/sctp/socket.c linux-2.6.32.11/net/sctp/socket.c
53568 54174
53569 SCTP_DEBUG_PRINTK("sctp_get_port() found a possible match\n"); 54175 SCTP_DEBUG_PRINTK("sctp_get_port() found a possible match\n");
53570 if (pp->fastreuse && sk->sk_reuse && 54176 if (pp->fastreuse && sk->sk_reuse &&
53571diff -urNp linux-2.6.32.11/net/socket.c linux-2.6.32.11/net/socket.c 54177diff -urNp linux-2.6.32.12/net/socket.c linux-2.6.32.12/net/socket.c
53572--- linux-2.6.32.11/net/socket.c 2010-03-15 11:52:04.000000000 -0400 54178--- linux-2.6.32.12/net/socket.c 2010-03-15 11:52:04.000000000 -0400
53573+++ linux-2.6.32.11/net/socket.c 2010-04-04 20:46:41.728797784 -0400 54179+++ linux-2.6.32.12/net/socket.c 2010-04-04 20:46:41.728797784 -0400
53574@@ -87,6 +87,7 @@ 54180@@ -87,6 +87,7 @@
53575 #include <linux/wireless.h> 54181 #include <linux/wireless.h>
53576 #include <linux/nsproxy.h> 54182 #include <linux/nsproxy.h>
@@ -53725,9 +54331,9 @@ diff -urNp linux-2.6.32.11/net/socket.c linux-2.6.32.11/net/socket.c
53725 err = 54331 err =
53726 security_socket_connect(sock, (struct sockaddr *)&address, addrlen); 54332 security_socket_connect(sock, (struct sockaddr *)&address, addrlen);
53727 if (err) 54333 if (err)
53728diff -urNp linux-2.6.32.11/net/sunrpc/xprtrdma/svc_rdma.c linux-2.6.32.11/net/sunrpc/xprtrdma/svc_rdma.c 54334diff -urNp linux-2.6.32.12/net/sunrpc/xprtrdma/svc_rdma.c linux-2.6.32.12/net/sunrpc/xprtrdma/svc_rdma.c
53729--- linux-2.6.32.11/net/sunrpc/xprtrdma/svc_rdma.c 2010-03-15 11:52:04.000000000 -0400 54335--- linux-2.6.32.12/net/sunrpc/xprtrdma/svc_rdma.c 2010-03-15 11:52:04.000000000 -0400
53730+++ linux-2.6.32.11/net/sunrpc/xprtrdma/svc_rdma.c 2010-04-04 20:46:41.728797784 -0400 54336+++ linux-2.6.32.12/net/sunrpc/xprtrdma/svc_rdma.c 2010-04-04 20:46:41.728797784 -0400
53731@@ -105,7 +105,7 @@ static int read_reset_stat(ctl_table *ta 54337@@ -105,7 +105,7 @@ static int read_reset_stat(ctl_table *ta
53732 len -= *ppos; 54338 len -= *ppos;
53733 if (len > *lenp) 54339 if (len > *lenp)
@@ -53737,9 +54343,9 @@ diff -urNp linux-2.6.32.11/net/sunrpc/xprtrdma/svc_rdma.c linux-2.6.32.11/net/su
53737 return -EFAULT; 54343 return -EFAULT;
53738 *lenp = len; 54344 *lenp = len;
53739 *ppos += len; 54345 *ppos += len;
53740diff -urNp linux-2.6.32.11/net/sysctl_net.c linux-2.6.32.11/net/sysctl_net.c 54346diff -urNp linux-2.6.32.12/net/sysctl_net.c linux-2.6.32.12/net/sysctl_net.c
53741--- linux-2.6.32.11/net/sysctl_net.c 2010-03-15 11:52:04.000000000 -0400 54347--- linux-2.6.32.12/net/sysctl_net.c 2010-03-15 11:52:04.000000000 -0400
53742+++ linux-2.6.32.11/net/sysctl_net.c 2010-04-04 20:46:41.728797784 -0400 54348+++ linux-2.6.32.12/net/sysctl_net.c 2010-04-04 20:46:41.728797784 -0400
53743@@ -46,7 +46,7 @@ static int net_ctl_permissions(struct ct 54349@@ -46,7 +46,7 @@ static int net_ctl_permissions(struct ct
53744 struct ctl_table *table) 54350 struct ctl_table *table)
53745 { 54351 {
@@ -53749,9 +54355,24 @@ diff -urNp linux-2.6.32.11/net/sysctl_net.c linux-2.6.32.11/net/sysctl_net.c
53749 int mode = (table->mode >> 6) & 7; 54355 int mode = (table->mode >> 6) & 7;
53750 return (mode << 6) | (mode << 3) | mode; 54356 return (mode << 6) | (mode << 3) | mode;
53751 } 54357 }
53752diff -urNp linux-2.6.32.11/net/unix/af_unix.c linux-2.6.32.11/net/unix/af_unix.c 54358diff -urNp linux-2.6.32.12/net/tipc/socket.c linux-2.6.32.12/net/tipc/socket.c
53753--- linux-2.6.32.11/net/unix/af_unix.c 2010-03-15 11:52:04.000000000 -0400 54359--- linux-2.6.32.12/net/tipc/socket.c 2010-03-15 11:52:04.000000000 -0400
53754+++ linux-2.6.32.11/net/unix/af_unix.c 2010-04-04 20:46:41.728797784 -0400 54360+++ linux-2.6.32.12/net/tipc/socket.c 2010-04-29 17:46:37.401277007 -0400
54361@@ -1449,8 +1449,9 @@ static int connect(struct socket *sock,
54362 } else {
54363 if (res == 0)
54364 res = -ETIMEDOUT;
54365- else
54366- ; /* leave "res" unchanged */
54367+ else {
54368+ /* leave "res" unchanged */
54369+ }
54370 sock->state = SS_DISCONNECTING;
54371 }
54372
54373diff -urNp linux-2.6.32.12/net/unix/af_unix.c linux-2.6.32.12/net/unix/af_unix.c
54374--- linux-2.6.32.12/net/unix/af_unix.c 2010-03-15 11:52:04.000000000 -0400
54375+++ linux-2.6.32.12/net/unix/af_unix.c 2010-04-04 20:46:41.728797784 -0400
53755@@ -734,6 +734,12 @@ static struct sock *unix_find_other(stru 54376@@ -734,6 +734,12 @@ static struct sock *unix_find_other(stru
53756 err = -ECONNREFUSED; 54377 err = -ECONNREFUSED;
53757 if (!S_ISSOCK(inode->i_mode)) 54378 if (!S_ISSOCK(inode->i_mode))
@@ -53809,9 +54430,39 @@ diff -urNp linux-2.6.32.11/net/unix/af_unix.c linux-2.6.32.11/net/unix/af_unix.c
53809 list = &unix_socket_table[addr->hash]; 54430 list = &unix_socket_table[addr->hash];
53810 } else { 54431 } else {
53811 list = &unix_socket_table[dentry->d_inode->i_ino & (UNIX_HASH_SIZE-1)]; 54432 list = &unix_socket_table[dentry->d_inode->i_ino & (UNIX_HASH_SIZE-1)];
53812diff -urNp linux-2.6.32.11/samples/kobject/kset-example.c linux-2.6.32.11/samples/kobject/kset-example.c 54433diff -urNp linux-2.6.32.12/net/xfrm/xfrm_policy.c linux-2.6.32.12/net/xfrm/xfrm_policy.c
53813--- linux-2.6.32.11/samples/kobject/kset-example.c 2010-03-15 11:52:04.000000000 -0400 54434--- linux-2.6.32.12/net/xfrm/xfrm_policy.c 2010-03-15 11:52:04.000000000 -0400
53814+++ linux-2.6.32.11/samples/kobject/kset-example.c 2010-04-04 20:46:41.728797784 -0400 54435+++ linux-2.6.32.12/net/xfrm/xfrm_policy.c 2010-04-29 17:46:37.421275445 -0400
54436@@ -1477,7 +1477,7 @@ free_dst:
54437 goto out;
54438 }
54439
54440-static int inline
54441+static inline int
54442 xfrm_dst_alloc_copy(void **target, void *src, int size)
54443 {
54444 if (!*target) {
54445@@ -1489,7 +1489,7 @@ xfrm_dst_alloc_copy(void **target, void
54446 return 0;
54447 }
54448
54449-static int inline
54450+static inline int
54451 xfrm_dst_update_parent(struct dst_entry *dst, struct xfrm_selector *sel)
54452 {
54453 #ifdef CONFIG_XFRM_SUB_POLICY
54454@@ -1501,7 +1501,7 @@ xfrm_dst_update_parent(struct dst_entry
54455 #endif
54456 }
54457
54458-static int inline
54459+static inline int
54460 xfrm_dst_update_origin(struct dst_entry *dst, struct flowi *fl)
54461 {
54462 #ifdef CONFIG_XFRM_SUB_POLICY
54463diff -urNp linux-2.6.32.12/samples/kobject/kset-example.c linux-2.6.32.12/samples/kobject/kset-example.c
54464--- linux-2.6.32.12/samples/kobject/kset-example.c 2010-03-15 11:52:04.000000000 -0400
54465+++ linux-2.6.32.12/samples/kobject/kset-example.c 2010-04-04 20:46:41.728797784 -0400
53815@@ -87,7 +87,7 @@ static ssize_t foo_attr_store(struct kob 54466@@ -87,7 +87,7 @@ static ssize_t foo_attr_store(struct kob
53816 } 54467 }
53817 54468
@@ -53821,9 +54472,9 @@ diff -urNp linux-2.6.32.11/samples/kobject/kset-example.c linux-2.6.32.11/sample
53821 .show = foo_attr_show, 54472 .show = foo_attr_show,
53822 .store = foo_attr_store, 54473 .store = foo_attr_store,
53823 }; 54474 };
53824diff -urNp linux-2.6.32.11/scripts/basic/fixdep.c linux-2.6.32.11/scripts/basic/fixdep.c 54475diff -urNp linux-2.6.32.12/scripts/basic/fixdep.c linux-2.6.32.12/scripts/basic/fixdep.c
53825--- linux-2.6.32.11/scripts/basic/fixdep.c 2010-03-15 11:52:04.000000000 -0400 54476--- linux-2.6.32.12/scripts/basic/fixdep.c 2010-03-15 11:52:04.000000000 -0400
53826+++ linux-2.6.32.11/scripts/basic/fixdep.c 2010-04-04 20:46:41.728797784 -0400 54477+++ linux-2.6.32.12/scripts/basic/fixdep.c 2010-04-04 20:46:41.728797784 -0400
53827@@ -222,9 +222,9 @@ static void use_config(char *m, int slen 54478@@ -222,9 +222,9 @@ static void use_config(char *m, int slen
53828 54479
53829 static void parse_config_file(char *map, size_t len) 54480 static void parse_config_file(char *map, size_t len)
@@ -53845,9 +54496,9 @@ diff -urNp linux-2.6.32.11/scripts/basic/fixdep.c linux-2.6.32.11/scripts/basic/
53845 54496
53846 if (*p != INT_CONF) { 54497 if (*p != INT_CONF) {
53847 fprintf(stderr, "fixdep: sizeof(int) != 4 or wrong endianess? %#x\n", 54498 fprintf(stderr, "fixdep: sizeof(int) != 4 or wrong endianess? %#x\n",
53848diff -urNp linux-2.6.32.11/scripts/kallsyms.c linux-2.6.32.11/scripts/kallsyms.c 54499diff -urNp linux-2.6.32.12/scripts/kallsyms.c linux-2.6.32.12/scripts/kallsyms.c
53849--- linux-2.6.32.11/scripts/kallsyms.c 2010-03-15 11:52:04.000000000 -0400 54500--- linux-2.6.32.12/scripts/kallsyms.c 2010-03-15 11:52:04.000000000 -0400
53850+++ linux-2.6.32.11/scripts/kallsyms.c 2010-04-04 20:46:41.728797784 -0400 54501+++ linux-2.6.32.12/scripts/kallsyms.c 2010-04-04 20:46:41.728797784 -0400
53851@@ -43,10 +43,10 @@ struct text_range { 54502@@ -43,10 +43,10 @@ struct text_range {
53852 54503
53853 static unsigned long long _text; 54504 static unsigned long long _text;
@@ -53863,9 +54514,9 @@ diff -urNp linux-2.6.32.11/scripts/kallsyms.c linux-2.6.32.11/scripts/kallsyms.c
53863 }; 54514 };
53864 #define text_range_text (&text_ranges[0]) 54515 #define text_range_text (&text_ranges[0])
53865 #define text_range_inittext (&text_ranges[1]) 54516 #define text_range_inittext (&text_ranges[1])
53866diff -urNp linux-2.6.32.11/scripts/mod/file2alias.c linux-2.6.32.11/scripts/mod/file2alias.c 54517diff -urNp linux-2.6.32.12/scripts/mod/file2alias.c linux-2.6.32.12/scripts/mod/file2alias.c
53867--- linux-2.6.32.11/scripts/mod/file2alias.c 2010-03-15 11:52:04.000000000 -0400 54518--- linux-2.6.32.12/scripts/mod/file2alias.c 2010-03-15 11:52:04.000000000 -0400
53868+++ linux-2.6.32.11/scripts/mod/file2alias.c 2010-04-04 20:46:41.728797784 -0400 54519+++ linux-2.6.32.12/scripts/mod/file2alias.c 2010-04-04 20:46:41.728797784 -0400
53869@@ -72,7 +72,7 @@ static void device_id_check(const char * 54520@@ -72,7 +72,7 @@ static void device_id_check(const char *
53870 unsigned long size, unsigned long id_size, 54521 unsigned long size, unsigned long id_size,
53871 void *symval) 54522 void *symval)
@@ -53920,9 +54571,9 @@ diff -urNp linux-2.6.32.11/scripts/mod/file2alias.c linux-2.6.32.11/scripts/mod/
53920 54571
53921 sprintf(alias, "dmi*"); 54572 sprintf(alias, "dmi*");
53922 54573
53923diff -urNp linux-2.6.32.11/scripts/mod/modpost.c linux-2.6.32.11/scripts/mod/modpost.c 54574diff -urNp linux-2.6.32.12/scripts/mod/modpost.c linux-2.6.32.12/scripts/mod/modpost.c
53924--- linux-2.6.32.11/scripts/mod/modpost.c 2010-03-15 11:52:04.000000000 -0400 54575--- linux-2.6.32.12/scripts/mod/modpost.c 2010-03-15 11:52:04.000000000 -0400
53925+++ linux-2.6.32.11/scripts/mod/modpost.c 2010-04-04 20:46:41.728797784 -0400 54576+++ linux-2.6.32.12/scripts/mod/modpost.c 2010-04-04 20:46:41.728797784 -0400
53926@@ -835,6 +835,7 @@ enum mismatch { 54577@@ -835,6 +835,7 @@ enum mismatch {
53927 INIT_TO_EXIT, 54578 INIT_TO_EXIT,
53928 EXIT_TO_INIT, 54579 EXIT_TO_INIT,
@@ -53990,9 +54641,9 @@ diff -urNp linux-2.6.32.11/scripts/mod/modpost.c linux-2.6.32.11/scripts/mod/mod
53990 goto close_write; 54641 goto close_write;
53991 54642
53992 tmp = NOFAIL(malloc(b->pos)); 54643 tmp = NOFAIL(malloc(b->pos));
53993diff -urNp linux-2.6.32.11/scripts/mod/modpost.h linux-2.6.32.11/scripts/mod/modpost.h 54644diff -urNp linux-2.6.32.12/scripts/mod/modpost.h linux-2.6.32.12/scripts/mod/modpost.h
53994--- linux-2.6.32.11/scripts/mod/modpost.h 2010-03-15 11:52:04.000000000 -0400 54645--- linux-2.6.32.12/scripts/mod/modpost.h 2010-03-15 11:52:04.000000000 -0400
53995+++ linux-2.6.32.11/scripts/mod/modpost.h 2010-04-04 20:46:41.728797784 -0400 54646+++ linux-2.6.32.12/scripts/mod/modpost.h 2010-04-04 20:46:41.728797784 -0400
53996@@ -92,15 +92,15 @@ void *do_nofail(void *ptr, const char *e 54647@@ -92,15 +92,15 @@ void *do_nofail(void *ptr, const char *e
53997 54648
53998 struct buffer { 54649 struct buffer {
@@ -54012,9 +54663,9 @@ diff -urNp linux-2.6.32.11/scripts/mod/modpost.h linux-2.6.32.11/scripts/mod/mod
54012 54663
54013 struct module { 54664 struct module {
54014 struct module *next; 54665 struct module *next;
54015diff -urNp linux-2.6.32.11/scripts/mod/sumversion.c linux-2.6.32.11/scripts/mod/sumversion.c 54666diff -urNp linux-2.6.32.12/scripts/mod/sumversion.c linux-2.6.32.12/scripts/mod/sumversion.c
54016--- linux-2.6.32.11/scripts/mod/sumversion.c 2010-03-15 11:52:04.000000000 -0400 54667--- linux-2.6.32.12/scripts/mod/sumversion.c 2010-03-15 11:52:04.000000000 -0400
54017+++ linux-2.6.32.11/scripts/mod/sumversion.c 2010-04-04 20:46:41.728797784 -0400 54668+++ linux-2.6.32.12/scripts/mod/sumversion.c 2010-04-04 20:46:41.728797784 -0400
54018@@ -455,7 +455,7 @@ static void write_version(const char *fi 54669@@ -455,7 +455,7 @@ static void write_version(const char *fi
54019 goto out; 54670 goto out;
54020 } 54671 }
@@ -54024,9 +54675,9 @@ diff -urNp linux-2.6.32.11/scripts/mod/sumversion.c linux-2.6.32.11/scripts/mod/
54024 warn("writing sum in %s failed: %s\n", 54675 warn("writing sum in %s failed: %s\n",
54025 filename, strerror(errno)); 54676 filename, strerror(errno));
54026 goto out; 54677 goto out;
54027diff -urNp linux-2.6.32.11/scripts/pnmtologo.c linux-2.6.32.11/scripts/pnmtologo.c 54678diff -urNp linux-2.6.32.12/scripts/pnmtologo.c linux-2.6.32.12/scripts/pnmtologo.c
54028--- linux-2.6.32.11/scripts/pnmtologo.c 2010-03-15 11:52:04.000000000 -0400 54679--- linux-2.6.32.12/scripts/pnmtologo.c 2010-03-15 11:52:04.000000000 -0400
54029+++ linux-2.6.32.11/scripts/pnmtologo.c 2010-04-04 20:46:41.728797784 -0400 54680+++ linux-2.6.32.12/scripts/pnmtologo.c 2010-04-04 20:46:41.728797784 -0400
54030@@ -237,14 +237,14 @@ static void write_header(void) 54681@@ -237,14 +237,14 @@ static void write_header(void)
54031 fprintf(out, " * Linux logo %s\n", logoname); 54682 fprintf(out, " * Linux logo %s\n", logoname);
54032 fputs(" */\n\n", out); 54683 fputs(" */\n\n", out);
@@ -54053,9 +54704,9 @@ diff -urNp linux-2.6.32.11/scripts/pnmtologo.c linux-2.6.32.11/scripts/pnmtologo
54053 logoname); 54704 logoname);
54054 write_hex_cnt = 0; 54705 write_hex_cnt = 0;
54055 for (i = 0; i < logo_clutsize; i++) { 54706 for (i = 0; i < logo_clutsize; i++) {
54056diff -urNp linux-2.6.32.11/security/commoncap.c linux-2.6.32.11/security/commoncap.c 54707diff -urNp linux-2.6.32.12/security/commoncap.c linux-2.6.32.12/security/commoncap.c
54057--- linux-2.6.32.11/security/commoncap.c 2010-03-15 11:52:04.000000000 -0400 54708--- linux-2.6.32.12/security/commoncap.c 2010-03-15 11:52:04.000000000 -0400
54058+++ linux-2.6.32.11/security/commoncap.c 2010-04-04 20:46:41.728797784 -0400 54709+++ linux-2.6.32.12/security/commoncap.c 2010-04-04 20:46:41.728797784 -0400
54059@@ -27,7 +27,7 @@ 54710@@ -27,7 +27,7 @@
54060 #include <linux/sched.h> 54711 #include <linux/sched.h>
54061 #include <linux/prctl.h> 54712 #include <linux/prctl.h>
@@ -54078,9 +54729,9 @@ diff -urNp linux-2.6.32.11/security/commoncap.c linux-2.6.32.11/security/commonc
54078 return 0; 54729 return 0;
54079 } 54730 }
54080 54731
54081diff -urNp linux-2.6.32.11/security/integrity/ima/ima_api.c linux-2.6.32.11/security/integrity/ima/ima_api.c 54732diff -urNp linux-2.6.32.12/security/integrity/ima/ima_api.c linux-2.6.32.12/security/integrity/ima/ima_api.c
54082--- linux-2.6.32.11/security/integrity/ima/ima_api.c 2010-03-15 11:52:04.000000000 -0400 54733--- linux-2.6.32.12/security/integrity/ima/ima_api.c 2010-03-15 11:52:04.000000000 -0400
54083+++ linux-2.6.32.11/security/integrity/ima/ima_api.c 2010-04-04 20:46:41.728797784 -0400 54734+++ linux-2.6.32.12/security/integrity/ima/ima_api.c 2010-04-04 20:46:41.728797784 -0400
54084@@ -74,7 +74,7 @@ void ima_add_violation(struct inode *ino 54735@@ -74,7 +74,7 @@ void ima_add_violation(struct inode *ino
54085 int result; 54736 int result;
54086 54737
@@ -54090,9 +54741,9 @@ diff -urNp linux-2.6.32.11/security/integrity/ima/ima_api.c linux-2.6.32.11/secu
54090 54741
54091 entry = kmalloc(sizeof(*entry), GFP_KERNEL); 54742 entry = kmalloc(sizeof(*entry), GFP_KERNEL);
54092 if (!entry) { 54743 if (!entry) {
54093diff -urNp linux-2.6.32.11/security/integrity/ima/ima_fs.c linux-2.6.32.11/security/integrity/ima/ima_fs.c 54744diff -urNp linux-2.6.32.12/security/integrity/ima/ima_fs.c linux-2.6.32.12/security/integrity/ima/ima_fs.c
54094--- linux-2.6.32.11/security/integrity/ima/ima_fs.c 2010-03-15 11:52:04.000000000 -0400 54745--- linux-2.6.32.12/security/integrity/ima/ima_fs.c 2010-03-15 11:52:04.000000000 -0400
54095+++ linux-2.6.32.11/security/integrity/ima/ima_fs.c 2010-04-04 20:46:41.728797784 -0400 54746+++ linux-2.6.32.12/security/integrity/ima/ima_fs.c 2010-04-04 20:46:41.728797784 -0400
54096@@ -27,12 +27,12 @@ 54747@@ -27,12 +27,12 @@
54097 static int valid_policy = 1; 54748 static int valid_policy = 1;
54098 #define TMPBUFLEN 12 54749 #define TMPBUFLEN 12
@@ -54108,9 +54759,9 @@ diff -urNp linux-2.6.32.11/security/integrity/ima/ima_fs.c linux-2.6.32.11/secur
54108 return simple_read_from_buffer(buf, count, ppos, tmpbuf, len); 54759 return simple_read_from_buffer(buf, count, ppos, tmpbuf, len);
54109 } 54760 }
54110 54761
54111diff -urNp linux-2.6.32.11/security/integrity/ima/ima.h linux-2.6.32.11/security/integrity/ima/ima.h 54762diff -urNp linux-2.6.32.12/security/integrity/ima/ima.h linux-2.6.32.12/security/integrity/ima/ima.h
54112--- linux-2.6.32.11/security/integrity/ima/ima.h 2010-03-15 11:52:04.000000000 -0400 54763--- linux-2.6.32.12/security/integrity/ima/ima.h 2010-03-15 11:52:04.000000000 -0400
54113+++ linux-2.6.32.11/security/integrity/ima/ima.h 2010-04-04 20:46:41.728797784 -0400 54764+++ linux-2.6.32.12/security/integrity/ima/ima.h 2010-04-04 20:46:41.728797784 -0400
54114@@ -84,8 +84,8 @@ void ima_add_violation(struct inode *ino 54765@@ -84,8 +84,8 @@ void ima_add_violation(struct inode *ino
54115 extern spinlock_t ima_queue_lock; 54766 extern spinlock_t ima_queue_lock;
54116 54767
@@ -54122,9 +54773,9 @@ diff -urNp linux-2.6.32.11/security/integrity/ima/ima.h linux-2.6.32.11/security
54122 struct hlist_head queue[IMA_MEASURE_HTABLE_SIZE]; 54773 struct hlist_head queue[IMA_MEASURE_HTABLE_SIZE];
54123 }; 54774 };
54124 extern struct ima_h_table ima_htable; 54775 extern struct ima_h_table ima_htable;
54125diff -urNp linux-2.6.32.11/security/integrity/ima/ima_queue.c linux-2.6.32.11/security/integrity/ima/ima_queue.c 54776diff -urNp linux-2.6.32.12/security/integrity/ima/ima_queue.c linux-2.6.32.12/security/integrity/ima/ima_queue.c
54126--- linux-2.6.32.11/security/integrity/ima/ima_queue.c 2010-03-15 11:52:04.000000000 -0400 54777--- linux-2.6.32.12/security/integrity/ima/ima_queue.c 2010-03-15 11:52:04.000000000 -0400
54127+++ linux-2.6.32.11/security/integrity/ima/ima_queue.c 2010-04-04 20:46:41.728797784 -0400 54778+++ linux-2.6.32.12/security/integrity/ima/ima_queue.c 2010-04-04 20:46:41.728797784 -0400
54128@@ -78,7 +78,7 @@ static int ima_add_digest_entry(struct i 54779@@ -78,7 +78,7 @@ static int ima_add_digest_entry(struct i
54129 INIT_LIST_HEAD(&qe->later); 54780 INIT_LIST_HEAD(&qe->later);
54130 list_add_tail_rcu(&qe->later, &ima_measurements); 54781 list_add_tail_rcu(&qe->later, &ima_measurements);
@@ -54134,9 +54785,9 @@ diff -urNp linux-2.6.32.11/security/integrity/ima/ima_queue.c linux-2.6.32.11/se
54134 key = ima_hash_key(entry->digest); 54785 key = ima_hash_key(entry->digest);
54135 hlist_add_head_rcu(&qe->hnext, &ima_htable.queue[key]); 54786 hlist_add_head_rcu(&qe->hnext, &ima_htable.queue[key]);
54136 return 0; 54787 return 0;
54137diff -urNp linux-2.6.32.11/security/Kconfig linux-2.6.32.11/security/Kconfig 54788diff -urNp linux-2.6.32.12/security/Kconfig linux-2.6.32.12/security/Kconfig
54138--- linux-2.6.32.11/security/Kconfig 2010-03-15 11:52:04.000000000 -0400 54789--- linux-2.6.32.12/security/Kconfig 2010-03-15 11:52:04.000000000 -0400
54139+++ linux-2.6.32.11/security/Kconfig 2010-04-04 21:03:05.108480196 -0400 54790+++ linux-2.6.32.12/security/Kconfig 2010-04-29 17:46:37.065247062 -0400
54140@@ -4,6 +4,499 @@ 54791@@ -4,6 +4,499 @@
54141 54792
54142 menu "Security options" 54793 menu "Security options"
@@ -54145,6 +54796,15 @@ diff -urNp linux-2.6.32.11/security/Kconfig linux-2.6.32.11/security/Kconfig
54145+ 54796+
54146+menu "PaX" 54797+menu "PaX"
54147+ 54798+
54799+ config PAX_PER_CPU_PGD
54800+ bool
54801+
54802+ config TASK_SIZE_MAX_SHIFT
54803+ int
54804+ depends on X86_64
54805+ default 47 if !PAX_PER_CPU_PGD
54806+ default 42 if PAX_PER_CPU_PGD
54807+
54148+config PAX 54808+config PAX
54149+ bool "Enable various PaX features" 54809+ bool "Enable various PaX features"
54150+ depends on GRKERNSEC && (ALPHA || ARM || AVR32 || IA64 || MIPS32 || MIPS64 || PARISC || PPC || SPARC || X86) 54810+ depends on GRKERNSEC && (ALPHA || ARM || AVR32 || IA64 || MIPS32 || MIPS64 || PARISC || PPC || SPARC || X86)
@@ -54229,15 +54889,6 @@ diff -urNp linux-2.6.32.11/security/Kconfig linux-2.6.32.11/security/Kconfig
54229+ bool 'hook' 54889+ bool 'hook'
54230+endchoice 54890+endchoice
54231+ 54891+
54232+ config PAX_PER_CPU_PGD
54233+ bool
54234+
54235+ config TASK_SIZE_MAX_SHIFT
54236+ int
54237+ depends on X86_64
54238+ default 47 if !PAX_PER_CPU_PGD
54239+ default 42 if PAX_PER_CPU_PGD
54240+
54241+endmenu 54892+endmenu
54242+ 54893+
54243+menu "Non-executable pages" 54894+menu "Non-executable pages"
@@ -54646,9 +55297,9 @@ diff -urNp linux-2.6.32.11/security/Kconfig linux-2.6.32.11/security/Kconfig
54646 help 55297 help
54647 This is the portion of low virtual memory which should be protected 55298 This is the portion of low virtual memory which should be protected
54648 from userspace allocation. Keeping a user from writing to low pages 55299 from userspace allocation. Keeping a user from writing to low pages
54649diff -urNp linux-2.6.32.11/security/min_addr.c linux-2.6.32.11/security/min_addr.c 55300diff -urNp linux-2.6.32.12/security/min_addr.c linux-2.6.32.12/security/min_addr.c
54650--- linux-2.6.32.11/security/min_addr.c 2010-04-04 20:41:50.084493253 -0400 55301--- linux-2.6.32.12/security/min_addr.c 2010-04-04 20:41:50.084493253 -0400
54651+++ linux-2.6.32.11/security/min_addr.c 2010-04-04 20:46:41.732880788 -0400 55302+++ linux-2.6.32.12/security/min_addr.c 2010-04-04 20:46:41.732880788 -0400
54652@@ -14,6 +14,7 @@ unsigned long dac_mmap_min_addr = CONFIG 55303@@ -14,6 +14,7 @@ unsigned long dac_mmap_min_addr = CONFIG
54653 */ 55304 */
54654 static void update_mmap_min_addr(void) 55305 static void update_mmap_min_addr(void)
@@ -54665,9 +55316,9 @@ diff -urNp linux-2.6.32.11/security/min_addr.c linux-2.6.32.11/security/min_addr
54665 } 55316 }
54666 55317
54667 /* 55318 /*
54668diff -urNp linux-2.6.32.11/sound/aoa/codecs/onyx.c linux-2.6.32.11/sound/aoa/codecs/onyx.c 55319diff -urNp linux-2.6.32.12/sound/aoa/codecs/onyx.c linux-2.6.32.12/sound/aoa/codecs/onyx.c
54669--- linux-2.6.32.11/sound/aoa/codecs/onyx.c 2010-03-15 11:52:04.000000000 -0400 55320--- linux-2.6.32.12/sound/aoa/codecs/onyx.c 2010-03-15 11:52:04.000000000 -0400
54670+++ linux-2.6.32.11/sound/aoa/codecs/onyx.c 2010-04-04 20:46:41.732880788 -0400 55321+++ linux-2.6.32.12/sound/aoa/codecs/onyx.c 2010-04-04 20:46:41.732880788 -0400
54671@@ -53,7 +53,7 @@ struct onyx { 55322@@ -53,7 +53,7 @@ struct onyx {
54672 spdif_locked:1, 55323 spdif_locked:1,
54673 analog_locked:1, 55324 analog_locked:1,
@@ -54696,9 +55347,9 @@ diff -urNp linux-2.6.32.11/sound/aoa/codecs/onyx.c linux-2.6.32.11/sound/aoa/cod
54696 onyx->spdif_locked = onyx->analog_locked = 0; 55347 onyx->spdif_locked = onyx->analog_locked = 0;
54697 mutex_unlock(&onyx->mutex); 55348 mutex_unlock(&onyx->mutex);
54698 55349
54699diff -urNp linux-2.6.32.11/sound/core/oss/pcm_oss.c linux-2.6.32.11/sound/core/oss/pcm_oss.c 55350diff -urNp linux-2.6.32.12/sound/core/oss/pcm_oss.c linux-2.6.32.12/sound/core/oss/pcm_oss.c
54700--- linux-2.6.32.11/sound/core/oss/pcm_oss.c 2010-03-15 11:52:04.000000000 -0400 55351--- linux-2.6.32.12/sound/core/oss/pcm_oss.c 2010-03-15 11:52:04.000000000 -0400
54701+++ linux-2.6.32.11/sound/core/oss/pcm_oss.c 2010-04-04 20:46:41.732880788 -0400 55352+++ linux-2.6.32.12/sound/core/oss/pcm_oss.c 2010-04-04 20:46:41.732880788 -0400
54702@@ -2949,8 +2949,8 @@ static void snd_pcm_oss_proc_done(struct 55353@@ -2949,8 +2949,8 @@ static void snd_pcm_oss_proc_done(struct
54703 } 55354 }
54704 } 55355 }
@@ -54710,9 +55361,9 @@ diff -urNp linux-2.6.32.11/sound/core/oss/pcm_oss.c linux-2.6.32.11/sound/core/o
54710 #endif /* CONFIG_SND_VERBOSE_PROCFS */ 55361 #endif /* CONFIG_SND_VERBOSE_PROCFS */
54711 55362
54712 /* 55363 /*
54713diff -urNp linux-2.6.32.11/sound/core/seq/seq_lock.h linux-2.6.32.11/sound/core/seq/seq_lock.h 55364diff -urNp linux-2.6.32.12/sound/core/seq/seq_lock.h linux-2.6.32.12/sound/core/seq/seq_lock.h
54714--- linux-2.6.32.11/sound/core/seq/seq_lock.h 2010-03-15 11:52:04.000000000 -0400 55365--- linux-2.6.32.12/sound/core/seq/seq_lock.h 2010-03-15 11:52:04.000000000 -0400
54715+++ linux-2.6.32.11/sound/core/seq/seq_lock.h 2010-04-04 20:46:41.732880788 -0400 55366+++ linux-2.6.32.12/sound/core/seq/seq_lock.h 2010-04-04 20:46:41.732880788 -0400
54716@@ -23,10 +23,10 @@ void snd_use_lock_sync_helper(snd_use_lo 55367@@ -23,10 +23,10 @@ void snd_use_lock_sync_helper(snd_use_lo
54717 #else /* SMP || CONFIG_SND_DEBUG */ 55368 #else /* SMP || CONFIG_SND_DEBUG */
54718 55369
@@ -54728,9 +55379,9 @@ diff -urNp linux-2.6.32.11/sound/core/seq/seq_lock.h linux-2.6.32.11/sound/core/
54728 55379
54729 #endif /* SMP || CONFIG_SND_DEBUG */ 55380 #endif /* SMP || CONFIG_SND_DEBUG */
54730 55381
54731diff -urNp linux-2.6.32.11/sound/drivers/mts64.c linux-2.6.32.11/sound/drivers/mts64.c 55382diff -urNp linux-2.6.32.12/sound/drivers/mts64.c linux-2.6.32.12/sound/drivers/mts64.c
54732--- linux-2.6.32.11/sound/drivers/mts64.c 2010-03-15 11:52:04.000000000 -0400 55383--- linux-2.6.32.12/sound/drivers/mts64.c 2010-03-15 11:52:04.000000000 -0400
54733+++ linux-2.6.32.11/sound/drivers/mts64.c 2010-04-04 20:46:41.732880788 -0400 55384+++ linux-2.6.32.12/sound/drivers/mts64.c 2010-04-04 20:46:41.732880788 -0400
54734@@ -65,7 +65,7 @@ struct mts64 { 55385@@ -65,7 +65,7 @@ struct mts64 {
54735 struct pardevice *pardev; 55386 struct pardevice *pardev;
54736 int pardev_claimed; 55387 int pardev_claimed;
@@ -54779,9 +55430,9 @@ diff -urNp linux-2.6.32.11/sound/drivers/mts64.c linux-2.6.32.11/sound/drivers/m
54779 55430
54780 return 0; 55431 return 0;
54781 } 55432 }
54782diff -urNp linux-2.6.32.11/sound/drivers/portman2x4.c linux-2.6.32.11/sound/drivers/portman2x4.c 55433diff -urNp linux-2.6.32.12/sound/drivers/portman2x4.c linux-2.6.32.12/sound/drivers/portman2x4.c
54783--- linux-2.6.32.11/sound/drivers/portman2x4.c 2010-03-15 11:52:04.000000000 -0400 55434--- linux-2.6.32.12/sound/drivers/portman2x4.c 2010-03-15 11:52:04.000000000 -0400
54784+++ linux-2.6.32.11/sound/drivers/portman2x4.c 2010-04-04 20:46:41.732880788 -0400 55435+++ linux-2.6.32.12/sound/drivers/portman2x4.c 2010-04-04 20:46:41.732880788 -0400
54785@@ -83,7 +83,7 @@ struct portman { 55436@@ -83,7 +83,7 @@ struct portman {
54786 struct pardevice *pardev; 55437 struct pardevice *pardev;
54787 int pardev_claimed; 55438 int pardev_claimed;
@@ -54791,9 +55442,9 @@ diff -urNp linux-2.6.32.11/sound/drivers/portman2x4.c linux-2.6.32.11/sound/driv
54791 int mode[PORTMAN_NUM_INPUT_PORTS]; 55442 int mode[PORTMAN_NUM_INPUT_PORTS];
54792 struct snd_rawmidi_substream *midi_input[PORTMAN_NUM_INPUT_PORTS]; 55443 struct snd_rawmidi_substream *midi_input[PORTMAN_NUM_INPUT_PORTS];
54793 }; 55444 };
54794diff -urNp linux-2.6.32.11/sound/oss/sb_audio.c linux-2.6.32.11/sound/oss/sb_audio.c 55445diff -urNp linux-2.6.32.12/sound/oss/sb_audio.c linux-2.6.32.12/sound/oss/sb_audio.c
54795--- linux-2.6.32.11/sound/oss/sb_audio.c 2010-03-15 11:52:04.000000000 -0400 55446--- linux-2.6.32.12/sound/oss/sb_audio.c 2010-03-15 11:52:04.000000000 -0400
54796+++ linux-2.6.32.11/sound/oss/sb_audio.c 2010-04-04 20:46:41.732880788 -0400 55447+++ linux-2.6.32.12/sound/oss/sb_audio.c 2010-04-04 20:46:41.732880788 -0400
54797@@ -901,7 +901,7 @@ sb16_copy_from_user(int dev, 55448@@ -901,7 +901,7 @@ sb16_copy_from_user(int dev,
54798 buf16 = (signed short *)(localbuf + localoffs); 55449 buf16 = (signed short *)(localbuf + localoffs);
54799 while (c) 55450 while (c)
@@ -54803,9 +55454,9 @@ diff -urNp linux-2.6.32.11/sound/oss/sb_audio.c linux-2.6.32.11/sound/oss/sb_aud
54803 if (copy_from_user(lbuf8, 55454 if (copy_from_user(lbuf8,
54804 userbuf+useroffs + p, 55455 userbuf+useroffs + p,
54805 locallen)) 55456 locallen))
54806diff -urNp linux-2.6.32.11/sound/pci/ac97/ac97_codec.c linux-2.6.32.11/sound/pci/ac97/ac97_codec.c 55457diff -urNp linux-2.6.32.12/sound/pci/ac97/ac97_codec.c linux-2.6.32.12/sound/pci/ac97/ac97_codec.c
54807--- linux-2.6.32.11/sound/pci/ac97/ac97_codec.c 2010-03-15 11:52:04.000000000 -0400 55458--- linux-2.6.32.12/sound/pci/ac97/ac97_codec.c 2010-03-15 11:52:04.000000000 -0400
54808+++ linux-2.6.32.11/sound/pci/ac97/ac97_codec.c 2010-04-04 20:46:41.732880788 -0400 55459+++ linux-2.6.32.12/sound/pci/ac97/ac97_codec.c 2010-04-04 20:46:41.732880788 -0400
54809@@ -1952,7 +1952,7 @@ static int snd_ac97_dev_disconnect(struc 55460@@ -1952,7 +1952,7 @@ static int snd_ac97_dev_disconnect(struc
54810 } 55461 }
54811 55462
@@ -54815,9 +55466,9 @@ diff -urNp linux-2.6.32.11/sound/pci/ac97/ac97_codec.c linux-2.6.32.11/sound/pci
54815 55466
54816 #ifdef CONFIG_SND_AC97_POWER_SAVE 55467 #ifdef CONFIG_SND_AC97_POWER_SAVE
54817 static void do_update_power(struct work_struct *work) 55468 static void do_update_power(struct work_struct *work)
54818diff -urNp linux-2.6.32.11/sound/pci/ac97/ac97_patch.c linux-2.6.32.11/sound/pci/ac97/ac97_patch.c 55469diff -urNp linux-2.6.32.12/sound/pci/ac97/ac97_patch.c linux-2.6.32.12/sound/pci/ac97/ac97_patch.c
54819--- linux-2.6.32.11/sound/pci/ac97/ac97_patch.c 2010-04-04 20:41:50.084493253 -0400 55470--- linux-2.6.32.12/sound/pci/ac97/ac97_patch.c 2010-04-04 20:41:50.084493253 -0400
54820+++ linux-2.6.32.11/sound/pci/ac97/ac97_patch.c 2010-04-04 20:46:41.732880788 -0400 55471+++ linux-2.6.32.12/sound/pci/ac97/ac97_patch.c 2010-04-04 20:46:41.732880788 -0400
54821@@ -371,7 +371,7 @@ static int patch_yamaha_ymf743_build_spd 55472@@ -371,7 +371,7 @@ static int patch_yamaha_ymf743_build_spd
54822 return 0; 55473 return 0;
54823 } 55474 }
@@ -55124,9 +55775,9 @@ diff -urNp linux-2.6.32.11/sound/pci/ac97/ac97_patch.c linux-2.6.32.11/sound/pci
55124 .build_specific = patch_ucb1400_specific, 55775 .build_specific = patch_ucb1400_specific,
55125 }; 55776 };
55126 55777
55127diff -urNp linux-2.6.32.11/sound/pci/ens1370.c linux-2.6.32.11/sound/pci/ens1370.c 55778diff -urNp linux-2.6.32.12/sound/pci/ens1370.c linux-2.6.32.12/sound/pci/ens1370.c
55128--- linux-2.6.32.11/sound/pci/ens1370.c 2010-03-15 11:52:04.000000000 -0400 55779--- linux-2.6.32.12/sound/pci/ens1370.c 2010-03-15 11:52:04.000000000 -0400
55129+++ linux-2.6.32.11/sound/pci/ens1370.c 2010-04-04 20:46:41.732880788 -0400 55780+++ linux-2.6.32.12/sound/pci/ens1370.c 2010-04-04 20:46:41.732880788 -0400
55130@@ -452,7 +452,7 @@ static struct pci_device_id snd_audiopci 55781@@ -452,7 +452,7 @@ static struct pci_device_id snd_audiopci
55131 { PCI_VDEVICE(ENSONIQ, 0x5880), 0, }, /* ES1373 - CT5880 */ 55782 { PCI_VDEVICE(ENSONIQ, 0x5880), 0, }, /* ES1373 - CT5880 */
55132 { PCI_VDEVICE(ECTIVA, 0x8938), 0, }, /* Ectiva EV1938 */ 55783 { PCI_VDEVICE(ECTIVA, 0x8938), 0, }, /* Ectiva EV1938 */
@@ -55136,9 +55787,27 @@ diff -urNp linux-2.6.32.11/sound/pci/ens1370.c linux-2.6.32.11/sound/pci/ens1370
55136 }; 55787 };
55137 55788
55138 MODULE_DEVICE_TABLE(pci, snd_audiopci_ids); 55789 MODULE_DEVICE_TABLE(pci, snd_audiopci_ids);
55139diff -urNp linux-2.6.32.11/sound/pci/intel8x0.c linux-2.6.32.11/sound/pci/intel8x0.c 55790diff -urNp linux-2.6.32.12/sound/pci/hda/patch_intelhdmi.c linux-2.6.32.12/sound/pci/hda/patch_intelhdmi.c
55140--- linux-2.6.32.11/sound/pci/intel8x0.c 2010-03-15 11:52:04.000000000 -0400 55791--- linux-2.6.32.12/sound/pci/hda/patch_intelhdmi.c 2010-03-15 11:52:04.000000000 -0400
55141+++ linux-2.6.32.11/sound/pci/intel8x0.c 2010-04-04 20:46:41.732880788 -0400 55792+++ linux-2.6.32.12/sound/pci/hda/patch_intelhdmi.c 2010-04-29 17:46:37.441762570 -0400
55793@@ -511,10 +511,10 @@ static void hdmi_non_intrinsic_event(str
55794 cp_ready);
55795
55796 /* TODO */
55797- if (cp_state)
55798- ;
55799- if (cp_ready)
55800- ;
55801+ if (cp_state) {
55802+ }
55803+ if (cp_ready) {
55804+ }
55805 }
55806
55807
55808diff -urNp linux-2.6.32.12/sound/pci/intel8x0.c linux-2.6.32.12/sound/pci/intel8x0.c
55809--- linux-2.6.32.12/sound/pci/intel8x0.c 2010-03-15 11:52:04.000000000 -0400
55810+++ linux-2.6.32.12/sound/pci/intel8x0.c 2010-04-04 20:46:41.732880788 -0400
55142@@ -444,7 +444,7 @@ static struct pci_device_id snd_intel8x0 55811@@ -444,7 +444,7 @@ static struct pci_device_id snd_intel8x0
55143 { PCI_VDEVICE(AMD, 0x746d), DEVICE_INTEL }, /* AMD8111 */ 55812 { PCI_VDEVICE(AMD, 0x746d), DEVICE_INTEL }, /* AMD8111 */
55144 { PCI_VDEVICE(AMD, 0x7445), DEVICE_INTEL }, /* AMD768 */ 55813 { PCI_VDEVICE(AMD, 0x7445), DEVICE_INTEL }, /* AMD768 */
@@ -55157,9 +55826,9 @@ diff -urNp linux-2.6.32.11/sound/pci/intel8x0.c linux-2.6.32.11/sound/pci/intel8
55157 }; 55826 };
55158 55827
55159 static int __devinit snd_intel8x0_mixer(struct intel8x0 *chip, int ac97_clock, 55828 static int __devinit snd_intel8x0_mixer(struct intel8x0 *chip, int ac97_clock,
55160diff -urNp linux-2.6.32.11/sound/pci/intel8x0m.c linux-2.6.32.11/sound/pci/intel8x0m.c 55829diff -urNp linux-2.6.32.12/sound/pci/intel8x0m.c linux-2.6.32.12/sound/pci/intel8x0m.c
55161--- linux-2.6.32.11/sound/pci/intel8x0m.c 2010-03-15 11:52:04.000000000 -0400 55830--- linux-2.6.32.12/sound/pci/intel8x0m.c 2010-03-15 11:52:04.000000000 -0400
55162+++ linux-2.6.32.11/sound/pci/intel8x0m.c 2010-04-04 20:46:41.737788480 -0400 55831+++ linux-2.6.32.12/sound/pci/intel8x0m.c 2010-04-04 20:46:41.737788480 -0400
55163@@ -239,7 +239,7 @@ static struct pci_device_id snd_intel8x0 55832@@ -239,7 +239,7 @@ static struct pci_device_id snd_intel8x0
55164 { PCI_VDEVICE(AMD, 0x746d), DEVICE_INTEL }, /* AMD8111 */ 55833 { PCI_VDEVICE(AMD, 0x746d), DEVICE_INTEL }, /* AMD8111 */
55165 { PCI_VDEVICE(AL, 0x5455), DEVICE_ALI }, /* Ali5455 */ 55834 { PCI_VDEVICE(AL, 0x5455), DEVICE_ALI }, /* Ali5455 */
@@ -55178,9 +55847,9 @@ diff -urNp linux-2.6.32.11/sound/pci/intel8x0m.c linux-2.6.32.11/sound/pci/intel
55178 }; 55847 };
55179 55848
55180 static int __devinit snd_intel8x0m_probe(struct pci_dev *pci, 55849 static int __devinit snd_intel8x0m_probe(struct pci_dev *pci,
55181diff -urNp linux-2.6.32.11/usr/gen_init_cpio.c linux-2.6.32.11/usr/gen_init_cpio.c 55850diff -urNp linux-2.6.32.12/usr/gen_init_cpio.c linux-2.6.32.12/usr/gen_init_cpio.c
55182--- linux-2.6.32.11/usr/gen_init_cpio.c 2010-03-15 11:52:04.000000000 -0400 55851--- linux-2.6.32.12/usr/gen_init_cpio.c 2010-03-15 11:52:04.000000000 -0400
55183+++ linux-2.6.32.11/usr/gen_init_cpio.c 2010-04-04 20:46:41.737788480 -0400 55852+++ linux-2.6.32.12/usr/gen_init_cpio.c 2010-04-04 20:46:41.737788480 -0400
55184@@ -299,7 +299,7 @@ static int cpio_mkfile(const char *name, 55853@@ -299,7 +299,7 @@ static int cpio_mkfile(const char *name,
55185 int retval; 55854 int retval;
55186 int rc = -1; 55855 int rc = -1;
@@ -55203,10 +55872,10 @@ diff -urNp linux-2.6.32.11/usr/gen_init_cpio.c linux-2.6.32.11/usr/gen_init_cpio
55203 } else 55872 } else
55204 break; 55873 break;
55205 } 55874 }
55206diff -urNp linux-2.6.32.11/virt/kvm/kvm_main.c linux-2.6.32.11/virt/kvm/kvm_main.c 55875diff -urNp linux-2.6.32.12/virt/kvm/kvm_main.c linux-2.6.32.12/virt/kvm/kvm_main.c
55207--- linux-2.6.32.11/virt/kvm/kvm_main.c 2010-03-15 11:52:04.000000000 -0400 55876--- linux-2.6.32.12/virt/kvm/kvm_main.c 2010-04-29 17:49:38.869035092 -0400
55208+++ linux-2.6.32.11/virt/kvm/kvm_main.c 2010-04-04 20:46:41.737788480 -0400 55877+++ linux-2.6.32.12/virt/kvm/kvm_main.c 2010-04-29 17:49:58.805045845 -0400
55209@@ -1745,6 +1745,7 @@ static int kvm_vcpu_release(struct inode 55878@@ -1748,6 +1748,7 @@ static int kvm_vcpu_release(struct inode
55210 return 0; 55879 return 0;
55211 } 55880 }
55212 55881
@@ -55214,7 +55883,7 @@ diff -urNp linux-2.6.32.11/virt/kvm/kvm_main.c linux-2.6.32.11/virt/kvm/kvm_main
55214 static struct file_operations kvm_vcpu_fops = { 55883 static struct file_operations kvm_vcpu_fops = {
55215 .release = kvm_vcpu_release, 55884 .release = kvm_vcpu_release,
55216 .unlocked_ioctl = kvm_vcpu_ioctl, 55885 .unlocked_ioctl = kvm_vcpu_ioctl,
55217@@ -2341,6 +2342,7 @@ static int kvm_vm_mmap(struct file *file 55886@@ -2344,6 +2345,7 @@ static int kvm_vm_mmap(struct file *file
55218 return 0; 55887 return 0;
55219 } 55888 }
55220 55889
@@ -55222,7 +55891,7 @@ diff -urNp linux-2.6.32.11/virt/kvm/kvm_main.c linux-2.6.32.11/virt/kvm/kvm_main
55222 static struct file_operations kvm_vm_fops = { 55891 static struct file_operations kvm_vm_fops = {
55223 .release = kvm_vm_release, 55892 .release = kvm_vm_release,
55224 .unlocked_ioctl = kvm_vm_ioctl, 55893 .unlocked_ioctl = kvm_vm_ioctl,
55225@@ -2428,6 +2430,7 @@ out: 55894@@ -2431,6 +2433,7 @@ out:
55226 return r; 55895 return r;
55227 } 55896 }
55228 55897
@@ -55230,7 +55899,7 @@ diff -urNp linux-2.6.32.11/virt/kvm/kvm_main.c linux-2.6.32.11/virt/kvm/kvm_main
55230 static struct file_operations kvm_chardev_ops = { 55899 static struct file_operations kvm_chardev_ops = {
55231 .unlocked_ioctl = kvm_dev_ioctl, 55900 .unlocked_ioctl = kvm_dev_ioctl,
55232 .compat_ioctl = kvm_dev_ioctl, 55901 .compat_ioctl = kvm_dev_ioctl,
55233@@ -2437,6 +2440,9 @@ static struct miscdevice kvm_dev = { 55902@@ -2440,6 +2443,9 @@ static struct miscdevice kvm_dev = {
55234 KVM_MINOR, 55903 KVM_MINOR,
55235 "kvm", 55904 "kvm",
55236 &kvm_chardev_ops, 55905 &kvm_chardev_ops,
@@ -55240,7 +55909,7 @@ diff -urNp linux-2.6.32.11/virt/kvm/kvm_main.c linux-2.6.32.11/virt/kvm/kvm_main
55240 }; 55909 };
55241 55910
55242 static void hardware_enable(void *junk) 55911 static void hardware_enable(void *junk)
55243@@ -2711,7 +2717,7 @@ static void kvm_sched_out(struct preempt 55912@@ -2714,7 +2720,7 @@ static void kvm_sched_out(struct preempt
55244 kvm_arch_vcpu_put(vcpu); 55913 kvm_arch_vcpu_put(vcpu);
55245 } 55914 }
55246 55915
diff --git a/main/linux-grsec/xfrm-fix-policy-unreferencing-on-larval-drop.patch b/main/linux-grsec/xfrm-fix-policy-unreferencing-on-larval-drop.patch
new file mode 100644
index 0000000000..25dc0dcdc2
--- /dev/null
+++ b/main/linux-grsec/xfrm-fix-policy-unreferencing-on-larval-drop.patch
@@ -0,0 +1,14 @@
1diff --git a/net/xfrm/xfrm_policy.c b/net/xfrm/xfrm_policy.c
2index 31f4ba4..f4ea3a0 100644
3--- a/net/xfrm/xfrm_policy.c
4+++ b/net/xfrm/xfrm_policy.c
5@@ -1805,7 +1805,7 @@ restart:
6 /* EREMOTE tells the caller to generate
7 * a one-shot blackhole route. */
8 dst_release(dst);
9- xfrm_pols_put(pols, num_pols);
10+ xfrm_pols_put(pols, drop_pols);
11 XFRM_INC_STATS(net, LINUX_MIB_XFRMOUTNOSTATES);
12 return -EREMOTE;
13 }
14
diff --git a/main/linux-headers/APKBUILD b/main/linux-headers/APKBUILD
index 2dce290148..272d63ce02 100644
--- a/main/linux-headers/APKBUILD
+++ b/main/linux-headers/APKBUILD
@@ -2,7 +2,7 @@
2pkgname=linux-headers 2pkgname=linux-headers
3pkgver=2.6.32.2 3pkgver=2.6.32.2
4_kernver=2.6.32 4_kernver=2.6.32
5pkgrel=1 5pkgrel=2
6pkgdesc="Linux system headers" 6pkgdesc="Linux system headers"
7url="http://kernel.org" 7url="http://kernel.org"
8license='GPL-2' 8license='GPL-2'
@@ -14,15 +14,23 @@ source="ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-$_kernver.tar.bz2
14 scsi.patch 14 scsi.patch
15 " 15 "
16 16
17build() { 17prepare() {
18 cd $srcdir/linux-$_kernver 18 cd "$srcdir"/linux-$_kernver
19 if [ "$_kernver" != "$pkgver" ]; then 19 if [ "$_kernver" != "$pkgver" ]; then
20 bunzip2 -c < ../patch-$pkgver.bz2 | patch -p1 || return 1 20 bunzip2 -c < ../patch-$pkgver.bz2 | patch -p1 || return 1
21 fi 21 fi
22 patch -p1 -i "$srcdir"/scsi.patch || return 1 22 patch -p1 -i "$srcdir"/scsi.patch || return 1
23}
24
25build() {
26 return 0
27}
28
23 29
30package() {
31 cd "$srcdir"/linux-$_kernver
24 mkdir -p "$pkgdir/usr" 32 mkdir -p "$pkgdir/usr"
25 make headers_install INSTALL_HDR_PATH="$pkgdir/usr" 33 make headers_install INSTALL_HDR_PATH="$pkgdir/usr" || return 1
26 34
27 find "$pkgdir/usr" \( -name .install -o -name ..install.cmd \) -exec \ 35 find "$pkgdir/usr" \( -name .install -o -name ..install.cmd \) -exec \
28 rm -f {} \; 36 rm -f {} \;
diff --git a/main/linux-pae/APKBUILD b/main/linux-pae/APKBUILD
index cee800733a..1f96f01eea 100644
--- a/main/linux-pae/APKBUILD
+++ b/main/linux-pae/APKBUILD
@@ -4,7 +4,7 @@ _flavor=pae
4pkgname=linux-${_flavor} 4pkgname=linux-${_flavor}
5pkgver=2.6.32.10 5pkgver=2.6.32.10
6_kernver=2.6.32 6_kernver=2.6.32
7pkgrel=0 7pkgrel=1
8pkgdesc="Linux kernel with PAE enabled" 8pkgdesc="Linux kernel with PAE enabled"
9url=http://www.kernel.org 9url=http://www.kernel.org
10depends="mkinitfs linux-firmware" 10depends="mkinitfs linux-firmware"
diff --git a/main/linux-vserver/APKBUILD b/main/linux-vserver/APKBUILD
index 05a3114698..2663a0c0d7 100644
--- a/main/linux-vserver/APKBUILD
+++ b/main/linux-vserver/APKBUILD
@@ -2,9 +2,10 @@
2 2
3_flavor=vserver 3_flavor=vserver
4pkgname=linux-${_flavor} 4pkgname=linux-${_flavor}
5pkgver=2.6.32.10 5pkgver=2.6.32.12
6
6_kernver=2.6.32 7_kernver=2.6.32
7pkgrel=0 8pkgrel=1
8pkgdesc="Linux kernel with vserver" 9pkgdesc="Linux kernel with vserver"
9url="http://linux-vserver.org/" 10url="http://linux-vserver.org/"
10depends="mkinitfs linux-firmware" 11depends="mkinitfs linux-firmware"
@@ -14,7 +15,7 @@ _config=${config:-kernelconfig.${CARCH:-x86}}
14install= 15install=
15source="ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-$_kernver.tar.bz2 16source="ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-$_kernver.tar.bz2
16 ftp://ftp.kernel.org/pub/linux/kernel/v2.6/patch-$pkgver.bz2 17 ftp://ftp.kernel.org/pub/linux/kernel/v2.6/patch-$pkgver.bz2
17 http://vserver.13thfloor.at/Experimental/patch-2.6.32.10-vs2.3.0.36.29.2.diff 18 http://vserver.13thfloor.at/Experimental/patch-2.6.32.12-vs2.3.0.36.29.4.diff
18 kernelconfig.x86 19 kernelconfig.x86
19 " 20 "
20subpackages="$pkgname-dev" 21subpackages="$pkgname-dev"
@@ -49,7 +50,7 @@ menuconfig() {
49 50
50build() { 51build() {
51 cd "$srcdir"/build 52 cd "$srcdir"/build
52 make CC="$CC" || return 1 53 make CC="${CC:-gcc}" || return 1
53} 54}
54 55
55package() { 56package() {
@@ -114,6 +115,6 @@ dev() {
114} 115}
115 116
116md5sums="260551284ac224c3a43c4adac7df4879 linux-2.6.32.tar.bz2 117md5sums="260551284ac224c3a43c4adac7df4879 linux-2.6.32.tar.bz2
1170f1863836bf96fd0aab128d61eaa5693 patch-2.6.32.10.bz2 1189d097d34648a1734b1a7f97c5d000f03 patch-2.6.32.12.bz2
118393978a0b5c75b598f9fa711556dd2e1 patch-2.6.32.10-vs2.3.0.36.29.2.diff 119cbf358edd0f416b035d13114fdc34ccb patch-2.6.32.12-vs2.3.0.36.29.4.diff
11942ce36a36e7c71ee54761e56d59d17ed kernelconfig.x86" 12042ce36a36e7c71ee54761e56d59d17ed kernelconfig.x86"
diff --git a/main/lm_sensors/APKBUILD b/main/lm_sensors/APKBUILD
index 2d94523d8d..d587b1b3a1 100644
--- a/main/lm_sensors/APKBUILD
+++ b/main/lm_sensors/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=lm_sensors 2pkgname=lm_sensors
3pkgver=3.1.2 3pkgver=3.1.2
4pkgrel=0 4pkgrel=1
5pkgdesc="Collection of user space tools for general SMBus access and hardware monitoring." 5pkgdesc="Collection of user space tools for general SMBus access and hardware monitoring."
6url="http://www.lm-sensors.org/" 6url="http://www.lm-sensors.org/"
7license="GPL" 7license="GPL"
diff --git a/main/logrotate/APKBUILD b/main/logrotate/APKBUILD
index 5eee0d551f..71818db620 100644
--- a/main/logrotate/APKBUILD
+++ b/main/logrotate/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 2# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
3pkgname=logrotate 3pkgname=logrotate
4pkgver=3.7.8 4pkgver=3.7.8
5pkgrel=2 5pkgrel=3
6pkgdesc="Tool to rotate logfiles" 6pkgdesc="Tool to rotate logfiles"
7url="https://fedorahosted.org/logrotate/" 7url="https://fedorahosted.org/logrotate/"
8license="GPL" 8license="GPL"
diff --git a/main/lsof/APKBUILD b/main/lsof/APKBUILD
index b5f0018df9..d1cbe620c3 100644
--- a/main/lsof/APKBUILD
+++ b/main/lsof/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=lsof 2pkgname=lsof
3pkgver=4.83 3pkgver=4.83
4pkgrel=0 4pkgrel=1
5pkgdesc="LiSt Open Files" 5pkgdesc="LiSt Open Files"
6url="http://people.freebsd.org/~abe/" 6url="http://people.freebsd.org/~abe/"
7license="custom" 7license="custom"
diff --git a/main/lua-bitlib/APKBUILD b/main/lua-bitlib/APKBUILD
index 2a434d3e95..7063b8a869 100644
--- a/main/lua-bitlib/APKBUILD
+++ b/main/lua-bitlib/APKBUILD
@@ -2,7 +2,7 @@
2pkgname=lua-bitlib 2pkgname=lua-bitlib
3_name=bitlib 3_name=bitlib
4pkgver=26 4pkgver=26
5pkgrel=0 5pkgrel=1
6pkgdesc="A lua library providing bitwise operations" 6pkgdesc="A lua library providing bitwise operations"
7url="http://luaforge.net/projects/bitlib" 7url="http://luaforge.net/projects/bitlib"
8license="MIT/X11" 8license="MIT/X11"
diff --git a/main/lua-discount/APKBUILD b/main/lua-discount/APKBUILD
index 9fe7cfd373..be0d689a0f 100644
--- a/main/lua-discount/APKBUILD
+++ b/main/lua-discount/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 2# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
3pkgname=lua-discount 3pkgname=lua-discount
4pkgver=1.2.10.1 4pkgver=1.2.10.1
5pkgrel=0 5pkgrel=1
6pkgdesc="Lua binding to discount, a Markdown implementation in C" 6pkgdesc="Lua binding to discount, a Markdown implementation in C"
7url="http://asbradbury.org/projects/lua-discount" 7url="http://asbradbury.org/projects/lua-discount"
8license="BSD" 8license="BSD"
diff --git a/main/lua-expat/APKBUILD b/main/lua-expat/APKBUILD
index e2c58cad63..2063657c5a 100644
--- a/main/lua-expat/APKBUILD
+++ b/main/lua-expat/APKBUILD
@@ -3,7 +3,7 @@
3pkgname=lua-expat 3pkgname=lua-expat
4_name=luaexpat 4_name=luaexpat
5pkgver=1.1 5pkgver=1.1
6pkgrel=0 6pkgrel=1
7pkgdesc="LuaExpat is a SAX XML parser based on the Expat library. LuaExpat is free software and uses the same license as Lua 5.0." 7pkgdesc="LuaExpat is a SAX XML parser based on the Expat library. LuaExpat is free software and uses the same license as Lua 5.0."
8url="http://luaforge.net/projects/luaexpat/" 8url="http://luaforge.net/projects/luaexpat/"
9license="MIT" 9license="MIT"
diff --git a/main/lua-iconv/APKBUILD b/main/lua-iconv/APKBUILD
index 7f2f51718f..a6d29771e8 100644
--- a/main/lua-iconv/APKBUILD
+++ b/main/lua-iconv/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: 2# Maintainer:
3pkgname=lua-iconv 3pkgname=lua-iconv
4pkgver=6 4pkgver=6
5pkgrel=0 5pkgrel=1
6pkgdesc="Lua binding to the POSIX 'iconv' library" 6pkgdesc="Lua binding to the POSIX 'iconv' library"
7url="http://luaforge.net/projects/lua-iconv/" 7url="http://luaforge.net/projects/lua-iconv/"
8license="MIT" 8license="MIT"
diff --git a/main/lua-md5/APKBUILD b/main/lua-md5/APKBUILD
index 79813e53ae..5352d2780e 100644
--- a/main/lua-md5/APKBUILD
+++ b/main/lua-md5/APKBUILD
@@ -2,7 +2,7 @@
2pkgname="lua-md5" 2pkgname="lua-md5"
3_name="md5" 3_name="md5"
4pkgver=1.1.2 4pkgver=1.1.2
5pkgrel=0 5pkgrel=1
6pkgdesc="Basic cryptographic facilities for Lua" 6pkgdesc="Basic cryptographic facilities for Lua"
7url="http://www.keplerproject.org/md5/" 7url="http://www.keplerproject.org/md5/"
8license="MIT" 8license="MIT"
diff --git a/main/lua-openrc/APKBUILD b/main/lua-openrc/APKBUILD
index 56578c4002..966e1d3cc9 100644
--- a/main/lua-openrc/APKBUILD
+++ b/main/lua-openrc/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: 2# Maintainer:
3pkgname=lua-openrc 3pkgname=lua-openrc
4pkgver=0.1 4pkgver=0.1
5pkgrel=0 5pkgrel=1
6pkgdesc="Lua module for OpenRC" 6pkgdesc="Lua module for OpenRC"
7url="http://git.alpinelinux.org/cgit/lua-openrc/" 7url="http://git.alpinelinux.org/cgit/lua-openrc/"
8license="GPL" 8license="GPL"
diff --git a/main/lua-pc/APKBUILD b/main/lua-pc/APKBUILD
index 856432058d..9b1b38916b 100644
--- a/main/lua-pc/APKBUILD
+++ b/main/lua-pc/APKBUILD
@@ -2,7 +2,7 @@
2pkgname=lua-pc 2pkgname=lua-pc
3_name=lpc 3_name=lpc
4pkgver=1.0.0 4pkgver=1.0.0
5pkgrel=1 5pkgrel=2
6pkgdesc="Lua Process Call" 6pkgdesc="Lua Process Call"
7url="http://lua.net-core.org/sputnik.lua?p=Telesto:About" 7url="http://lua.net-core.org/sputnik.lua?p=Telesto:About"
8license="MIT/X11" 8license="MIT/X11"
diff --git a/main/lua-posix/APKBUILD b/main/lua-posix/APKBUILD
index bb90a0c86f..ca9e323f81 100644
--- a/main/lua-posix/APKBUILD
+++ b/main/lua-posix/APKBUILD
@@ -2,7 +2,7 @@
2pkgname=lua-posix 2pkgname=lua-posix
3_name=luaposix 3_name=luaposix
4pkgver=5.1.4 4pkgver=5.1.4
5pkgrel=0 5pkgrel=1
6pkgdesc="POSIX library for Lua" 6pkgdesc="POSIX library for Lua"
7url="http://luaforge.net/projects/luaposix/" 7url="http://luaforge.net/projects/luaposix/"
8license="MIT" 8license="MIT"
diff --git a/main/lua-socket/APKBUILD b/main/lua-socket/APKBUILD
index df001152b7..cc897ae705 100644
--- a/main/lua-socket/APKBUILD
+++ b/main/lua-socket/APKBUILD
@@ -3,7 +3,7 @@
3pkgname=lua-socket 3pkgname=lua-socket
4_name=luasocket 4_name=luasocket
5pkgver=2.0.2 5pkgver=2.0.2
6pkgrel=0 6pkgrel=1
7pkgdesc="Luasocket is the most comprehensive networking support library for the Lua language." 7pkgdesc="Luasocket is the most comprehensive networking support library for the Lua language."
8url="http://luaforge.net/projects/luasocket/" 8url="http://luaforge.net/projects/luasocket/"
9license="MIT" 9license="MIT"
diff --git a/main/lua-sql-mysql/APKBUILD b/main/lua-sql-mysql/APKBUILD
index 669ad205fd..517d6a62ff 100644
--- a/main/lua-sql-mysql/APKBUILD
+++ b/main/lua-sql-mysql/APKBUILD
@@ -2,7 +2,7 @@
2pkgname=lua-sql-mysql 2pkgname=lua-sql-mysql
3_name=luasql-mysql 3_name=luasql-mysql
4pkgver=2.1.1 4pkgver=2.1.1
5pkgrel=0 5pkgrel=1
6pkgdesc="MySQL driver for LuaSQL (luasql-mysql)" 6pkgdesc="MySQL driver for LuaSQL (luasql-mysql)"
7url="http://www.keplerproject.org/luasql/" 7url="http://www.keplerproject.org/luasql/"
8license="MIT" 8license="MIT"
diff --git a/main/lua-sql-postgres/APKBUILD b/main/lua-sql-postgres/APKBUILD
index 08eb9d966d..d54d34017a 100644
--- a/main/lua-sql-postgres/APKBUILD
+++ b/main/lua-sql-postgres/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Mika Havela <mika.havela@gmail.com> 2# Maintainer: Mika Havela <mika.havela@gmail.com>
3pkgname=lua-sql-postgres 3pkgname=lua-sql-postgres
4pkgver=2.1.1 4pkgver=2.1.1
5pkgrel=1 5pkgrel=2
6pkgdesc="PostgreSQL driver for LuaSQL" 6pkgdesc="PostgreSQL driver for LuaSQL"
7url="http://www.keplerproject.org/luasql/" 7url="http://www.keplerproject.org/luasql/"
8license="MIT" 8license="MIT"
diff --git a/main/lua-sql-sqlite3/APKBUILD b/main/lua-sql-sqlite3/APKBUILD
index e5ace6d60f..677995763f 100644
--- a/main/lua-sql-sqlite3/APKBUILD
+++ b/main/lua-sql-sqlite3/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <natanael.copa@gmail.com> 1# Maintainer: Natanael Copa <natanael.copa@gmail.com>
2pkgname=lua-sql-sqlite3 2pkgname=lua-sql-sqlite3
3pkgver=2.1.1 3pkgver=2.1.1
4pkgrel=1 4pkgrel=2
5pkgdesc="LuaSQL driver for sqlite3" 5pkgdesc="LuaSQL driver for sqlite3"
6url="http://www.keplerproject.org/luasql/" 6url="http://www.keplerproject.org/luasql/"
7license="MIT" 7license="MIT"
diff --git a/main/lua-uuid/APKBUILD b/main/lua-uuid/APKBUILD
index 0141699dfb..6e760893c9 100644
--- a/main/lua-uuid/APKBUILD
+++ b/main/lua-uuid/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: 2# Maintainer:
3pkgname=lua-uuid 3pkgname=lua-uuid
4pkgver=5.1 4pkgver=5.1
5pkgrel=0 5pkgrel=1
6pkgdesc="Lua library generating universally unique identifiers based on libuuid" 6pkgdesc="Lua library generating universally unique identifiers based on libuuid"
7url="http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/#luuid" 7url="http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/#luuid"
8license="Public Domain" 8license="Public Domain"
diff --git a/main/lua-zlib/APKBUILD b/main/lua-zlib/APKBUILD
index 6f319b4864..d37adab39d 100644
--- a/main/lua-zlib/APKBUILD
+++ b/main/lua-zlib/APKBUILD
@@ -4,7 +4,7 @@ pkgname=lua-zlib
4_name=lzlib 4_name=lzlib
5pkgver=0.4 5pkgver=0.4
6_ver=$pkgver-work2 6_ver=$pkgver-work2
7pkgrel=0 7pkgrel=1
8pkgdesc="Lua bindings to the ZLib compression library" 8pkgdesc="Lua bindings to the ZLib compression library"
9url="http://luaforge.net/projects/lzlib/" 9url="http://luaforge.net/projects/lzlib/"
10license="MIT" 10license="MIT"
diff --git a/main/lua/APKBUILD b/main/lua/APKBUILD
index 8a770eda83..040ecc75d4 100644
--- a/main/lua/APKBUILD
+++ b/main/lua/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=lua 2pkgname=lua
3pkgver=5.1.4 3pkgver=5.1.4
4pkgrel=3 4pkgrel=4
5pkgdesc="A powerful light-weight programming language designed for extending applications." 5pkgdesc="A powerful light-weight programming language designed for extending applications."
6url="http://www.lua.org/" 6url="http://www.lua.org/"
7license="MIT" 7license="MIT"
diff --git a/main/lvm2/APKBUILD b/main/lvm2/APKBUILD
index d9511cf7d3..fb136497cf 100644
--- a/main/lvm2/APKBUILD
+++ b/main/lvm2/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=lvm2 2pkgname=lvm2
3pkgver=2.02.61 3pkgver=2.02.64
4pkgrel=0 4pkgrel=1
5pkgdesc="Logical Volume Manager 2 utilities" 5pkgdesc="Logical Volume Manager 2 utilities"
6url="http://sourceware.org/lvm2/" 6url="http://sourceware.org/lvm2/"
7license="GPL" 7license="GPL"
@@ -31,7 +31,9 @@ build () {
31 31
32package() { 32package() {
33 cd "$srcdir"/LVM2.$pkgver 33 cd "$srcdir"/LVM2.$pkgver
34 make -j1 DESTDIR="$pkgdir" install || return 1 34 make -j1 DESTDIR="$pkgdir" \
35 usrlibdir="$pkgdir"/lib \
36 install || return 1
35 37
36 install -d "$pkgdir"/etc/lvm/archive "$pkgdir"/etc/lvm/backup 38 install -d "$pkgdir"/etc/lvm/archive "$pkgdir"/etc/lvm/backup
37 install -Dm755 "$srcdir"/lvm.initd "$pkgdir"/etc/init.d/lvm 39 install -Dm755 "$srcdir"/lvm.initd "$pkgdir"/etc/init.d/lvm
@@ -45,6 +47,6 @@ dm() {
45 mv "$pkgdir"/sbin/dm* "$subpkgdir"/sbin/ 47 mv "$pkgdir"/sbin/dm* "$subpkgdir"/sbin/
46} 48}
47 49
48md5sums="0fdac768c78d96525d47b5a3df4c67de LVM2.2.02.61.tgz 50md5sums="59fc0f7f6703a8c7f12df6b7d2e509fb LVM2.2.02.64.tgz
496f65f902cf19f144a42b8d6aceadf395 lvm.initd 516f65f902cf19f144a42b8d6aceadf395 lvm.initd
50ec36d5fe4561220304e406c5c797e71f lvm.confd" 52ec36d5fe4561220304e406c5c797e71f lvm.confd"
diff --git a/main/lzo/APKBUILD b/main/lzo/APKBUILD
index a9f2b912e1..aa73d34600 100644
--- a/main/lzo/APKBUILD
+++ b/main/lzo/APKBUILD
@@ -2,11 +2,11 @@
2# Maintainer: Michael Mason <ms13sp@gmail.com> 2# Maintainer: Michael Mason <ms13sp@gmail.com>
3pkgname=lzo 3pkgname=lzo
4pkgver=2.03 4pkgver=2.03
5pkgrel=0 5pkgrel=1
6pkgdesc="LZO -- a real-time data compression library" 6pkgdesc="LZO -- a real-time data compression library"
7url="http://www.oberhumer.com/opensource/lzo" 7url="http://www.oberhumer.com/opensource/lzo"
8license="GPL" 8license="GPL"
9depends="uclibc" 9depends=""
10makedepends="" 10makedepends=""
11install= 11install=
12subpackages="$pkgname-dev" 12subpackages="$pkgname-dev"
diff --git a/main/m4/APKBUILD b/main/m4/APKBUILD
index b1350037ee..098af7b7fa 100644
--- a/main/m4/APKBUILD
+++ b/main/m4/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=m4 2pkgname=m4
3pkgver=1.4.14 3pkgver=1.4.14
4pkgrel=0 4pkgrel=1
5pkgdesc="GNU macro processor" 5pkgdesc="GNU macro processor"
6url="http://www.gnu.org/software/m4" 6url="http://www.gnu.org/software/m4"
7depends= 7depends=
diff --git a/main/make/APKBUILD b/main/make/APKBUILD
index 5b0137cc88..6e51fb94d8 100644
--- a/main/make/APKBUILD
+++ b/main/make/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=make 2pkgname=make
3pkgver=3.81 3pkgver=3.81
4pkgrel=2 4pkgrel=3
5pkgdesc="GNU make utility to maintain groups of programs" 5pkgdesc="GNU make utility to maintain groups of programs"
6url="http://www.gnu.org/software/make" 6url="http://www.gnu.org/software/make"
7license=GPL 7license=GPL
diff --git a/main/man/APKBUILD b/main/man/APKBUILD
index c6940dbf3b..3be9fdbd1e 100644
--- a/main/man/APKBUILD
+++ b/main/man/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=man 2pkgname=man
3pkgver=1.6f 3pkgver=1.6f
4pkgrel=1 4pkgrel=2
5pkgdesc="A utility for reading man pages" 5pkgdesc="A utility for reading man pages"
6url="http://primates.ximian.com/~flucifredi/man/" 6url="http://primates.ximian.com/~flucifredi/man/"
7license="GPL" 7license="GPL"
diff --git a/main/mdadm/APKBUILD b/main/mdadm/APKBUILD
index ed49a4c6a2..c85f9bae9c 100644
--- a/main/mdadm/APKBUILD
+++ b/main/mdadm/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 2# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
3pkgname=mdadm 3pkgname=mdadm
4pkgver=3.1.2 4pkgver=3.1.2
5pkgrel=0 5pkgrel=1
6pkgdesc="a tool for managing Linux Software RAID arrays" 6pkgdesc="a tool for managing Linux Software RAID arrays"
7url="http://neil.brown.name/blog/mdadm" 7url="http://neil.brown.name/blog/mdadm"
8license="GPL-2" 8license="GPL-2"
diff --git a/main/mercurial/APKBUILD b/main/mercurial/APKBUILD
index 0df48f9df9..f371183283 100644
--- a/main/mercurial/APKBUILD
+++ b/main/mercurial/APKBUILD
@@ -1,6 +1,6 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=mercurial 2pkgname=mercurial
3pkgver=1.5.1 3pkgver=1.5.3
4pkgrel=0 4pkgrel=0
5pkgdesc="A scalable distributed SCM tool" 5pkgdesc="A scalable distributed SCM tool"
6url="http://www.selenic.com/mercurial" 6url="http://www.selenic.com/mercurial"
@@ -29,4 +29,4 @@ package() {
29 install -Dm644 contrib/vim/HGAnnotate.vim \ 29 install -Dm644 contrib/vim/HGAnnotate.vim \
30 "${vimpath}/syntax/HGAnnotate.vim" || return 1 30 "${vimpath}/syntax/HGAnnotate.vim" || return 1
31} 31}
32md5sums="22eac5602d777f9601e23700e641503f mercurial-1.5.1.tar.gz" 32md5sums="0969b8109f1b5a9c4debf985cca938f9 mercurial-1.5.3.tar.gz"
diff --git a/main/mesa/APKBUILD b/main/mesa/APKBUILD
index 54a8f75c7a..403017613f 100644
--- a/main/mesa/APKBUILD
+++ b/main/mesa/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=mesa 2pkgname=mesa
3pkgver=7.7.1 3pkgver=7.7.1
4pkgrel=0 4pkgrel=1
5pkgdesc="Mesa DRI OpenGL library" 5pkgdesc="Mesa DRI OpenGL library"
6url="http://www.mesa3d.org" 6url="http://www.mesa3d.org"
7license="LGPL" 7license="LGPL"
diff --git a/main/midori/APKBUILD b/main/midori/APKBUILD
index ad0760285e..4b05196edf 100644
--- a/main/midori/APKBUILD
+++ b/main/midori/APKBUILD
@@ -1,6 +1,6 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=midori 2pkgname=midori
3pkgver=0.2.4 3pkgver=0.2.5
4pkgrel=0 4pkgrel=0
5pkgdesc="A lightweight web browser based on Gtk WebKit" 5pkgdesc="A lightweight web browser based on Gtk WebKit"
6url="http://www.twotoasts.de/index.php?/pages/midori_summary.html" 6url="http://www.twotoasts.de/index.php?/pages/midori_summary.html"
@@ -45,4 +45,4 @@ package() {
45 # PAX does not like the JIT 45 # PAX does not like the JIT
46 paxctl -c -m -p "$pkgdir"/usr/bin/midori 46 paxctl -c -m -p "$pkgdir"/usr/bin/midori
47} 47}
48md5sums="ccd2ae162993c2c92c9e0eac7778c62d midori-0.2.4.tar.bz2" 48md5sums="3aeacd04d4d3e5c3bc16824696ff57b2 midori-0.2.5.tar.bz2"
diff --git a/main/mini_httpd/APKBUILD b/main/mini_httpd/APKBUILD
index 5b733b220e..58c86f1e19 100644
--- a/main/mini_httpd/APKBUILD
+++ b/main/mini_httpd/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=mini_httpd 2pkgname=mini_httpd
3pkgver=1.19 3pkgver=1.19
4pkgrel=3 4pkgrel=5
5pkgdesc="Small forking webserver with ssl and ipv6 support" 5pkgdesc="Small forking webserver with ssl and ipv6 support"
6url="http://www.acme.com/software/mini_httpd/" 6url="http://www.acme.com/software/mini_httpd/"
7license="BSD" 7license="BSD"
diff --git a/main/minicom/APKBUILD b/main/minicom/APKBUILD
index 8a7a35c6f8..4c4f041ed7 100644
--- a/main/minicom/APKBUILD
+++ b/main/minicom/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Michael Mason <ms13sp@gmail.com> 2# Maintainer: Michael Mason <ms13sp@gmail.com>
3pkgname=minicom 3pkgname=minicom
4pkgver=2.4 4pkgver=2.4
5pkgrel=0 5pkgrel=1
6pkgdesc="menu driven communications program for terminals" 6pkgdesc="menu driven communications program for terminals"
7url="http://alioth.debian.org/projects/minicom" 7url="http://alioth.debian.org/projects/minicom"
8license="GPL" 8license="GPL"
diff --git a/main/mkfontscale/APKBUILD b/main/mkfontscale/APKBUILD
index 283a98567f..126dbf2d9c 100644
--- a/main/mkfontscale/APKBUILD
+++ b/main/mkfontscale/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=mkfontscale 2pkgname=mkfontscale
3pkgver=1.0.7 3pkgver=1.0.7
4pkgrel=0 4pkgrel=1
5pkgdesc="X.org font scale" 5pkgdesc="X.org font scale"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/mlmmj/APKBUILD b/main/mlmmj/APKBUILD
index 6ac4d1620f..1a8e30b50e 100644
--- a/main/mlmmj/APKBUILD
+++ b/main/mlmmj/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=mlmmj 2pkgname=mlmmj
3pkgver=1.2.16 3pkgver=1.2.16
4pkgrel=1 4pkgrel=2
5pkgdesc="Mailing list managing made joyful" 5pkgdesc="Mailing list managing made joyful"
6url="http://mlmmj.org/" 6url="http://mlmmj.org/"
7license="MIT" 7license="MIT"
diff --git a/main/module-init-tools/APKBUILD b/main/module-init-tools/APKBUILD
index aaa9ceeb59..189f2f0d30 100644
--- a/main/module-init-tools/APKBUILD
+++ b/main/module-init-tools/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanel Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanel Copa <ncopa@alpinelinux.org>
2pkgname=module-init-tools 2pkgname=module-init-tools
3pkgver=3.11.1 3pkgver=3.11.1
4pkgrel=0 4pkgrel=1
5pkgdesc="Utilities for inserting and removing modules from the Linux kernel" 5pkgdesc="Utilities for inserting and removing modules from the Linux kernel"
6url="http://www.kernel.org" 6url="http://www.kernel.org"
7license='GPL' 7license='GPL'
diff --git a/main/mousepad/APKBUILD b/main/mousepad/APKBUILD
index ad5524f1d7..6fa9f2569a 100644
--- a/main/mousepad/APKBUILD
+++ b/main/mousepad/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=mousepad 2pkgname=mousepad
3pkgver=0.2.16 3pkgver=0.2.16
4pkgrel=0 4pkgrel=1
5pkgdesc="Simple Text Editor for Xfce4 (based on Gedit)" 5pkgdesc="Simple Text Editor for Xfce4 (based on Gedit)"
6url="http://www.xfce.org/~benny/apps.html" 6url="http://www.xfce.org/~benny/apps.html"
7license="GPL-2" 7license="GPL-2"
diff --git a/main/mpc/APKBUILD b/main/mpc/APKBUILD
index e385544a31..2d8282c08d 100644
--- a/main/mpc/APKBUILD
+++ b/main/mpc/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=mpc 2pkgname=mpc
3pkgver=0.19 3pkgver=0.19
4pkgrel=0 4pkgrel=1
5pkgdesc="Minimalist command line interface to MPD" 5pkgdesc="Minimalist command line interface to MPD"
6url="http://mpd.wikia.com/wiki/Client:Mpc" 6url="http://mpd.wikia.com/wiki/Client:Mpc"
7license="GPL2" 7license="GPL2"
diff --git a/main/mpd/APKBUILD b/main/mpd/APKBUILD
index a66295913f..a549978c6b 100644
--- a/main/mpd/APKBUILD
+++ b/main/mpd/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Natanael Copa <natanael.copa@gmail.com> 2# Maintainer: Natanael Copa <natanael.copa@gmail.com>
3pkgname=mpd 3pkgname=mpd
4pkgver=0.15.9 4pkgver=0.15.9
5pkgrel=0 5pkgrel=2
6pkgdesc="Music daemon that plays MP3, FLAC, and Ogg Vorbis files" 6pkgdesc="Music daemon that plays MP3, FLAC, and Ogg Vorbis files"
7url="http://musicpd.org" 7url="http://musicpd.org"
8pkgusers="mpd" 8pkgusers="mpd"
diff --git a/main/mpfr/APKBUILD b/main/mpfr/APKBUILD
index 63914e04b2..e2d92d1299 100644
--- a/main/mpfr/APKBUILD
+++ b/main/mpfr/APKBUILD
@@ -1,26 +1,29 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=mpfr 2pkgname=mpfr
3pkgver=2.4.2 3pkgver=2.4.2
4pkgrel=0 4pkgrel=2
5pkgdesc="multiple-precision floating-point library" 5pkgdesc="multiple-precision floating-point library"
6url="http://www.mpfr.org/" 6url="http://www.mpfr.org/"
7license="GPL LGPL" 7license="GPL LGPL"
8depends= 8depends=
9makedepends="gcc>=4.4.2 gmp-dev texinfo" 9makedepends="gmp5-dev texinfo"
10source="http://www.mpfr.org/mpfr-current/mpfr-$pkgver.tar.bz2" 10source="http://www.mpfr.org/mpfr-current/mpfr-$pkgver.tar.bz2"
11subpackages="$pkgname-doc $pkgname-dev" 11subpackages="$pkgname-doc $pkgname-dev"
12 12
13build() { 13build() {
14 cd "$srcdir"/$pkgname-$pkgver 14 cd "$srcdir"/$pkgname-$pkgver
15 ./configure --prefix=/usr \ 15 ./configure --prefix=/usr \
16 --disable-thread-safe \
17 --enable-shared || return 1; 16 --enable-shared || return 1;
18 make || return 1; 17 make || return 1;
19 make check
20} 18}
21 19
22package() { 20package() {
23 cd "$srcdir"/$pkgname-$pkgver 21 cd "$srcdir"/$pkgname-$pkgver
24 make DESTDIR="${pkgdir}" install || return 1; 22 make DESTDIR="${pkgdir}" install || return 1;
25} 23}
24
25dev() {
26 replaces=mpfr
27 default_dev
28}
26md5sums="89e59fe665e2b3ad44a6789f40b059a0 mpfr-2.4.2.tar.bz2" 29md5sums="89e59fe665e2b3ad44a6789f40b059a0 mpfr-2.4.2.tar.bz2"
diff --git a/main/mpg123/APKBUILD b/main/mpg123/APKBUILD
index f10f46b17b..a043024737 100644
--- a/main/mpg123/APKBUILD
+++ b/main/mpg123/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=mpg123 2pkgname=mpg123
3pkgver=1.12.1 3pkgver=1.12.1
4pkgrel=0 4pkgrel=1
5pkgdesc="A console based real time MPEG Audio Player for Layer 1, 2 and 3" 5pkgdesc="A console based real time MPEG Audio Player for Layer 1, 2 and 3"
6url="http://sourceforge.net/projects/mpg123" 6url="http://sourceforge.net/projects/mpg123"
7license="GPL2 LGPL2" 7license="GPL2 LGPL2"
diff --git a/testing/mplayer/APKBUILD b/main/mplayer/APKBUILD
index 24136a4a4a..f5f1ae7bd0 100644
--- a/testing/mplayer/APKBUILD
+++ b/main/mplayer/APKBUILD
@@ -1,8 +1,8 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=mplayer 2pkgname=mplayer
3pkgver=1.0_rc4_p20091124 3pkgver=1.0_rc4_p20100506
4_svnver=SVN-r29964 4_svnver=SVN-r30554
5pkgrel=4 5pkgrel=5
6pkgdesc="A movie player for linux" 6pkgdesc="A movie player for linux"
7url="http://www.mplayerhq.hu/" 7url="http://www.mplayerhq.hu/"
8license="GPL" 8license="GPL"
@@ -15,17 +15,7 @@ makedepends="libxxf86dga-dev libxv-dev libmad-dev lame-dev libao-dev
15# cdparanoia libcaca lirc-utils libgl-dev smbclient-dev 15# cdparanoia libcaca lirc-utils libgl-dev smbclient-dev
16# aalib-dev jack-audio-connection-kit libmng-dev libxss-dev 16# aalib-dev jack-audio-connection-kit libmng-dev libxss-dev
17 17
18source="http://mirrors.kernel.org/gentoo/distfiles/$pkgname-$pkgver.tbz2" 18source="http://mirrors.kernel.org/gentoo/distfiles/$pkgname-$pkgver.tar.bz2"
19
20unpack() {
21 default_unpack
22 cd "$srcdir"
23 for i in in $source; do
24 case $i in
25 *.tbz2) tar -jxf ${i##*/};;
26 esac
27 done
28}
29 19
30build() { 20build() {
31 cd "$srcdir"/$pkgname-$pkgver 21 cd "$srcdir"/$pkgname-$pkgver
@@ -75,4 +65,4 @@ package() {
75 "$pkgdir"/usr/share/mplayer/subfont.ttf || return 1 65 "$pkgdir"/usr/share/mplayer/subfont.ttf || return 1
76 rm -rf "$pkgdir"/usr/share/mplayer/font 66 rm -rf "$pkgdir"/usr/share/mplayer/font
77} 67}
78md5sums="3ef3c9bdd85004f099552592a97f069c mplayer-1.0_rc4_p20091124.tbz2" 68md5sums="38126e7d1cf4044115a617dc331cddcc mplayer-1.0_rc4_p20100506.tar.bz2"
diff --git a/testing/mplayer/liba52_gcc_bug.patch b/main/mplayer/liba52_gcc_bug.patch
index c0d42f876f..c0d42f876f 100644
--- a/testing/mplayer/liba52_gcc_bug.patch
+++ b/main/mplayer/liba52_gcc_bug.patch
diff --git a/testing/mplayer/mplayer/configure.orig b/main/mplayer/mplayer/configure.orig
index e69de29bb2..e69de29bb2 100644
--- a/testing/mplayer/mplayer/configure.orig
+++ b/main/mplayer/mplayer/configure.orig
diff --git a/testing/mplayer/mplayer/configure.rej b/main/mplayer/mplayer/configure.rej
index c0d42f876f..c0d42f876f 100644
--- a/testing/mplayer/mplayer/configure.rej
+++ b/main/mplayer/mplayer/configure.rej
diff --git a/main/mrxvt/APKBUILD b/main/mrxvt/APKBUILD
index 0c9cb702aa..647a8669df 100644
--- a/main/mrxvt/APKBUILD
+++ b/main/mrxvt/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Mark Constable <markc@renta.net> 2# Maintainer: Mark Constable <markc@renta.net>
3pkgname=mrxvt 3pkgname=mrxvt
4pkgver=0.5.4 4pkgver=0.5.4
5pkgrel=2 5pkgrel=3
6pkgdesc="A multi-tabbed X terminal emulator based on rxvt code" 6pkgdesc="A multi-tabbed X terminal emulator based on rxvt code"
7url="http://materm.sourceforge.net/wiki/pmwiki.php" 7url="http://materm.sourceforge.net/wiki/pmwiki.php"
8license="GPL" 8license="GPL"
diff --git a/main/mtools/APKBUILD b/main/mtools/APKBUILD
index bc738e0032..73a61c158d 100644
--- a/main/mtools/APKBUILD
+++ b/main/mtools/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=mtools 2pkgname=mtools
3pkgver=4.0.13 3pkgver=4.0.13
4pkgrel=0 4pkgrel=1
5pkgdesc="A collection of utilities to access MS-DOS disks from Unix without mounting them" 5pkgdesc="A collection of utilities to access MS-DOS disks from Unix without mounting them"
6url="http://www.gnu.org/software/mtools/" 6url="http://www.gnu.org/software/mtools/"
7license="GPL" 7license="GPL"
diff --git a/main/mysql/APKBUILD b/main/mysql/APKBUILD
index bc4f742846..ff1776fde1 100644
--- a/main/mysql/APKBUILD
+++ b/main/mysql/APKBUILD
@@ -1,8 +1,8 @@
1# Contributor: Carlo Landmeter <clandmeter@gmail.com> 1# Contributor: Carlo Landmeter <clandmeter@gmail.com>
2# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 2# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
3pkgname=mysql 3pkgname=mysql
4pkgver=5.1.45 4pkgver=5.1.46
5pkgrel=0 5pkgrel=1
6pkgdesc="A fast SQL database server" 6pkgdesc="A fast SQL database server"
7url="http://www.mysql.com/" 7url="http://www.mysql.com/"
8license='GPL' 8license='GPL'
@@ -77,6 +77,6 @@ client() {
77 done 77 done
78} 78}
79 79
80md5sums="06b5deb3a13c7600c38ba65b9f7e42c4 mysql-5.1.45.tar.gz 80md5sums="04f7c1422199c73a88a3d408b9161b63 mysql-5.1.46.tar.gz
8125d08b02bff6aa379dc45859b7a3f28a mysql.initd 8125d08b02bff6aa379dc45859b7a3f28a mysql.initd
8215a7e3ddd6a40bf5a1eb3a8c69d9c34c mysql.mycnf" 8215a7e3ddd6a40bf5a1eb3a8c69d9c34c mysql.mycnf"
diff --git a/main/nano/APKBUILD b/main/nano/APKBUILD
index d929c807f6..67e6ce8dbd 100644
--- a/main/nano/APKBUILD
+++ b/main/nano/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Michael Mason <ms13sp@gmail.com> 2# Maintainer: Michael Mason <ms13sp@gmail.com>
3pkgname=nano 3pkgname=nano
4pkgver=2.2.3 4pkgver=2.2.3
5pkgrel=0 5pkgrel=1
6pkgdesc="Text Editor. GNU nano is designed to be a free replacement for the Pico text editor." 6pkgdesc="Text Editor. GNU nano is designed to be a free replacement for the Pico text editor."
7url="http://www.nano-editor.org/" 7url="http://www.nano-editor.org/"
8license="GPL" 8license="GPL"
diff --git a/main/nasm/APKBUILD b/main/nasm/APKBUILD
index 8185a79247..b3adaa15f6 100644
--- a/main/nasm/APKBUILD
+++ b/main/nasm/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=nasm 2pkgname=nasm
3pkgver=2.08.01 3pkgver=2.08.01
4pkgrel=0 4pkgrel=1
5pkgdesc="80x86 assembler designed for portability and modularity" 5pkgdesc="80x86 assembler designed for portability and modularity"
6url="http://nasm.sourceforge.net" 6url="http://nasm.sourceforge.net"
7license="LGPL" 7license="LGPL"
diff --git a/main/ncftp/APKBUILD b/main/ncftp/APKBUILD
index 4495c55977..94b08e15e9 100644
--- a/main/ncftp/APKBUILD
+++ b/main/ncftp/APKBUILD
@@ -1,6 +1,6 @@
1# Maintainer: Carlo Landmeter <clandmeter at gmail> 1# Maintainer: Carlo Landmeter <clandmeter at gmail>
2pkgname=ncftp 2pkgname=ncftp
3pkgver=3.2.3 3pkgver=3.2.4
4pkgrel=0 4pkgrel=0
5pkgdesc="A set of free application programs implementing FTP" 5pkgdesc="A set of free application programs implementing FTP"
6url="http://www.ncftp.com/" 6url="http://www.ncftp.com/"
@@ -11,19 +11,31 @@ install="$pkgname.post-install"
11source="ftp://ftp.$pkgname.com/$pkgname/$pkgname-$pkgver-src.tar.bz2" 11source="ftp://ftp.$pkgname.com/$pkgname/$pkgname-$pkgver-src.tar.bz2"
12subpackages="$pkgname-doc $pkgname-bookmarks" 12subpackages="$pkgname-doc $pkgname-bookmarks"
13 13
14_builddir="$srcdir/$pkgname-$pkgver"
15
16prepare() {
17 mkdir -p "$pkgdir"/usr/share || return 1
18}
19
14build () { 20build () {
15 cd "${srcdir}/${pkgname}-${pkgver}" || return 1 21 cd "$_builddir" || return 1
16 install -d "${pkgdir}"/usr/share | return 1 22
17 ./configure --prefix=/usr \ 23 ./configure --prefix=/usr \
18 --sysconfdir=/etc \ 24 --sysconfdir=/etc \
19 --mandir=/usr/share/man || return 1 25 --mandir=/usr/share/man || return 1
20 cd "${srcdir}/${pkgname}-${pkgver}"/libncftp 26
27 cd "$_builddir"/libncftp
21 make shared || return 1 28 make shared || return 1
22 make PREFIX="${pkgdir}"/usr soinstall || return 1 29 cd "$_builddir" || return 1
23 cd "${srcdir}/${pkgname}-${pkgver}" || return 1
24 make || return 1 30 make || return 1
31}
32
33package() {
34 cd "$_builddir"/libncftp
35 make PREFIX="${pkgdir}"/usr soinstall || return 1
36 cd "$_builddir" || return 1
25 make DESTDIR="$pkgdir" install || return 1 37 make DESTDIR="$pkgdir" install || return 1
26 install -D doc/LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}"/LICENSE || return 1 38 install -D doc/LICENSE.txt "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE || return 1
27} 39}
28 40
29bookmarks () { 41bookmarks () {
@@ -32,4 +44,4 @@ bookmarks () {
32 mv "$pkgdir"/usr/bin/ncftpbookmarks "$subpkgdir"/usr/bin/ || return 1 44 mv "$pkgdir"/usr/bin/ncftpbookmarks "$subpkgdir"/usr/bin/ || return 1
33} 45}
34 46
35md5sums="fac4aa169e1734e8d9617afd4a9b51e5 ncftp-3.2.3-src.tar.bz2" 47md5sums="216d6befdd7381b11ffdc8b6e0c1bd12 ncftp-3.2.4-src.tar.bz2"
diff --git a/main/ncurses/APKBUILD b/main/ncurses/APKBUILD
index 9ae623a5b9..ef763f442b 100644
--- a/main/ncurses/APKBUILD
+++ b/main/ncurses/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=ncurses 2pkgname=ncurses
3pkgver=5.7 3pkgver=5.7
4pkgrel=1 4pkgrel=2
5pkgdesc="Console display library" 5pkgdesc="Console display library"
6url="http://www.gnu.org/software/ncurses/" 6url="http://www.gnu.org/software/ncurses/"
7license=MIT 7license=MIT
diff --git a/main/neon/APKBUILD b/main/neon/APKBUILD
index ef6fc8fed7..b756630cea 100644
--- a/main/neon/APKBUILD
+++ b/main/neon/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=neon 2pkgname=neon
3pkgver=0.28.6 3pkgver=0.29.3
4pkgrel=0 4pkgrel=1
5pkgdesc="HTTP and WebDAV client library with a C interface" 5pkgdesc="HTTP and WebDAV client library with a C interface"
6url="http://www.webdav.org/neon/" 6url="http://www.webdav.org/neon/"
7license="GPL LGPL" 7license="GPL LGPL"
@@ -23,6 +23,10 @@ build () {
23 --disable-static \ 23 --disable-static \
24 24
25 make || return 1 25 make || return 1
26}
27
28package() {
29 cd "$srcdir/$pkgname-$pkgver"
26 make DESTDIR="$pkgdir" install 30 make DESTDIR="$pkgdir" install
27} 31}
28md5sums="252578ed555552b71d15909641484951 neon-0.28.6.tar.gz" 32md5sums="ba1015b59c112d44d7797b62fe7bee51 neon-0.29.3.tar.gz"
diff --git a/main/net-snmp/APKBUILD b/main/net-snmp/APKBUILD
index 19baedc901..3b68686d90 100644
--- a/main/net-snmp/APKBUILD
+++ b/main/net-snmp/APKBUILD
@@ -1,8 +1,8 @@
1# Contributor: Carlo Landmeter <clandmeter@gmail.com> 1# Contributor: Carlo Landmeter <clandmeter@gmail.com>
2# Maintainer: Carlo Landmeter <clandmeter@gmail.com> 2# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
3pkgname=net-snmp 3pkgname=net-snmp
4pkgver=5.4.2.1 4pkgver=5.5
5pkgrel=3 5pkgrel=1
6pkgdesc="Simple Network Management Protocol" 6pkgdesc="Simple Network Management Protocol"
7url="http://www.net-snmp.org/" 7url="http://www.net-snmp.org/"
8license="GPL" 8license="GPL"
@@ -14,14 +14,17 @@ source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
14 snmpd.confd 14 snmpd.confd
15 snmptrapd.initd 15 snmptrapd.initd
16 snmptrapd.confd 16 snmptrapd.confd
17 CVE-2008-6123.patch
18 " 17 "
19 18
20build() { 19_builddir="$srcdir/$pkgname-$pkgver"
21 cd "$srcdir/$pkgname-$pkgver"
22 patch -p0 -i ../CVE-2008-6123.patch || return 1
23 20
21build() {
22 cd "$_builddir"
23
24 export lt_cv_sys_max_cmd_len=8192 24 export lt_cv_sys_max_cmd_len=8192
25
26 #build fails on: libnetsnmpmibs.so: undefined reference to `pthread_create'
27 LDFLAGS="$LDFLAGS -lpthread"
25 28
26 ./configure --prefix=/usr \ 29 ./configure --prefix=/usr \
27 --sysconfdir=/etc/snmp \ 30 --sysconfdir=/etc/snmp \
@@ -40,16 +43,20 @@ build() {
40 --disable-embedded-perl 43 --disable-embedded-perl
41 # embedded-perl seems to create TEXTREL's 44 # embedded-perl seems to create TEXTREL's
42 45
43 make -j1 || return 1 46 make || return 1
47}
48
49package() {
50 cd "$_builddir"
44 make -j1 DESTDIR="$pkgdir" install 51 make -j1 DESTDIR="$pkgdir" install
45 52
46 install -m755 -D "$srcdir"/snmpd.initd "$pkgdir"/etc/init.d/snmpd 53 install -m755 -D "$srcdir"/snmpd.initd "$pkgdir"/etc/init.d/snmpd
47 install -m644 -D "$srcdir"/snmpd.confd "$pkgdir"/etc/conf.d/snmpd 54 install -m644 -D "$srcdir"/snmpd.confd "$pkgdir"/etc/conf.d/snmpd
48 install -m755 -D "$srcdir"/snmptrapd.initd "$pkgdir"/etc/init.d/snmptrapd 55 install -m755 -D "$srcdir"/snmptrapd.initd "$pkgdir"/etc/init.d/snmptrapd
49 install -m644 -D "$srcdir"/snmptrapd.confd "$pkgdir"/etc/conf.d/snmptrapd 56 install -m644 -D "$srcdir"/snmptrapd.confd "$pkgdir"/etc/conf.d/snmptrapd
50 install -m644 -D EXAMPLE.conf "$pkgdir"/etc/snmp/snmpd.conf.example 57 install -m644 -D EXAMPLE.conf "$pkgdir"/etc/snmp/snmpd.conf.example
51 mkdir -p "$pkgdir"/var/lib/net-snmp 58 mkdir -p "$pkgdir"/var/lib/net-snmp
52 find "$pkgdir" -name perllocal.pod -delete 59 find "$pkgdir" -name perllocal.pod -delete
53} 60}
54 61
55tools() { 62tools() {
@@ -58,9 +65,8 @@ tools() {
58} 65}
59 66
60 67
61md5sums="984932520143f0c8bf7b7ce1fc9e1da1 net-snmp-5.4.2.1.tar.gz 68md5sums="5b2551e7bd024fbbee84dca22a5f13a1 net-snmp-5.5.tar.gz
62198a4a7b80557fa8112394df5ec9914e snmpd.initd 69198a4a7b80557fa8112394df5ec9914e snmpd.initd
6396510a2f3bc9f21648b03f7e8d76c0d3 snmpd.confd 7096510a2f3bc9f21648b03f7e8d76c0d3 snmpd.confd
647ce3e9e880fc6313ae87eb000bae4bda snmptrapd.initd 717ce3e9e880fc6313ae87eb000bae4bda snmptrapd.initd
65363f7728a76bdfc46e29b7e1f5cf4950 snmptrapd.confd 72363f7728a76bdfc46e29b7e1f5cf4950 snmptrapd.confd"
66e8eac801c76e03bca7e7bf6b267b0d3d CVE-2008-6123.patch"
diff --git a/main/net-snmp/CVE-2008-6123.patch b/main/net-snmp/CVE-2008-6123.patch
deleted file mode 100644
index b4b06f63e9..0000000000
--- a/main/net-snmp/CVE-2008-6123.patch
+++ /dev/null
@@ -1,19 +0,0 @@
1diff -Naur snmplib.orig/snmpUDPDomain.c snmplib/snmpUDPDomain.c
2--- snmplib.orig/snmpUDPDomain.c 2007-10-11 22:46:30.000000000 +0200
3+++ snmplib/snmpUDPDomain.c 2009-07-10 23:41:37.000000000 +0200
4@@ -104,12 +110,12 @@
5 char tmp[64];
6 to = (struct sockaddr_in *) &(addr_pair->remote_addr);
7 if (to == NULL) {
8- sprintf(tmp, "UDP: [%s]->unknown",
9+ sprintf(tmp, "UDP: unknown->[%s]",
10 inet_ntoa(addr_pair->local_addr));
11 } else {
12- sprintf(tmp, "UDP: [%s]->", inet_ntoa(addr_pair->local_addr));
13- sprintf(tmp + strlen(tmp), "[%s]:%hd",
14+ sprintf(tmp, "UDP: [%s]:%hu->",
15 inet_ntoa(to->sin_addr), ntohs(to->sin_port));
16+ sprintf(tmp + strlen(tmp), "[%s]", inet_ntoa(addr_pair->local_addr));
17 }
18 return strdup(tmp);
19 }
diff --git a/main/newt/APKBUILD b/main/newt/APKBUILD
index 6f471b17a2..c87d36e986 100644
--- a/main/newt/APKBUILD
+++ b/main/newt/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=newt 2pkgname=newt
3pkgver=0.52.10 3pkgver=0.52.10
4pkgrel=0 4pkgrel=1
5pkgdesc="Redhat's Newt windowing toolkit development files" 5pkgdesc="Redhat's Newt windowing toolkit development files"
6url="https://fedorahosted.org/newt/" 6url="https://fedorahosted.org/newt/"
7license="LGPL-2" 7license="LGPL-2"
diff --git a/main/nfs-utils/APKBUILD b/main/nfs-utils/APKBUILD
index 99500506f0..4807e752ca 100644
--- a/main/nfs-utils/APKBUILD
+++ b/main/nfs-utils/APKBUILD
@@ -2,13 +2,13 @@
2# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 2# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
3pkgname=nfs-utils 3pkgname=nfs-utils
4pkgver=1.2.0 4pkgver=1.2.0
5pkgrel=1 5pkgrel=3
6pkgdesc="kernel-mode NFS" 6pkgdesc="kernel-mode NFS"
7url="http://nfs.sourceforge.net/" 7url="http://nfs.sourceforge.net/"
8license="GPL" 8license="GPL"
9depends="portmap" 9depends="portmap"
10makedepends="e2fsprogs-dev" 10makedepends="e2fsprogs-dev"
11subpackages="$pkgname-doc" 11subpackages="$pkgname-doc rpcgen"
12source="http://downloads.sourceforge.net/nfs/$pkgname-$pkgver.tar.bz2 12source="http://downloads.sourceforge.net/nfs/$pkgname-$pkgver.tar.bz2
13 nfs.initd 13 nfs.initd
14 nfs.confd 14 nfs.confd
@@ -37,13 +37,21 @@ build() {
37 --with-statedir=/var/lib/nfs 37 --with-statedir=/var/lib/nfs
38 38
39 make || return 1 39 make || return 1
40}
41
42package() {
43 cd "$srcdir/$pkgname-$pkgver"
40 make -j1 DESTDIR="$pkgdir" install 44 make -j1 DESTDIR="$pkgdir" install
41 45
42 install -m755 -D "$srcdir"/nfs.initd "$pkgdir"/etc/init.d/nfs 46 install -m755 -D "$srcdir"/nfs.initd "$pkgdir"/etc/init.d/nfs
43 install -m644 -D "$srcdir"/nfs.confd "$pkgdir"/etc/conf.d/nfs 47 install -m644 -D "$srcdir"/nfs.confd "$pkgdir"/etc/conf.d/nfs
44 install -m644 -D "$srcdir"/nfs.exports "$pkgdir"/etc/exports 48 install -m644 -D "$srcdir"/nfs.exports "$pkgdir"/etc/exports
45 #mkdir -p "$pkgdir"/usr/lib/nfs 49}
46 install -m755 -D tools/rpcgen/rpcgen "$pkgdir"/usr/bin/rpcgen 50
51rpcgen() {
52 pkgdesc="Remote Procedure Call (RPC) protocol compiler"
53 cd "$srcdir/$pkgname-$pkgver"
54 install -m755 -D tools/rpcgen/rpcgen "$subpkgdir"/usr/bin/rpcgen
47} 55}
48 56
49md5sums="779cf81044e92cb51ad590960e7b3671 nfs-utils-1.2.0.tar.bz2 57md5sums="779cf81044e92cb51ad590960e7b3671 nfs-utils-1.2.0.tar.bz2
diff --git a/main/ngircd/APKBUILD b/main/ngircd/APKBUILD
index 45404557e7..3b6dce216f 100644
--- a/main/ngircd/APKBUILD
+++ b/main/ngircd/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=ngircd 2pkgname=ngircd
3pkgver=15 3pkgver=15
4pkgrel=0 4pkgrel=2
5pkgdesc="Next Generation IRC Daemon" 5pkgdesc="Next Generation IRC Daemon"
6url="http://ngircd.barton.de/" 6url="http://ngircd.barton.de/"
7license="GPL" 7license="GPL"
diff --git a/main/nmap/APKBUILD b/main/nmap/APKBUILD
index d97acd7a75..6ced585c2f 100644
--- a/main/nmap/APKBUILD
+++ b/main/nmap/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Leonardo Arena <rnalrd@gmail.com> 2# Maintainer: Leonardo Arena <rnalrd@gmail.com>
3pkgname=nmap 3pkgname=nmap
4pkgver=5.21 4pkgver=5.21
5pkgrel=0 5pkgrel=2
6pkgdesc="A network exploration tool and security/port scanner" 6pkgdesc="A network exploration tool and security/port scanner"
7url="http:/nmap.org" 7url="http:/nmap.org"
8license="custom:GPL" 8license="custom:GPL"
diff --git a/main/nrpe/APKBUILD b/main/nrpe/APKBUILD
index ddc67fb423..6b50416780 100644
--- a/main/nrpe/APKBUILD
+++ b/main/nrpe/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: 2# Maintainer:
3pkgname=nrpe 3pkgname=nrpe
4pkgver=2.12 4pkgver=2.12
5pkgrel=2 5pkgrel=4
6pkgusers="nagios" 6pkgusers="nagios"
7pkggroups="nagios" 7pkggroups="nagios"
8pkgdesc="NRPE allows you to remotely execute Nagios plugins on other Linux/Unix machines." 8pkgdesc="NRPE allows you to remotely execute Nagios plugins on other Linux/Unix machines."
diff --git a/main/ntfs-3g/APKBUILD b/main/ntfs-3g/APKBUILD
index b8b615376d..c61d00c155 100644
--- a/main/ntfs-3g/APKBUILD
+++ b/main/ntfs-3g/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 2# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
3pkgname=ntfs-3g 3pkgname=ntfs-3g
4pkgver=2010.3.6 4pkgver=2010.3.6
5pkgrel=0 5pkgrel=1
6pkgdesc="A userspace ntfs driver with write support" 6pkgdesc="A userspace ntfs driver with write support"
7url="http://www.tuxera.com/community/ntfs-3g-download/" 7url="http://www.tuxera.com/community/ntfs-3g-download/"
8license="GPL" 8license="GPL"
diff --git a/main/oidentd/APKBUILD b/main/oidentd/APKBUILD
index eda425fbf8..b2d6fed4e3 100644
--- a/main/oidentd/APKBUILD
+++ b/main/oidentd/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 2# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
3pkgname=oidentd 3pkgname=oidentd
4pkgver=2.0.8 4pkgver=2.0.8
5pkgrel=1 5pkgrel=2
6pkgdesc="Configurable IDENT server that supports NAT/IP masq." 6pkgdesc="Configurable IDENT server that supports NAT/IP masq."
7url="http://dev.ojnk.net/" 7url="http://dev.ojnk.net/"
8license="GPL" 8license="GPL"
diff --git a/main/openldap/APKBUILD b/main/openldap/APKBUILD
index 9a98906e46..cc369db6e6 100644
--- a/main/openldap/APKBUILD
+++ b/main/openldap/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=openldap 2pkgname=openldap
3pkgver=2.4.21 3pkgver=2.4.21
4pkgrel=0 4pkgrel=2
5pkgdesc="LDAP Server" 5pkgdesc="LDAP Server"
6url="http://www.openldap.org/" 6url="http://www.openldap.org/"
7license="custom" 7license="custom"
diff --git a/main/opennhrp/APKBUILD b/main/opennhrp/APKBUILD
index 2f0823f018..164b6ccb83 100644
--- a/main/opennhrp/APKBUILD
+++ b/main/opennhrp/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=opennhrp 2pkgname=opennhrp
3pkgver=0.11.5 3pkgver=0.11.5
4pkgrel=0 4pkgrel=2
5pkgdesc="NBMA Next Hop Resolution Protocol daemon" 5pkgdesc="NBMA Next Hop Resolution Protocol daemon"
6url="http://sourceforge.net/projects/opennhrp" 6url="http://sourceforge.net/projects/opennhrp"
7license="GPL-3" 7license="GPL-3"
@@ -10,6 +10,7 @@ makedepends="c-ares-dev"
10subpackages="$pkgname-doc" 10subpackages="$pkgname-doc"
11source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2 11source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2
12 opennhrp-0.9.3-peer-up-bgp.patch 12 opennhrp-0.9.3-peer-up-bgp.patch
13 opennhrp-script-timeout.patch
13 $pkgname.initd 14 $pkgname.initd
14 $pkgname.confd 15 $pkgname.confd
15 " 16 "
@@ -23,11 +24,16 @@ build() {
23 24
24 sed -i -e 's/-Werror//' Make.rules 25 sed -i -e 's/-Werror//' Make.rules
25 make || return 1 26 make || return 1
27}
28
29package() {
30 cd "$srcdir"/$pkgname-$pkgver
26 make DESTDIR="$pkgdir" install 31 make DESTDIR="$pkgdir" install
27 install -Dm755 "$srcdir"/opennhrp.initd "$pkgdir"/etc/init.d/opennhrp 32 install -Dm755 "$srcdir"/opennhrp.initd "$pkgdir"/etc/init.d/opennhrp
28 install -Dm644 "$srcdir"/opennhrp.confd "$pkgdir"/etc/conf.d/opennhrp 33 install -Dm644 "$srcdir"/opennhrp.confd "$pkgdir"/etc/conf.d/opennhrp
29} 34}
30md5sums="0982ce7c39bd760f0b58161f0883d4ec opennhrp-0.11.5.tar.bz2 35md5sums="0982ce7c39bd760f0b58161f0883d4ec opennhrp-0.11.5.tar.bz2
31f81539fc92800bb79668dda119a97d1d opennhrp-0.9.3-peer-up-bgp.patch 36f81539fc92800bb79668dda119a97d1d opennhrp-0.9.3-peer-up-bgp.patch
370178b95cba207156263096487b34f4ba opennhrp-script-timeout.patch
32ae65f88ccf849ef882669a8b4f0c7fc0 opennhrp.initd 38ae65f88ccf849ef882669a8b4f0c7fc0 opennhrp.initd
338eee86233728dc0d156bbfee6d98f338 opennhrp.confd" 398eee86233728dc0d156bbfee6d98f338 opennhrp.confd"
diff --git a/main/opennhrp/opennhrp-script-timeout.patch b/main/opennhrp/opennhrp-script-timeout.patch
new file mode 100644
index 0000000000..f28e01db2d
--- /dev/null
+++ b/main/opennhrp/opennhrp-script-timeout.patch
@@ -0,0 +1,13 @@
1diff --git a/nhrp/nhrp_peer.c b/nhrp/nhrp_peer.c
2index 4bcdd75..fb6c81c 100644
3--- a/nhrp/nhrp_peer.c
4+++ b/nhrp/nhrp_peer.c
5@@ -21,7 +21,7 @@
6 #include "nhrp_peer.h"
7 #include "nhrp_interface.h"
8
9-#define NHRP_SCRIPT_TIMEOUT 20
10+#define NHRP_SCRIPT_TIMEOUT 120
11 #define NHRP_PEER_FORMAT_LEN 128
12 #define NHRP_NEGATIVE_CACHE_TIME (3*60)
13 #define NHRP_EXPIRY_TIME (5*60)
diff --git a/main/openntpd/APKBUILD b/main/openntpd/APKBUILD
index cb0bba50fe..8737a19dcb 100644
--- a/main/openntpd/APKBUILD
+++ b/main/openntpd/APKBUILD
@@ -2,7 +2,7 @@
2pkgname=openntpd 2pkgname=openntpd
3pkgver=3.9_p1 3pkgver=3.9_p1
4_myver=3.9p1 4_myver=3.9p1
5pkgrel=6 5pkgrel=8
6pkgdesc="Lightweight NTP server ported from OpenBSD" 6pkgdesc="Lightweight NTP server ported from OpenBSD"
7url=http://www.openntpd.org/ 7url=http://www.openntpd.org/
8install=openntpd.pre-install 8install=openntpd.pre-install
diff --git a/main/openrc/APKBUILD b/main/openrc/APKBUILD
index 88cab44d79..bfa509bd3e 100644
--- a/main/openrc/APKBUILD
+++ b/main/openrc/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=openrc 2pkgname=openrc
3pkgver=0.6.0 3pkgver=0.6.0
4pkgrel=0 4pkgrel=1
5pkgdesc="OpenRC manages the services, startup and shutdown of a host" 5pkgdesc="OpenRC manages the services, startup and shutdown of a host"
6url="http://roy.marples.name/openrc" 6url="http://roy.marples.name/openrc"
7license='BSD-2' 7license='BSD-2'
diff --git a/main/openssh/APKBUILD b/main/openssh/APKBUILD
index 87d996e974..3fc470ae0c 100644
--- a/main/openssh/APKBUILD
+++ b/main/openssh/APKBUILD
@@ -2,7 +2,7 @@
2pkgname=openssh 2pkgname=openssh
3pkgver=5.4_p1 3pkgver=5.4_p1
4_myver=${pkgver%_*}${pkgver#*_} 4_myver=${pkgver%_*}${pkgver#*_}
5pkgrel=0 5pkgrel=2
6pkgdesc="Port of OpenBSD's free SSH release" 6pkgdesc="Port of OpenBSD's free SSH release"
7url="http://www.openssh.org/portable.html" 7url="http://www.openssh.org/portable.html"
8license="as-is" 8license="as-is"
diff --git a/main/openssl/APKBUILD b/main/openssl/APKBUILD
index 22dc63397c..1bab1385ff 100644
--- a/main/openssl/APKBUILD
+++ b/main/openssl/APKBUILD
@@ -1,21 +1,21 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=openssl 2pkgname=openssl
3pkgver=0.9.8n 3pkgver=1.0.0
4pkgrel=0 4pkgrel=0
5pkgdesc="Toolkit for SSL v2/v3 and TLS v1" 5pkgdesc="Toolkit for SSL v2/v3 and TLS v1"
6url=http://openssl.org 6url="http://openssl.org"
7depends= 7depends=
8makedepends="perl" 8makedepends="perl zlib-dev"
9license="openssl" 9license="openssl"
10 10
11subpackages="$pkgname-dev $pkgname-doc libcrypto" 11subpackages="$pkgname-dev $pkgname-doc libcrypto1.0:libcrypto libssl1.0:libssl"
12 12
13source="http://www.openssl.org/source/${pkgname}-${pkgver}.tar.gz 13source="http://www.openssl.org/source/${pkgname}-${pkgver}.tar.gz
14 http://www.linuxfromscratch.org/patches/downloads/openssl/openssl-0.9.8g-fix_manpages-1.patch 14 fix-manpages.patch
15 openssl-bb-basename.patch 15 openssl-bb-basename.patch
16 openssl-0.9.8k-padlock-sha.patch
17 " 16 "
18 17
18# openssl-0.9.8k-padlock-sha.patch
19_builddir="$srcdir"/$pkgname-$pkgver 19_builddir="$srcdir"/$pkgname-$pkgver
20prepare() { 20prepare() {
21 cd "$_builddir" 21 cd "$_builddir"
@@ -27,7 +27,11 @@ prepare() {
27 27
28build() { 28build() {
29 cd "$_builddir" 29 cd "$_builddir"
30 ./config --prefix=/usr --openssldir=/etc/ssl shared enable-montasm 30 ./config --prefix=/usr \
31 --openssldir=/etc/ssl \
32 shared zlib enable-montasm enable-md2 \
33 -Wa,--noexecstack \
34 || return 1
31 35
32 make -j1 || return 1 36 make -j1 || return 1
33} 37}
@@ -37,9 +41,16 @@ package() {
37 make -j1 INSTALL_PREFIX="$pkgdir" MANDIR=/usr/share/man install 41 make -j1 INSTALL_PREFIX="$pkgdir" MANDIR=/usr/share/man install
38} 42}
39 43
44dev() {
45 replaces="libcrypto openssl"
46 default_dev
47 # move symlinks
48 mv "$pkgdir"/usr/lib/*.so "$subpkgdir"/usr/lib/
49}
50
40libcrypto() { 51libcrypto() {
41 pkgdesc="Crypto library from openssl" 52 pkgdesc="Crypto library from openssl"
42 replaces="openssl" 53 replaces="openssl libcrypto"
43 mkdir -p "$subpkgdir"/lib "$subpkgdir"/usr/lib 54 mkdir -p "$subpkgdir"/lib "$subpkgdir"/usr/lib
44 for i in "$pkgdir"/usr/lib/libcrypto*; do 55 for i in "$pkgdir"/usr/lib/libcrypto*; do
45 mv $i "$subpkgdir"/lib/ 56 mv $i "$subpkgdir"/lib/
@@ -48,7 +59,16 @@ libcrypto() {
48 mv "$pkgdir"/usr/lib/engines "$subpkgdir"/usr/lib/ 59 mv "$pkgdir"/usr/lib/engines "$subpkgdir"/usr/lib/
49} 60}
50 61
51md5sums="076d8efc3ed93646bd01f04e23c07066 openssl-0.9.8n.tar.gz 62libssl() {
5204a6a88c2ee4badd4f8649792b73eaf3 openssl-0.9.8g-fix_manpages-1.patch 63 pkgdesc="SSL shared libraries"
53c6a9857a5dbd30cead0404aa7dd73977 openssl-bb-basename.patch 64 replaces="openssl"
5486b7f1bf50e1f3ba407ec62001a51a0d openssl-0.9.8k-padlock-sha.patch" 65 mkdir -p "$subpkgdir"/lib "$subpkgdir"/usr/lib
66 for i in "$pkgdir"/usr/lib/libssl*; do
67 mv $i "$subpkgdir"/lib/
68 ln -s ../../lib/${i##*/} "$subpkgdir"/usr/lib/${i##*/}
69 done
70}
71
72md5sums="89eaa86e25b2845f920ec00ae4c864ed openssl-1.0.0.tar.gz
73115c481cd59b3dba631364e8fb1778f5 fix-manpages.patch
74c6a9857a5dbd30cead0404aa7dd73977 openssl-bb-basename.patch"
diff --git a/main/openssl/fix-manpages.patch b/main/openssl/fix-manpages.patch
new file mode 100644
index 0000000000..7c6ac9902f
--- /dev/null
+++ b/main/openssl/fix-manpages.patch
@@ -0,0 +1,1329 @@
1diff --git a/FAQ b/FAQ
2index 2134e3a..18a8831 100644
3--- a/FAQ
4+++ b/FAQ
5@@ -724,7 +724,7 @@ OpenSSL by calling CRYPTO_set_locking_callback() and
6 CRYPTO_set_id_callback(), for all versions of OpenSSL up to and
7 including 0.9.8[abc...]. As of version 0.9.9, CRYPTO_set_id_callback()
8 and associated APIs are deprecated by CRYPTO_THREADID_set_callback()
9-and friends. This is described in the threads(3) manpage.
10+and friends. This is described in the openssl_threads(3) manpage.
11
12 * I've compiled a program under Windows and it crashes: why?
13
14diff --git a/crypto/rand/md_rand.c b/crypto/rand/md_rand.c
15index 88088ce..e5da17f 100644
16--- a/crypto/rand/md_rand.c
17+++ b/crypto/rand/md_rand.c
18@@ -196,7 +196,7 @@ static void ssleay_rand_add(const void *buf, int num, double add)
19 int do_not_lock;
20
21 /*
22- * (Based on the rand(3) manpage)
23+ * (Based on the openssl_rand(3) manpage)
24 *
25 * The input is chopped up into units of 20 bytes (or less for
26 * the last block). Each of these blocks is run through the hash
27@@ -361,7 +361,7 @@ static int ssleay_rand_bytes(unsigned char *buf, int num)
28 num_ceil = (1 + (num-1)/(MD_DIGEST_LENGTH/2)) * (MD_DIGEST_LENGTH/2);
29
30 /*
31- * (Based on the rand(3) manpage:)
32+ * (Based on the openssl_rand(3) manpage)
33 *
34 * For each group of 10 bytes (or less), we do the following:
35 *
36diff --git a/doc/apps/openssl.pod b/doc/apps/openssl.pod
37index 738142e..e904f05 100644
38--- a/doc/apps/openssl.pod
39+++ b/doc/apps/openssl.pod
40@@ -163,7 +163,7 @@ Create or examine a netscape certificate sequence
41
42 Online Certificate Status Protocol utility.
43
44-=item L<B<passwd>|passwd(1)>
45+=item L<B<passwd>|openssl-passwd(1)>
46
47 Generation of hashed passwords.
48
49@@ -401,7 +401,7 @@ L<crl(1)|crl(1)>, L<crl2pkcs7(1)|crl2pkcs7(1)>, L<dgst(1)|dgst(1)>,
50 L<dhparam(1)|dhparam(1)>, L<dsa(1)|dsa(1)>, L<dsaparam(1)|dsaparam(1)>,
51 L<enc(1)|enc(1)>, L<gendsa(1)|gendsa(1)>, L<genpkey(1)|genpkey(1)>,
52 L<genrsa(1)|genrsa(1)>, L<nseq(1)|nseq(1)>, L<openssl(1)|openssl(1)>,
53-L<passwd(1)|passwd(1)>,
54+L<openssl-passwd(1)|openssl-passwd(1)>,
55 L<pkcs12(1)|pkcs12(1)>, L<pkcs7(1)|pkcs7(1)>, L<pkcs8(1)|pkcs8(1)>,
56 L<rand(1)|rand(1)>, L<req(1)|req(1)>, L<rsa(1)|rsa(1)>,
57 L<rsautl(1)|rsautl(1)>, L<s_client(1)|s_client(1)>,
58diff --git a/doc/apps/passwd.pod b/doc/apps/passwd.pod
59deleted file mode 100644
60index f449825..0000000
61--- a/doc/apps/passwd.pod
62+++ /dev/null
63@@ -1,82 +0,0 @@
64-=pod
65-
66-=head1 NAME
67-
68-passwd - compute password hashes
69-
70-=head1 SYNOPSIS
71-
72-B<openssl passwd>
73-[B<-crypt>]
74-[B<-1>]
75-[B<-apr1>]
76-[B<-salt> I<string>]
77-[B<-in> I<file>]
78-[B<-stdin>]
79-[B<-noverify>]
80-[B<-quiet>]
81-[B<-table>]
82-{I<password>}
83-
84-=head1 DESCRIPTION
85-
86-The B<passwd> command computes the hash of a password typed at
87-run-time or the hash of each password in a list. The password list is
88-taken from the named file for option B<-in file>, from stdin for
89-option B<-stdin>, or from the command line, or from the terminal otherwise.
90-The Unix standard algorithm B<crypt> and the MD5-based BSD password
91-algorithm B<1> and its Apache variant B<apr1> are available.
92-
93-=head1 OPTIONS
94-
95-=over 4
96-
97-=item B<-crypt>
98-
99-Use the B<crypt> algorithm (default).
100-
101-=item B<-1>
102-
103-Use the MD5 based BSD password algorithm B<1>.
104-
105-=item B<-apr1>
106-
107-Use the B<apr1> algorithm (Apache variant of the BSD algorithm).
108-
109-=item B<-salt> I<string>
110-
111-Use the specified salt.
112-When reading a password from the terminal, this implies B<-noverify>.
113-
114-=item B<-in> I<file>
115-
116-Read passwords from I<file>.
117-
118-=item B<-stdin>
119-
120-Read passwords from B<stdin>.
121-
122-=item B<-noverify>
123-
124-Don't verify when reading a password from the terminal.
125-
126-=item B<-quiet>
127-
128-Don't output warnings when passwords given at the command line are truncated.
129-
130-=item B<-table>
131-
132-In the output list, prepend the cleartext password and a TAB character
133-to each password hash.
134-
135-=back
136-
137-=head1 EXAMPLES
138-
139-B<openssl passwd -crypt -salt xx password> prints B<xxj31ZMTZzkVA>.
140-
141-B<openssl passwd -1 -salt xxxxxxxx password> prints B<$1$xxxxxxxx$UYCIxa628.9qXjpQCjM4a.>.
142-
143-B<openssl passwd -apr1 -salt xxxxxxxx password> prints B<$apr1$xxxxxxxx$dxHfLAsjHkDRmG83UXe8K0>.
144-
145-=cut
146diff --git a/doc/crypto/BN_generate_prime.pod b/doc/crypto/BN_generate_prime.pod
147index 7dccacb..71e7078 100644
148--- a/doc/crypto/BN_generate_prime.pod
149+++ b/doc/crypto/BN_generate_prime.pod
150@@ -90,7 +90,7 @@ The error codes can be obtained by L<ERR_get_error(3)|ERR_get_error(3)>.
151
152 =head1 SEE ALSO
153
154-L<bn(3)|bn(3)>, L<ERR_get_error(3)|ERR_get_error(3)>, L<rand(3)|rand(3)>
155+L<bn(3)|bn(3)>, L<ERR_get_error(3)|ERR_get_error(3)>, L<openssl_rand(3)|openssl_rand(3)>
156
157 =head1 HISTORY
158
159diff --git a/doc/crypto/BN_rand.pod b/doc/crypto/BN_rand.pod
160index 81f93c2..690aa85 100644
161--- a/doc/crypto/BN_rand.pod
162+++ b/doc/crypto/BN_rand.pod
163@@ -45,7 +45,7 @@ The error codes can be obtained by L<ERR_get_error(3)|ERR_get_error(3)>.
164
165 =head1 SEE ALSO
166
167-L<bn(3)|bn(3)>, L<ERR_get_error(3)|ERR_get_error(3)>, L<rand(3)|rand(3)>,
168+L<bn(3)|bn(3)>, L<ERR_get_error(3)|ERR_get_error(3)>, L<openssl_rand(3)|openssl_rand(3)>,
169 L<RAND_add(3)|RAND_add(3)>, L<RAND_bytes(3)|RAND_bytes(3)>
170
171 =head1 HISTORY
172diff --git a/doc/crypto/CONF_modules_free.pod b/doc/crypto/CONF_modules_free.pod
173index 87bc7b7..347020c 100644
174--- a/doc/crypto/CONF_modules_free.pod
175+++ b/doc/crypto/CONF_modules_free.pod
176@@ -37,7 +37,7 @@ None of the functions return a value.
177 =head1 SEE ALSO
178
179 L<conf(5)|conf(5)>, L<OPENSSL_config(3)|OPENSSL_config(3)>,
180-L<CONF_modules_load_file(3), CONF_modules_load_file(3)>
181+L<CONF_modules_load_file(3)|CONF_modules_load_file(3)>
182
183 =head1 HISTORY
184
185diff --git a/doc/crypto/CONF_modules_load_file.pod b/doc/crypto/CONF_modules_load_file.pod
186index 9965d69..6dd9b1d 100644
187--- a/doc/crypto/CONF_modules_load_file.pod
188+++ b/doc/crypto/CONF_modules_load_file.pod
189@@ -51,7 +51,7 @@ return value of the failing module (this will always be zero or negative).
190 =head1 SEE ALSO
191
192 L<conf(5)|conf(5)>, L<OPENSSL_config(3)|OPENSSL_config(3)>,
193-L<CONF_free(3), CONF_free(3)>, L<err(3),err(3)>
194+L<CONF_free(3)|CONF_free(3)>, L<openssl_err(3)|openssl_err(3)>
195
196 =head1 HISTORY
197
198diff --git a/doc/crypto/DH_generate_key.pod b/doc/crypto/DH_generate_key.pod
199index 81f09fd..0d9f1e5 100644
200--- a/doc/crypto/DH_generate_key.pod
201+++ b/doc/crypto/DH_generate_key.pod
202@@ -40,7 +40,7 @@ The error codes can be obtained by L<ERR_get_error(3)|ERR_get_error(3)>.
203
204 =head1 SEE ALSO
205
206-L<dh(3)|dh(3)>, L<ERR_get_error(3)|ERR_get_error(3)>, L<rand(3)|rand(3)>, L<DH_size(3)|DH_size(3)>
207+L<dh(3)|dh(3)>, L<ERR_get_error(3)|ERR_get_error(3)>, L<openssl_rand(3)|openssl_rand(3)>, L<DH_size(3)|DH_size(3)>
208
209 =head1 HISTORY
210
211diff --git a/doc/crypto/DH_generate_parameters.pod b/doc/crypto/DH_generate_parameters.pod
212index 9081e9e..0c0f78c 100644
213--- a/doc/crypto/DH_generate_parameters.pod
214+++ b/doc/crypto/DH_generate_parameters.pod
215@@ -59,7 +59,7 @@ a usable generator.
216
217 =head1 SEE ALSO
218
219-L<dh(3)|dh(3)>, L<ERR_get_error(3)|ERR_get_error(3)>, L<rand(3)|rand(3)>,
220+L<dh(3)|dh(3)>, L<ERR_get_error(3)|ERR_get_error(3)>, L<openssl_rand(3)|openssl_rand(3)>,
221 L<DH_free(3)|DH_free(3)>
222
223 =head1 HISTORY
224diff --git a/doc/crypto/DSA_do_sign.pod b/doc/crypto/DSA_do_sign.pod
225index 5dfc733..0a6d5f1 100644
226--- a/doc/crypto/DSA_do_sign.pod
227+++ b/doc/crypto/DSA_do_sign.pod
228@@ -36,7 +36,7 @@ L<ERR_get_error(3)|ERR_get_error(3)>.
229
230 =head1 SEE ALSO
231
232-L<dsa(3)|dsa(3)>, L<ERR_get_error(3)|ERR_get_error(3)>, L<rand(3)|rand(3)>,
233+L<dsa(3)|dsa(3)>, L<ERR_get_error(3)|ERR_get_error(3)>, L<openssl_rand(3)|openssl_rand(3)>,
234 L<DSA_SIG_new(3)|DSA_SIG_new(3)>,
235 L<DSA_sign(3)|DSA_sign(3)>
236
237diff --git a/doc/crypto/DSA_generate_key.pod b/doc/crypto/DSA_generate_key.pod
238index af83ccf..95080eb 100644
239--- a/doc/crypto/DSA_generate_key.pod
240+++ b/doc/crypto/DSA_generate_key.pod
241@@ -24,7 +24,7 @@ The error codes can be obtained by L<ERR_get_error(3)|ERR_get_error(3)>.
242
243 =head1 SEE ALSO
244
245-L<dsa(3)|dsa(3)>, L<ERR_get_error(3)|ERR_get_error(3)>, L<rand(3)|rand(3)>,
246+L<dsa(3)|dsa(3)>, L<ERR_get_error(3)|ERR_get_error(3)>, L<openssl_rand(3)|openssl_rand(3)>,
247 L<DSA_generate_parameters(3)|DSA_generate_parameters(3)>
248
249 =head1 HISTORY
250diff --git a/doc/crypto/DSA_generate_parameters.pod b/doc/crypto/DSA_generate_parameters.pod
251index be7c924..2b1f78f 100644
252--- a/doc/crypto/DSA_generate_parameters.pod
253+++ b/doc/crypto/DSA_generate_parameters.pod
254@@ -90,7 +90,7 @@ Seed lengths E<gt> 20 are not supported.
255
256 =head1 SEE ALSO
257
258-L<dsa(3)|dsa(3)>, L<ERR_get_error(3)|ERR_get_error(3)>, L<rand(3)|rand(3)>,
259+L<dsa(3)|dsa(3)>, L<ERR_get_error(3)|ERR_get_error(3)>, L<openssl_rand(3)|openssl_rand(3)>,
260 L<DSA_free(3)|DSA_free(3)>
261
262 =head1 HISTORY
263diff --git a/doc/crypto/DSA_sign.pod b/doc/crypto/DSA_sign.pod
264index 97389e8..2e6f6f3 100644
265--- a/doc/crypto/DSA_sign.pod
266+++ b/doc/crypto/DSA_sign.pod
267@@ -55,7 +55,7 @@ Standard, DSS), ANSI X9.30
268
269 =head1 SEE ALSO
270
271-L<dsa(3)|dsa(3)>, L<ERR_get_error(3)|ERR_get_error(3)>, L<rand(3)|rand(3)>,
272+L<dsa(3)|dsa(3)>, L<ERR_get_error(3)|ERR_get_error(3)>, L<openssl_rand(3)|openssl_rand(3)>,
273 L<DSA_do_sign(3)|DSA_do_sign(3)>
274
275 =head1 HISTORY
276diff --git a/doc/crypto/ERR_GET_LIB.pod b/doc/crypto/ERR_GET_LIB.pod
277index 2a129da..a881bdb 100644
278--- a/doc/crypto/ERR_GET_LIB.pod
279+++ b/doc/crypto/ERR_GET_LIB.pod
280@@ -41,7 +41,7 @@ The library number, function code and reason code respectively.
281
282 =head1 SEE ALSO
283
284-L<err(3)|err(3)>, L<ERR_get_error(3)|ERR_get_error(3)>
285+L<openssl_err(3)|openssl_err(3)>, L<ERR_get_error(3)|ERR_get_error(3)>
286
287 =head1 HISTORY
288
289diff --git a/doc/crypto/ERR_clear_error.pod b/doc/crypto/ERR_clear_error.pod
290index 566e1f4..0f503e7 100644
291--- a/doc/crypto/ERR_clear_error.pod
292+++ b/doc/crypto/ERR_clear_error.pod
293@@ -20,7 +20,7 @@ ERR_clear_error() has no return value.
294
295 =head1 SEE ALSO
296
297-L<err(3)|err(3)>, L<ERR_get_error(3)|ERR_get_error(3)>
298+L<openssl_err(3)|openssl_err(3)>, L<ERR_get_error(3)|ERR_get_error(3)>
299
300 =head1 HISTORY
301
302diff --git a/doc/crypto/ERR_error_string.pod b/doc/crypto/ERR_error_string.pod
303index cdfa7fe..d774ec1 100644
304--- a/doc/crypto/ERR_error_string.pod
305+++ b/doc/crypto/ERR_error_string.pod
306@@ -60,7 +60,7 @@ none is registered for the error code.
307
308 =head1 SEE ALSO
309
310-L<err(3)|err(3)>, L<ERR_get_error(3)|ERR_get_error(3)>,
311+L<openssl_err(3)|openssl_err(3)>, L<ERR_get_error(3)|ERR_get_error(3)>,
312 L<ERR_load_crypto_strings(3)|ERR_load_crypto_strings(3)>,
313 L<SSL_load_error_strings(3)|SSL_load_error_strings(3)>
314 L<ERR_print_errors(3)|ERR_print_errors(3)>
315diff --git a/doc/crypto/ERR_get_error.pod b/doc/crypto/ERR_get_error.pod
316index 3444304..cd3d7ce 100644
317--- a/doc/crypto/ERR_get_error.pod
318+++ b/doc/crypto/ERR_get_error.pod
319@@ -61,7 +61,7 @@ The error code, or 0 if there is no error in the queue.
320
321 =head1 SEE ALSO
322
323-L<err(3)|err(3)>, L<ERR_error_string(3)|ERR_error_string(3)>,
324+L<openssl_err(3)|openssl_err(3)>, L<ERR_error_string(3)|ERR_error_string(3)>,
325 L<ERR_GET_LIB(3)|ERR_GET_LIB(3)>
326
327 =head1 HISTORY
328diff --git a/doc/crypto/ERR_load_crypto_strings.pod b/doc/crypto/ERR_load_crypto_strings.pod
329index 9bdec75..9c1b991 100644
330--- a/doc/crypto/ERR_load_crypto_strings.pod
331+++ b/doc/crypto/ERR_load_crypto_strings.pod
332@@ -35,7 +35,7 @@ ERR_free_strings() return no values.
333
334 =head1 SEE ALSO
335
336-L<err(3)|err(3)>, L<ERR_error_string(3)|ERR_error_string(3)>
337+L<openssl_err(3)|openssl_err(3)>, L<ERR_error_string(3)|ERR_error_string(3)>
338
339 =head1 HISTORY
340
341diff --git a/doc/crypto/ERR_load_strings.pod b/doc/crypto/ERR_load_strings.pod
342index 5acdd0e..261c87d 100644
343--- a/doc/crypto/ERR_load_strings.pod
344+++ b/doc/crypto/ERR_load_strings.pod
345@@ -43,7 +43,7 @@ ERR_get_next_error_library() returns a new library number.
346
347 =head1 SEE ALSO
348
349-L<err(3)|err(3)>, L<ERR_load_strings(3)|ERR_load_strings(3)>
350+L<openssl_err(3)|openssl_err(3)>, L<ERR_load_strings(3)|ERR_load_strings(3)>
351
352 =head1 HISTORY
353
354diff --git a/doc/crypto/ERR_print_errors.pod b/doc/crypto/ERR_print_errors.pod
355index b100a5f..a8b34b7 100644
356--- a/doc/crypto/ERR_print_errors.pod
357+++ b/doc/crypto/ERR_print_errors.pod
358@@ -38,7 +38,7 @@ ERR_print_errors() and ERR_print_errors_fp() return no values.
359
360 =head1 SEE ALSO
361
362-L<err(3)|err(3)>, L<ERR_error_string(3)|ERR_error_string(3)>,
363+L<openssl_err(3)|openssl_err(3)>, L<ERR_error_string(3)|ERR_error_string(3)>,
364 L<ERR_get_error(3)|ERR_get_error(3)>,
365 L<ERR_load_crypto_strings(3)|ERR_load_crypto_strings(3)>,
366 L<SSL_load_error_strings(3)|SSL_load_error_strings(3)>
367diff --git a/doc/crypto/ERR_put_error.pod b/doc/crypto/ERR_put_error.pod
368index acd241f..9c0263a 100644
369--- a/doc/crypto/ERR_put_error.pod
370+++ b/doc/crypto/ERR_put_error.pod
371@@ -34,7 +34,7 @@ no values.
372
373 =head1 SEE ALSO
374
375-L<err(3)|err(3)>, L<ERR_load_strings(3)|ERR_load_strings(3)>
376+L<openssl_err(3)|openssl_err(3)>, L<ERR_load_strings(3)|ERR_load_strings(3)>
377
378 =head1 HISTORY
379
380diff --git a/doc/crypto/ERR_remove_state.pod b/doc/crypto/ERR_remove_state.pod
381index 72925fb..8dd63da 100644
382--- a/doc/crypto/ERR_remove_state.pod
383+++ b/doc/crypto/ERR_remove_state.pod
384@@ -25,7 +25,7 @@ ERR_remove_state() returns no value.
385
386 =head1 SEE ALSO
387
388-L<err(3)|err(3)>
389+L<openssl_err(3)|openssl_err(3)>
390
391 =head1 HISTORY
392
393diff --git a/doc/crypto/EVP_BytesToKey.pod b/doc/crypto/EVP_BytesToKey.pod
394index d375c46..6d6cf39 100644
395--- a/doc/crypto/EVP_BytesToKey.pod
396+++ b/doc/crypto/EVP_BytesToKey.pod
397@@ -59,7 +59,7 @@ EVP_BytesToKey() returns the size of the derived key in bytes.
398
399 =head1 SEE ALSO
400
401-L<evp(3)|evp(3)>, L<rand(3)|rand(3)>,
402+L<evp(3)|evp(3)>, L<openssl_rand(3)|openssl_rand(3)>,
403 L<EVP_EncryptInit(3)|EVP_EncryptInit(3)>
404
405 =head1 HISTORY
406diff --git a/doc/crypto/EVP_OpenInit.pod b/doc/crypto/EVP_OpenInit.pod
407index 2e710da..31172e4 100644
408--- a/doc/crypto/EVP_OpenInit.pod
409+++ b/doc/crypto/EVP_OpenInit.pod
410@@ -54,7 +54,7 @@ EVP_OpenFinal() returns 0 if the decrypt failed or 1 for success.
411
412 =head1 SEE ALSO
413
414-L<evp(3)|evp(3)>, L<rand(3)|rand(3)>,
415+L<evp(3)|evp(3)>, L<openssl_rand(3)|openssl_rand(3)>,
416 L<EVP_EncryptInit(3)|EVP_EncryptInit(3)>,
417 L<EVP_SealInit(3)|EVP_SealInit(3)>
418
419diff --git a/doc/crypto/EVP_SealInit.pod b/doc/crypto/EVP_SealInit.pod
420index 7d793e1..a37101f 100644
421--- a/doc/crypto/EVP_SealInit.pod
422+++ b/doc/crypto/EVP_SealInit.pod
423@@ -74,7 +74,7 @@ with B<type> set to NULL.
424
425 =head1 SEE ALSO
426
427-L<evp(3)|evp(3)>, L<rand(3)|rand(3)>,
428+L<evp(3)|evp(3)>, L<openssl_rand(3)|openssl_rand(3)>,
429 L<EVP_EncryptInit(3)|EVP_EncryptInit(3)>,
430 L<EVP_OpenInit(3)|EVP_OpenInit(3)>
431
432diff --git a/doc/crypto/EVP_SignInit.pod b/doc/crypto/EVP_SignInit.pod
433index 620a623..090f6e1 100644
434--- a/doc/crypto/EVP_SignInit.pod
435+++ b/doc/crypto/EVP_SignInit.pod
436@@ -89,7 +89,7 @@ The previous two bugs are fixed in the newer EVP_SignDigest*() function.
437 =head1 SEE ALSO
438
439 L<EVP_VerifyInit(3)|EVP_VerifyInit(3)>,
440-L<EVP_DigestInit(3)|EVP_DigestInit(3)>, L<err(3)|err(3)>,
441+L<EVP_DigestInit(3)|EVP_DigestInit(3)>, L<openssl_err(3)|openssl_err(3)>,
442 L<evp(3)|evp(3)>, L<hmac(3)|hmac(3)>, L<md2(3)|md2(3)>,
443 L<md5(3)|md5(3)>, L<mdc2(3)|mdc2(3)>, L<ripemd(3)|ripemd(3)>,
444 L<sha(3)|sha(3)>, L<dgst(1)|dgst(1)>
445diff --git a/doc/crypto/EVP_VerifyInit.pod b/doc/crypto/EVP_VerifyInit.pod
446index 9097f09..2a8d225 100644
447--- a/doc/crypto/EVP_VerifyInit.pod
448+++ b/doc/crypto/EVP_VerifyInit.pod
449@@ -80,7 +80,7 @@ The previous two bugs are fixed in the newer EVP_VerifyDigest*() function.
450
451 L<evp(3)|evp(3)>,
452 L<EVP_SignInit(3)|EVP_SignInit(3)>,
453-L<EVP_DigestInit(3)|EVP_DigestInit(3)>, L<err(3)|err(3)>,
454+L<EVP_DigestInit(3)|EVP_DigestInit(3)>, L<openssl_err(3)|openssl_err(3)>,
455 L<evp(3)|evp(3)>, L<hmac(3)|hmac(3)>, L<md2(3)|md2(3)>,
456 L<md5(3)|md5(3)>, L<mdc2(3)|mdc2(3)>, L<ripemd(3)|ripemd(3)>,
457 L<sha(3)|sha(3)>, L<dgst(1)|dgst(1)>
458diff --git a/doc/crypto/OPENSSL_config.pod b/doc/crypto/OPENSSL_config.pod
459index e7bba2a..888de88 100644
460--- a/doc/crypto/OPENSSL_config.pod
461+++ b/doc/crypto/OPENSSL_config.pod
462@@ -73,7 +73,7 @@ Neither OPENSSL_config() nor OPENSSL_no_config() return a value.
463 =head1 SEE ALSO
464
465 L<conf(5)|conf(5)>, L<CONF_load_modules_file(3)|CONF_load_modules_file(3)>,
466-L<CONF_modules_free(3),CONF_modules_free(3)>
467+L<CONF_modules_free(3)|CONF_modules_free(3)>
468
469 =head1 HISTORY
470
471diff --git a/doc/crypto/RAND_add.pod b/doc/crypto/RAND_add.pod
472index 67c66f3..a6fc28a 100644
473--- a/doc/crypto/RAND_add.pod
474+++ b/doc/crypto/RAND_add.pod
475@@ -65,7 +65,7 @@ The other functions do not return values.
476
477 =head1 SEE ALSO
478
479-L<rand(3)|rand(3)>, L<RAND_egd(3)|RAND_egd(3)>,
480+L<openssl_rand(3)|openssl_rand(3)>, L<RAND_egd(3)|RAND_egd(3)>,
481 L<RAND_load_file(3)|RAND_load_file(3)>, L<RAND_cleanup(3)|RAND_cleanup(3)>
482
483 =head1 HISTORY
484diff --git a/doc/crypto/RAND_bytes.pod b/doc/crypto/RAND_bytes.pod
485index 1a9b91e..20c4110 100644
486--- a/doc/crypto/RAND_bytes.pod
487+++ b/doc/crypto/RAND_bytes.pod
488@@ -38,7 +38,7 @@ method.
489
490 =head1 SEE ALSO
491
492-L<rand(3)|rand(3)>, L<ERR_get_error(3)|ERR_get_error(3)>,
493+L<openssl_rand(3)|openssl_rand(3)>, L<ERR_get_error(3)|ERR_get_error(3)>,
494 L<RAND_add(3)|RAND_add(3)>
495
496 =head1 HISTORY
497diff --git a/doc/crypto/RAND_cleanup.pod b/doc/crypto/RAND_cleanup.pod
498index 3a8f074..c99537d 100644
499--- a/doc/crypto/RAND_cleanup.pod
500+++ b/doc/crypto/RAND_cleanup.pod
501@@ -20,7 +20,7 @@ RAND_cleanup() returns no value.
502
503 =head1 SEE ALSO
504
505-L<rand(3)|rand(3)>
506+L<openssl_rand(3)|openssl_rand(3)>
507
508 =head1 HISTORY
509
510diff --git a/doc/crypto/RAND_egd.pod b/doc/crypto/RAND_egd.pod
511index 8b8c61d..c367290 100644
512--- a/doc/crypto/RAND_egd.pod
513+++ b/doc/crypto/RAND_egd.pod
514@@ -72,7 +72,7 @@ success, and -1 if the connection failed. The PRNG state is not considered.
515
516 =head1 SEE ALSO
517
518-L<rand(3)|rand(3)>, L<RAND_add(3)|RAND_add(3)>,
519+L<openssl_rand(3)|openssl_rand(3)>, L<RAND_add(3)|RAND_add(3)>,
520 L<RAND_cleanup(3)|RAND_cleanup(3)>
521
522 =head1 HISTORY
523diff --git a/doc/crypto/RAND_load_file.pod b/doc/crypto/RAND_load_file.pod
524index d8c134e..a079013 100644
525--- a/doc/crypto/RAND_load_file.pod
526+++ b/doc/crypto/RAND_load_file.pod
527@@ -43,7 +43,7 @@ error.
528
529 =head1 SEE ALSO
530
531-L<rand(3)|rand(3)>, L<RAND_add(3)|RAND_add(3)>, L<RAND_cleanup(3)|RAND_cleanup(3)>
532+L<openssl_rand(3)|openssl_rand(3)>, L<RAND_add(3)|RAND_add(3)>, L<RAND_cleanup(3)|RAND_cleanup(3)>
533
534 =head1 HISTORY
535
536diff --git a/doc/crypto/RAND_set_rand_method.pod b/doc/crypto/RAND_set_rand_method.pod
537index e5b780f..7f3ad1b 100644
538--- a/doc/crypto/RAND_set_rand_method.pod
539+++ b/doc/crypto/RAND_set_rand_method.pod
540@@ -67,7 +67,7 @@ algorithms.
541
542 =head1 SEE ALSO
543
544-L<rand(3)|rand(3)>, L<engine(3)|engine(3)>
545+L<openssl_rand(3)|openssl_rand(3)>, L<engine(3)|engine(3)>
546
547 =head1 HISTORY
548
549diff --git a/doc/crypto/RSA_blinding_on.pod b/doc/crypto/RSA_blinding_on.pod
550index fd2c69a..7b98614 100644
551--- a/doc/crypto/RSA_blinding_on.pod
552+++ b/doc/crypto/RSA_blinding_on.pod
553@@ -34,7 +34,7 @@ RSA_blinding_off() returns no value.
554
555 =head1 SEE ALSO
556
557-L<rsa(3)|rsa(3)>, L<rand(3)|rand(3)>
558+L<rsa(3)|rsa(3)>, L<openssl_rand(3)|openssl_rand(3)>
559
560 =head1 HISTORY
561
562diff --git a/doc/crypto/RSA_generate_key.pod b/doc/crypto/RSA_generate_key.pod
563index 52dbb14..3db3487 100644
564--- a/doc/crypto/RSA_generate_key.pod
565+++ b/doc/crypto/RSA_generate_key.pod
566@@ -59,7 +59,7 @@ RSA_generate_key() goes into an infinite loop for illegal input values.
567
568 =head1 SEE ALSO
569
570-L<ERR_get_error(3)|ERR_get_error(3)>, L<rand(3)|rand(3)>, L<rsa(3)|rsa(3)>,
571+L<ERR_get_error(3)|ERR_get_error(3)>, L<openssl_rand(3)|openssl_rand(3)>, L<rsa(3)|rsa(3)>,
572 L<RSA_free(3)|RSA_free(3)>
573
574 =head1 HISTORY
575diff --git a/doc/crypto/RSA_public_encrypt.pod b/doc/crypto/RSA_public_encrypt.pod
576index ab0fe3b..3b00daf 100644
577--- a/doc/crypto/RSA_public_encrypt.pod
578+++ b/doc/crypto/RSA_public_encrypt.pod
579@@ -73,7 +73,7 @@ SSL, PKCS #1 v2.0
580
581 =head1 SEE ALSO
582
583-L<ERR_get_error(3)|ERR_get_error(3)>, L<rand(3)|rand(3)>, L<rsa(3)|rsa(3)>,
584+L<ERR_get_error(3)|ERR_get_error(3)>, L<openssl_rand(3)|openssl_rand(3)>, L<rsa(3)|rsa(3)>,
585 L<RSA_size(3)|RSA_size(3)>
586
587 =head1 HISTORY
588diff --git a/doc/crypto/RSA_sign_ASN1_OCTET_STRING.pod b/doc/crypto/RSA_sign_ASN1_OCTET_STRING.pod
589index e70380b..121f3df 100644
590--- a/doc/crypto/RSA_sign_ASN1_OCTET_STRING.pod
591+++ b/doc/crypto/RSA_sign_ASN1_OCTET_STRING.pod
592@@ -48,7 +48,7 @@ These functions serve no recognizable purpose.
593 =head1 SEE ALSO
594
595 L<ERR_get_error(3)|ERR_get_error(3)>, L<objects(3)|objects(3)>,
596-L<rand(3)|rand(3)>, L<rsa(3)|rsa(3)>, L<RSA_sign(3)|RSA_sign(3)>,
597+L<openssl_rand(3)|openssl_rand(3)>, L<rsa(3)|rsa(3)>, L<RSA_sign(3)|RSA_sign(3)>,
598 L<RSA_verify(3)|RSA_verify(3)>
599
600 =head1 HISTORY
601diff --git a/doc/crypto/X509_NAME_ENTRY_get_object.pod b/doc/crypto/X509_NAME_ENTRY_get_object.pod
602index 41902c0..4716e7e 100644
603--- a/doc/crypto/X509_NAME_ENTRY_get_object.pod
604+++ b/doc/crypto/X509_NAME_ENTRY_get_object.pod
605@@ -65,7 +65,7 @@ set first so the relevant field information can be looked up internally.
606 =head1 SEE ALSO
607
608 L<ERR_get_error(3)|ERR_get_error(3)>, L<d2i_X509_NAME(3)|d2i_X509_NAME(3)>,
609-L<OBJ_nid2obj(3),OBJ_nid2obj(3)>
610+L<OBJ_nid2obj(3)|OBJ_nid2obj(3)>
611
612 =head1 HISTORY
613
614diff --git a/doc/crypto/bn.pod b/doc/crypto/bn.pod
615index cd2f8e5..a6f8c58 100644
616--- a/doc/crypto/bn.pod
617+++ b/doc/crypto/bn.pod
618@@ -167,7 +167,7 @@ of B<BIGNUM>s to external formats is described in L<BN_bn2bin(3)|BN_bn2bin(3)>.
619 =head1 SEE ALSO
620
621 L<bn_internal(3)|bn_internal(3)>,
622-L<dh(3)|dh(3)>, L<err(3)|err(3)>, L<rand(3)|rand(3)>, L<rsa(3)|rsa(3)>,
623+L<dh(3)|dh(3)>, L<openssl_err(3)|openssl_err(3)>, L<openssl_rand(3)|openssl_rand(3)>, L<rsa(3)|rsa(3)>,
624 L<BN_new(3)|BN_new(3)>, L<BN_CTX_new(3)|BN_CTX_new(3)>,
625 L<BN_copy(3)|BN_copy(3)>, L<BN_swap(3)|BN_swap(3)>, L<BN_num_bytes(3)|BN_num_bytes(3)>,
626 L<BN_add(3)|BN_add(3)>, L<BN_add_word(3)|BN_add_word(3)>,
627diff --git a/doc/crypto/crypto.pod b/doc/crypto/crypto.pod
628index 7a52799..ca71202 100644
629--- a/doc/crypto/crypto.pod
630+++ b/doc/crypto/crypto.pod
631@@ -46,7 +46,7 @@ L<sha(3)|sha(3)>
632
633 =item AUXILIARY FUNCTIONS
634
635-L<err(3)|err(3)>, L<threads(3)|threads(3)>, L<rand(3)|rand(3)>,
636+L<openssl_err(3)|openssl_err(3)>, L<openssl_threads(3)|openssl_threads(3)>, L<openssl_rand(3)|openssl_rand(3)>,
637 L<OPENSSL_VERSION_NUMBER(3)|OPENSSL_VERSION_NUMBER(3)>
638
639 =item INPUT/OUTPUT, DATA ENCODING
640diff --git a/doc/crypto/des.pod b/doc/crypto/des.pod
641index 6f0cf1c..3fd2c47 100644
642--- a/doc/crypto/des.pod
643+++ b/doc/crypto/des.pod
644@@ -115,7 +115,7 @@ each byte is the parity bit. The key schedule is an expanded form of
645 the key; it is used to speed the encryption process.
646
647 DES_random_key() generates a random key. The PRNG must be seeded
648-prior to using this function (see L<rand(3)|rand(3)>). If the PRNG
649+prior to using this function (see L<openssl_rand(3)|openssl_rand(3)>). If the PRNG
650 could not generate a secure key, 0 is returned.
651
652 Before a DES key can be used, it must be converted into the
653@@ -317,7 +317,7 @@ the MIT Kerberos library.
654
655 =head1 SEE ALSO
656
657-crypt(3), L<des_modes(7)|des_modes(7)>, L<evp(3)|evp(3)>, L<rand(3)|rand(3)>
658+crypt(3), L<des_modes(7)|des_modes(7)>, L<evp(3)|evp(3)>, L<openssl_rand(3)|openssl_rand(3)>
659
660 =head1 HISTORY
661
662diff --git a/doc/crypto/dh.pod b/doc/crypto/dh.pod
663index c3ccd06..28707bf 100644
664--- a/doc/crypto/dh.pod
665+++ b/doc/crypto/dh.pod
666@@ -67,8 +67,8 @@ modify keys.
667
668 =head1 SEE ALSO
669
670-L<dhparam(1)|dhparam(1)>, L<bn(3)|bn(3)>, L<dsa(3)|dsa(3)>, L<err(3)|err(3)>,
671-L<rand(3)|rand(3)>, L<rsa(3)|rsa(3)>, L<engine(3)|engine(3)>,
672+L<dhparam(1)|dhparam(1)>, L<bn(3)|bn(3)>, L<dsa(3)|dsa(3)>, L<openssl_err(3)|openssl_err(3)>,
673+L<openssl_rand(3)|openssl_rand(3)>, L<rsa(3)|rsa(3)>, L<engine(3)|engine(3)>,
674 L<DH_set_method(3)|DH_set_method(3)>, L<DH_new(3)|DH_new(3)>,
675 L<DH_get_ex_new_index(3)|DH_get_ex_new_index(3)>,
676 L<DH_generate_parameters(3)|DH_generate_parameters(3)>,
677diff --git a/doc/crypto/dsa.pod b/doc/crypto/dsa.pod
678index da07d2b..3187a73 100644
679--- a/doc/crypto/dsa.pod
680+++ b/doc/crypto/dsa.pod
681@@ -100,7 +100,7 @@ Standard, DSS), ANSI X9.30
682
683 =head1 SEE ALSO
684
685-L<bn(3)|bn(3)>, L<dh(3)|dh(3)>, L<err(3)|err(3)>, L<rand(3)|rand(3)>,
686+L<bn(3)|bn(3)>, L<dh(3)|dh(3)>, L<openssl_err(3)|openssl_err(3)>, L<openssl_rand(3)|openssl_rand(3)>,
687 L<rsa(3)|rsa(3)>, L<sha(3)|sha(3)>, L<engine(3)|engine(3)>,
688 L<DSA_new(3)|DSA_new(3)>,
689 L<DSA_size(3)|DSA_size(3)>,
690diff --git a/doc/crypto/engine.pod b/doc/crypto/engine.pod
691index f5ab1c3..63f7ebc 100644
692--- a/doc/crypto/engine.pod
693+++ b/doc/crypto/engine.pod
694@@ -594,6 +594,6 @@ implementations.
695
696 =head1 SEE ALSO
697
698-L<rsa(3)|rsa(3)>, L<dsa(3)|dsa(3)>, L<dh(3)|dh(3)>, L<rand(3)|rand(3)>
699+L<rsa(3)|rsa(3)>, L<dsa(3)|dsa(3)>, L<dh(3)|dh(3)>, L<openssl_rand(3)|openssl_rand(3)>
700
701 =cut
702diff --git a/doc/crypto/err.pod b/doc/crypto/err.pod
703deleted file mode 100644
704index 6f72955..0000000
705--- a/doc/crypto/err.pod
706+++ /dev/null
707@@ -1,187 +0,0 @@
708-=pod
709-
710-=head1 NAME
711-
712-err - error codes
713-
714-=head1 SYNOPSIS
715-
716- #include <openssl/err.h>
717-
718- unsigned long ERR_get_error(void);
719- unsigned long ERR_peek_error(void);
720- unsigned long ERR_get_error_line(const char **file, int *line);
721- unsigned long ERR_peek_error_line(const char **file, int *line);
722- unsigned long ERR_get_error_line_data(const char **file, int *line,
723- const char **data, int *flags);
724- unsigned long ERR_peek_error_line_data(const char **file, int *line,
725- const char **data, int *flags);
726-
727- int ERR_GET_LIB(unsigned long e);
728- int ERR_GET_FUNC(unsigned long e);
729- int ERR_GET_REASON(unsigned long e);
730-
731- void ERR_clear_error(void);
732-
733- char *ERR_error_string(unsigned long e, char *buf);
734- const char *ERR_lib_error_string(unsigned long e);
735- const char *ERR_func_error_string(unsigned long e);
736- const char *ERR_reason_error_string(unsigned long e);
737-
738- void ERR_print_errors(BIO *bp);
739- void ERR_print_errors_fp(FILE *fp);
740-
741- void ERR_load_crypto_strings(void);
742- void ERR_free_strings(void);
743-
744- void ERR_remove_state(unsigned long pid);
745-
746- void ERR_put_error(int lib, int func, int reason, const char *file,
747- int line);
748- void ERR_add_error_data(int num, ...);
749-
750- void ERR_load_strings(int lib,ERR_STRING_DATA str[]);
751- unsigned long ERR_PACK(int lib, int func, int reason);
752- int ERR_get_next_error_library(void);
753-
754-=head1 DESCRIPTION
755-
756-When a call to the OpenSSL library fails, this is usually signalled
757-by the return value, and an error code is stored in an error queue
758-associated with the current thread. The B<err> library provides
759-functions to obtain these error codes and textual error messages.
760-
761-The L<ERR_get_error(3)|ERR_get_error(3)> manpage describes how to
762-access error codes.
763-
764-Error codes contain information about where the error occurred, and
765-what went wrong. L<ERR_GET_LIB(3)|ERR_GET_LIB(3)> describes how to
766-extract this information. A method to obtain human-readable error
767-messages is described in L<ERR_error_string(3)|ERR_error_string(3)>.
768-
769-L<ERR_clear_error(3)|ERR_clear_error(3)> can be used to clear the
770-error queue.
771-
772-Note that L<ERR_remove_state(3)|ERR_remove_state(3)> should be used to
773-avoid memory leaks when threads are terminated.
774-
775-=head1 ADDING NEW ERROR CODES TO OPENSSL
776-
777-See L<ERR_put_error(3)> if you want to record error codes in the
778-OpenSSL error system from within your application.
779-
780-The remainder of this section is of interest only if you want to add
781-new error codes to OpenSSL or add error codes from external libraries.
782-
783-=head2 Reporting errors
784-
785-Each sub-library has a specific macro XXXerr() that is used to report
786-errors. Its first argument is a function code B<XXX_F_...>, the second
787-argument is a reason code B<XXX_R_...>. Function codes are derived
788-from the function names; reason codes consist of textual error
789-descriptions. For example, the function ssl23_read() reports a
790-"handshake failure" as follows:
791-
792- SSLerr(SSL_F_SSL23_READ, SSL_R_SSL_HANDSHAKE_FAILURE);
793-
794-Function and reason codes should consist of upper case characters,
795-numbers and underscores only. The error file generation script translates
796-function codes into function names by looking in the header files
797-for an appropriate function name, if none is found it just uses
798-the capitalized form such as "SSL23_READ" in the above example.
799-
800-The trailing section of a reason code (after the "_R_") is translated
801-into lower case and underscores changed to spaces.
802-
803-When you are using new function or reason codes, run B<make errors>.
804-The necessary B<#define>s will then automatically be added to the
805-sub-library's header file.
806-
807-Although a library will normally report errors using its own specific
808-XXXerr macro, another library's macro can be used. This is normally
809-only done when a library wants to include ASN1 code which must use
810-the ASN1err() macro.
811-
812-=head2 Adding new libraries
813-
814-When adding a new sub-library to OpenSSL, assign it a library number
815-B<ERR_LIB_XXX>, define a macro XXXerr() (both in B<err.h>), add its
816-name to B<ERR_str_libraries[]> (in B<crypto/err/err.c>), and add
817-C<ERR_load_XXX_strings()> to the ERR_load_crypto_strings() function
818-(in B<crypto/err/err_all.c>). Finally, add an entry
819-
820- L XXX xxx.h xxx_err.c
821-
822-to B<crypto/err/openssl.ec>, and add B<xxx_err.c> to the Makefile.
823-Running B<make errors> will then generate a file B<xxx_err.c>, and
824-add all error codes used in the library to B<xxx.h>.
825-
826-Additionally the library include file must have a certain form.
827-Typically it will initially look like this:
828-
829- #ifndef HEADER_XXX_H
830- #define HEADER_XXX_H
831-
832- #ifdef __cplusplus
833- extern "C" {
834- #endif
835-
836- /* Include files */
837-
838- #include <openssl/bio.h>
839- #include <openssl/x509.h>
840-
841- /* Macros, structures and function prototypes */
842-
843-
844- /* BEGIN ERROR CODES */
845-
846-The B<BEGIN ERROR CODES> sequence is used by the error code
847-generation script as the point to place new error codes, any text
848-after this point will be overwritten when B<make errors> is run.
849-The closing #endif etc will be automatically added by the script.
850-
851-The generated C error code file B<xxx_err.c> will load the header
852-files B<stdio.h>, B<openssl/err.h> and B<openssl/xxx.h> so the
853-header file must load any additional header files containing any
854-definitions it uses.
855-
856-=head1 USING ERROR CODES IN EXTERNAL LIBRARIES
857-
858-It is also possible to use OpenSSL's error code scheme in external
859-libraries. The library needs to load its own codes and call the OpenSSL
860-error code insertion script B<mkerr.pl> explicitly to add codes to
861-the header file and generate the C error code file. This will normally
862-be done if the external library needs to generate new ASN1 structures
863-but it can also be used to add more general purpose error code handling.
864-
865-TBA more details
866-
867-=head1 INTERNALS
868-
869-The error queues are stored in a hash table with one B<ERR_STATE>
870-entry for each pid. ERR_get_state() returns the current thread's
871-B<ERR_STATE>. An B<ERR_STATE> can hold up to B<ERR_NUM_ERRORS> error
872-codes. When more error codes are added, the old ones are overwritten,
873-on the assumption that the most recent errors are most important.
874-
875-Error strings are also stored in hash table. The hash tables can
876-be obtained by calling ERR_get_err_state_table(void) and
877-ERR_get_string_table(void) respectively.
878-
879-=head1 SEE ALSO
880-
881-L<CRYPTO_set_id_callback(3)|CRYPTO_set_id_callback(3)>,
882-L<CRYPTO_set_locking_callback(3)|CRYPTO_set_locking_callback(3)>,
883-L<ERR_get_error(3)|ERR_get_error(3)>,
884-L<ERR_GET_LIB(3)|ERR_GET_LIB(3)>,
885-L<ERR_clear_error(3)|ERR_clear_error(3)>,
886-L<ERR_error_string(3)|ERR_error_string(3)>,
887-L<ERR_print_errors(3)|ERR_print_errors(3)>,
888-L<ERR_load_crypto_strings(3)|ERR_load_crypto_strings(3)>,
889-L<ERR_remove_state(3)|ERR_remove_state(3)>,
890-L<ERR_put_error(3)|ERR_put_error(3)>,
891-L<ERR_load_strings(3)|ERR_load_strings(3)>,
892-L<SSL_get_error(3)|SSL_get_error(3)>
893-
894-=cut
895diff --git a/doc/crypto/rand.pod b/doc/crypto/rand.pod
896deleted file mode 100644
897index 1c068c8..0000000
898--- a/doc/crypto/rand.pod
899+++ /dev/null
900@@ -1,175 +0,0 @@
901-=pod
902-
903-=head1 NAME
904-
905-rand - pseudo-random number generator
906-
907-=head1 SYNOPSIS
908-
909- #include <openssl/rand.h>
910-
911- int RAND_set_rand_engine(ENGINE *engine);
912-
913- int RAND_bytes(unsigned char *buf, int num);
914- int RAND_pseudo_bytes(unsigned char *buf, int num);
915-
916- void RAND_seed(const void *buf, int num);
917- void RAND_add(const void *buf, int num, int entropy);
918- int RAND_status(void);
919-
920- int RAND_load_file(const char *file, long max_bytes);
921- int RAND_write_file(const char *file);
922- const char *RAND_file_name(char *file, size_t num);
923-
924- int RAND_egd(const char *path);
925-
926- void RAND_set_rand_method(const RAND_METHOD *meth);
927- const RAND_METHOD *RAND_get_rand_method(void);
928- RAND_METHOD *RAND_SSLeay(void);
929-
930- void RAND_cleanup(void);
931-
932- /* For Win32 only */
933- void RAND_screen(void);
934- int RAND_event(UINT, WPARAM, LPARAM);
935-
936-=head1 DESCRIPTION
937-
938-Since the introduction of the ENGINE API, the recommended way of controlling
939-default implementations is by using the ENGINE API functions. The default
940-B<RAND_METHOD>, as set by RAND_set_rand_method() and returned by
941-RAND_get_rand_method(), is only used if no ENGINE has been set as the default
942-"rand" implementation. Hence, these two functions are no longer the recommened
943-way to control defaults.
944-
945-If an alternative B<RAND_METHOD> implementation is being used (either set
946-directly or as provided by an ENGINE module), then it is entirely responsible
947-for the generation and management of a cryptographically secure PRNG stream. The
948-mechanisms described below relate solely to the software PRNG implementation
949-built in to OpenSSL and used by default.
950-
951-These functions implement a cryptographically secure pseudo-random
952-number generator (PRNG). It is used by other library functions for
953-example to generate random keys, and applications can use it when they
954-need randomness.
955-
956-A cryptographic PRNG must be seeded with unpredictable data such as
957-mouse movements or keys pressed at random by the user. This is
958-described in L<RAND_add(3)|RAND_add(3)>. Its state can be saved in a seed file
959-(see L<RAND_load_file(3)|RAND_load_file(3)>) to avoid having to go through the
960-seeding process whenever the application is started.
961-
962-L<RAND_bytes(3)|RAND_bytes(3)> describes how to obtain random data from the
963-PRNG.
964-
965-=head1 INTERNALS
966-
967-The RAND_SSLeay() method implements a PRNG based on a cryptographic
968-hash function.
969-
970-The following description of its design is based on the SSLeay
971-documentation:
972-
973-First up I will state the things I believe I need for a good RNG.
974-
975-=over 4
976-
977-=item 1
978-
979-A good hashing algorithm to mix things up and to convert the RNG 'state'
980-to random numbers.
981-
982-=item 2
983-
984-An initial source of random 'state'.
985-
986-=item 3
987-
988-The state should be very large. If the RNG is being used to generate
989-4096 bit RSA keys, 2 2048 bit random strings are required (at a minimum).
990-If your RNG state only has 128 bits, you are obviously limiting the
991-search space to 128 bits, not 2048. I'm probably getting a little
992-carried away on this last point but it does indicate that it may not be
993-a bad idea to keep quite a lot of RNG state. It should be easier to
994-break a cipher than guess the RNG seed data.
995-
996-=item 4
997-
998-Any RNG seed data should influence all subsequent random numbers
999-generated. This implies that any random seed data entered will have
1000-an influence on all subsequent random numbers generated.
1001-
1002-=item 5
1003-
1004-When using data to seed the RNG state, the data used should not be
1005-extractable from the RNG state. I believe this should be a
1006-requirement because one possible source of 'secret' semi random
1007-data would be a private key or a password. This data must
1008-not be disclosed by either subsequent random numbers or a
1009-'core' dump left by a program crash.
1010-
1011-=item 6
1012-
1013-Given the same initial 'state', 2 systems should deviate in their RNG state
1014-(and hence the random numbers generated) over time if at all possible.
1015-
1016-=item 7
1017-
1018-Given the random number output stream, it should not be possible to determine
1019-the RNG state or the next random number.
1020-
1021-=back
1022-
1023-The algorithm is as follows.
1024-
1025-There is global state made up of a 1023 byte buffer (the 'state'), a
1026-working hash value ('md'), and a counter ('count').
1027-
1028-Whenever seed data is added, it is inserted into the 'state' as
1029-follows.
1030-
1031-The input is chopped up into units of 20 bytes (or less for
1032-the last block). Each of these blocks is run through the hash
1033-function as follows: The data passed to the hash function
1034-is the current 'md', the same number of bytes from the 'state'
1035-(the location determined by in incremented looping index) as
1036-the current 'block', the new key data 'block', and 'count'
1037-(which is incremented after each use).
1038-The result of this is kept in 'md' and also xored into the
1039-'state' at the same locations that were used as input into the
1040-hash function. I
1041-believe this system addresses points 1 (hash function; currently
1042-SHA-1), 3 (the 'state'), 4 (via the 'md'), 5 (by the use of a hash
1043-function and xor).
1044-
1045-When bytes are extracted from the RNG, the following process is used.
1046-For each group of 10 bytes (or less), we do the following:
1047-
1048-Input into the hash function the local 'md' (which is initialized from
1049-the global 'md' before any bytes are generated), the bytes that are to
1050-be overwritten by the random bytes, and bytes from the 'state'
1051-(incrementing looping index). From this digest output (which is kept
1052-in 'md'), the top (up to) 10 bytes are returned to the caller and the
1053-bottom 10 bytes are xored into the 'state'.
1054-
1055-Finally, after we have finished 'num' random bytes for the caller,
1056-'count' (which is incremented) and the local and global 'md' are fed
1057-into the hash function and the results are kept in the global 'md'.
1058-
1059-I believe the above addressed points 1 (use of SHA-1), 6 (by hashing
1060-into the 'state' the 'old' data from the caller that is about to be
1061-overwritten) and 7 (by not using the 10 bytes given to the caller to
1062-update the 'state', but they are used to update 'md').
1063-
1064-So of the points raised, only 2 is not addressed (but see
1065-L<RAND_add(3)|RAND_add(3)>).
1066-
1067-=head1 SEE ALSO
1068-
1069-L<BN_rand(3)|BN_rand(3)>, L<RAND_add(3)|RAND_add(3)>,
1070-L<RAND_load_file(3)|RAND_load_file(3)>, L<RAND_egd(3)|RAND_egd(3)>,
1071-L<RAND_bytes(3)|RAND_bytes(3)>,
1072-L<RAND_set_rand_method(3)|RAND_set_rand_method(3)>,
1073-L<RAND_cleanup(3)|RAND_cleanup(3)>
1074-
1075-=cut
1076diff --git a/doc/crypto/rsa.pod b/doc/crypto/rsa.pod
1077index 45ac53f..5fa0dcc 100644
1078--- a/doc/crypto/rsa.pod
1079+++ b/doc/crypto/rsa.pod
1080@@ -108,7 +108,7 @@ RSA was covered by a US patent which expired in September 2000.
1081 =head1 SEE ALSO
1082
1083 L<rsa(1)|rsa(1)>, L<bn(3)|bn(3)>, L<dsa(3)|dsa(3)>, L<dh(3)|dh(3)>,
1084-L<rand(3)|rand(3)>, L<engine(3)|engine(3)>, L<RSA_new(3)|RSA_new(3)>,
1085+L<openssl_rand(3)|openssl_rand(3)>, L<engine(3)|engine(3)>, L<RSA_new(3)|RSA_new(3)>,
1086 L<RSA_public_encrypt(3)|RSA_public_encrypt(3)>,
1087 L<RSA_sign(3)|RSA_sign(3)>, L<RSA_size(3)|RSA_size(3)>,
1088 L<RSA_generate_key(3)|RSA_generate_key(3)>,
1089diff --git a/doc/crypto/threads.pod b/doc/crypto/threads.pod
1090deleted file mode 100644
1091index dc0e939..0000000
1092--- a/doc/crypto/threads.pod
1093+++ /dev/null
1094@@ -1,210 +0,0 @@
1095-=pod
1096-
1097-=head1 NAME
1098-
1099-CRYPTO_THREADID_set_callback, CRYPTO_THREADID_get_callback,
1100-CRYPTO_THREADID_current, CRYPTO_THREADID_cmp, CRYPTO_THREADID_cpy,
1101-CRYPTO_THREADID_hash, CRYPTO_set_locking_callback, CRYPTO_num_locks,
1102-CRYPTO_set_dynlock_create_callback, CRYPTO_set_dynlock_lock_callback,
1103-CRYPTO_set_dynlock_destroy_callback, CRYPTO_get_new_dynlockid,
1104-CRYPTO_destroy_dynlockid, CRYPTO_lock - OpenSSL thread support
1105-
1106-=head1 SYNOPSIS
1107-
1108- #include <openssl/crypto.h>
1109-
1110- /* Don't use this structure directly. */
1111- typedef struct crypto_threadid_st
1112- {
1113- void *ptr;
1114- unsigned long val;
1115- } CRYPTO_THREADID;
1116- /* Only use CRYPTO_THREADID_set_[numeric|pointer]() within callbacks */
1117- void CRYPTO_THREADID_set_numeric(CRYPTO_THREADID *id, unsigned long val);
1118- void CRYPTO_THREADID_set_pointer(CRYPTO_THREADID *id, void *ptr);
1119- int CRYPTO_THREADID_set_callback(void (*threadid_func)(CRYPTO_THREADID *));
1120- void (*CRYPTO_THREADID_get_callback(void))(CRYPTO_THREADID *);
1121- void CRYPTO_THREADID_current(CRYPTO_THREADID *id);
1122- int CRYPTO_THREADID_cmp(const CRYPTO_THREADID *a,
1123- const CRYPTO_THREADID *b);
1124- void CRYPTO_THREADID_cpy(CRYPTO_THREADID *dest,
1125- const CRYPTO_THREADID *src);
1126- unsigned long CRYPTO_THREADID_hash(const CRYPTO_THREADID *id);
1127-
1128- int CRYPTO_num_locks(void);
1129-
1130- /* struct CRYPTO_dynlock_value needs to be defined by the user */
1131- struct CRYPTO_dynlock_value;
1132-
1133- void CRYPTO_set_dynlock_create_callback(struct CRYPTO_dynlock_value *
1134- (*dyn_create_function)(char *file, int line));
1135- void CRYPTO_set_dynlock_lock_callback(void (*dyn_lock_function)
1136- (int mode, struct CRYPTO_dynlock_value *l,
1137- const char *file, int line));
1138- void CRYPTO_set_dynlock_destroy_callback(void (*dyn_destroy_function)
1139- (struct CRYPTO_dynlock_value *l, const char *file, int line));
1140-
1141- int CRYPTO_get_new_dynlockid(void);
1142-
1143- void CRYPTO_destroy_dynlockid(int i);
1144-
1145- void CRYPTO_lock(int mode, int n, const char *file, int line);
1146-
1147- #define CRYPTO_w_lock(type) \
1148- CRYPTO_lock(CRYPTO_LOCK|CRYPTO_WRITE,type,__FILE__,__LINE__)
1149- #define CRYPTO_w_unlock(type) \
1150- CRYPTO_lock(CRYPTO_UNLOCK|CRYPTO_WRITE,type,__FILE__,__LINE__)
1151- #define CRYPTO_r_lock(type) \
1152- CRYPTO_lock(CRYPTO_LOCK|CRYPTO_READ,type,__FILE__,__LINE__)
1153- #define CRYPTO_r_unlock(type) \
1154- CRYPTO_lock(CRYPTO_UNLOCK|CRYPTO_READ,type,__FILE__,__LINE__)
1155- #define CRYPTO_add(addr,amount,type) \
1156- CRYPTO_add_lock(addr,amount,type,__FILE__,__LINE__)
1157-
1158-=head1 DESCRIPTION
1159-
1160-OpenSSL can safely be used in multi-threaded applications provided
1161-that at least two callback functions are set, locking_function and
1162-threadid_func.
1163-
1164-locking_function(int mode, int n, const char *file, int line) is
1165-needed to perform locking on shared data structures.
1166-(Note that OpenSSL uses a number of global data structures that
1167-will be implicitly shared whenever multiple threads use OpenSSL.)
1168-Multi-threaded applications will crash at random if it is not set.
1169-
1170-locking_function() must be able to handle up to CRYPTO_num_locks()
1171-different mutex locks. It sets the B<n>-th lock if B<mode> &
1172-B<CRYPTO_LOCK>, and releases it otherwise.
1173-
1174-B<file> and B<line> are the file number of the function setting the
1175-lock. They can be useful for debugging.
1176-
1177-threadid_func(CRYPTO_THREADID *id) is needed to record the currently-executing
1178-thread's identifier into B<id>. The implementation of this callback should not
1179-fill in B<id> directly, but should use CRYPTO_THREADID_set_numeric() if thread
1180-IDs are numeric, or CRYPTO_THREADID_set_pointer() if they are pointer-based.
1181-If the application does not register such a callback using
1182-CRYPTO_THREADID_set_callback(), then a default implementation is used - on
1183-Windows and BeOS this uses the system's default thread identifying APIs, and on
1184-all other platforms it uses the address of B<errno>. The latter is satisfactory
1185-for thread-safety if and only if the platform has a thread-local error number
1186-facility.
1187-
1188-Once threadid_func() is registered, or if the built-in default implementation is
1189-to be used;
1190-
1191-=over 4
1192-
1193-=item *
1194-CRYPTO_THREADID_current() records the currently-executing thread ID into the
1195-given B<id> object.
1196-
1197-=item *
1198-CRYPTO_THREADID_cmp() compares two thread IDs (returning zero for equality, ie.
1199-the same semantics as memcmp()).
1200-
1201-=item *
1202-CRYPTO_THREADID_cpy() duplicates a thread ID value,
1203-
1204-=item *
1205-CRYPTO_THREADID_hash() returns a numeric value usable as a hash-table key. This
1206-is usually the exact numeric or pointer-based thread ID used internally, however
1207-this also handles the unusual case where pointers are larger than 'long'
1208-variables and the platform's thread IDs are pointer-based - in this case, mixing
1209-is done to attempt to produce a unique numeric value even though it is not as
1210-wide as the platform's true thread IDs.
1211-
1212-=back
1213-
1214-Additionally, OpenSSL supports dynamic locks, and sometimes, some parts
1215-of OpenSSL need it for better performance. To enable this, the following
1216-is required:
1217-
1218-=over 4
1219-
1220-=item *
1221-Three additional callback function, dyn_create_function, dyn_lock_function
1222-and dyn_destroy_function.
1223-
1224-=item *
1225-A structure defined with the data that each lock needs to handle.
1226-
1227-=back
1228-
1229-struct CRYPTO_dynlock_value has to be defined to contain whatever structure
1230-is needed to handle locks.
1231-
1232-dyn_create_function(const char *file, int line) is needed to create a
1233-lock. Multi-threaded applications might crash at random if it is not set.
1234-
1235-dyn_lock_function(int mode, CRYPTO_dynlock *l, const char *file, int line)
1236-is needed to perform locking off dynamic lock numbered n. Multi-threaded
1237-applications might crash at random if it is not set.
1238-
1239-dyn_destroy_function(CRYPTO_dynlock *l, const char *file, int line) is
1240-needed to destroy the lock l. Multi-threaded applications might crash at
1241-random if it is not set.
1242-
1243-CRYPTO_get_new_dynlockid() is used to create locks. It will call
1244-dyn_create_function for the actual creation.
1245-
1246-CRYPTO_destroy_dynlockid() is used to destroy locks. It will call
1247-dyn_destroy_function for the actual destruction.
1248-
1249-CRYPTO_lock() is used to lock and unlock the locks. mode is a bitfield
1250-describing what should be done with the lock. n is the number of the
1251-lock as returned from CRYPTO_get_new_dynlockid(). mode can be combined
1252-from the following values. These values are pairwise exclusive, with
1253-undefined behaviour if misused (for example, CRYPTO_READ and CRYPTO_WRITE
1254-should not be used together):
1255-
1256- CRYPTO_LOCK 0x01
1257- CRYPTO_UNLOCK 0x02
1258- CRYPTO_READ 0x04
1259- CRYPTO_WRITE 0x08
1260-
1261-=head1 RETURN VALUES
1262-
1263-CRYPTO_num_locks() returns the required number of locks.
1264-
1265-CRYPTO_get_new_dynlockid() returns the index to the newly created lock.
1266-
1267-The other functions return no values.
1268-
1269-=head1 NOTES
1270-
1271-You can find out if OpenSSL was configured with thread support:
1272-
1273- #define OPENSSL_THREAD_DEFINES
1274- #include <openssl/opensslconf.h>
1275- #if defined(OPENSSL_THREADS)
1276- // thread support enabled
1277- #else
1278- // no thread support
1279- #endif
1280-
1281-Also, dynamic locks are currently not used internally by OpenSSL, but
1282-may do so in the future.
1283-
1284-=head1 EXAMPLES
1285-
1286-B<crypto/threads/mttest.c> shows examples of the callback functions on
1287-Solaris, Irix and Win32.
1288-
1289-=head1 HISTORY
1290-
1291-CRYPTO_set_locking_callback() is
1292-available in all versions of SSLeay and OpenSSL.
1293-CRYPTO_num_locks() was added in OpenSSL 0.9.4.
1294-All functions dealing with dynamic locks were added in OpenSSL 0.9.5b-dev.
1295-B<CRYPTO_THREADID> and associated functions were introduced in OpenSSL 1.0.0
1296-to replace (actually, deprecate) the previous CRYPTO_set_id_callback(),
1297-CRYPTO_get_id_callback(), and CRYPTO_thread_id() functions which assumed
1298-thread IDs to always be represented by 'unsigned long'.
1299-
1300-=head1 SEE ALSO
1301-
1302-L<crypto(3)|crypto(3)>
1303-
1304-=cut
1305diff --git a/doc/ssl/SSL_get_error.pod b/doc/ssl/SSL_get_error.pod
1306index 48c6b15..5432293 100644
1307--- a/doc/ssl/SSL_get_error.pod
1308+++ b/doc/ssl/SSL_get_error.pod
1309@@ -105,7 +105,7 @@ OpenSSL error queue contains more information on the error.
1310
1311 =head1 SEE ALSO
1312
1313-L<ssl(3)|ssl(3)>, L<err(3)|err(3)>
1314+L<ssl(3)|ssl(3)>, L<openssl_err(3)|openssl_err(3)>
1315
1316 =head1 HISTORY
1317
1318diff --git a/doc/ssl/SSL_want.pod b/doc/ssl/SSL_want.pod
1319index c0059c0..2e51a75 100644
1320--- a/doc/ssl/SSL_want.pod
1321+++ b/doc/ssl/SSL_want.pod
1322@@ -72,6 +72,6 @@ return 1, when the corresponding condition is true or 0 otherwise.
1323
1324 =head1 SEE ALSO
1325
1326-L<ssl(3)|ssl(3)>, L<err(3)|err(3)>, L<SSL_get_error(3)|SSL_get_error(3)>
1327+L<ssl(3)|ssl(3)>, L<openssl_err(3)|openssl_err(3)>, L<SSL_get_error(3)|SSL_get_error(3)>
1328
1329 =cut
diff --git a/main/openssl/openssl-0.9.8k-quote-cc.patch b/main/openssl/openssl-0.9.8k-quote-cc.patch
deleted file mode 100644
index 5a61662886..0000000000
--- a/main/openssl/openssl-0.9.8k-quote-cc.patch
+++ /dev/null
@@ -1,72 +0,0 @@
1--- openssl-0.9.8k/Makefile.orig 2009-04-07 12:28:31.000000000 +0000
2+++ openssl-0.9.8k/Makefile 2009-04-07 12:30:13.000000000 +0000
3@@ -359,7 +359,7 @@
4 $(AR) libcrypto.a fips/fipscanister.o ; \
5 else \
6 if [ "$(FIPSCANLIB)" = "libcrypto" ]; then \
7- FIPSLD_CC=$(CC); CC=fips/fipsld; \
8+ FIPSLD_CC="$(CC)"; CC=fips/fipsld; \
9 export CC FIPSLD_CC; \
10 fi; \
11 $(MAKE) -e SHLIBDIRS='crypto' build-shared; \
12@@ -382,9 +382,9 @@
13 fips/fipscanister.o: build_fips
14 libfips$(SHLIB_EXT): fips/fipscanister.o
15 @if [ "$(SHLIB_TARGET)" != "" ]; then \
16- FIPSLD_CC=$(CC); CC=fips/fipsld; export CC FIPSLD_CC; \
17+ FIPSLD_CC="$(CC)"; CC=fips/fipsld; export CC FIPSLD_CC; \
18 $(MAKE) -f Makefile.shared -e $(BUILDENV) \
19- CC=$${CC} LIBNAME=fips THIS=$@ \
20+ CC="$${CC}" LIBNAME=fips THIS=$@ \
21 LIBEXTRAS=fips/fipscanister.o \
22 LIBDEPS="$(EX_LIBS)" \
23 LIBVERSION=${SHLIB_MAJOR}.${SHLIB_MINOR} \
24--- openssl-0.9.8k/apps/Makefile.orig 2009-04-07 12:35:30.000000000 +0000
25+++ openssl-0.9.8k/apps/Makefile 2009-04-07 12:56:53.000000000 +0000
26@@ -153,12 +153,12 @@
27 shlib_target=; if [ -n "$(SHARED_LIBS)" ]; then \
28 shlib_target="$(SHLIB_TARGET)"; \
29 elif [ -n "$(FIPSCANLIB)" ]; then \
30- FIPSLD_CC=$(CC); CC=$(TOP)/fips/fipsld; export CC FIPSLD_CC; \
31+ FIPSLD_CC="$(CC)"; CC=$(TOP)/fips/fipsld; export CC FIPSLD_CC; \
32 fi; \
33 LIBRARIES="$(LIBSSL) $(LIBKRB5) $(LIBCRYPTO)" ; \
34 [ "x$(FIPSCANLIB)" = "xlibfips" ] && LIBRARIES="$$LIBRARIES -lfips"; \
35 $(MAKE) -f $(TOP)/Makefile.shared -e \
36- CC=$${CC} APPNAME=$(EXE) OBJECTS="$(PROGRAM).o $(E_OBJ)" \
37+ CC="$${CC}" APPNAME=$(EXE) OBJECTS="$(PROGRAM).o $(E_OBJ)" \
38 LIBDEPS="$(PEX_LIBS) $$LIBRARIES $(EX_LIBS)" \
39 link_app.$${shlib_target}
40 -(cd ..; \
41--- openssl-0.9.8k/test/Makefile.orig 2009-04-07 13:26:06.000000000 +0000
42+++ openssl-0.9.8k/test/Makefile 2009-04-07 13:26:38.000000000 +0000
43@@ -402,13 +402,13 @@
44 if [ "$(FIPSCANLIB)" = "libfips" ]; then \
45 LIBRARIES="-L$(TOP) -lfips"; \
46 elif [ -n "$(FIPSCANLIB)" ]; then \
47- FIPSLD_CC=$(CC); CC=$(TOP)/fips/fipsld; export CC FIPSLD_CC; \
48+ FIPSLD_CC="$(CC)"; CC=$(TOP)/fips/fipsld; export CC FIPSLD_CC; \
49 LIBRARIES="$${FIPSLIBDIR:-$(TOP)/fips/}fipscanister.o"; \
50 else \
51 LIBRARIES="$(LIBCRYPTO)"; \
52 fi; \
53 $(MAKE) -f $(TOP)/Makefile.shared -e \
54- CC=$${CC} APPNAME=$$target$(EXE_EXT) OBJECTS="$$target.o" \
55+ CC="$${CC}" APPNAME=$$target$(EXE_EXT) OBJECTS="$$target.o" \
56 LIBDEPS="$(PEX_LIBS) $$LIBRARIES $(EX_LIBS)" \
57 link_app.$${shlib_target}
58
59@@ -417,11 +417,11 @@
60 fi; \
61 LIBRARIES="$(LIBSSL) $(LIBCRYPTO) $(LIBKRB5)"; \
62 if [ -z "$(SHARED_LIBS)" -a -n "$(FIPSCANLIB)" ] ; then \
63- FIPSLD_CC=$(CC); CC=$(TOP)/fips/fipsld; export CC FIPSLD_CC; \
64+ FIPSLD_CC="$(CC)"; CC=$(TOP)/fips/fipsld; export CC FIPSLD_CC; \
65 fi; \
66 [ "$(FIPSCANLIB)" = "libfips" ] && LIBRARIES="$$LIBRARIES -lfips"; \
67 $(MAKE) -f $(TOP)/Makefile.shared -e \
68- CC=$${CC} APPNAME=$$target$(EXE_EXT) OBJECTS="$$target.o" \
69+ CC="$${CC}" APPNAME=$$target$(EXE_EXT) OBJECTS="$$target.o" \
70 LIBDEPS="$(PEX_LIBS) $$LIBRARIES $(EX_LIBS)" \
71 link_app.$${shlib_target}
72
diff --git a/main/openvpn/APKBUILD b/main/openvpn/APKBUILD
index bd751f3111..3bd1119a45 100644
--- a/main/openvpn/APKBUILD
+++ b/main/openvpn/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=openvpn 2pkgname=openvpn
3pkgver=2.1.1 3pkgver=2.1.1
4pkgrel=0 4pkgrel=2
5pkgdesc="A robust, and highly configurable VPN (Virtual Private Network)" 5pkgdesc="A robust, and highly configurable VPN (Virtual Private Network)"
6url="http://openvpn.sourceforge.net/" 6url="http://openvpn.sourceforge.net/"
7license="custom" 7license="custom"
diff --git a/main/oprofile/APKBUILD b/main/oprofile/APKBUILD
index 29cb35bf7e..bc81fff7a9 100644
--- a/main/oprofile/APKBUILD
+++ b/main/oprofile/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Timo Teras <timo.teras@iki.fi> 2# Maintainer: Timo Teras <timo.teras@iki.fi>
3pkgname=oprofile 3pkgname=oprofile
4pkgver=0.9.6 4pkgver=0.9.6
5pkgrel=0 5pkgrel=1
6pkgdesc="A System Profiler for Linux" 6pkgdesc="A System Profiler for Linux"
7url="http://oprofile.sourceforge.net/" 7url="http://oprofile.sourceforge.net/"
8license="GPL" 8license="GPL"
diff --git a/main/orage/APKBUILD b/main/orage/APKBUILD
index b310c80c60..6a80beb219 100644
--- a/main/orage/APKBUILD
+++ b/main/orage/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=orage 2pkgname=orage
3pkgver=4.6.1 3pkgver=4.6.1
4pkgrel=0 4pkgrel=1
5pkgdesc="A simple calendar application with reminders for Xfce" 5pkgdesc="A simple calendar application with reminders for Xfce"
6url="http://www.xfce.org/projects/orage/" 6url="http://www.xfce.org/projects/orage/"
7license="GPL-2" 7license="GPL-2"
diff --git a/main/p7zip/APKBUILD b/main/p7zip/APKBUILD
index b022e17baf..19ecadb2c5 100644
--- a/main/p7zip/APKBUILD
+++ b/main/p7zip/APKBUILD
@@ -1,13 +1,13 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=p7zip 2pkgname=p7zip
3pkgver=9.04 3pkgver=9.04
4pkgrel=0 4pkgrel=2
5pkgdesc="A command-line port of the 7zip compression utility" 5pkgdesc="A command-line port of the 7zip compression utility"
6url="http://p7zip.sourceforge.net" 6url="http://p7zip.sourceforge.net"
7license="GPL" 7license="GPL"
8subpackages="$pkgname-doc" 8subpackages="$pkgname-doc"
9depends= 9depends=
10makedepends="bash uclibc++-dev" 10makedepends="bash"
11#install=p7zip.install 11#install=p7zip.install
12source="http://downloads.sourceforge.net/sourceforge/$pkgname/${pkgname}_${pkgver}_src_all.tar.bz2 12source="http://downloads.sourceforge.net/sourceforge/$pkgname/${pkgname}_${pkgver}_src_all.tar.bz2
13 p7zip-cc-cxx.patch" 13 p7zip-cc-cxx.patch"
@@ -16,8 +16,6 @@ build() {
16 cd "$srcdir"/${pkgname}_${pkgver} 16 cd "$srcdir"/${pkgname}_${pkgver}
17 patch -p1 -i ../p7zip-cc-cxx.patch || return 1 17 patch -p1 -i ../p7zip-cc-cxx.patch || return 1
18 sed -i "s|usr/local|usr|g" makefile 18 sed -i "s|usr/local|usr|g" makefile
19 export CXX=${UC_CXX:-g++-uc}
20
21 make all3 OPTFLAGS="${CXXFLAGS}" || return 1 19 make all3 OPTFLAGS="${CXXFLAGS}" || return 1
22} 20}
23 21
diff --git a/main/pango/APKBUILD b/main/pango/APKBUILD
index 967a643210..c941679c00 100644
--- a/main/pango/APKBUILD
+++ b/main/pango/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=pango 2pkgname=pango
3pkgver=1.28.0 3pkgver=1.28.0
4pkgrel=0 4pkgrel=1
5pkgdesc="A library for layout and rendering of text" 5pkgdesc="A library for layout and rendering of text"
6url="http://www.pango.org/" 6url="http://www.pango.org/"
7license="LGPL" 7license="LGPL"
diff --git a/main/parole/APKBUILD b/main/parole/APKBUILD
index 07b9b0d788..49c1930a57 100644
--- a/main/parole/APKBUILD
+++ b/main/parole/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 2# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
3pkgname=parole 3pkgname=parole
4pkgver=0.2.0.2 4pkgver=0.2.0.2
5pkgrel=0 5pkgrel=1
6pkgdesc="Media player for the Xfce desktop" 6pkgdesc="Media player for the Xfce desktop"
7url="http://goodies.xfce.org/projects/applications/parole/" 7url="http://goodies.xfce.org/projects/applications/parole/"
8license="GPL" 8license="GPL"
diff --git a/main/parted/APKBUILD b/main/parted/APKBUILD
index 0ae62c975d..2bf6e95f8a 100644
--- a/main/parted/APKBUILD
+++ b/main/parted/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=parted 2pkgname=parted
3pkgver=2.2 3pkgver=2.2
4pkgrel=0 4pkgrel=1
5pkgdesc="Utility to create, destroy, resize, check and copy partitions" 5pkgdesc="Utility to create, destroy, resize, check and copy partitions"
6url="http://www.gnu.org/software/parted/parted.html" 6url="http://www.gnu.org/software/parted/parted.html"
7license="GPL3" 7license="GPL3"
diff --git a/main/patch/APKBUILD b/main/patch/APKBUILD
index 7090ee4852..2b9aa1d2d5 100644
--- a/main/patch/APKBUILD
+++ b/main/patch/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=patch 2pkgname=patch
3pkgver=2.6.1 3pkgver=2.6.1
4pkgrel=0 4pkgrel=1
5pkgdesc="Utility to apply diffs to files" 5pkgdesc="Utility to apply diffs to files"
6url="http://www.gnu.org/software/patch/patch.html" 6url="http://www.gnu.org/software/patch/patch.html"
7license='GPL' 7license='GPL'
diff --git a/main/pax-utils/APKBUILD b/main/pax-utils/APKBUILD
index d950bd3e82..b01ea58cd6 100644
--- a/main/pax-utils/APKBUILD
+++ b/main/pax-utils/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=pax-utils 2pkgname=pax-utils
3pkgver=0.2 3pkgver=0.2
4pkgrel=0 4pkgrel=1
5pkgdesc="ELF related utils for ELF 32/64 binaries" 5pkgdesc="ELF related utils for ELF 32/64 binaries"
6url="http://hardened.gentoo.org/pax-utils.xml" 6url="http://hardened.gentoo.org/pax-utils.xml"
7license='GPL-2' 7license='GPL-2'
diff --git a/main/paxctl/APKBUILD b/main/paxctl/APKBUILD
index b8ac414d76..401cc872f2 100644
--- a/main/paxctl/APKBUILD
+++ b/main/paxctl/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 2# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
3pkgname=paxctl 3pkgname=paxctl
4pkgver=0.5 4pkgver=0.5
5pkgrel=0 5pkgrel=1
6pkgdesc="Manage PaX releated program header flags" 6pkgdesc="Manage PaX releated program header flags"
7url="http://pax.grsecurity.net" 7url="http://pax.grsecurity.net"
8license="GPL-2" 8license="GPL-2"
diff --git a/main/pciutils/APKBUILD b/main/pciutils/APKBUILD
index 946c24c160..7c775f972f 100644
--- a/main/pciutils/APKBUILD
+++ b/main/pciutils/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Leonardo Arena <rnalrd@gmail.com> 2# Maintainer: Leonardo Arena <rnalrd@gmail.com>
3pkgname=pciutils 3pkgname=pciutils
4pkgver=3.1.7 4pkgver=3.1.7
5pkgrel=0 5pkgrel=1
6pkgdesc="PCI bus configuration space access library and tools" 6pkgdesc="PCI bus configuration space access library and tools"
7url="http://mj.ucw.cz/pciutils.html" 7url="http://mj.ucw.cz/pciutils.html"
8license="GPL" 8license="GPL"
diff --git a/main/pcmciautils/APKBUILD b/main/pcmciautils/APKBUILD
index 87a1c30521..a5afa81ea5 100644
--- a/main/pcmciautils/APKBUILD
+++ b/main/pcmciautils/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=pcmciautils 2pkgname=pcmciautils
3pkgver=016 3pkgver=016
4pkgrel=0 4pkgrel=1
5pkgdesc="Utilities for inserting and removing PCMCIA cards" 5pkgdesc="Utilities for inserting and removing PCMCIA cards"
6url="http://kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html" 6url="http://kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html"
7license="GPL" 7license="GPL"
diff --git a/main/pcre/APKBUILD b/main/pcre/APKBUILD
index f46c34268c..c091226e11 100644
--- a/main/pcre/APKBUILD
+++ b/main/pcre/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=pcre 2pkgname=pcre
3pkgver=8.02 3pkgver=8.02
4pkgrel=0 4pkgrel=1
5pkgdesc="Perl-compatible regular expression library" 5pkgdesc="Perl-compatible regular expression library"
6url="http://pcre.sourceforge.net" 6url="http://pcre.sourceforge.net"
7license="BSD" 7license="BSD"
diff --git a/main/perl-compress-raw-bzip2/APKBUILD b/main/perl-compress-raw-bzip2/APKBUILD
index 864722974f..7d8d0b1746 100644
--- a/main/perl-compress-raw-bzip2/APKBUILD
+++ b/main/perl-compress-raw-bzip2/APKBUILD
@@ -3,7 +3,7 @@
3pkgname=perl-compress-raw-bzip2 3pkgname=perl-compress-raw-bzip2
4_realname=Compress-Raw-Bzip2 4_realname=Compress-Raw-Bzip2
5pkgver=2.024 5pkgver=2.024
6pkgrel=0 6pkgrel=1
7pkgdesc="Perl low-level interface to bzip2 compression library" 7pkgdesc="Perl low-level interface to bzip2 compression library"
8url="http://search.cpan.org/~pmqs/Compress-Raw-Bzip2-2.024/" 8url="http://search.cpan.org/~pmqs/Compress-Raw-Bzip2-2.024/"
9license="GPL PerlArtistic" 9license="GPL PerlArtistic"
diff --git a/main/perl-compress-raw-zlib/APKBUILD b/main/perl-compress-raw-zlib/APKBUILD
index a5820f84c6..0529ccbdf0 100644
--- a/main/perl-compress-raw-zlib/APKBUILD
+++ b/main/perl-compress-raw-zlib/APKBUILD
@@ -3,7 +3,7 @@
3pkgname=perl-compress-raw-zlib 3pkgname=perl-compress-raw-zlib
4_realname=Compress-Raw-Zlib 4_realname=Compress-Raw-Zlib
5pkgver=2.024 5pkgver=2.024
6pkgrel=0 6pkgrel=1
7pkgdesc="Perl low-level interface to zlib compression library" 7pkgdesc="Perl low-level interface to zlib compression library"
8url="http://search.cpan.org/~pmqs/Compress-Raw-Zlib-2.024/" 8url="http://search.cpan.org/~pmqs/Compress-Raw-Zlib-2.024/"
9license="GPL PerlArtistic" 9license="GPL PerlArtistic"
diff --git a/main/perl-convert-uulib/APKBUILD b/main/perl-convert-uulib/APKBUILD
index e469ed9acb..e9ecba5371 100644
--- a/main/perl-convert-uulib/APKBUILD
+++ b/main/perl-convert-uulib/APKBUILD
@@ -3,7 +3,7 @@
3pkgname=perl-convert-uulib 3pkgname=perl-convert-uulib
4_realname=Convert-UUlib 4_realname=Convert-UUlib
5pkgver=1.12 5pkgver=1.12
6pkgrel=0 6pkgrel=1
7pkgdesc="Perl interface to the uulib library" 7pkgdesc="Perl interface to the uulib library"
8url="http://search.cpan.org/~mlehmann/Convert-UUlib-1.12/UUlib.pm" 8url="http://search.cpan.org/~mlehmann/Convert-UUlib-1.12/UUlib.pm"
9license="Artistic GPL2" 9license="Artistic GPL2"
diff --git a/main/perl-crypt-openssl-random/APKBUILD b/main/perl-crypt-openssl-random/APKBUILD
index 78568c61bd..3334a629d6 100644
--- a/main/perl-crypt-openssl-random/APKBUILD
+++ b/main/perl-crypt-openssl-random/APKBUILD
@@ -3,7 +3,7 @@
3pkgname=perl-crypt-openssl-random 3pkgname=perl-crypt-openssl-random
4_realname=Crypt-OpenSSL-Random 4_realname=Crypt-OpenSSL-Random
5pkgver=0.04 5pkgver=0.04
6pkgrel=0 6pkgrel=2
7pkgdesc="RSA encoding and decoding, using the openSSL libraries" 7pkgdesc="RSA encoding and decoding, using the openSSL libraries"
8url="http://search.cpan.org/~iroberts/Crypt-OpenSSL-Random-0.04/" 8url="http://search.cpan.org/~iroberts/Crypt-OpenSSL-Random-0.04/"
9license="Unknown" 9license="Unknown"
diff --git a/main/perl-crypt-openssl-rsa/APKBUILD b/main/perl-crypt-openssl-rsa/APKBUILD
index 1b5991650c..bce2e80701 100644
--- a/main/perl-crypt-openssl-rsa/APKBUILD
+++ b/main/perl-crypt-openssl-rsa/APKBUILD
@@ -3,7 +3,7 @@
3pkgname=perl-crypt-openssl-rsa 3pkgname=perl-crypt-openssl-rsa
4_realname=Crypt-OpenSSL-RSA 4_realname=Crypt-OpenSSL-RSA
5pkgver=0.26 5pkgver=0.26
6pkgrel=0 6pkgrel=2
7pkgdesc="RSA encoding and decoding, using the openSSL libraries" 7pkgdesc="RSA encoding and decoding, using the openSSL libraries"
8url="http://search.cpan.org/~iroberts/Crypt-OpenSSL-RSA-0.25/" 8url="http://search.cpan.org/~iroberts/Crypt-OpenSSL-RSA-0.25/"
9license="Unknown" 9license="Unknown"
diff --git a/main/perl-db/APKBUILD b/main/perl-db/APKBUILD
index 2b434ea5d5..dbc64cfcfc 100644
--- a/main/perl-db/APKBUILD
+++ b/main/perl-db/APKBUILD
@@ -3,7 +3,7 @@
3pkgname=perl-db 3pkgname=perl-db
4_realname=BerkeleyDB 4_realname=BerkeleyDB
5pkgver=0.41 5pkgver=0.41
6pkgrel=0 6pkgrel=1
7pkgdesc="Perl extension for Berkeley DB version 2, 3 or 4" 7pkgdesc="Perl extension for Berkeley DB version 2, 3 or 4"
8url="http://search.cpan.org/~pmqs/BerkeleyDB-0.38/" 8url="http://search.cpan.org/~pmqs/BerkeleyDB-0.38/"
9license="GPL PerlArtistic" 9license="GPL PerlArtistic"
diff --git a/main/perl-db_file/APKBUILD b/main/perl-db_file/APKBUILD
index 88b155d65e..7f3d6875d3 100644
--- a/main/perl-db_file/APKBUILD
+++ b/main/perl-db_file/APKBUILD
@@ -3,7 +3,7 @@
3pkgname=perl-db_file 3pkgname=perl-db_file
4_realname=DB_File 4_realname=DB_File
5pkgver=1.820 5pkgver=1.820
6pkgrel=1 6pkgrel=2
7pkgdesc="Perl5 access to Berkeley DB" 7pkgdesc="Perl5 access to Berkeley DB"
8url="http://search.cpan.org/~pmqs/DB_File-1.820/" 8url="http://search.cpan.org/~pmqs/DB_File-1.820/"
9license="GPL PerlArtistic" 9license="GPL PerlArtistic"
diff --git a/main/perl-digest-sha1/APKBUILD b/main/perl-digest-sha1/APKBUILD
index 0b40dfb40a..044d84423b 100644
--- a/main/perl-digest-sha1/APKBUILD
+++ b/main/perl-digest-sha1/APKBUILD
@@ -3,7 +3,7 @@
3pkgname=perl-digest-sha1 3pkgname=perl-digest-sha1
4_realname=Digest-SHA1 4_realname=Digest-SHA1
5pkgver=2.12 5pkgver=2.12
6pkgrel=0 6pkgrel=1
7pkgdesc="Perl interface to the SHA-1 algorithm" 7pkgdesc="Perl interface to the SHA-1 algorithm"
8url="http://search.cpan.org/~gaas/Digest-SHA1-2.12/" 8url="http://search.cpan.org/~gaas/Digest-SHA1-2.12/"
9license="GPL PerlArtistic" 9license="GPL PerlArtistic"
diff --git a/main/perl-file-rsync/APKBUILD b/main/perl-file-rsync/APKBUILD
index 700e3eeef7..2a1e928531 100644
--- a/main/perl-file-rsync/APKBUILD
+++ b/main/perl-file-rsync/APKBUILD
@@ -3,7 +3,7 @@
3pkgname=perl-file-rsync 3pkgname=perl-file-rsync
4_realname=File-RsyncP 4_realname=File-RsyncP
5pkgver=0.68 5pkgver=0.68
6pkgrel=0 6pkgrel=1
7pkgdesc="Perl rsync client" 7pkgdesc="Perl rsync client"
8url="http://search.cpan.org/~cbarratt/File-RsyncP-0.68/" 8url="http://search.cpan.org/~cbarratt/File-RsyncP-0.68/"
9license="GPL PerlArtistic" 9license="GPL PerlArtistic"
diff --git a/main/perl-html-parser/APKBUILD b/main/perl-html-parser/APKBUILD
index 8fbac7fec6..87961b1f4f 100644
--- a/main/perl-html-parser/APKBUILD
+++ b/main/perl-html-parser/APKBUILD
@@ -3,7 +3,7 @@
3pkgname=perl-html-parser 3pkgname=perl-html-parser
4_realname=HTML-Parser 4_realname=HTML-Parser
5pkgver=3.64 5pkgver=3.64
6pkgrel=0 6pkgrel=1
7pkgdesc="Parse section of HTML documents" 7pkgdesc="Parse section of HTML documents"
8url="http://search.cpan.org/~gaas/HTML-Parser-3.60/" 8url="http://search.cpan.org/~gaas/HTML-Parser-3.60/"
9license="GPL PerlArtistic" 9license="GPL PerlArtistic"
diff --git a/main/perl-mail-clamav/APKBUILD b/main/perl-mail-clamav/APKBUILD
index c8ef7ea723..5f33f12b3e 100644
--- a/main/perl-mail-clamav/APKBUILD
+++ b/main/perl-mail-clamav/APKBUILD
@@ -3,7 +3,7 @@
3pkgname=perl-mail-clamav 3pkgname=perl-mail-clamav
4_realname=Mail-ClamAV 4_realname=Mail-ClamAV
5pkgver=0.29 5pkgver=0.29
6pkgrel=0 6pkgrel=1
7pkgdesc="Perl extension for the clamav virus scanner" 7pkgdesc="Perl extension for the clamav virus scanner"
8url="http://search.cpan.org/~converter/Mail-ClamAV-0.29/" 8url="http://search.cpan.org/~converter/Mail-ClamAV-0.29/"
9license="Unknown" 9license="Unknown"
diff --git a/main/perl-mail-spamassassin/APKBUILD b/main/perl-mail-spamassassin/APKBUILD
index a86c014fde..9682b7e2b0 100644
--- a/main/perl-mail-spamassassin/APKBUILD
+++ b/main/perl-mail-spamassassin/APKBUILD
@@ -3,7 +3,7 @@
3pkgname=perl-mail-spamassassin 3pkgname=perl-mail-spamassassin
4_realname=Mail-SpamAssassin 4_realname=Mail-SpamAssassin
5pkgver=3.2.5 5pkgver=3.2.5
6pkgrel=1 6pkgrel=2
7pkgdesc="Spam detector and markup engine" 7pkgdesc="Spam detector and markup engine"
8url="http://search.cpan.org/~jmason/Mail-SpamAssassin-3.2.5/" 8url="http://search.cpan.org/~jmason/Mail-SpamAssassin-3.2.5/"
9license="unknown" 9license="unknown"
diff --git a/main/perl-net-dns/APKBUILD b/main/perl-net-dns/APKBUILD
index d87821b69b..7f3580d061 100644
--- a/main/perl-net-dns/APKBUILD
+++ b/main/perl-net-dns/APKBUILD
@@ -3,7 +3,7 @@
3pkgname=perl-net-dns 3pkgname=perl-net-dns
4_realname=Net-DNS 4_realname=Net-DNS
5pkgver=0.66 5pkgver=0.66
6pkgrel=0 6pkgrel=1
7pkgdesc="Perl interface to the DNS resolver" 7pkgdesc="Perl interface to the DNS resolver"
8url="http://search.cpan.org/dist/Archive-Zip/" 8url="http://search.cpan.org/dist/Archive-Zip/"
9license="unknown" 9license="unknown"
diff --git a/main/perl-net-ssleay/APKBUILD b/main/perl-net-ssleay/APKBUILD
index 966aeb770c..d6c366aaae 100644
--- a/main/perl-net-ssleay/APKBUILD
+++ b/main/perl-net-ssleay/APKBUILD
@@ -3,7 +3,7 @@
3pkgname=perl-net-ssleay 3pkgname=perl-net-ssleay
4_realname=Net-SSLeay 4_realname=Net-SSLeay
5pkgver=1.36 5pkgver=1.36
6pkgrel=0 6pkgrel=2
7pkgdesc="Perl extension for using OpenSSL" 7pkgdesc="Perl extension for using OpenSSL"
8url="http://search.cpan.org/dist/Net-SSLeay/" 8url="http://search.cpan.org/dist/Net-SSLeay/"
9license="GPL" 9license="GPL"
diff --git a/main/perl-netaddr-ip/APKBUILD b/main/perl-netaddr-ip/APKBUILD
index c1e687de00..8643038afb 100644
--- a/main/perl-netaddr-ip/APKBUILD
+++ b/main/perl-netaddr-ip/APKBUILD
@@ -3,7 +3,7 @@
3pkgname=perl-netaddr-ip 3pkgname=perl-netaddr-ip
4_realname=NetAddr-IP 4_realname=NetAddr-IP
5pkgver=4.027 5pkgver=4.027
6pkgrel=0 6pkgrel=1
7pkgdesc="Perl extension for managing IPv4 and IPv6 addresses and subnets" 7pkgdesc="Perl extension for managing IPv4 and IPv6 addresses and subnets"
8url="http://search.cpan.org/~miker/NetAddr-IP-$pkgver/" 8url="http://search.cpan.org/~miker/NetAddr-IP-$pkgver/"
9license="Unknown" 9license="Unknown"
diff --git a/main/perl-time-hires/APKBUILD b/main/perl-time-hires/APKBUILD
index 331167432f..6c2dc445b6 100644
--- a/main/perl-time-hires/APKBUILD
+++ b/main/perl-time-hires/APKBUILD
@@ -2,7 +2,7 @@
2pkgname=perl-time-hires 2pkgname=perl-time-hires
3_realname=Time-HiRes 3_realname=Time-HiRes
4pkgver=1.9721 4pkgver=1.9721
5pkgrel=0 5pkgrel=1
6pkgdesc="High resolution alarm, sleep, gettimeofday, interval timers" 6pkgdesc="High resolution alarm, sleep, gettimeofday, interval timers"
7url="http://search.cpan.org/~jhi/Time-HiRes-${pkgver}/" 7url="http://search.cpan.org/~jhi/Time-HiRes-${pkgver}/"
8license="unknown" 8license="unknown"
diff --git a/main/perl-unix-syslog/APKBUILD b/main/perl-unix-syslog/APKBUILD
index 3bc8793d37..21c5b2ac64 100644
--- a/main/perl-unix-syslog/APKBUILD
+++ b/main/perl-unix-syslog/APKBUILD
@@ -3,7 +3,7 @@
3pkgname=perl-unix-syslog 3pkgname=perl-unix-syslog
4_realname=Unix-Syslog 4_realname=Unix-Syslog
5pkgver=1.1 5pkgver=1.1
6pkgrel=0 6pkgrel=1
7pkgdesc="Perl interface to the UNIX syslog(3) calls" 7pkgdesc="Perl interface to the UNIX syslog(3) calls"
8url="http://search.cpan.org/~mharnisch/Unix-Syslog-1.1/" 8url="http://search.cpan.org/~mharnisch/Unix-Syslog-1.1/"
9license="unknown" 9license="unknown"
diff --git a/main/perl-xml-parser/APKBUILD b/main/perl-xml-parser/APKBUILD
index e2319ac8f3..48601fef5e 100644
--- a/main/perl-xml-parser/APKBUILD
+++ b/main/perl-xml-parser/APKBUILD
@@ -2,7 +2,7 @@
2pkgname=perl-xml-parser 2pkgname=perl-xml-parser
3_name=XML-Parser 3_name=XML-Parser
4pkgver=2.36 4pkgver=2.36
5pkgrel=0 5pkgrel=1
6pkgdesc="XML::Parser - an XML parser module for perl" 6pkgdesc="XML::Parser - an XML parser module for perl"
7url="http://search.cpan.org/dist/XML-Parser/" 7url="http://search.cpan.org/dist/XML-Parser/"
8license="GPL PerlArtistic" 8license="GPL PerlArtistic"
diff --git a/main/perl/APKBUILD b/main/perl/APKBUILD
index abca94bdf1..42643135c6 100644
--- a/main/perl/APKBUILD
+++ b/main/perl/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=perl 2pkgname=perl
3pkgver=5.10.1 3pkgver=5.10.1
4pkgrel=0 4pkgrel=1
5pkgdesc="Larry Wall's Practical Extraction and Report Language" 5pkgdesc="Larry Wall's Practical Extraction and Report Language"
6url=http://www.perl.org 6url=http://www.perl.org
7license="Artistic GPL-2" 7license="Artistic GPL-2"
diff --git a/main/pgcluster/APKBUILD b/main/pgcluster/APKBUILD
index c45aecfce2..ec2a51af8e 100644
--- a/main/pgcluster/APKBUILD
+++ b/main/pgcluster/APKBUILD
@@ -2,7 +2,7 @@
2pkgname=pgcluster 2pkgname=pgcluster
3pkgver=1.9.0_rc5 3pkgver=1.9.0_rc5
4_myver=1.9.0rc5 4_myver=1.9.0rc5
5pkgrel=2 5pkgrel=4
6pkgdesc="PostgreSQL with multi-master cluster/replication patch" 6pkgdesc="PostgreSQL with multi-master cluster/replication patch"
7url="http://pgfoundry.org/projects/pgcluster/" 7url="http://pgfoundry.org/projects/pgcluster/"
8license="BSD" 8license="BSD"
diff --git a/main/pgpool/APKBUILD b/main/pgpool/APKBUILD
index 5bfb6b32ce..fbd8ca073d 100644
--- a/main/pgpool/APKBUILD
+++ b/main/pgpool/APKBUILD
@@ -3,7 +3,7 @@
3pkgname=pgpool 3pkgname=pgpool
4_opkgname=pgpool-II 4_opkgname=pgpool-II
5pkgver=2.2.2 5pkgver=2.2.2
6pkgrel=1 6pkgrel=2
7pkgdesc="Pgpool II is a connection pooling/replication server for PostgreSQL." 7pkgdesc="Pgpool II is a connection pooling/replication server for PostgreSQL."
8url="http://pgfoundry.org/projects/pgpool/" 8url="http://pgfoundry.org/projects/pgpool/"
9license="BSD" 9license="BSD"
diff --git a/main/php-apc/APKBUILD b/main/php-apc/APKBUILD
index 8e1fc5b1a1..260ae8e970 100644
--- a/main/php-apc/APKBUILD
+++ b/main/php-apc/APKBUILD
@@ -3,7 +3,7 @@
3pkgname=php-apc 3pkgname=php-apc
4pkgver=3.1.3_p1 4pkgver=3.1.3_p1
5_realver=3.1.3p1 5_realver=3.1.3p1
6pkgrel=0 6pkgrel=1
7pkgdesc="Alternative PHP Cache" 7pkgdesc="Alternative PHP Cache"
8url="http://pecl.php.net/package/APC" 8url="http://pecl.php.net/package/APC"
9license="PHP" 9license="PHP"
diff --git a/main/php-fileinfo/APKBUILD b/main/php-fileinfo/APKBUILD
index 8e72f404c3..5bcfc32e53 100644
--- a/main/php-fileinfo/APKBUILD
+++ b/main/php-fileinfo/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=php-fileinfo 2pkgname=php-fileinfo
3pkgver=1.0.4 3pkgver=1.0.4
4pkgrel=0 4pkgrel=1
5pkgdesc="This extension allows retrieval of information regarding vast majority of file." 5pkgdesc="This extension allows retrieval of information regarding vast majority of file."
6url="http://pecl.php.net/package/Fileinfo" 6url="http://pecl.php.net/package/Fileinfo"
7license="PHP" 7license="PHP"
diff --git a/main/php/APKBUILD b/main/php/APKBUILD
index 1b72cc3098..7c044c8c22 100644
--- a/main/php/APKBUILD
+++ b/main/php/APKBUILD
@@ -3,7 +3,7 @@
3pkgname=php 3pkgname=php
4pkgver=5.3.2 4pkgver=5.3.2
5_suhosinver=${pkgver}-0.9.9.1 5_suhosinver=${pkgver}-0.9.9.1
6pkgrel=1 6pkgrel=6
7pkgdesc="The PHP language runtime engine" 7pkgdesc="The PHP language runtime engine"
8url="http://www.php.net/" 8url="http://www.php.net/"
9license="PHP-3" 9license="PHP-3"
@@ -12,10 +12,10 @@ install="$pkgname.post-upgrade"
12makedepends="pcre-dev libxml2-dev libiconv-dev openssl-dev zlib-dev bzip2-dev 12makedepends="pcre-dev libxml2-dev libiconv-dev openssl-dev zlib-dev bzip2-dev
13 curl-dev libpng-dev jpeg-dev freetype-dev libmcrypt-dev mysql-dev 13 curl-dev libpng-dev jpeg-dev freetype-dev libmcrypt-dev mysql-dev
14 sqlite-dev libtool libltdl postgresql-dev db-dev unixodbc-dev icu-dev 14 sqlite-dev libtool libltdl postgresql-dev db-dev unixodbc-dev icu-dev
15 gd-dev gmp-dev gettext-dev imap-dev aspell-dev 15 gd-dev gmp5-dev gettext-dev imap-dev aspell-dev
16 net-snmp-dev libxslt-dev cyrus-sasl-dev openldap-dev pkgconfig 16 net-snmp-dev libxslt-dev cyrus-sasl-dev openldap-dev pkgconfig
17 libgcrypt-dev" 17 libgcrypt-dev"
18subpackages="$pkgname-dev $pkgname-doc $pkgname-cli 18subpackages="$pkgname-dev $pkgname-doc $pkgname-cli $pkgname-pear
19 $pkgname-bcmath 19 $pkgname-bcmath
20 $pkgname-bz2 20 $pkgname-bz2
21 $pkgname-calendar 21 $pkgname-calendar
@@ -63,6 +63,7 @@ subpackages="$pkgname-dev $pkgname-doc $pkgname-cli
63 63
64source="http://www.php.net/distributions/${pkgname}-${pkgver}.tar.bz2 64source="http://www.php.net/distributions/${pkgname}-${pkgver}.tar.bz2
65 http://download.suhosin.org/suhosin-patch-${_suhosinver}.patch.gz 65 http://download.suhosin.org/suhosin-patch-${_suhosinver}.patch.gz
66 php-install-pear-xml.patch
66 zend_execute_API.c.patch 67 zend_execute_API.c.patch
67 " 68 "
68 69
@@ -71,6 +72,9 @@ _extdir="/usr/lib/php/20090626"
71build() { 72build() {
72 cd "$srcdir/$pkgname-$pkgver" 73 cd "$srcdir/$pkgname-$pkgver"
73 74
75 # beat the pear installer into using xml.so
76 patch -p1 -i "$srcdir"/php-install-pear-xml.patch || return 1
77
74 # apply suhosin patch 78 # apply suhosin patch
75 gunzip -c ${srcdir}/suhosin-patch-${_suhosinver}.patch.gz \ 79 gunzip -c ${srcdir}/suhosin-patch-${_suhosinver}.patch.gz \
76 | patch -p1 || return 1 80 | patch -p1 || return 1
@@ -112,7 +116,7 @@ build() {
112 --with-jpeg-dir=shared,/usr \ 116 --with-jpeg-dir=shared,/usr \
113 --with-ldap=shared \ 117 --with-ldap=shared \
114 --with-mcrypt=shared \ 118 --with-mcrypt=shared \
115 --with-mysql-sock=/tmp/mysql.sock \ 119 --with-mysql-sock=/var/run/mysqld/mysqld.sock \
116 --with-mysql=shared,mysqlnd \ 120 --with-mysql=shared,mysqlnd \
117 --with-mysqli=shared,mysqlnd \ 121 --with-mysqli=shared,mysqlnd \
118 --with-openssl=shared \ 122 --with-openssl=shared \
@@ -178,6 +182,17 @@ cli() {
178 mv "$pkgdir"/usr/bin/php "$subpkgdir"/usr/bin/ 182 mv "$pkgdir"/usr/bin/php "$subpkgdir"/usr/bin/
179} 183}
180 184
185pear() {
186 depends="php"
187 mkdir -p "$subpkgdir"/usr/bin
188 mkdir -p "$subpkgdir"/usr/share
189 mkdir -p "$subpkgdir"/etc/php
190 mv "$pkgdir"/usr/share/pear "$subpkgdir"/usr/share/
191 mv "$pkgdir"/usr/bin/pear* "$subpkgdir"/usr/bin/
192 mv "$pkgdir"/usr/bin/pecl "$subpkgdir"/usr/bin/
193 mv "$pkgdir"/etc/php/pear.conf "$subpkgdir"/etc/php/
194}
195
181_mv_mod() { 196_mv_mod() {
182 pkgdesc="$1 php extension" 197 pkgdesc="$1 php extension"
183 mkdir -p "$subpkgdir/$_extdir" 198 mkdir -p "$subpkgdir/$_extdir"
@@ -243,4 +258,5 @@ dev() {
243 258
244md5sums="46f500816125202c48a458d0133254a4 php-5.3.2.tar.bz2 259md5sums="46f500816125202c48a458d0133254a4 php-5.3.2.tar.bz2
2454647b05330862d6a1fc4469245cc6ade suhosin-patch-5.3.2-0.9.9.1.patch.gz 2604647b05330862d6a1fc4469245cc6ade suhosin-patch-5.3.2-0.9.9.1.patch.gz
2615111e3be06d391f8772587c675240fab php-install-pear-xml.patch
24655f9d24316a57e0c0f6b4b84791a1a17 zend_execute_API.c.patch" 26255f9d24316a57e0c0f6b4b84791a1a17 zend_execute_API.c.patch"
diff --git a/main/php/php-install-pear-xml.patch b/main/php/php-install-pear-xml.patch
new file mode 100644
index 0000000000..f7a6fff58b
--- /dev/null
+++ b/main/php/php-install-pear-xml.patch
@@ -0,0 +1,15 @@
1--- ./pear/Makefile.frag.orig
2+++ ./pear/Makefile.frag
3@@ -2,8 +2,11 @@
4
5 peardir=$(PEAR_INSTALLDIR)
6
7+# help the built php to find xml extension so we can install pear
8+PEAR_INSTALL_XML_FLAGS = -d extension_dir="$(top_builddir)/modules" -d extension=xml.so
9+
10 # Skip all php.ini files altogether
11-PEAR_INSTALL_FLAGS = -n -dshort_open_tag=0 -dsafe_mode=0 -dopen_basedir= -derror_reporting=1803 -dmemory_limit=-1 -ddetect_unicode=0
12+PEAR_INSTALL_FLAGS = -n -dshort_open_tag=0 -dsafe_mode=0 -dopen_basedir= -derror_reporting=1803 -dmemory_limit=-1 -ddetect_unicode=0 $(PEAR_INSTALL_XML_FLAGS)
13
14 WGET = `which wget 2>/dev/null`
15 FETCH = `which fetch 2>/dev/null`
diff --git a/main/pinentry/APKBUILD b/main/pinentry/APKBUILD
index b211173ff3..3f08adac73 100644
--- a/main/pinentry/APKBUILD
+++ b/main/pinentry/APKBUILD
@@ -1,42 +1,44 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=pinentry 2pkgname=pinentry
3pkgver=0.7.6 3pkgver=0.8.0
4_uiconv_ver=0.3 4_uiconv_ver=0.3
5pkgrel=0 5pkgrel=0
6pkgdesc="Collection of simple PIN or passphrase entry dialogs which utilize the Assuan protocol" 6pkgdesc="Collection of simple PIN or passphrase entry dialogs which utilize the Assuan protocol"
7url="http://www.gnupg.org/aegypten2" 7url="http://www.gnupg.org/aegypten2"
8license="GPL-2" 8license="GPL-2"
9depends="ncurses libcap" 9depends=
10makedepends="ncurses-dev libcap-dev" 10install="pinentry.post-install pinentry.post-deinstall"
11subpackages="$pkgname-doc" 11makedepends="ncurses-dev libcap-dev gtk+-dev"
12subpackages="$pkgname-doc $pkgname-gtk"
12source="ftp://ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$pkgver.tar.gz 13source="ftp://ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$pkgver.tar.gz
13 http://git.alpinelinux.org/cgit/uiconv/snapshot/uiconv-$_uiconv_ver.tar.bz2 14 http://git.alpinelinux.org/cgit/uiconv/snapshot/uiconv-$_uiconv_ver.tar.bz2
14 " 15 "
15 16
16build () { 17build () {
17 # we build it against uiconv to avoid the bloaty GNU libiconv.
18 # it will be linked statically so we don't need it in depends
19 cd "$srcdir/uiconv-$_uiconv_ver"
20 make
21 make DESTDIR="$srcdir" PREFIX=/uiconv install
22
23 cd "$srcdir"/$pkgname-$pkgver 18 cd "$srcdir"/$pkgname-$pkgver
24
25 # the configure script have a broken --with-libiconv-prefix option
26 # so we set the -I and -L flags hard
27 export CFLAGS="$CFLAGS -I $srcdir/uiconv/include"
28 export LDFLAGS="$LDFLAGS -L $srcdir/uiconv/lib"
29
30 ./configure --prefix=/usr \ 19 ./configure --prefix=/usr \
31 --disable-pinentry-gtk \ 20 --disable-pinentry-gtk \
32 --disable-pinentry-gtk2 \ 21 --enable-pinentry-gtk2 \
33 --disable-pinentry-qt \ 22 --disable-pinentry-qt \
34 --enable-pinentry-curses \ 23 --enable-pinentry-curses \
35 --enable-fallback-curses \ 24 --enable-pinentry-gtk2 \
36 --with-libiconv-prefix="$srcdir"/uiconv 25 --enable-fallback-curses
37 26
38 make || return 1 27 make || return 1
28}
29
30package() {
31 cd "$srcdir"/$pkgname-$pkgver
39 make DESTDIR="$pkgdir" install 32 make DESTDIR="$pkgdir" install
33 # created by post install scripts so we can override with gtk version
34 rm -f "$pkgdir"/usr/bin/pinentry
35}
36
37gtk() {
38 install="pinentry-gtk.post-install pinentry-gtk.post-deinstall"
39 mkdir -p "$subpkgdir"/usr/bin
40 mv "$pkgdir"/usr/bin/pinentry-gtk* "$subpkgdir"/usr/bin/
40} 41}
41md5sums="5a4f676375fa882009da02013d77210f pinentry-0.7.6.tar.gz 42
43md5sums="590be1b00f9ab63205843c7fed8caf35 pinentry-0.8.0.tar.gz
425cd7f80085324d08cb976fec674cd98d uiconv-0.3.tar.bz2" 445cd7f80085324d08cb976fec674cd98d uiconv-0.3.tar.bz2"
diff --git a/main/pinentry/pinentry-gtk.post-deinstall b/main/pinentry/pinentry-gtk.post-deinstall
new file mode 100644
index 0000000000..887ef798ae
--- /dev/null
+++ b/main/pinentry/pinentry-gtk.post-deinstall
@@ -0,0 +1,8 @@
1#!/bin/sh
2
3if [ -f /usr/bin/pinentry-curses ]; then
4 ln -sf pinentry-curses /usr/bin/pinentry
5else
6 rm -f /usr/bin/pinentry
7fi
8
diff --git a/main/pinentry/pinentry-gtk.post-install b/main/pinentry/pinentry-gtk.post-install
new file mode 100644
index 0000000000..8b51ca005f
--- /dev/null
+++ b/main/pinentry/pinentry-gtk.post-install
@@ -0,0 +1,4 @@
1#!/bin/sh
2
3ln -sf pinentry-gtk-2 /usr/bin/pinentry
4
diff --git a/main/pinentry/pinentry.post-deinstall b/main/pinentry/pinentry.post-deinstall
new file mode 100644
index 0000000000..38939e5b49
--- /dev/null
+++ b/main/pinentry/pinentry.post-deinstall
@@ -0,0 +1,6 @@
1#!/bin/sh
2
3if ! [ -f /usr/bin/pinentry-gtk-2 ]; then
4 rm -f /usr/bin/pinentry
5fi
6
diff --git a/main/pinentry/pinentry.post-install b/main/pinentry/pinentry.post-install
new file mode 100644
index 0000000000..0dfd31e955
--- /dev/null
+++ b/main/pinentry/pinentry.post-install
@@ -0,0 +1,6 @@
1#!/bin/sh
2
3if ! [ -f /usr/bin/pinentry-gtk-2 ]; then
4 ln -sf pinentry-curses /usr/bin/pinentry
5fi
6
diff --git a/main/pingu/APKBUILD b/main/pingu/APKBUILD
index aabc7f78cb..b09a41c7df 100644
--- a/main/pingu/APKBUILD
+++ b/main/pingu/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 2# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
3pkgname=pingu 3pkgname=pingu
4pkgver=0.5 4pkgver=0.5
5pkgrel=0 5pkgrel=1
6pkgdesc="Small daemon that pings hosts and executes a script when status change" 6pkgdesc="Small daemon that pings hosts and executes a script when status change"
7url="http://git.alpinelinux.org/cgit/pingu" 7url="http://git.alpinelinux.org/cgit/pingu"
8license="GPL" 8license="GPL"
diff --git a/main/pixman/APKBUILD b/main/pixman/APKBUILD
index 7ea5259e71..629130deb8 100644
--- a/main/pixman/APKBUILD
+++ b/main/pixman/APKBUILD
@@ -1,6 +1,6 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=pixman 2pkgname=pixman
3pkgver=0.16.6 3pkgver=0.18.0
4pkgrel=0 4pkgrel=0
5pkgdesc="Pixman library" 5pkgdesc="Pixman library"
6url="http://xorg.freedesktop.org" 6url="http://xorg.freedesktop.org"
@@ -21,4 +21,4 @@ package() {
21 cd "$srcdir"/$pkgname-$pkgver 21 cd "$srcdir"/$pkgname-$pkgver
22 make DESTDIR="$pkgdir" install || return 1 22 make DESTDIR="$pkgdir" install || return 1
23} 23}
24md5sums="fbd6ee9cb09d0b26281557bc7afcb3ab pixman-0.16.6.tar.bz2" 24md5sums="a1b5a0a145cab653f5c1e8cf2f98f945 pixman-0.18.0.tar.bz2"
diff --git a/main/pjproject/APKBUILD b/main/pjproject/APKBUILD
index 363d7616ea..77722b13dd 100644
--- a/main/pjproject/APKBUILD
+++ b/main/pjproject/APKBUILD
@@ -1,21 +1,19 @@
1# Contributor: Michael Mason <ms13sp@gmail.com> 1# Contributor: Michael Mason <ms13sp@gmail.com>
2# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 2# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
3pkgname=pjproject 3pkgname=pjproject
4pkgver=1.4 4pkgver=1.6
5pkgrel=0 5pkgrel=1
6pkgdesc="CLI Softphone" 6pkgdesc="CLI Softphone"
7url="http://www.pjsip.org/pjsua.htm" 7url="http://www.pjsip.org/pjsua.htm"
8license="GPL" 8license="GPL"
9depends= 9depends=
10makedepends="uclibc++-dev openssl-dev pth-dev" 10makedepends="openssl-dev pth-dev"
11install= 11install=
12subpackages="$pkgname-dev pjsua" 12subpackages="$pkgname-dev pjsua"
13source="http://www.pjsip.org/release/$pkgver/$pkgname-$pkgver.tar.bz2" 13source="http://www.pjsip.org/release/$pkgver/$pkgname-$pkgver.tar.bz2"
14 14
15build() { 15build() {
16 cd "$srcdir/$pkgname-$pkgver" 16 cd "$srcdir/$pkgname-$pkgver"
17 export CXX=${CXX_UC:-g++-uc}
18
19 ./configure --build=${CHOST:-i486-alpine-linux-uclibc} \ 17 ./configure --build=${CHOST:-i486-alpine-linux-uclibc} \
20 --prefix=/usr \ 18 --prefix=/usr \
21 --sysconfdir=/etc \ 19 --sysconfdir=/etc \
@@ -23,8 +21,11 @@ build() {
23 --infodir=/usr/share/info 21 --infodir=/usr/share/info
24 make -j1 dep || return 1 22 make -j1 dep || return 1
25 make -j1 all || return 1 23 make -j1 all || return 1
26 make -j1 DESTDIR="$pkgdir" prefix=/usr install 24}
27 25
26package() {
27 cd "$srcdir/$pkgname-$pkgver"
28 make -j1 DESTDIR="$pkgdir" prefix=/usr install
28} 29}
29 30
30pjsua() { 31pjsua() {
@@ -35,4 +36,4 @@ pjsua() {
35} 36}
36 37
37 38
38md5sums="c5abd0d764d89788d817d449141e45a6 pjproject-1.4.tar.bz2" 39md5sums="8e804c4930a5ee98a7a0ed2619c09b44 pjproject-1.6.tar.bz2"
diff --git a/main/pkgconfig/APKBUILD b/main/pkgconfig/APKBUILD
index afdb272888..753e07b98b 100644
--- a/main/pkgconfig/APKBUILD
+++ b/main/pkgconfig/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=pkgconfig 2pkgname=pkgconfig
3pkgver=0.23 3pkgver=0.23
4pkgrel=0 4pkgrel=1
5pkgdesc="A system for managing library compile/link flags" 5pkgdesc="A system for managing library compile/link flags"
6url="http://pkgconfig.freedesktop.org/wiki/" 6url="http://pkgconfig.freedesktop.org/wiki/"
7license="GPL" 7license="GPL"
diff --git a/main/policyd-spf-fs/APKBUILD b/main/policyd-spf-fs/APKBUILD
index 34c7e90f97..30fad5f5d1 100644
--- a/main/policyd-spf-fs/APKBUILD
+++ b/main/policyd-spf-fs/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Timo Teras <timo.teras@iki.fi> 2# Maintainer: Timo Teras <timo.teras@iki.fi>
3pkgname=policyd-spf-fs 3pkgname=policyd-spf-fs
4pkgver=23 4pkgver=23
5pkgrel=0 5pkgrel=1
6pkgdesc="Policy daemon for checking SPF records in postfix" 6pkgdesc="Policy daemon for checking SPF records in postfix"
7url="http://www.freestone.net/software/policyd-spf-fs/" 7url="http://www.freestone.net/software/policyd-spf-fs/"
8license="GPL" 8license="GPL"
@@ -24,6 +24,7 @@ build() {
24 msg "Apply $i" 24 msg "Apply $i"
25 patch -p1 < $i || return 1 25 patch -p1 < $i || return 1
26 done 26 done
27 sed -i -e 's/-lnsl//' Makefile
27 28
28 make CFLAGS+=-DHAVE_NS_TYPE || return 1 29 make CFLAGS+=-DHAVE_NS_TYPE || return 1
29 30
diff --git a/main/poppler-gtk/APKBUILD b/main/poppler-gtk/APKBUILD
index a92d765065..81e9c6f967 100644
--- a/main/poppler-gtk/APKBUILD
+++ b/main/poppler-gtk/APKBUILD
@@ -5,7 +5,7 @@
5pkgname=poppler-gtk 5pkgname=poppler-gtk
6_realname=poppler 6_realname=poppler
7pkgver=0.12.4 7pkgver=0.12.4
8pkgrel=0 8pkgrel=1
9pkgdesc="PDF rendering library based on xpdf 3.0" 9pkgdesc="PDF rendering library based on xpdf 3.0"
10url="http://poppler.freedesktop.org/" 10url="http://poppler.freedesktop.org/"
11license="GPL" 11license="GPL"
diff --git a/main/poppler/APKBUILD b/main/poppler/APKBUILD
index b6b8a31d0b..56cce5a09a 100644
--- a/main/poppler/APKBUILD
+++ b/main/poppler/APKBUILD
@@ -5,7 +5,7 @@
5# So we build gtk support in poppler-gtk 5# So we build gtk support in poppler-gtk
6pkgname=poppler 6pkgname=poppler
7pkgver=0.12.4 7pkgver=0.12.4
8pkgrel=0 8pkgrel=1
9pkgdesc="PDF rendering library based on xpdf 3.0" 9pkgdesc="PDF rendering library based on xpdf 3.0"
10url="http://poppler.freedesktop.org/" 10url="http://poppler.freedesktop.org/"
11license="GPL" 11license="GPL"
diff --git a/main/popt/APKBUILD b/main/popt/APKBUILD
index 469b65bd8d..146f927d82 100644
--- a/main/popt/APKBUILD
+++ b/main/popt/APKBUILD
@@ -1,6 +1,6 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=popt 2pkgname=popt
3pkgver=1.15 3pkgver=1.16
4pkgrel=0 4pkgrel=0
5pkgdesc="A commandline option parser" 5pkgdesc="A commandline option parser"
6url="http://rpm5.org" 6url="http://rpm5.org"
@@ -11,9 +11,13 @@ subpackages="$pkgname-doc $pkgname-dev"
11 11
12build () 12build ()
13{ 13{
14 cd $srcdir/$pkgname-$pkgver 14 cd "$srcdir"/$pkgname-$pkgver
15 ./configure --prefix=/usr 15 ./configure --prefix=/usr
16 make || return 1 16 make || return 1
17}
18
19package() {
20 cd "$srcdir"/$pkgname-$pkgver
17 make DESTDIR=$pkgdir install || return 1 21 make DESTDIR=$pkgdir install || return 1
18} 22}
19md5sums="c61ef795fa450eb692602a661ec8d7f1 popt-1.15.tar.gz" 23md5sums="3743beefa3dd6247a73f8f7a32c14c33 popt-1.16.tar.gz"
diff --git a/main/portmap/APKBUILD b/main/portmap/APKBUILD
index afdb114ace..fb86bac3a7 100644
--- a/main/portmap/APKBUILD
+++ b/main/portmap/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=portmap 2pkgname=portmap
3pkgver=6.0 3pkgver=6.0
4pkgrel=3 4pkgrel=5
5pkgdesc="RPC connection manager" 5pkgdesc="RPC connection manager"
6url="http://neil.brown.name/portmap/" 6url="http://neil.brown.name/portmap/"
7license="GPL" 7license="GPL"
@@ -14,15 +14,22 @@ source="http://neil.brown.name/$pkgname/$pkgname-$pkgver.tgz
14 $pkgname.confd 14 $pkgname.confd
15 $pkgname.initd" 15 $pkgname.initd"
16 16
17build () 17
18{ 18prepare() {
19 cd "$srcdir"/portmap_$pkgver 19 cd "$srcdir"/portmap_$pkgver
20 for i in ../*.patch; do 20 for i in ../*.patch; do
21 msg "Applying $i" 21 msg "Applying $i"
22 patch -p1 < $i || return 1 22 patch -p1 < $i || return 1
23 done 23 done
24}
24 25
26build() {
27 cd "$srcdir"/portmap_$pkgver
25 make NO_TCP_WRAPPER=NO || return 1 28 make NO_TCP_WRAPPER=NO || return 1
29}
30
31package() {
32 cd "$srcdir"/portmap_$pkgver
26 mkdir -p "$pkgdir"/sbin 33 mkdir -p "$pkgdir"/sbin
27 mkdir -p "$pkgdir"/usr/share/man/man8 34 mkdir -p "$pkgdir"/usr/share/man/man8
28 make BASEDIR="$pkgdir" install 35 make BASEDIR="$pkgdir" install
diff --git a/main/portmap/portmap.pre-install b/main/portmap/portmap.pre-install
index b0dcfb9c5c..ea2baf9e3a 100644
--- a/main/portmap/portmap.pre-install
+++ b/main/portmap/portmap.pre-install
@@ -1,3 +1,3 @@
1#!/bin/sh 1#!/bin/sh
2 2
3adduser -h /dev/null -s /bin/false -D rpc 2>/dev/null || true 3adduser -h /var/lib/empty -H -s /bin/false -S -D rpc 2>/dev/null || true
diff --git a/main/postfix/APKBUILD b/main/postfix/APKBUILD
index e4e43fea88..2367e98604 100644
--- a/main/postfix/APKBUILD
+++ b/main/postfix/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=postfix 2pkgname=postfix
3pkgver=2.6.5 3pkgver=2.6.5
4pkgrel=2 4pkgrel=4
5pkgdesc="Secure and fast drop-in replacement for Sendmail (MTA)" 5pkgdesc="Secure and fast drop-in replacement for Sendmail (MTA)"
6url="http://www.postfix.org/" 6url="http://www.postfix.org/"
7license="IPL-1" 7license="IPL-1"
diff --git a/main/postgresql/APKBUILD b/main/postgresql/APKBUILD
index a4d1b55fd4..ca034faedb 100644
--- a/main/postgresql/APKBUILD
+++ b/main/postgresql/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=postgresql 2pkgname=postgresql
3pkgver=8.4.3 3pkgver=8.4.3
4pkgrel=0 4pkgrel=3
5pkgdesc="A sophisticated object-relational DBMS" 5pkgdesc="A sophisticated object-relational DBMS"
6url="http://www.postgresql.org/" 6url="http://www.postgresql.org/"
7license="BSD" 7license="BSD"
@@ -57,7 +57,7 @@ client() {
57 57
58 58
59md5sums="7f70e7b140fb190f268837255582b07e postgresql-8.4.3.tar.bz2 59md5sums="7f70e7b140fb190f268837255582b07e postgresql-8.4.3.tar.bz2
60740bc8414ee27b4c81dee1690c32679f postgresql.initd 6066c197b8186a6df0752fe2aed40c90c4 postgresql.initd
61d6b58fc2411fdadcb9b762464c5bee7d postgresql.confd 6112199d445bfa42aafc2a958012737107 postgresql.confd
62e64d0ab26b077ed80d883c0c40704ff4 pg-restore.initd 627f8de63848c51c8a30c39bec6b1b1606 pg-restore.initd
638d1b69ac56a1a0d1cfd7da337bf6c5e2 pg-restore.confd" 63bf45384752b320b369f1425939763178 pg-restore.confd"
diff --git a/main/postgresql/pg-restore.confd b/main/postgresql/pg-restore.confd
index 18bff4c2a3..84a179f6cd 100644
--- a/main/postgresql/pg-restore.confd
+++ b/main/postgresql/pg-restore.confd
@@ -10,7 +10,7 @@
10# 10#
11#KEEP_DUMP=yes 11#KEEP_DUMP=yes
12 12
13# If you enable the KEEP_DUMP bove you probably also want the --clean option 13# If you enable KEEP_DUMP above you probably also want the --clean option
14# the the pg_dumpall command. 14# the the pg_dumpall command.
15#PG_DUMPALL_OPTS="--clean" 15#PG_DUMPALL_OPTS="--clean"
16 16
diff --git a/main/postgresql/pg-restore.initd b/main/postgresql/pg-restore.initd
index aaf07cbe7d..91c69d18f4 100644
--- a/main/postgresql/pg-restore.initd
+++ b/main/postgresql/pg-restore.initd
@@ -1,5 +1,7 @@
1#!/sbin/runscript 1#!/sbin/runscript
2 2
3. /etc/conf.d/postgresql
4
3opts="${opts} dump restore" 5opts="${opts} dump restore"
4 6
5depend() { 7depend() {
@@ -7,18 +9,22 @@ depend() {
7} 9}
8 10
9restore() { 11restore() {
10 [ -z "$PGDUMP" ] && return 0 12 yesno "$PGDUMP" && return 0
11 ebegin "Restoring PostgreSQL $PGDUMP" 13 ebegin "Restoring PostgreSQL $PGDUMP"
12 psql -U ${PG_USER:-postgres} ${PSQL_OPTS} -f "$PGDUMP" 14 psql -U ${PG_USER:-postgres} ${PSQL_OPTS} -f "$PGDUMP" >/dev/null 2>/dev/null
13 eend $? 15 yesno "$KEEP_DUMP" || rm -f "$PGDUMP"
14 if [ -z "$KEEP_DUMP" ]; then 16
15 rm -f "$PGDUMP" 17 su -l ${PGUSER} \
16 fi 18 -c "env PGDATA=\"${PGDATA}\" /usr/bin/pg_ctl reload " >/dev/null
19 eend $res
17} 20}
18 21
19dump() { 22dump() {
20 [ -z "$PGDUMP" ] && return 0 23 yesno "$PGDUMP" && return 0
24 mkdir -p "$( dirname "$PGDUMP" )"
25 ebegin "Saving PostgreSQL databases to $PGDUMP"
21 pg_dumpall -U ${PG_USER:-postgres} ${PG_DUMPALL_OPTS} -f "$PGDUMP" 26 pg_dumpall -U ${PG_USER:-postgres} ${PG_DUMPALL_OPTS} -f "$PGDUMP"
27 eend $?
22} 28}
23 29
24start() { 30start() {
diff --git a/main/postgresql/postgresql.confd b/main/postgresql/postgresql.confd
index 4fe28a4584..29ef20d941 100644
--- a/main/postgresql/postgresql.confd
+++ b/main/postgresql/postgresql.confd
@@ -52,5 +52,5 @@ WAIT_FOR_START="-w"
52# export R_HOME="/usr/lib/R" 52# export R_HOME="/usr/lib/R"
53 53
54# Automatically set up a new database if missing on startup 54# Automatically set up a new database if missing on startup
55#AUTO_SETUP=yes 55AUTO_SETUP=yes
56 56
diff --git a/main/postgresql/postgresql.initd b/main/postgresql/postgresql.initd
index 23b0acff4c..2de91d0df6 100644
--- a/main/postgresql/postgresql.initd
+++ b/main/postgresql/postgresql.initd
@@ -2,6 +2,7 @@
2# Copyright 1999-2008 Gentoo Foundation 2# Copyright 1999-2008 Gentoo Foundation
3# Distributed under the terms of the GNU General Public License v2 3# Distributed under the terms of the GNU General Public License v2
4# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/files/postgresql.init-8.3,v 1.4 2008/09/28 22:53:02 caleb Exp $ 4# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql-server/files/postgresql.init-8.3,v 1.4 2008/09/28 22:53:02 caleb Exp $
5# Modifications to support Alpine Linux pg-restore
5 6
6opts="${opts} reload setup" 7opts="${opts} reload setup"
7 8
@@ -11,10 +12,11 @@ depend() {
11} 12}
12 13
13checkconfig() { 14checkconfig() {
14 [ -d "$PGDATA" ] && return 0 15 [ -d "$PGDATA/base" ] && return 0
16 echo "checking config"
15 17
16 if [ -z "$AUTO_SETUP" ] || [ "$AUTO_SETUP" = "no" ]; then 18 if [ -z "$AUTO_SETUP" ] ; then
17 eerror "Directory not found: $PGDATA" 19 eerror "Database not found at: $PGDATA"
18 eerror "Please make sure that PGDATA points to the right path." 20 eerror "Please make sure that PGDATA points to the right path."
19 eerror "You can run '/etc/init.d/postgresql setup' to setup a new database cluster." 21 eerror "You can run '/etc/init.d/postgresql setup' to setup a new database cluster."
20 return 1 22 return 1
@@ -101,18 +103,36 @@ reload() {
101 103
102setup() { 104setup() {
103 ebegin "Creating a new PostgreSQL database cluster" 105 ebegin "Creating a new PostgreSQL database cluster"
104 rmdir "${PGDATA}" 2>/dev/null 106
105 if [ -d "${PGDATA}" ] ; then 107 if [ -d "${PGDATA}/base" ] ; then
106 eend 1 "${PGDATA} already exist" 108 eend 1 "${PGDATA}/base already exists"
107 return 109 return
108 fi 110 fi
109 mkdir -p "${PGDATA}" 111
112 mkdir -p "${PGDATA}" 2>/dev/null
113
114 # If the pg_hba.conf and friends exist, move them
115 local tmpdir="$( dirname "$PGDATA" )/tmp"
116 mkdir -p "${tmpdir}" >/dev/null
117 echo mv "${PGDATA}"/* "${tmpdir}"
118 mv "${PGDATA}"/* "${tmpdir}" 2>/dev/null
119
120 rm -rf "${PGDATA}"/* 2>/dev/null
110 chown -Rf postgres:postgres "${PGDATA}" 121 chown -Rf postgres:postgres "${PGDATA}"
111 chmod 0700 "${PGDATA}" 122 chmod 0700 "${PGDATA}"
112 cd "${PGDATA}" # to avoid the: could not change directory to "/root" 123 cd "${PGDATA}" # to avoid the: could not change directory to "/root"
113 su -c "/usr/bin/initdb --pgdata ${PGDATA}" postgres 124 su -c "/usr/bin/initdb --pgdata ${PGDATA}" postgres
114 einfo "You can use the '/etc/init.d/postgresql' script to run PostgreSQL instead" 125 einfo "You can use the '/etc/init.d/postgresql' script to run PostgreSQL instead"
115 einfo "of 'pg_ctl'." 126 einfo "of 'pg_ctl'."
116 eend $? 127 local res=$?
128
129 # move the pg_hba.conf and friends
130 mv $tmpdir/* "$PGDATA" 2>/dev/null
131 rm -rf $tmpdir 2>/dev/null
132
133 # Do not send a SIGHUP to postmaster; its not necessary for a new database
134 # and allows pg-restore to do a blind restore of an old database
135
136 eend $res
117} 137}
118 138
diff --git a/main/pound/APKBUILD b/main/pound/APKBUILD
index 3ad049414e..263438af31 100644
--- a/main/pound/APKBUILD
+++ b/main/pound/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=pound 2pkgname=pound
3pkgver=2.5 3pkgver=2.5
4pkgrel=0 4pkgrel=2
5pkgdesc="A reverse proxy, load balancer, and SSL wrapper" 5pkgdesc="A reverse proxy, load balancer, and SSL wrapper"
6url="http://www.apsis.ch/pound/index_html" 6url="http://www.apsis.ch/pound/index_html"
7license="GPL" 7license="GPL"
@@ -10,9 +10,17 @@ makedepends="pcre-dev openssl-dev"
10subpackages="$pkgname-doc" 10subpackages="$pkgname-doc"
11source="http://www.apsis.ch/$pkgname/Pound-$pkgver.tgz 11source="http://www.apsis.ch/$pkgname/Pound-$pkgver.tgz
12 pound.cfg 12 pound.cfg
13 pound-2.5-openssl.patch
13 $pkgname.initd" 14 $pkgname.initd"
14 15
15_builddir="$srcdir"/Pound-$pkgver 16_builddir="$srcdir"/Pound-$pkgver
17prepare() {
18 cd "$_builddir"
19 for i in "$srcdir"/*.patch; do
20 patch -p1 -i "$i" || return 1
21 done
22}
23
16build() { 24build() {
17 cd "$_builddir" 25 cd "$_builddir"
18 ./configure --prefix=/usr --sysconfdir=/etc/pound 26 ./configure --prefix=/usr --sysconfdir=/etc/pound
@@ -28,4 +36,5 @@ package() {
28} 36}
29md5sums="8a39f5902094619afcda7d12d9d8342c Pound-2.5.tgz 37md5sums="8a39f5902094619afcda7d12d9d8342c Pound-2.5.tgz
30736b12a47acbb7fc2802ed7f51e959d0 pound.cfg 38736b12a47acbb7fc2802ed7f51e959d0 pound.cfg
39c2c48dc395ffc045f9d35394992292d0 pound-2.5-openssl.patch
31074fc58c89bb70e8fcd767ee70ebd0f0 pound.initd" 40074fc58c89bb70e8fcd767ee70ebd0f0 pound.initd"
diff --git a/main/pound/pound-2.5-openssl.patch b/main/pound/pound-2.5-openssl.patch
new file mode 100644
index 0000000000..efefd54879
--- /dev/null
+++ b/main/pound/pound-2.5-openssl.patch
@@ -0,0 +1,290 @@
1diff -up Pound-2.5/config.c.openssl Pound-2.5/config.c
2--- Pound-2.5/config.c.openssl 2010-02-10 12:23:09.000000000 +0100
3+++ Pound-2.5/config.c 2010-02-10 12:23:07.000000000 +0100
4@@ -431,14 +431,22 @@ t_hash(const TABNODE *e)
5 res = (res ^ *k++) * 16777619;
6 return res;
7 }
8+#if OPENSSL_VERSION_NUMBER >= 0x10000000L
9+static IMPLEMENT_LHASH_HASH_FN(t, TABNODE)
10+#else
11 static IMPLEMENT_LHASH_HASH_FN(t_hash, const TABNODE *)
12+#endif
13
14 static int
15 t_cmp(const TABNODE *d1, const TABNODE *d2)
16 {
17 return strcmp(d1->key, d2->key);
18 }
19+#if OPENSSL_VERSION_NUMBER >= 0x10000000L
20+static IMPLEMENT_LHASH_COMP_FN(t, TABNODE)
21+#else
22 static IMPLEMENT_LHASH_COMP_FN(t_cmp, const TABNODE *)
23+#endif
24
25 /*
26 * parse a service
27@@ -460,7 +468,11 @@ parse_service(const char *svc_name)
28 pthread_mutex_init(&res->mut, NULL);
29 if(svc_name)
30 strncpy(res->name, svc_name, KEY_SIZE);
31+#if OPENSSL_VERSION_NUMBER >= 0x10000000L
32+ if((res->sessions = LHM_lh_new(TABNODE, t)) == NULL)
33+#else
34 if((res->sessions = lh_new(LHASH_HASH_FN(t_hash), LHASH_COMP_FN(t_cmp))) == NULL)
35+#endif
36 conf_err("lh_new failed - aborted");
37 ign_case = ignore_case;
38 while(conf_fgets(lin, MAXBUF)) {
39diff -up Pound-2.5/pound.h.openssl Pound-2.5/pound.h
40--- Pound-2.5/pound.h.openssl 2010-02-02 12:49:02.000000000 +0100
41+++ Pound-2.5/pound.h 2010-02-10 12:15:18.000000000 +0100
42@@ -322,6 +322,10 @@ typedef struct _tn {
43 /* maximal session key size */
44 #define KEY_SIZE 127
45
46+#if OPENSSL_VERSION_NUMBER >= 0x10000000L
47+DECLARE_LHASH_OF(TABNODE);
48+#endif
49+
50 /* service definition */
51 typedef struct _service {
52 char name[KEY_SIZE + 1]; /* symbolic name */
53@@ -337,7 +341,11 @@ typedef struct _service {
54 int sess_ttl; /* session time-to-live */
55 regex_t sess_start; /* pattern to identify the session data */
56 regex_t sess_pat; /* pattern to match the session data */
57+#if OPENSSL_VERSION_NUMBER >= 0x10000000L
58+ LHASH_OF(TABNODE) *sessions; /* currently active sessions */
59+#else
60 LHASH *sessions; /* currently active sessions */
61+#endif
62 int dynscale; /* true if the back-ends should be dynamically rescaled */
63 int disabled; /* true if the service is disabled */
64 struct _service *next;
65diff -up Pound-2.5/svc.c.openssl Pound-2.5/svc.c
66--- Pound-2.5/svc.c.openssl 2010-02-02 12:49:02.000000000 +0100
67+++ Pound-2.5/svc.c 2010-02-10 12:13:29.000000000 +0100
68@@ -27,12 +27,17 @@
69
70 #include "pound.h"
71
72+#ifndef LHASH_OF
73+#define LHASH_OF(x) LHASH
74+#define CHECKED_LHASH_OF(type, h) h
75+#endif
76+
77 /*
78 * Add a new key/content pair to a hash table
79 * the table should be already locked
80 */
81 static void
82-t_add(LHASH *const tab, const char *key, const void *content, const size_t cont_len)
83+t_add(LHASH_OF(TABNODE) *const tab, const char *key, const void *content, const size_t cont_len)
84 {
85 TABNODE *t, *old;
86
87@@ -53,7 +58,11 @@ t_add(LHASH *const tab, const char *key,
88 }
89 memcpy(t->content, content, cont_len);
90 t->last_acc = time(NULL);
91+#if OPENSSL_VERSION_NUMBER >= 0x10000000L
92+ if((old = LHM_lh_insert(TABNODE, tab, t)) != NULL) {
93+#else
94 if((old = (TABNODE *)lh_insert(tab, t)) != NULL) {
95+#endif
96 free(old->key);
97 free(old->content);
98 free(old);
99@@ -68,12 +77,16 @@ t_add(LHASH *const tab, const char *key,
100 * side-effect: update the time of last access
101 */
102 static void *
103-t_find(LHASH *const tab, char *const key)
104+t_find(LHASH_OF(TABNODE) *const tab, char *const key)
105 {
106 TABNODE t, *res;
107
108 t.key = key;
109+#if OPENSSL_VERSION_NUMBER >= 0x10000000L
110+ if((res = LHM_lh_retrieve(TABNODE, tab, &t)) != NULL) {
111+#else
112 if((res = (TABNODE *)lh_retrieve(tab, &t)) != NULL) {
113+#endif
114 res->last_acc = time(NULL);
115 return res->content;
116 }
117@@ -84,12 +97,16 @@ t_find(LHASH *const tab, char *const key
118 * Delete a key
119 */
120 static void
121-t_remove(LHASH *const tab, char *const key)
122+t_remove(LHASH_OF(TABNODE) *const tab, char *const key)
123 {
124 TABNODE t, *res;
125
126 t.key = key;
127+#if OPENSSL_VERSION_NUMBER >= 0x10000000L
128+ if((res = LHM_lh_delete(TABNODE, tab, &t)) != NULL) {
129+#else
130 if((res = (TABNODE *)lh_delete(tab, &t)) != NULL) {
131+#endif
132 free(res->key);
133 free(res->content);
134 free(res);
135@@ -98,59 +115,75 @@ t_remove(LHASH *const tab, char *const k
136 }
137
138 typedef struct {
139- LHASH *tab;
140+ LHASH_OF(TABNODE) *tab;
141 time_t lim;
142 void *content;
143 int cont_len;
144 } ALL_ARG;
145
146 static void
147-t_old(TABNODE *t, void *arg)
148+t_old_doall_arg(TABNODE *t, ALL_ARG *a)
149 {
150- ALL_ARG *a;
151-
152- a = (ALL_ARG *)arg;
153 if(t->last_acc < a->lim)
154+#if OPENSSL_VERSION_NUMBER >= 0x10000000L
155+ LHM_lh_delete(TABNODE, a->tab, t);
156+#else
157 lh_delete(a->tab, t);
158+#endif
159 return;
160 }
161-IMPLEMENT_LHASH_DOALL_ARG_FN(t_old, TABNODE *, void *)
162+#if OPENSSL_VERSION_NUMBER >= 0x10000000L
163+IMPLEMENT_LHASH_DOALL_ARG_FN(t_old, TABNODE, ALL_ARG)
164+#else
165+#define t_old t_old_doall_arg
166+IMPLEMENT_LHASH_DOALL_ARG_FN(t_old, TABNODE *, ALL_ARG *)
167+#endif
168
169 /*
170 * Expire all old nodes
171 */
172 static void
173-t_expire(LHASH *const tab, const time_t lim)
174+t_expire(LHASH_OF(TABNODE) *const tab, const time_t lim)
175 {
176 ALL_ARG a;
177 int down_load;
178
179 a.tab = tab;
180 a.lim = lim;
181- down_load = tab->down_load;
182- tab->down_load = 0;
183+ down_load = CHECKED_LHASH_OF(TABNODE, tab)->down_load;
184+ CHECKED_LHASH_OF(TABNODE, tab)->down_load = 0;
185+#if OPENSSL_VERSION_NUMBER >= 0x10000000L
186+ LHM_lh_doall_arg(TABNODE, tab, LHASH_DOALL_ARG_FN(t_old), ALL_ARG, &a);
187+#else
188 lh_doall_arg(tab, LHASH_DOALL_ARG_FN(t_old), &a);
189- tab->down_load = down_load;
190+#endif
191+ CHECKED_LHASH_OF(TABNODE, tab)->down_load = down_load;
192 return;
193 }
194
195 static void
196-t_cont(TABNODE *t, void *arg)
197+t_cont_doall_arg(TABNODE *t, ALL_ARG *a)
198 {
199- ALL_ARG *a;
200-
201- a = (ALL_ARG *)arg;
202 if(memcmp(t->content, a->content, a->cont_len) == 0)
203+#if OPENSSL_VERSION_NUMBER >= 0x10000000L
204+ LHM_lh_delete(TABNODE, a->tab, t);
205+#else
206 lh_delete(a->tab, t);
207+#endif
208 return;
209 }
210-IMPLEMENT_LHASH_DOALL_ARG_FN(t_cont, TABNODE *, void *)
211+#if OPENSSL_VERSION_NUMBER >= 0x10000000L
212+IMPLEMENT_LHASH_DOALL_ARG_FN(t_cont, TABNODE, ALL_ARG)
213+#else
214+#define t_cont t_cont_doall_arg
215+IMPLEMENT_LHASH_DOALL_ARG_FN(t_cont, TABNODE *, ALL_ARG *)
216+#endif
217
218 /*
219 * Remove all nodes with the given content
220 */
221 static void
222-t_clean(LHASH *const tab, void *const content, const size_t cont_len)
223+t_clean(LHASH_OF(TABNODE) *const tab, void *const content, const size_t cont_len)
224 {
225 ALL_ARG a;
226 int down_load;
227@@ -158,10 +191,14 @@ t_clean(LHASH *const tab, void *const co
228 a.tab = tab;
229 a.content = content;
230 a.cont_len = cont_len;
231- down_load = tab->down_load;
232- tab->down_load = 0;
233+ down_load = CHECKED_LHASH_OF(TABNODE, tab)->down_load;
234+ CHECKED_LHASH_OF(TABNODE, tab)->down_load = 0;
235+#if OPENSSL_VERSION_NUMBER >= 0x10000000L
236+ LHM_lh_doall_arg(TABNODE, tab, LHASH_DOALL_ARG_FN(t_cont), ALL_ARG, &a);
237+#else
238 lh_doall_arg(tab, LHASH_DOALL_ARG_FN(t_cont), &a);
239- tab->down_load = down_load;
240+#endif
241+ CHECKED_LHASH_OF(TABNODE, tab)->down_load = down_load;
242 return;
243 }
244
245@@ -1410,13 +1447,11 @@ typedef struct {
246 } DUMP_ARG;
247
248 static void
249-t_dump(TABNODE *t, void *arg)
250+t_dump_doall_arg(TABNODE *t, DUMP_ARG *a)
251 {
252- DUMP_ARG *a;
253 BACKEND *be, *bep;
254 int n_be, sz;
255
256- a = (DUMP_ARG *)arg;
257 memcpy(&bep, t->content, sizeof(bep));
258 for(n_be = 0, be = a->backends; be; be = be->next, n_be++)
259 if(be == bep)
260@@ -1432,19 +1467,28 @@ t_dump(TABNODE *t, void *arg)
261 return;
262 }
263
264-IMPLEMENT_LHASH_DOALL_ARG_FN(t_dump, TABNODE *, void *)
265+#if OPENSSL_VERSION_NUMBER >= 0x10000000L
266+IMPLEMENT_LHASH_DOALL_ARG_FN(t_dump, TABNODE, DUMP_ARG)
267+#else
268+#define t_dump t_dump_doall_arg
269+IMPLEMENT_LHASH_DOALL_ARG_FN(t_dump, TABNODE *, DUMP_ARG *)
270+#endif
271
272 /*
273 * write sessions to the control socket
274 */
275 static void
276-dump_sess(const int control_sock, LHASH *const sess, BACKEND *const backends)
277+dump_sess(const int control_sock, LHASH_OF(TABNODE) *const sess, BACKEND *const backends)
278 {
279 DUMP_ARG a;
280
281 a.control_sock = control_sock;
282 a.backends = backends;
283+#if OPENSSL_VERSION_NUMBER >= 0x10000000L
284+ LHM_lh_doall_arg(TABNODE, sess, LHASH_DOALL_ARG_FN(t_dump), DUMP_ARG, &a);
285+#else
286 lh_doall_arg(sess, LHASH_DOALL_ARG_FN(t_dump), &a);
287+#endif
288 return;
289 }
290
diff --git a/main/ppp/APKBUILD b/main/ppp/APKBUILD
index a7fcb2e7b0..eb17abf7ca 100644
--- a/main/ppp/APKBUILD
+++ b/main/ppp/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=ppp 2pkgname=ppp
3pkgver=2.4.5 3pkgver=2.4.5
4pkgrel=0 4pkgrel=1
5pkgdesc="A daemon which implements the PPP protocol for dial-up networking" 5pkgdesc="A daemon which implements the PPP protocol for dial-up networking"
6url="http://www.samba.org/ppp/" 6url="http://www.samba.org/ppp/"
7license="custom:GPL/BSD" 7license="custom:GPL/BSD"
diff --git a/testing/psqlodbc/APKBUILD b/main/psqlodbc/APKBUILD
index 6139d96eaa..a14579a20b 100644
--- a/testing/psqlodbc/APKBUILD
+++ b/main/psqlodbc/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=psqlodbc 2pkgname=psqlodbc
3pkgver=08.04.0200 3pkgver=08.04.0200
4pkgrel=0 4pkgrel=2
5pkgdesc="PostgreSQL ODBC driver" 5pkgdesc="PostgreSQL ODBC driver"
6url="http://www.postgresql.org" 6url="http://www.postgresql.org"
7license="GPL" 7license="GPL"
diff --git a/main/pth/APKBUILD b/main/pth/APKBUILD
index ce5cc5e126..ec920d874f 100644
--- a/main/pth/APKBUILD
+++ b/main/pth/APKBUILD
@@ -1,11 +1,11 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=pth 2pkgname=pth
3pkgver=2.0.7 3pkgver=2.0.7
4pkgrel=0 4pkgrel=1
5pkgdesc="The GNU Portable Threads." 5pkgdesc="The GNU Portable Threads."
6url="http://www.gnu.org/software/pth" 6url="http://www.gnu.org/software/pth"
7license="LGPL-2.1" 7license="LGPL-2.1"
8depends="uclibc" 8depends=""
9subpackages="$pkgname-dev $pkgname-doc" 9subpackages="$pkgname-dev $pkgname-doc"
10source="ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz 10source="ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz
11 pth-2.0.5-parallelfix.patch 11 pth-2.0.5-parallelfix.patch
diff --git a/main/python/APKBUILD b/main/python/APKBUILD
index 4e67b233db..07fb2d4cd8 100644
--- a/main/python/APKBUILD
+++ b/main/python/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=python 2pkgname=python
3pkgver=2.6.5 3pkgver=2.6.5
4pkgrel=0 4pkgrel=2
5pkgdesc="A high-level scripting language" 5pkgdesc="A high-level scripting language"
6url="http://www.python.org" 6url="http://www.python.org"
7license="custom" 7license="custom"
diff --git a/main/quagga/APKBUILD b/main/quagga/APKBUILD
index 6ce2b9265c..86d3656d4e 100644
--- a/main/quagga/APKBUILD
+++ b/main/quagga/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=quagga 2pkgname=quagga
3pkgver=0.99.15 3pkgver=0.99.15
4pkgrel=3 4pkgrel=4
5pkgdesc="A free routing daemon replacing Zebra supporting RIP, OSPF and BGP." 5pkgdesc="A free routing daemon replacing Zebra supporting RIP, OSPF and BGP."
6url="http://quagga.net/" 6url="http://quagga.net/"
7license="GPL-2" 7license="GPL-2"
diff --git a/main/rarian/APKBUILD b/main/rarian/APKBUILD
index 7649544905..4dcb23a7a9 100644
--- a/main/rarian/APKBUILD
+++ b/main/rarian/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=rarian 2pkgname=rarian
3pkgver=0.8.1 3pkgver=0.8.1
4pkgrel=1 4pkgrel=2
5pkgdesc="Documentation meta-data library, designed as a replacement for Scrollkeeper." 5pkgdesc="Documentation meta-data library, designed as a replacement for Scrollkeeper."
6url="http://rarian.freedesktop.org/" 6url="http://rarian.freedesktop.org/"
7license="GPL" 7license="GPL"
diff --git a/main/razor/APKBUILD b/main/razor/APKBUILD
index a5dc72c69b..0489fcfdd7 100644
--- a/main/razor/APKBUILD
+++ b/main/razor/APKBUILD
@@ -3,11 +3,11 @@
3pkgname=razor 3pkgname=razor
4_realname=razor-agents 4_realname=razor-agents
5pkgver=2.84 5pkgver=2.84
6pkgrel=0 6pkgrel=1
7pkgdesc="Vipul's Razor is a distributed, collaborative spam detection and filtering network" 7pkgdesc="Vipul's Razor is a distributed, collaborative spam detection and filtering network"
8url="http://razor.sourceforge.net/" 8url="http://razor.sourceforge.net/"
9license="Artistic" 9license="Artistic"
10depends="uclibc perl perl-digest-sha1 perl-getopt-long perl-uri-escape" 10depends="perl perl-digest-sha1 perl-getopt-long perl-uri-escape"
11makedepends="perl-dev" 11makedepends="perl-dev"
12install= 12install=
13subpackages="$pkgname-doc" 13subpackages="$pkgname-doc"
diff --git a/main/rdesktop/APKBUILD b/main/rdesktop/APKBUILD
index b705c0ffc0..c491e9901d 100644
--- a/main/rdesktop/APKBUILD
+++ b/main/rdesktop/APKBUILD
@@ -1,12 +1,12 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=rdesktop 2pkgname=rdesktop
3pkgver=1.6.0 3pkgver=1.6.0
4pkgrel=0 4pkgrel=3
5pkgdesc="rdesktop is used to connect to windows terminal servers" 5pkgdesc="rdesktop is used to connect to windows terminal servers"
6url="http://www.rdesktop.org/" 6url="http://www.rdesktop.org/"
7license="GPL" 7license="GPL"
8subpackages="$pkgname-doc" 8subpackages="$pkgname-doc"
9depends="libx11 openssl libao libsamplerate" 9depends=
10makedepends="libx11-dev libao-dev openssl-dev libsamplerate-dev" 10makedepends="libx11-dev libao-dev openssl-dev libsamplerate-dev"
11source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz" 11source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
12 12
@@ -16,6 +16,10 @@ build ()
16 ./configure --prefix=/usr \ 16 ./configure --prefix=/usr \
17 --with-sound=ao 17 --with-sound=ao
18 make || return 1 18 make || return 1
19}
20
21package() {
22 cd "$srcdir"/$pkgname-$pkgver
19 make DESTDIR="$pkgdir" install 23 make DESTDIR="$pkgdir" install
20} 24}
21md5sums="c6fcbed7f0ad7e60ac5fcb2d324d8b16 rdesktop-1.6.0.tar.gz" 25md5sums="c6fcbed7f0ad7e60ac5fcb2d324d8b16 rdesktop-1.6.0.tar.gz"
diff --git a/main/readline/APKBUILD b/main/readline/APKBUILD
index 0c6caeede1..7ebf94deb4 100644
--- a/main/readline/APKBUILD
+++ b/main/readline/APKBUILD
@@ -4,7 +4,7 @@ pkgver=6.1.002
4_myver=${pkgver%.*} 4_myver=${pkgver%.*}
5_patchver=${pkgver##*.} 5_patchver=${pkgver##*.}
6_suff=${_myver%.*}${_myver#*.} 6_suff=${_myver%.*}${_myver#*.}
7pkgrel=0 7pkgrel=1
8pkgdesc="GNU readline library" 8pkgdesc="GNU readline library"
9url="ftp://ftp.cwru.edu/pub/bash/" 9url="ftp://ftp.cwru.edu/pub/bash/"
10license="GPL" 10license="GPL"
diff --git a/main/remmina/APKBUILD b/main/remmina/APKBUILD
index 80db469e1a..67ff80659b 100644
--- a/main/remmina/APKBUILD
+++ b/main/remmina/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: 2# Maintainer:
3pkgname=remmina 3pkgname=remmina
4pkgver=0.7.4 4pkgver=0.7.4
5pkgrel=0 5pkgrel=1
6pkgdesc="Remmina is a remote desktop client written in GTK+" 6pkgdesc="Remmina is a remote desktop client written in GTK+"
7url="http://remmina.sourceforge.net/" 7url="http://remmina.sourceforge.net/"
8license="GPL" 8license="GPL"
diff --git a/main/rgb/APKBUILD b/main/rgb/APKBUILD
index 73bbd8233b..15c8705591 100644
--- a/main/rgb/APKBUILD
+++ b/main/rgb/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=rgb 2pkgname=rgb
3pkgver=1.0.3 3pkgver=1.0.3
4pkgrel=0 4pkgrel=1
5pkgdesc="X.org utility to display an rgb color-name database" 5pkgdesc="X.org utility to display an rgb color-name database"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/ristretto/APKBUILD b/main/ristretto/APKBUILD
index 4daa725939..28e77495ba 100644
--- a/main/ristretto/APKBUILD
+++ b/main/ristretto/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=ristretto 2pkgname=ristretto
3pkgver=0.0.22 3pkgver=0.0.22
4pkgrel=1 4pkgrel=2
5pkgdesc="Ristretto is a image viewer for Xfce" 5pkgdesc="Ristretto is a image viewer for Xfce"
6url="http://goodies.xfce.org/projects/applications/ristretto" 6url="http://goodies.xfce.org/projects/applications/ristretto"
7license="GPL-2" 7license="GPL-2"
diff --git a/main/rrdtool/APKBUILD b/main/rrdtool/APKBUILD
index b35091fa2b..e91e0af400 100644
--- a/main/rrdtool/APKBUILD
+++ b/main/rrdtool/APKBUILD
@@ -1,13 +1,13 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=rrdtool 2pkgname=rrdtool
3pkgver=1.2.30 3pkgver=1.2.30
4pkgrel=1 4pkgrel=3
5pkgdesc="Data logging and graphing application" 5pkgdesc="Data logging and graphing application"
6url="http://www.rrdtool.org" 6url="http://www.rrdtool.org"
7license="GPL" 7license="GPL"
8depends= 8depends=
9makedepends="libart-lgpl-dev libpng-dev freetype-dev" 9makedepends="libart-lgpl-dev libpng-dev freetype-dev perl-dev"
10subpackages="$pkgname-dev $pkgname-doc" 10subpackages="$pkgname-dev $pkgname-doc perl-rrd:perl_rrd"
11source="http://oss.oetiker.ch/$pkgname/pub/$pkgname-$pkgver.tar.gz" 11source="http://oss.oetiker.ch/$pkgname/pub/$pkgname-$pkgver.tar.gz"
12 12
13_builddir="$srcdir"/$pkgname-$pkgver 13_builddir="$srcdir"/$pkgname-$pkgver
@@ -15,8 +15,6 @@ build() {
15 cd "$_builddir" 15 cd "$_builddir"
16 ./configure --prefix=/usr \ 16 ./configure --prefix=/usr \
17 --disable-tcl \ 17 --disable-tcl \
18 --disable-perl \
19 --disable-perl-site-install \
20 --disable-python \ 18 --disable-python \
21 --disable-ruby \ 19 --disable-ruby \
22 --disable-rrdcgi 20 --disable-rrdcgi
@@ -37,4 +35,10 @@ dev() {
37 mv "$pkgdir"/usr/share/$pkgname/examples "$subpkgdir"/usr/share/$pkgname/ 35 mv "$pkgdir"/usr/share/$pkgname/examples "$subpkgdir"/usr/share/$pkgname/
38} 36}
39 37
38perl_rrd() {
39 pkgdesc="Perl interface for rrdtool"
40 mkdir -p "$subpkgdir"/usr/lib
41 mv "$pkgdir"/usr/lib/perl "$subpkgdir"/usr/lib/
42}
43
40md5sums="19b24f7184a8dbf7b48c1bbb565ad9fb rrdtool-1.2.30.tar.gz" 44md5sums="19b24f7184a8dbf7b48c1bbb565ad9fb rrdtool-1.2.30.tar.gz"
diff --git a/main/rsync/APKBUILD b/main/rsync/APKBUILD
index dcef2555a5..3ab1ce6073 100644
--- a/main/rsync/APKBUILD
+++ b/main/rsync/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=rsync 2pkgname=rsync
3pkgver=3.0.7 3pkgver=3.0.7
4pkgrel=0 4pkgrel=1
5pkgdesc="A file transfer program to keep remote files in sync" 5pkgdesc="A file transfer program to keep remote files in sync"
6url="http://samba.anu.edu.au/rsync/" 6url="http://samba.anu.edu.au/rsync/"
7license="GPL3" 7license="GPL3"
diff --git a/main/ruby/APKBUILD b/main/ruby/APKBUILD
index e49c35a1aa..87063abdaf 100644
--- a/main/ruby/APKBUILD
+++ b/main/ruby/APKBUILD
@@ -3,19 +3,27 @@
3pkgname=ruby 3pkgname=ruby
4pkgver=1.8.7_p174 4pkgver=1.8.7_p174
5_pkgver=1.8.7-p174 5_pkgver=1.8.7-p174
6pkgrel=3 6pkgrel=6
7pkgdesc="An object-oriented language for quick and easy programming" 7pkgdesc="An object-oriented language for quick and easy programming"
8url="http://www.ruby-lang.org/en/" 8url="http://www.ruby-lang.org/en/"
9license="Ruby" 9license="Ruby"
10depends= 10depends=
11makedepends="zlib-dev openssl-dev libiconv-dev gdbm-dev db-dev readline-dev" 11makedepends="zlib-dev openssl-dev libiconv-dev gdbm-dev db-dev readline-dev"
12subpackages="$pkgname-doc $pkgname-dev" 12subpackages="$pkgname-doc $pkgname-dev"
13source="ftp://ftp.ruby-lang.org/pub/ruby/1.8/${pkgname}-${_pkgver}.tar.bz2" 13source="ftp://ftp.ruby-lang.org/pub/ruby/1.8/${pkgname}-${_pkgver}.tar.bz2
14 ruby-openssl-1.0.0.patch"
14# 15#
15# maybe its a good idea to split dep libs to seperate pkg's. 16# maybe its a good idea to split dep libs to seperate pkg's.
16# 17#
18
19_builddir="$srcdir/$pkgname-${_pkgver}"
20prepare() {
21 cd "$_builddir"
22 patch -p0 -i "$srcdir"/ruby-openssl-1.0.0.patch
23}
24
17build() { 25build() {
18 cd "$srcdir/$pkgname-${_pkgver}" 26 cd "$_builddir"
19 27
20 # -fomit-frame-pointer makes ruby segfault, see gentoo bug #150413 28 # -fomit-frame-pointer makes ruby segfault, see gentoo bug #150413
21 # In many places aliasing rules are broken; play it safe 29 # In many places aliasing rules are broken; play it safe
@@ -24,7 +32,7 @@ build() {
24 32
25 # turn off distcc/ccache 33 # turn off distcc/ccache
26 # http://bugs.alpinelinux.org/issues/show/1 34 # http://bugs.alpinelinux.org/issues/show/1
27 export CC=cc 35 export CC=gcc
28 36
29 ./configure --build=${CHOST:-i486-alpine-linux-uclibc} \ 37 ./configure --build=${CHOST:-i486-alpine-linux-uclibc} \
30 --prefix=/usr \ 38 --prefix=/usr \
@@ -36,10 +44,15 @@ build() {
36 --with-extra-site-search-path='/usr/lib/site_ruby/$(ruby_ver)/i686-linux' \ 44 --with-extra-site-search-path='/usr/lib/site_ruby/$(ruby_ver)/i686-linux' \
37 --enable-shared 45 --enable-shared
38 make || return 1 46 make || return 1
47}
48
49package() {
50 cd "$_builddir"
39 make DESTDIR="$pkgdir" install 51 make DESTDIR="$pkgdir" install
40 52
41 install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}"/COPYING || return 1 53 install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}"/COPYING || return 1
42 54
43} 55}
44 56
45md5sums="88c45aaf627b4404e5e4273cb03ba2ee ruby-1.8.7-p174.tar.bz2" 57md5sums="88c45aaf627b4404e5e4273cb03ba2ee ruby-1.8.7-p174.tar.bz2
583361f559a6b338b792ff4946a41708dd ruby-openssl-1.0.0.patch"
diff --git a/main/ruby/ruby-openssl-1.0.0.patch b/main/ruby/ruby-openssl-1.0.0.patch
new file mode 100644
index 0000000000..1ebded911e
--- /dev/null
+++ b/main/ruby/ruby-openssl-1.0.0.patch
@@ -0,0 +1,167 @@
1diff -up ext/openssl/ossl.c.ossl10 ext/openssl/ossl.c
2--- ext/openssl/ossl.c.ossl10 2007-02-13 00:01:19.000000000 +0100
3+++ ext/openssl/ossl.c 2009-08-26 12:29:41.000000000 +0200
4@@ -92,7 +92,7 @@ ossl_x509_ary2sk(VALUE ary)
5
6 #define OSSL_IMPL_SK2ARY(name, type) \
7 VALUE \
8-ossl_##name##_sk2ary(STACK *sk) \
9+ossl_##name##_sk2ary(STACK_OF(type) *sk) \
10 { \
11 type *t; \
12 int i, num; \
13@@ -102,7 +102,7 @@ ossl_##name##_sk2ary(STACK *sk) \
14 OSSL_Debug("empty sk!"); \
15 return Qnil; \
16 } \
17- num = sk_num(sk); \
18+ num = sk_##type##_num(sk); \
19 if (num < 0) { \
20 OSSL_Debug("items in sk < -1???"); \
21 return rb_ary_new(); \
22@@ -110,7 +110,7 @@ ossl_##name##_sk2ary(STACK *sk) \
23 ary = rb_ary_new2(num); \
24 \
25 for (i=0; i<num; i++) { \
26- t = (type *)sk_value(sk, i); \
27+ t = sk_##type##_value(sk, i); \
28 rb_ary_push(ary, ossl_##name##_new(t)); \
29 } \
30 return ary; \
31diff -up ext/openssl/ossl_pkcs7.c.ossl10 ext/openssl/ossl_pkcs7.c
32--- ext/openssl/ossl_pkcs7.c.ossl10 2007-02-13 00:01:19.000000000 +0100
33+++ ext/openssl/ossl_pkcs7.c 2009-08-26 12:53:05.000000000 +0200
34@@ -543,12 +543,11 @@ ossl_pkcs7_add_certificate(VALUE self, V
35 return self;
36 }
37
38-static STACK *
39-pkcs7_get_certs_or_crls(VALUE self, int want_certs)
40+static STACK_OF(X509) *
41+pkcs7_get_certs(VALUE self)
42 {
43 PKCS7 *pkcs7;
44 STACK_OF(X509) *certs;
45- STACK_OF(X509_CRL) *crls;
46 int i;
47
48 GetPKCS7(self, pkcs7);
49@@ -556,17 +555,38 @@ pkcs7_get_certs_or_crls(VALUE self, int
50 switch(i){
51 case NID_pkcs7_signed:
52 certs = pkcs7->d.sign->cert;
53- crls = pkcs7->d.sign->crl;
54 break;
55 case NID_pkcs7_signedAndEnveloped:
56 certs = pkcs7->d.signed_and_enveloped->cert;
57+ break;
58+ default:
59+ certs = NULL;
60+ }
61+
62+ return certs;
63+}
64+
65+static STACK_OF(X509_CRL) *
66+pkcs7_get_crls(VALUE self)
67+{
68+ PKCS7 *pkcs7;
69+ STACK_OF(X509_CRL) *crls;
70+ int i;
71+
72+ GetPKCS7(self, pkcs7);
73+ i = OBJ_obj2nid(pkcs7->type);
74+ switch(i){
75+ case NID_pkcs7_signed:
76+ crls = pkcs7->d.sign->crl;
77+ break;
78+ case NID_pkcs7_signedAndEnveloped:
79 crls = pkcs7->d.signed_and_enveloped->crl;
80 break;
81 default:
82- certs = crls = NULL;
83+ crls = NULL;
84 }
85
86- return want_certs ? certs : crls;
87+ return crls;
88 }
89
90 static VALUE
91@@ -581,7 +601,7 @@ ossl_pkcs7_set_certificates(VALUE self,
92 STACK_OF(X509) *certs;
93 X509 *cert;
94
95- certs = pkcs7_get_certs_or_crls(self, 1);
96+ certs = pkcs7_get_certs(self);
97 while((cert = sk_X509_pop(certs))) X509_free(cert);
98 rb_iterate(rb_each, ary, ossl_pkcs7_set_certs_i, self);
99
100@@ -591,7 +611,7 @@ ossl_pkcs7_set_certificates(VALUE self,
101 static VALUE
102 ossl_pkcs7_get_certificates(VALUE self)
103 {
104- return ossl_x509_sk2ary(pkcs7_get_certs_or_crls(self, 1));
105+ return ossl_x509_sk2ary(pkcs7_get_certs(self));
106 }
107
108 static VALUE
109@@ -621,7 +641,7 @@ ossl_pkcs7_set_crls(VALUE self, VALUE ar
110 STACK_OF(X509_CRL) *crls;
111 X509_CRL *crl;
112
113- crls = pkcs7_get_certs_or_crls(self, 0);
114+ crls = pkcs7_get_crls(self);
115 while((crl = sk_X509_CRL_pop(crls))) X509_CRL_free(crl);
116 rb_iterate(rb_each, ary, ossl_pkcs7_set_crls_i, self);
117
118@@ -631,7 +651,7 @@ ossl_pkcs7_set_crls(VALUE self, VALUE ar
119 static VALUE
120 ossl_pkcs7_get_crls(VALUE self)
121 {
122- return ossl_x509crl_sk2ary(pkcs7_get_certs_or_crls(self, 0));
123+ return ossl_x509crl_sk2ary(pkcs7_get_crls(self));
124 }
125
126 static VALUE
127diff -up ext/openssl/ossl_ssl.c.ossl10 ext/openssl/ossl_ssl.c
128--- ext/openssl/ossl_ssl.c.ossl10 2007-03-12 05:12:32.000000000 +0100
129+++ ext/openssl/ossl_ssl.c 2009-08-26 12:08:48.000000000 +0200
130@@ -89,12 +89,18 @@ static char *ossl_sslctx_attrs[] = {
131 static char *ossl_ssl_attr_readers[] = { "io", "context", };
132 static char *ossl_ssl_attrs[] = { "sync_close", };
133
134+#if OPENSSL_VERSION_NUMBER >= 0x10000000L
135+#define OSSL_MORE_CONST const
136+#define STACK _STACK
137+#else
138+#define OSSL_MORE_CONST
139+#endif
140 /*
141 * SSLContext class
142 */
143 struct {
144 const char *name;
145- SSL_METHOD *(*func)(void);
146+ OSSL_MORE_CONST SSL_METHOD *(*func)(void);
147 } ossl_ssl_method_tab[] = {
148 #define OSSL_SSL_METHOD_ENTRY(name) { #name, name##_method }
149 OSSL_SSL_METHOD_ENTRY(TLSv1),
150@@ -407,7 +413,7 @@ ossl_sslctx_setup(VALUE self)
151 }
152
153 static VALUE
154-ossl_ssl_cipher_to_ary(SSL_CIPHER *cipher)
155+ossl_ssl_cipher_to_ary(OSSL_MORE_CONST SSL_CIPHER *cipher)
156 {
157 VALUE ary;
158 int bits, alg_bits;
159@@ -805,7 +811,7 @@ static VALUE
160 ossl_ssl_get_cipher(VALUE self)
161 {
162 SSL *ssl;
163- SSL_CIPHER *cipher;
164+ OSSL_MORE_CONST SSL_CIPHER *cipher;
165
166 Data_Get_Struct(self, SSL, ssl);
167 if (!ssl) { \ No newline at end of file
diff --git a/main/ruby/test.db b/main/ruby/test.db
deleted file mode 100644
index e69de29bb2..0000000000
--- a/main/ruby/test.db
+++ /dev/null
diff --git a/main/run-parts/APKBUILD b/main/run-parts/APKBUILD
index b501732368..5718d63419 100644
--- a/main/run-parts/APKBUILD
+++ b/main/run-parts/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=run-parts 2pkgname=run-parts
3pkgver=3.2.2 3pkgver=3.2.2
4pkgrel=0 4pkgrel=1
5pkgdesc="run-parts from the debianutils package" 5pkgdesc="run-parts from the debianutils package"
6url="http://packages.qa.debian.org/d/debianutils.html" 6url="http://packages.qa.debian.org/d/debianutils.html"
7license="GPL" 7license="GPL"
diff --git a/main/rxmtp/APKBUILD b/main/rxmtp/APKBUILD
index 49cad696c1..c12214a400 100644
--- a/main/rxmtp/APKBUILD
+++ b/main/rxmtp/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Timo Teras <timo.teras@iki.fi> 2# Maintainer: Timo Teras <timo.teras@iki.fi>
3pkgname=rxmtp 3pkgname=rxmtp
4pkgver=1.1.3 4pkgver=1.1.3
5pkgrel=0 5pkgrel=1
6pkgdesc="Rewrite and eXchange smtp proxy" 6pkgdesc="Rewrite and eXchange smtp proxy"
7url="http://dev.alpinelinux.org/alpine/rxmtp" 7url="http://dev.alpinelinux.org/alpine/rxmtp"
8license="GPL" 8license="GPL"
diff --git a/main/samba/APKBUILD b/main/samba/APKBUILD
index f84662f88b..864ed9bedb 100644
--- a/main/samba/APKBUILD
+++ b/main/samba/APKBUILD
@@ -1,6 +1,6 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=samba 2pkgname=samba
3pkgver=3.4.7 3pkgver=3.5.2
4pkgrel=0 4pkgrel=0
5pkgdesc="Tools to access a server's filespace and printers via SMB" 5pkgdesc="Tools to access a server's filespace and printers via SMB"
6url="http://www.samba.org" 6url="http://www.samba.org"
@@ -13,11 +13,20 @@ source="http://us1.$pkgname.org/$pkgname/ftp/stable/$pkgname-$pkgver.tar.gz
13 samba.initd 13 samba.initd
14 samba.confd 14 samba.confd
15 samba.logrotate 15 samba.logrotate
16 samba-uclibc-fstab.patch
16 " 17 "
17pkggroups="winbind" 18pkggroups="winbind"
18 19
20_builddir="$srcdir"/$pkgname-$pkgver
21prepare() {
22 cd "$_builddir"
23 for i in "$srcdir"/*.patch; do
24 patch -p1 -i "$i" || return 1
25 done
26}
27
19build() { 28build() {
20 cd "$srcdir"/$pkgname-$pkgver/source3 29 cd "$_builddir"/source3
21 ./configure --prefix=/usr \ 30 ./configure --prefix=/usr \
22 --sysconfdir=/etc/samba \ 31 --sysconfdir=/etc/samba \
23 --with-configdir=/etc/samba \ 32 --with-configdir=/etc/samba \
@@ -38,7 +47,7 @@ build() {
38} 47}
39 48
40package() { 49package() {
41 cd "$srcdir"/$pkgname-$pkgver/source3 50 cd "$_builddir"/source3
42 make DESTDIR="$pkgdir" install 51 make DESTDIR="$pkgdir" install
43 52
44 install -d "$pkgdir"/var/log/samba \ 53 install -d "$pkgdir"/var/log/samba \
@@ -108,7 +117,8 @@ tdb() {
108 usr/bin/tdb* 117 usr/bin/tdb*
109} 118}
110 119
111md5sums="f5e11690d54466c143f4598bcce2a8bb samba-3.4.7.tar.gz 120md5sums="6f8cf649207ccd8c2c17e28c335f4e9d samba-3.5.2.tar.gz
112c8a7f6ac5df2f73dbf023e25ea39927b samba.initd 121c8a7f6ac5df2f73dbf023e25ea39927b samba.initd
113c150433426e18261e6e3eed3930e1a76 samba.confd 122c150433426e18261e6e3eed3930e1a76 samba.confd
114b7cafabfb4fa5b3ab5f2e857d8d1c733 samba.logrotate" 123b7cafabfb4fa5b3ab5f2e857d8d1c733 samba.logrotate
124811e5a3f570d0053cf27a73248be4ae6 samba-uclibc-fstab.patch"
diff --git a/main/samba/samba-uclibc-fstab.patch b/main/samba/samba-uclibc-fstab.patch
new file mode 100644
index 0000000000..3fdbc90308
--- /dev/null
+++ b/main/samba/samba-uclibc-fstab.patch
@@ -0,0 +1,15 @@
1--- ./client/mount.cifs.c.orig
2+++ ./client/mount.cifs.c
3@@ -39,7 +39,11 @@
4 #include <mntent.h>
5 #include <fcntl.h>
6 #include <limits.h>
7-#include <fstab.h>
8+#if defined(__UCLIBC__)
9+ #define _PATH_FSTAB "/etc/fstab"
10+#else
11+ #include <fstab.h>
12+#endif
13 #include "mount.h"
14
15 #define MOUNT_CIFS_VERSION_MAJOR "1"
diff --git a/main/screen/APKBUILD b/main/screen/APKBUILD
index a8a04b1653..6b08e5fada 100644
--- a/main/screen/APKBUILD
+++ b/main/screen/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: 2# Maintainer:
3pkgname=screen 3pkgname=screen
4pkgver=4.0.3 4pkgver=4.0.3
5pkgrel=0 5pkgrel=1
6pkgdesc="A window manager that multiplexes a physical terminal" 6pkgdesc="A window manager that multiplexes a physical terminal"
7url="http://ftp.gnu.org/gnu/screen/" 7url="http://ftp.gnu.org/gnu/screen/"
8license="GPL" 8license="GPL"
diff --git a/main/scrot/APKBUILD b/main/scrot/APKBUILD
index ee98edd623..ea6ac1b6a8 100644
--- a/main/scrot/APKBUILD
+++ b/main/scrot/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=scrot 2pkgname=scrot
3pkgver=0.8 3pkgver=0.8
4pkgrel=3 4pkgrel=4
5pkgdesc="A simple command-line screenshot utility for X" 5pkgdesc="A simple command-line screenshot utility for X"
6url="http://linuxbrit.co.uk/scrot/" 6url="http://linuxbrit.co.uk/scrot/"
7license="MIT" 7license="MIT"
diff --git a/main/sdl/APKBUILD b/main/sdl/APKBUILD
index e81c806441..e98589b0a9 100644
--- a/main/sdl/APKBUILD
+++ b/main/sdl/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=sdl 2pkgname=sdl
3pkgver=1.2.14 3pkgver=1.2.14
4pkgrel=0 4pkgrel=1
5pkgdesc="A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard" 5pkgdesc="A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard"
6url="http://www.libsdl.org" 6url="http://www.libsdl.org"
7license="LGPL" 7license="LGPL"
diff --git a/main/sed/APKBUILD b/main/sed/APKBUILD
index 99ba1e6f8b..b19f1f5e39 100644
--- a/main/sed/APKBUILD
+++ b/main/sed/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=sed 2pkgname=sed
3pkgver=4.2.1 3pkgver=4.2.1
4pkgrel=0 4pkgrel=1
5subpackages="$pkgname-doc" 5subpackages="$pkgname-doc"
6pkgdesc="GNU stream editor" 6pkgdesc="GNU stream editor"
7url="http://www.gnu.org/software/sed" 7url="http://www.gnu.org/software/sed"
diff --git a/main/sessreg/APKBUILD b/main/sessreg/APKBUILD
index 4e1cba4e0d..237df93b18 100644
--- a/main/sessreg/APKBUILD
+++ b/main/sessreg/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=sessreg 2pkgname=sessreg
3pkgver=1.0.5 3pkgver=1.0.5
4pkgrel=0 4pkgrel=1
5pkgdesc="manage utmp/wtmp entries for non-init clients" 5pkgdesc="manage utmp/wtmp entries for non-init clients"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/setxkbmap/APKBUILD b/main/setxkbmap/APKBUILD
index 2b8eb19b69..1a75ef885e 100644
--- a/main/setxkbmap/APKBUILD
+++ b/main/setxkbmap/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=setxkbmap 2pkgname=setxkbmap
3pkgver=1.1.0 3pkgver=1.1.0
4pkgrel=0 4pkgrel=1
5pkgdesc="set the keyboard using the X Keyboard Extension" 5pkgdesc="set the keyboard using the X Keyboard Extension"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/sfic/APKBUILD b/main/sfic/APKBUILD
index 3f781b4dee..4c03890745 100644
--- a/main/sfic/APKBUILD
+++ b/main/sfic/APKBUILD
@@ -1,27 +1,34 @@
1pkgdesc="Small and Simple File Integrity Checker" 1pkgdesc="Small and Simple File Integrity Checker"
2pkgname=sfic 2pkgname=sfic
3pkgver=0.1.7 3pkgver=0.1.7
4pkgrel=1 4pkgrel=2
5depends=uclibc 5depends=
6license=GPL 6license=GPL
7makedepends="autoconf automake samba-dev" 7makedepends="autoconf automake samba-dev"
8depends="tdb uclibc" 8depends=
9arch=i486
10url=http://sfic.sourceforge.net 9url=http://sfic.sourceforge.net
11source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz 10source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
12 $pkgname-0.1.7-signal.patch" 11 $pkgname-0.1.7-signal.patch"
13 12
14subpackages="$pkgname-doc" 13subpackages="$pkgname-doc"
15 14
16build() { 15prepare() {
17 cd $srcdir/$pkgname-$pkgver 16 cd "$srcdir"/$pkgname-$pkgver
18 patch -p1 < ../$pkgname-0.1.7-signal.patch || return 1 17 patch -p1 < ../$pkgname-0.1.7-signal.patch || return 1
19 18
20 aclocal 19 aclocal
21 autoconf 20 autoconf
22 automake --add-missing || return 1 21 automake --add-missing || return 1
22}
23
24build() {
25 cd "$srcdir"/$pkgname-$pkgver
23 ./configure --prefix=/usr 26 ./configure --prefix=/usr
24 make || return 1 27 make || return 1
28}
29
30package() {
31 cd "$srcdir"/$pkgname-$pkgver
25 make install DESTDIR="$pkgdir" 32 make install DESTDIR="$pkgdir"
26} 33}
27 34
diff --git a/main/shared-mime-info/APKBUILD b/main/shared-mime-info/APKBUILD
index 81b8c5c622..5d1d200b0d 100644
--- a/main/shared-mime-info/APKBUILD
+++ b/main/shared-mime-info/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=shared-mime-info 2pkgname=shared-mime-info
3pkgver=0.71 3pkgver=0.71
4pkgrel=0 4pkgrel=1
5pkgdesc="Freedesktop.org Shared MIME Info" 5pkgdesc="Freedesktop.org Shared MIME Info"
6url="http://freedesktop.org/Software/shared-mime-info" 6url="http://freedesktop.org/Software/shared-mime-info"
7license="GPL" 7license="GPL"
diff --git a/main/sic/APKBUILD b/main/sic/APKBUILD
index 72e197ea08..e95fd832c6 100644
--- a/main/sic/APKBUILD
+++ b/main/sic/APKBUILD
@@ -2,11 +2,11 @@
2# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 2# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
3pkgname=sic 3pkgname=sic
4pkgver=1.0 4pkgver=1.0
5pkgrel=0 5pkgrel=1
6pkgdesc="an extremely simple IRC client" 6pkgdesc="an extremely simple IRC client"
7url="http://www.suckless.org/programs/sic.html" 7url="http://www.suckless.org/programs/sic.html"
8license="GPL" 8license="GPL"
9depends="uclibc" 9depends=""
10subpackages="$pkgname-doc" 10subpackages="$pkgname-doc"
11source="http://code.suckless.org/dl/tools/sic-$pkgver.tar.gz" 11source="http://code.suckless.org/dl/tools/sic-$pkgver.tar.gz"
12 12
diff --git a/main/slang/APKBUILD b/main/slang/APKBUILD
index 09b42e1b40..a74ca0e6fe 100644
--- a/main/slang/APKBUILD
+++ b/main/slang/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=slang 2pkgname=slang
3pkgver=2.2.1 3pkgver=2.2.1
4pkgrel=0 4pkgrel=1
5pkgdesc="S-Lang is a powerful interpreted language" 5pkgdesc="S-Lang is a powerful interpreted language"
6url="http://www.s-lang.org/" 6url="http://www.s-lang.org/"
7license="GPL" 7license="GPL"
diff --git a/main/slim/APKBUILD b/main/slim/APKBUILD
index cf2e08f934..9f4cebe8c6 100644
--- a/main/slim/APKBUILD
+++ b/main/slim/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=slim 2pkgname=slim
3pkgver=1.3.1 3pkgver=1.3.1
4pkgrel=5 4pkgrel=6
5pkgdesc="Desktop-independent graphical login manager for X11" 5pkgdesc="Desktop-independent graphical login manager for X11"
6url="http://slim.berlios.de/" 6url="http://slim.berlios.de/"
7license="GPL-2" 7license="GPL-2"
diff --git a/main/sntpc/APKBUILD b/main/sntpc/APKBUILD
index b821d56934..8164310261 100644
--- a/main/sntpc/APKBUILD
+++ b/main/sntpc/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 2# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
3pkgname=sntpc 3pkgname=sntpc
4pkgver=0.9 4pkgver=0.9
5pkgrel=1 5pkgrel=2
6pkgdesc="Simple NTP client" 6pkgdesc="Simple NTP client"
7url="http://git.alpinelinux.org/cgit/sntpc" 7url="http://git.alpinelinux.org/cgit/sntpc"
8license="GPL-2" 8license="GPL-2"
diff --git a/main/sox/APKBUILD b/main/sox/APKBUILD
index 166d08b256..37b016a99d 100644
--- a/main/sox/APKBUILD
+++ b/main/sox/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=sox 2pkgname=sox
3pkgver=14.3.0 3pkgver=14.3.1
4pkgrel=0 4pkgrel=1
5pkgdesc="The Swiss Army knife of sound processing tools" 5pkgdesc="The Swiss Army knife of sound processing tools"
6url="http://sox.sourceforge.net/" 6url="http://sox.sourceforge.net/"
7license="GPL LGPL" 7license="GPL LGPL"
@@ -23,6 +23,7 @@ build() {
23 ./configure --prefix=/usr \ 23 ./configure --prefix=/usr \
24 --sysconfdir=/etc \ 24 --sysconfdir=/etc \
25 --with-dyn-default \ 25 --with-dyn-default \
26 --disable-nls \
26 --with-distro="Alpine Linux" || return 1 27 --with-distro="Alpine Linux" || return 1
27 make || return 1 28 make || return 1
28} 29}
@@ -33,5 +34,5 @@ package() {
33 ln -sf play "$pkgdir"/usr/bin/rec || return 1 34 ln -sf play "$pkgdir"/usr/bin/rec || return 1
34 ln -sf ../man1/sox.1.gz "$pkgdir"/usr/share/man/man7/soxeffect.7 35 ln -sf ../man1/sox.1.gz "$pkgdir"/usr/share/man/man7/soxeffect.7
35} 36}
36md5sums="8e3509804e6227273ef84092e1a2fea7 sox-14.3.0.tar.gz 37md5sums="b99871c7bbae84feac9d0d1f010331ba sox-14.3.1.tar.gz
37d8267f718ba6b4fb2f48c5104af31364 sox-uclibc.patch" 38d8267f718ba6b4fb2f48c5104af31364 sox-uclibc.patch"
diff --git a/main/spamassassin/APKBUILD b/main/spamassassin/APKBUILD
index 981994f5e4..97ec9e8aab 100644
--- a/main/spamassassin/APKBUILD
+++ b/main/spamassassin/APKBUILD
@@ -2,7 +2,7 @@
2pkgname=spamassassin 2pkgname=spamassassin
3_realname=Mail-SpamAssassin 3_realname=Mail-SpamAssassin
4pkgver=3.3.1 4pkgver=3.3.1
5pkgrel=1 5pkgrel=2
6pkgdesc="The Powerful #1 Open-Source Spam Filter" 6pkgdesc="The Powerful #1 Open-Source Spam Filter"
7url="http://spamassassin.apache.org" 7url="http://spamassassin.apache.org"
8license="Apache" 8license="Apache"
diff --git a/main/spandsp/APKBUILD b/main/spandsp/APKBUILD
index 87c855a40b..15372f476f 100644
--- a/main/spandsp/APKBUILD
+++ b/main/spandsp/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: 2# Maintainer:
3pkgname=spandsp 3pkgname=spandsp
4pkgver=0.0.6_pre17 4pkgver=0.0.6_pre17
5pkgrel=0 5pkgrel=1
6pkgdesc="SpanDSP is a library of DSP functions for telephony" 6pkgdesc="SpanDSP is a library of DSP functions for telephony"
7url="http://www.soft-switch.org/installing-spandsp.html" 7url="http://www.soft-switch.org/installing-spandsp.html"
8license="GPL" 8license="GPL"
diff --git a/main/sqlite/APKBUILD b/main/sqlite/APKBUILD
index 325e2b4a85..21d90fc6af 100644
--- a/main/sqlite/APKBUILD
+++ b/main/sqlite/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Carlo Landmeter <clandmeter at gmail> 1# Maintainer: Carlo Landmeter <clandmeter at gmail>
2pkgname=sqlite 2pkgname=sqlite
3pkgver=3.6.22 3pkgver=3.6.22
4pkgrel=0 4pkgrel=1
5pkgdesc="A C library that implements an SQL database engine" 5pkgdesc="A C library that implements an SQL database engine"
6url="http://www.sqlite.org/" 6url="http://www.sqlite.org/"
7license="custom" 7license="custom"
diff --git a/main/squashfs-tools/APKBUILD b/main/squashfs-tools/APKBUILD
index 8af448562f..f5ac12c8de 100644
--- a/main/squashfs-tools/APKBUILD
+++ b/main/squashfs-tools/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=squashfs-tools 2pkgname=squashfs-tools
3pkgver=4.0 3pkgver=4.0
4pkgrel=0 4pkgrel=1
5pkgdesc="Tools for squashfs, a highly compressed read-only filesystem for Linux." 5pkgdesc="Tools for squashfs, a highly compressed read-only filesystem for Linux."
6url="http://squashfs.sourceforge.net" 6url="http://squashfs.sourceforge.net"
7license="GPL" 7license="GPL"
diff --git a/main/squid/APKBUILD b/main/squid/APKBUILD
index e0f6582fee..22e516527f 100644
--- a/main/squid/APKBUILD
+++ b/main/squid/APKBUILD
@@ -3,7 +3,7 @@
3pkgname=squid 3pkgname=squid
4pkgver=2.7.7 4pkgver=2.7.7
5_ver=2.7.STABLE7 5_ver=2.7.STABLE7
6pkgrel=3 6pkgrel=5
7pkgdesc="A full-featured Web proxy cache server." 7pkgdesc="A full-featured Web proxy cache server."
8url="http://www.squid-cache.org" 8url="http://www.squid-cache.org"
9install="squid.pre-install squid.pre-upgrade squid.post-install" 9install="squid.pre-install squid.pre-upgrade squid.post-install"
diff --git a/main/ssmtp/APKBUILD b/main/ssmtp/APKBUILD
index 35af54e967..272022f432 100644
--- a/main/ssmtp/APKBUILD
+++ b/main/ssmtp/APKBUILD
@@ -3,7 +3,7 @@
3 3
4pkgname=ssmtp 4pkgname=ssmtp
5pkgver=2.64 5pkgver=2.64
6pkgrel=1 6pkgrel=3
7pkgdesc="Extremely simple MTA to get mail off the system to a mail hub" 7pkgdesc="Extremely simple MTA to get mail off the system to a mail hub"
8subpackages="$pkgname-doc" 8subpackages="$pkgname-doc"
9arch="" 9arch=""
diff --git a/main/startup-notification/APKBUILD b/main/startup-notification/APKBUILD
index 34f81011ec..94bc8f0028 100644
--- a/main/startup-notification/APKBUILD
+++ b/main/startup-notification/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=startup-notification 2pkgname=startup-notification
3pkgver=0.10 3pkgver=0.10
4pkgrel=0 4pkgrel=1
5pkgdesc="Monitor and display application startup" 5pkgdesc="Monitor and display application startup"
6url="http://www.freedesktop.org" 6url="http://www.freedesktop.org"
7license="LGPL" 7license="LGPL"
diff --git a/main/strace/APKBUILD b/main/strace/APKBUILD
index d7a10cfd64..aed2236e4f 100644
--- a/main/strace/APKBUILD
+++ b/main/strace/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=strace 2pkgname=strace
3pkgver=4.5.19 3pkgver=4.5.20
4pkgrel=1 4pkgrel=0
5pkgdesc="A useful diagnositic, instructional, and debugging tool" 5pkgdesc="A useful diagnositic, instructional, and debugging tool"
6url="http://sourceforge.net/projects/strace/" 6url="http://sourceforge.net/projects/strace/"
7license="BSD" 7license="BSD"
@@ -25,4 +25,4 @@ package() {
25 cd "$srcdir/$pkgname-$pkgver" 25 cd "$srcdir/$pkgname-$pkgver"
26 make -j1 DESTDIR="$pkgdir" install 26 make -j1 DESTDIR="$pkgdir" install
27} 27}
28md5sums="2415e435d61e40315a298c80aced0cda strace-4.5.19.tar.bz2" 28md5sums="64dfe10d9db0c1e34030891695ffca4b strace-4.5.20.tar.bz2"
diff --git a/main/subversion/APKBUILD b/main/subversion/APKBUILD
index 6005c18825..e33abe6e6b 100644
--- a/main/subversion/APKBUILD
+++ b/main/subversion/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=subversion 2pkgname=subversion
3pkgver=1.6.9 3pkgver=1.6.9
4pkgrel=0 4pkgrel=2
5pkgdesc="Replacement for CVS, another versioning system (svn)" 5pkgdesc="Replacement for CVS, another versioning system (svn)"
6url="http://subversion.tigris.org/" 6url="http://subversion.tigris.org/"
7license="apache bsd" 7license="apache bsd"
diff --git a/main/sudo/APKBUILD b/main/sudo/APKBUILD
index 628d7589d9..b5d54fd034 100644
--- a/main/sudo/APKBUILD
+++ b/main/sudo/APKBUILD
@@ -1,8 +1,8 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=sudo 2pkgname=sudo
3pkgver=1.7.2_p5 3pkgver=1.7.2_p6
4_realver=${pkgver%_*}${pkgver#*_} 4_realver=${pkgver%_*}${pkgver#*_}
5pkgrel=0 5pkgrel=1
6pkgdesc="Give certain users the ability to run some commands as root" 6pkgdesc="Give certain users the ability to run some commands as root"
7url="http://www.sudo.ws/sudo/" 7url="http://www.sudo.ws/sudo/"
8license='custom ISC' 8license='custom ISC'
@@ -27,4 +27,4 @@ package() {
27 make -j1 DESTDIR="$pkgdir" install || return 1 27 make -j1 DESTDIR="$pkgdir" install || return 1
28} 28}
29 29
30md5sums="398f584e831bd75b3c0179e28368c2a3 sudo-1.7.2p5.tar.gz" 30md5sums="c4f1a43e8ba94f6bf06d2211442148c4 sudo-1.7.2p6.tar.gz"
diff --git a/main/swfdec-mozilla/APKBUILD b/main/swfdec-mozilla/APKBUILD
index b2409e8da5..6e3bd9895e 100644
--- a/main/swfdec-mozilla/APKBUILD
+++ b/main/swfdec-mozilla/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=swfdec-mozilla 2pkgname=swfdec-mozilla
3pkgver=0.8.2 3pkgver=0.8.2
4pkgrel=0 4pkgrel=1
5pkgdesc="free plugin for Mozilla browsers that uses the Swfdec library for playing SWF files" 5pkgdesc="free plugin for Mozilla browsers that uses the Swfdec library for playing SWF files"
6url="http://swfdec.freedesktop.org" 6url="http://swfdec.freedesktop.org"
7license="LGPL" 7license="LGPL"
diff --git a/main/swfdec/APKBUILD b/main/swfdec/APKBUILD
index 3225d0a463..8ab7488d95 100644
--- a/main/swfdec/APKBUILD
+++ b/main/swfdec/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=swfdec 2pkgname=swfdec
3pkgver=0.8.4 3pkgver=0.8.4
4pkgrel=1 4pkgrel=2
5pkgdesc="free library for decoding and rendering Flash animations" 5pkgdesc="free library for decoding and rendering Flash animations"
6url="http://swfdec.freedesktop.org" 6url="http://swfdec.freedesktop.org"
7license="LGPL" 7license="LGPL"
diff --git a/main/swig/APKBUILD b/main/swig/APKBUILD
index 3a2d470e5b..9be176bf65 100644
--- a/main/swig/APKBUILD
+++ b/main/swig/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=swig 2pkgname=swig
3pkgver=1.3.40 3pkgver=1.3.40
4pkgrel=0 4pkgrel=1
5pkgdesc="SWIG is a compiler that makes it easy to integrate C and C++ code with scripting languages" 5pkgdesc="SWIG is a compiler that makes it easy to integrate C and C++ code with scripting languages"
6url="http://www.swig.org/" 6url="http://www.swig.org/"
7license="custom" 7license="custom"
diff --git a/main/sylpheed/APKBUILD b/main/sylpheed/APKBUILD
index 672279f2b5..5d7dc146ad 100644
--- a/main/sylpheed/APKBUILD
+++ b/main/sylpheed/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=sylpheed 2pkgname=sylpheed
3pkgver=3.0.2 3pkgver=3.0.2
4pkgrel=0 4pkgrel=2
5pkgdesc="Lightweight and user-friendly e-mail client" 5pkgdesc="Lightweight and user-friendly e-mail client"
6url="http://sylpheed.sraoss.jp/en/" 6url="http://sylpheed.sraoss.jp/en/"
7license="GPL" 7license="GPL"
diff --git a/main/sysfsutils/APKBUILD b/main/sysfsutils/APKBUILD
index e462aec705..1f910b148c 100644
--- a/main/sysfsutils/APKBUILD
+++ b/main/sysfsutils/APKBUILD
@@ -1,11 +1,11 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=sysfsutils 2pkgname=sysfsutils
3pkgver=2.1.0 3pkgver=2.1.0
4pkgrel=3 4pkgrel=4
5pkgdesc="System Utilities Based on Sysfs" 5pkgdesc="System Utilities Based on Sysfs"
6url="http://linux-diag.sourceforge.net/Sysfsutils.html" 6url="http://linux-diag.sourceforge.net/Sysfsutils.html"
7license="GPL LGPL" 7license="GPL LGPL"
8depends="uclibc" 8depends=""
9makedepends="" 9makedepends=""
10subpackages="$pkgname-dev $pkgname-doc" 10subpackages="$pkgname-dev $pkgname-doc"
11source="http://downloads.sourceforge.net/sourceforge/linux-diag/$pkgname-$pkgver.tar.gz" 11source="http://downloads.sourceforge.net/sourceforge/linux-diag/$pkgname-$pkgver.tar.gz"
diff --git a/main/sysklogd/APKBUILD b/main/sysklogd/APKBUILD
index 33dde41e43..681ac7d890 100644
--- a/main/sysklogd/APKBUILD
+++ b/main/sysklogd/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=sysklogd 2pkgname=sysklogd
3pkgver=1.5 3pkgver=1.5
4pkgrel=4 4pkgrel=5
5pkgdesc="System and kernel log daemons" 5pkgdesc="System and kernel log daemons"
6url="http://www.infodrom.org/projects/sysklogd/" 6url="http://www.infodrom.org/projects/sysklogd/"
7license="GPL BSD" 7license="GPL BSD"
diff --git a/main/syslinux/APKBUILD b/main/syslinux/APKBUILD
index 0320b84a47..739e99558f 100644
--- a/main/syslinux/APKBUILD
+++ b/main/syslinux/APKBUILD
@@ -1,28 +1,33 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=syslinux 2pkgname=syslinux
3pkgver=3.85 3pkgver=3.86
4pkgrel=0 4pkgrel=1
5pkgdesc="a boot loader for the Linux operating system which operates off an MS-DOS/Windows FAT filesystem." 5pkgdesc="a boot loader for the Linux operating system which operates off an MS-DOS/Windows FAT filesystem."
6url="http://syslinux.org" 6url="http://syslinux.org"
7license="GPL" 7license="GPL"
8makedepends="nasm perl" 8makedepends="nasm perl"
9depends="mtools" 9depends="mtools"
10source="http://www.kernel.org/pub/linux/utils/boot/$pkgname/3.xx/$pkgname-$pkgver.tar.bz2 10source="http://www.kernel.org/pub/linux/utils/boot/$pkgname/$pkgname-$pkgver.tar.bz2
11 $pkgname-3.72-nopie.patch 11 $pkgname-3.86-nopie.patch
12 " 12 "
13subpackages="$pkgname-doc" 13subpackages="$pkgname-doc"
14 14
15_builddir="$srcdir"/$pkgname-$pkgver
16prepare() {
17 cd "$_builddir"
18 patch -p1 < ../$pkgname-3.86-nopie.patch || return 1
19}
20
15build() { 21build() {
16 cd "$srcdir/$pkgname-$pkgver" 22 cd "$_builddir"
17 patch -p1 < ../$pkgname-3.72-nopie.patch || return 1
18 unset LDFLAGS 23 unset LDFLAGS
19 make installer || return 1 24 make installer || return 1
20} 25}
21 26
22package() { 27package() {
23 cd "$srcdir/$pkgname-$pkgver" 28 cd "$_builddir"
24 make INSTALLROOT="$pkgdir" MANDIR=/usr/share/man local-install 29 make INSTALLROOT="$pkgdir" MANDIR=/usr/share/man local-install
25} 30}
26 31
27md5sums="416e64e3e9b1f838e393c809ff83e792 syslinux-3.85.tar.bz2 32md5sums="d6fb0231e82190b4932b2aa20274911a syslinux-3.86.tar.bz2
28c08398d165d29e48711e55058e2897de syslinux-3.72-nopie.patch" 335852d62ba0772cf967156a75451e6066 syslinux-3.86-nopie.patch"
diff --git a/main/syslinux/syslinux-3.72-nopie.patch b/main/syslinux/syslinux-3.72-nopie.patch
deleted file mode 100644
index 2662d17b43..0000000000
--- a/main/syslinux/syslinux-3.72-nopie.patch
+++ /dev/null
@@ -1,12 +0,0 @@
1diff -ur a/com32/MCONFIG b/com32/MCONFIG
2--- a/com32/MCONFIG 2008-09-26 01:46:02.000000000 +0200
3+++ b/com32/MCONFIG 2008-10-28 16:10:16.107964907 +0100
4@@ -19,6 +19,8 @@
5 GCCOPT := $(call gcc_ok,-std=gnu99,) \
6 $(call gcc_ok,-m32,) \
7 $(call gcc_ok,-fno-stack-protector,) \
8+ $(call gcc_ok,-nopie,) \
9+ $(call gcc_ok,-fno-pie,) \
10 -mregparm=3 -DREGPARM=3 -march=i386 -Os
11
12 com32 = $(topdir)/com32
diff --git a/main/syslinux/syslinux-3.86-nopie.patch b/main/syslinux/syslinux-3.86-nopie.patch
new file mode 100644
index 0000000000..262a4c15ca
--- /dev/null
+++ b/main/syslinux/syslinux-3.86-nopie.patch
@@ -0,0 +1,11 @@
1--- ./com32/MCONFIG.orig
2+++ ./com32/MCONFIG
3@@ -25,6 +25,8 @@
4 $(call gcc_ok,-falign-loops=0,-malign-loops=0) \
5 $(call gcc_ok,-mpreferred-stack-boundary=2,) \
6 $(call gcc_ok,-mincoming-stack-boundary=2,) \
7+ $(call gcc_ok,-nopie,) \
8+ $(call gcc_ok,-fno-pie,) \
9 -march=i386 -Os -fomit-frame-pointer -mregparm=3 -DREGPARM=3
10
11 com32 = $(topdir)/com32
diff --git a/main/sysstat/APKBUILD b/main/sysstat/APKBUILD
index 7ec00676d0..f78fc6e6f2 100644
--- a/main/sysstat/APKBUILD
+++ b/main/sysstat/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 2# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
3pkgname=sysstat 3pkgname=sysstat
4pkgver=9.0.6.1 4pkgver=9.0.6.1
5pkgrel=0 5pkgrel=1
6pkgdesc="Performance monitoring tools for Linux" 6pkgdesc="Performance monitoring tools for Linux"
7url="http://pagesperso-orange.fr/sebastien.godard/" 7url="http://pagesperso-orange.fr/sebastien.godard/"
8license="GPL" 8license="GPL"
diff --git a/main/taglib/APKBUILD b/main/taglib/APKBUILD
index 66b82a8320..d449276825 100644
--- a/main/taglib/APKBUILD
+++ b/main/taglib/APKBUILD
@@ -1,6 +1,6 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=taglib 2pkgname=taglib
3pkgver=1.6.1 3pkgver=1.6.3
4pkgrel=0 4pkgrel=0
5pkgdesc="library for reading and editing the meta-data of several popular audio formats." 5pkgdesc="library for reading and editing the meta-data of several popular audio formats."
6url="http://ktown.kde.org/~wheeler/taglib.html" 6url="http://ktown.kde.org/~wheeler/taglib.html"
@@ -21,4 +21,4 @@ package() {
21 cd "$srcdir"/$pkgname-$pkgver 21 cd "$srcdir"/$pkgname-$pkgver
22 make DESTDIR="$pkgdir" install || return 1 22 make DESTDIR="$pkgdir" install || return 1
23} 23}
24md5sums="db0502b3c3448ff1f1f9b090c1daa5f7 taglib-1.6.1.tar.gz" 24md5sums="ddf02f4e1d2dc30f76734df806e613eb taglib-1.6.3.tar.gz"
diff --git a/main/tar/APKBUILD b/main/tar/APKBUILD
index fed2453b58..994adaef43 100644
--- a/main/tar/APKBUILD
+++ b/main/tar/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Carlo Landmeter <clandmeter at gmail.com> 1# Maintainer: Carlo Landmeter <clandmeter at gmail.com>
2pkgname=tar 2pkgname=tar
3pkgver=1.23 3pkgver=1.23
4pkgrel=0 4pkgrel=1
5pkgdesc="Utility used to store, backup, and transport files" 5pkgdesc="Utility used to store, backup, and transport files"
6url="http://www.gnu.org" 6url="http://www.gnu.org"
7license='GPL' 7license='GPL'
diff --git a/main/tcl/APKBUILD b/main/tcl/APKBUILD
index d815acdd5a..6b724f9cc2 100644
--- a/main/tcl/APKBUILD
+++ b/main/tcl/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Carlo Landmeter <clandmeter at gmail.com> 1# Maintainer: Carlo Landmeter <clandmeter at gmail.com>
2pkgname=tcl 2pkgname=tcl
3pkgver=8.5.8 3pkgver=8.5.8
4pkgrel=0 4pkgrel=1
5pkgdesc="The Tcl scripting language" 5pkgdesc="The Tcl scripting language"
6url="http://tcl.sourceforge.net/" 6url="http://tcl.sourceforge.net/"
7license="custom" 7license="custom"
diff --git a/main/tcpdump/APKBUILD b/main/tcpdump/APKBUILD
index ad9f5323f4..5a1efbdd57 100644
--- a/main/tcpdump/APKBUILD
+++ b/main/tcpdump/APKBUILD
@@ -1,11 +1,11 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=tcpdump 2pkgname=tcpdump
3pkgver=4.0.0 3pkgver=4.1.1
4pkgrel=1 4pkgrel=1
5pkgdesc="A tool for network monitoring and data acquisition" 5pkgdesc="A tool for network monitoring and data acquisition"
6url="http://www.tcpdump.org" 6url="http://www.tcpdump.org"
7license="BSD" 7license="BSD"
8depends="libpcap openssl" 8depends=
9makedepends="libpcap-dev openssl-dev" 9makedepends="libpcap-dev openssl-dev"
10source="http://www.$pkgname.org/release/$pkgname-$pkgver.tar.gz" 10source="http://www.$pkgname.org/release/$pkgname-$pkgver.tar.gz"
11subpackages="$pkgname-doc" 11subpackages="$pkgname-doc"
@@ -17,8 +17,12 @@ build ()
17 --mandir=/usr/share/man \ 17 --mandir=/usr/share/man \
18 --enable-ipv6 18 --enable-ipv6
19 make || return 1 19 make || return 1
20}
21
22package() {
23 cd "$srcdir/$pkgname-$pkgver"
20 make DESTDIR="$pkgdir" install 24 make DESTDIR="$pkgdir" install
21 rm -f "$pkgdir"/usr/sbin/tcpdump.4* 25 rm -f "$pkgdir"/usr/sbin/tcpdump.4*
22} 26}
23 27
24md5sums="b22ca72890df2301d922c9f2d17867f9 tcpdump-4.0.0.tar.gz" 28md5sums="d0dd58bbd6cd36795e05c6f1f74420b0 tcpdump-4.1.1.tar.gz"
diff --git a/main/tcpproxy/APKBUILD b/main/tcpproxy/APKBUILD
index a06aacb39a..9b2273a3f6 100644
--- a/main/tcpproxy/APKBUILD
+++ b/main/tcpproxy/APKBUILD
@@ -2,7 +2,7 @@
2pkgname=tcpproxy 2pkgname=tcpproxy
3pkgver=2.0.0_beta15 3pkgver=2.0.0_beta15
4_realver=2.0.0-beta15 4_realver=2.0.0-beta15
5pkgrel=0 5pkgrel=1
6pkgdesc="Transparent TCP Proxy" 6pkgdesc="Transparent TCP Proxy"
7url="http://www.quietsche-entchen.de/cgi-bin/wiki.cgi/proxies/TcpProxy" 7url="http://www.quietsche-entchen.de/cgi-bin/wiki.cgi/proxies/TcpProxy"
8license="GPL" 8license="GPL"
diff --git a/main/terminal/APKBUILD b/main/terminal/APKBUILD
index d4db8897d7..2f159f0812 100644
--- a/main/terminal/APKBUILD
+++ b/main/terminal/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=terminal 2pkgname=terminal
3pkgver=0.4.4 3pkgver=0.4.4
4pkgrel=0 4pkgrel=1
5pkgdesc="A modern terminal emulator primarly for the Xfce desktop environment" 5pkgdesc="A modern terminal emulator primarly for the Xfce desktop environment"
6url="http://www.xfce.org/projects/terminal/" 6url="http://www.xfce.org/projects/terminal/"
7license="GPL-2" 7license="GPL-2"
diff --git a/main/texinfo/APKBUILD b/main/texinfo/APKBUILD
index a8484bf43b..ad4be84c3b 100644
--- a/main/texinfo/APKBUILD
+++ b/main/texinfo/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=texinfo 2pkgname=texinfo
3pkgver=4.13a 3pkgver=4.13a
4pkgrel=1 4pkgrel=2
5pkgdesc="Utilities to work with and produce manuals, ASCII text, and on-line documentation from a single source file" 5pkgdesc="Utilities to work with and produce manuals, ASCII text, and on-line documentation from a single source file"
6url="http://www.gnu.org/software/texinfo/" 6url="http://www.gnu.org/software/texinfo/"
7license='GPL3' 7license='GPL3'
diff --git a/main/tftpd-hpa/APKBUILD b/main/tftpd-hpa/APKBUILD
index c507e2f68c..c2a3e349e8 100644
--- a/main/tftpd-hpa/APKBUILD
+++ b/main/tftpd-hpa/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=tftp-hpa 2pkgname=tftp-hpa
3pkgver=5.0 3pkgver=5.0
4pkgrel=0 4pkgrel=1
5pkgdesc="Official tftp server" 5pkgdesc="Official tftp server"
6url="http://www.kernel.org/pub/software/network/tftp/" 6url="http://www.kernel.org/pub/software/network/tftp/"
7license="BSD" 7license="BSD"
diff --git a/main/thunar-archive-plugin/APKBUILD b/main/thunar-archive-plugin/APKBUILD
index 87162bbf0c..6e5f899905 100644
--- a/main/thunar-archive-plugin/APKBUILD
+++ b/main/thunar-archive-plugin/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=thunar-archive-plugin 2pkgname=thunar-archive-plugin
3pkgver=0.2.4 3pkgver=0.2.4
4pkgrel=0 4pkgrel=1
5pkgdesc="create and deflate archives in thunar" 5pkgdesc="create and deflate archives in thunar"
6url="http://xfce-goodies.berlios.de/" 6url="http://xfce-goodies.berlios.de/"
7license="GPL2" 7license="GPL2"
diff --git a/main/thunar/APKBUILD b/main/thunar/APKBUILD
index f99a041026..0c2db0a103 100644
--- a/main/thunar/APKBUILD
+++ b/main/thunar/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=thunar 2pkgname=thunar
3pkgver=1.0.1 3pkgver=1.0.1
4pkgrel=6 4pkgrel=7
5pkgdesc="File manager for Xfce" 5pkgdesc="File manager for Xfce"
6url="http://thunar.xfce.org" 6url="http://thunar.xfce.org"
7license="GPL2 LGPL2" 7license="GPL2 LGPL2"
diff --git a/main/tiff/APKBUILD b/main/tiff/APKBUILD
index 4b34846518..c13e26a46b 100644
--- a/main/tiff/APKBUILD
+++ b/main/tiff/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Michael Mason <ms13sp@gmail.com> 2# Maintainer: Michael Mason <ms13sp@gmail.com>
3pkgname=tiff 3pkgname=tiff
4pkgver=3.8.2 4pkgver=3.8.2
5pkgrel=1 5pkgrel=2
6pkgdesc="Provides support for the Tag Image File Format or TIFF" 6pkgdesc="Provides support for the Tag Image File Format or TIFF"
7url="http://www.libtiff.org/" 7url="http://www.libtiff.org/"
8license="GPL" 8license="GPL"
diff --git a/main/tinyproxy/APKBUILD b/main/tinyproxy/APKBUILD
index 5a60c10635..9489bd1a2e 100644
--- a/main/tinyproxy/APKBUILD
+++ b/main/tinyproxy/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Michael Mason <ms13sp@gmail.com> 2# Maintainer: Michael Mason <ms13sp@gmail.com>
3pkgname=tinyproxy 3pkgname=tinyproxy
4pkgver=1.6.5 4pkgver=1.6.5
5pkgrel=4 5pkgrel=5
6pkgdesc="Lightweight HTTP proxy" 6pkgdesc="Lightweight HTTP proxy"
7pkgusers="tinyproxy" 7pkgusers="tinyproxy"
8pkggroups="tinyproxy" 8pkggroups="tinyproxy"
diff --git a/main/tmux/APKBUILD b/main/tmux/APKBUILD
index e2720843ff..fd3a8883c5 100644
--- a/main/tmux/APKBUILD
+++ b/main/tmux/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 2# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
3pkgname=tmux 3pkgname=tmux
4pkgver=1.2 4pkgver=1.2
5pkgrel=0 5pkgrel=1
6pkgdesc="Tool to control multiple terminals from a single terminal" 6pkgdesc="Tool to control multiple terminals from a single terminal"
7url="http://tmux.sourceforge.net/" 7url="http://tmux.sourceforge.net/"
8license="BSD" 8license="BSD"
diff --git a/main/transmission/APKBUILD b/main/transmission/APKBUILD
index 7bd64c5efa..1e8f07b85b 100644
--- a/main/transmission/APKBUILD
+++ b/main/transmission/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer:Carlo Landmeter 1# Maintainer:Carlo Landmeter
2pkgname=transmission 2pkgname=transmission
3pkgver=1.74 3pkgver=1.74
4pkgel=1 4pkgrel=2
5pkgdesc="Lightweight GTK BitTorrent client" 5pkgdesc="Lightweight GTK BitTorrent client"
6url="http://www.tansmissionbt.com" 6url="http://www.tansmissionbt.com"
7install="$pkgname.pre-install" 7install="$pkgname.pre-install"
@@ -20,6 +20,10 @@ build() {
20 ./configure --prefix=/usr \ 20 ./configure --prefix=/usr \
21 --mandir=/usr/share/man 21 --mandir=/usr/share/man
22 make || return 1 22 make || return 1
23}
24
25package() {
26 cd "$srcdir/$pkgname-$pkgver"
23 make DESTDIR="$pkgdir" install 27 make DESTDIR="$pkgdir" install
24} 28}
25 29
diff --git a/main/ucarp/APKBUILD b/main/ucarp/APKBUILD
index a40d99f279..f785f2d77e 100644
--- a/main/ucarp/APKBUILD
+++ b/main/ucarp/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: 2# Maintainer:
3pkgname=ucarp 3pkgname=ucarp
4pkgver=1.5.2 4pkgver=1.5.2
5pkgrel=2 5pkgrel=3
6pkgdesc="Share common IP and do fail over" 6pkgdesc="Share common IP and do fail over"
7url="http://www.ucarp.org" 7url="http://www.ucarp.org"
8license="GPL" 8license="GPL"
diff --git a/main/uclibc++/APKBUILD b/main/uclibc++/APKBUILD
index 6a40ba5493..e4e9667f1d 100644
--- a/main/uclibc++/APKBUILD
+++ b/main/uclibc++/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=uclibc++ 2pkgname=uclibc++
3pkgver=0.2.2 3pkgver=0.2.2
4pkgrel=5 4pkgrel=6
5pkgdesc="Embedded C++ library" 5pkgdesc="Embedded C++ library"
6url="http://cxx.uclibc.org/" 6url="http://cxx.uclibc.org/"
7license='GPL-2' 7license='GPL-2'
diff --git a/main/uclibc/0001-Add-dn_skipname-from-OpenBSD.patch b/main/uclibc/0001-Add-dn_skipname-from-OpenBSD.patch
deleted file mode 100644
index 6dd7b17cbb..0000000000
--- a/main/uclibc/0001-Add-dn_skipname-from-OpenBSD.patch
+++ /dev/null
@@ -1,115 +0,0 @@
1From ab443685d9f923afcdfb9fbb071a293b53aa3c40 Mon Sep 17 00:00:00 2001
2From: Natanael Copa <natanael.copa@gmail.com>
3Date: Sun, 13 Sep 2009 09:53:09 +0000
4Subject: [PATCH] Add dn_skipname() from OpenBSD
5
6dn_skipname() is needed by a few applications like yate, wine, kde and
7probably more.
8---
9 libresolv/resolv.c | 85 ++++++++++++++++++++++++++++++++++++++++++++++++++++
10 1 files changed, 85 insertions(+), 0 deletions(-)
11
12diff --git a/libresolv/resolv.c b/libresolv/resolv.c
13index 38b10ff..c55046d 100644
14--- a/libresolv/resolv.c
15+++ b/libresolv/resolv.c
16@@ -7,7 +7,9 @@
17 * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
18 */
19
20+#include <sys/types.h>
21 #include <features.h>
22+#include <resolv.h>
23
24 void __stub1(void);
25 void __stub1(void)
26@@ -16,3 +18,86 @@ void __stub1(void)
27 }
28 link_warning (__stub1, "the `libresolv' library is a stub. Do you really need it?")
29
30+/* taken from OpenBSD source */
31+/*
32+ * ++Copyright++ 1985, 1993
33+ * -
34+ * Copyright (c) 1985, 1993
35+ * The Regents of the University of California. All rights reserved.
36+ *
37+ * Redistribution and use in source and binary forms, with or without
38+ * modification, are permitted provided that the following conditions
39+ * are met:
40+ * 1. Redistributions of source code must retain the above copyright
41+ * notice, this list of conditions and the following disclaimer.
42+ * 2. Redistributions in binary form must reproduce the above copyright
43+ * notice, this list of conditions and the following disclaimer in the
44+ * documentation and/or other materials provided with the distribution.
45+ * 3. Neither the name of the University nor the names of its contributors
46+ * may be used to endorse or promote products derived from this software
47+ * without specific prior written permission.
48+ *
49+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
50+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
51+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
52+ * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
53+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
54+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
55+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
56+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
57+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
58+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
59+ * SUCH DAMAGE.
60+ * -
61+ * Portions Copyright (c) 1993 by Digital Equipment Corporation.
62+ *
63+ * Permission to use, copy, modify, and distribute this software for any
64+ * purpose with or without fee is hereby granted, provided that the above
65+ * copyright notice and this permission notice appear in all copies, and that
66+ * the name of Digital Equipment Corporation not be used in advertising or
67+ * publicity pertaining to distribution of the document or software without
68+ * specific, written prior permission.
69+ *
70+ * THE SOFTWARE IS PROVIDED "AS IS" AND DIGITAL EQUIPMENT CORP. DISCLAIMS ALL
71+ * WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES
72+ * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL DIGITAL EQUIPMENT
73+ * CORPORATION BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
74+ * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
75+ * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
76+ * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
77+ * SOFTWARE.
78+ * -
79+ * --Copyright--
80+ */
81+
82+/*
83+ * Skip over a compressed domain name. Return the size or -1.
84+ */
85+int
86+__dn_skipname(const u_char *comp_dn, const u_char *eom)
87+{
88+ const u_char *cp;
89+ int n;
90+
91+ cp = comp_dn;
92+ while (cp < eom && (n = *cp++)) {
93+ /*
94+ * check for indirection
95+ */
96+ switch (n & INDIR_MASK) {
97+ case 0: /* normal case, n == len */
98+ cp += n;
99+ continue;
100+ case INDIR_MASK: /* indirection */
101+ cp++;
102+ break;
103+ default: /* illegal type */
104+ return (-1);
105+ }
106+ break;
107+ }
108+ if (cp > eom)
109+ return (-1);
110+ return (cp - comp_dn);
111+}
112+
113--
1141.6.4.2
115
diff --git a/main/uclibc/0001-avr32-add-varargs-handling-of-prctl-syscall.patch b/main/uclibc/0001-avr32-add-varargs-handling-of-prctl-syscall.patch
deleted file mode 100644
index 79676958c7..0000000000
--- a/main/uclibc/0001-avr32-add-varargs-handling-of-prctl-syscall.patch
+++ /dev/null
@@ -1,74 +0,0 @@
1From 85bc04d5436ca6c8a30a1ad28862260a04b8b3d5 Mon Sep 17 00:00:00 2001
2From: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
3Date: Wed, 16 Dec 2009 13:16:08 +0100
4Subject: [PATCH 1/9] avr32: add varargs handling of prctl syscall
5
6prctl is defined to use varargs in the header file, hence it needs varargs
7specific handling in the source. This patch properly handles the variodic
8argument before the syscall is passed to the kernel for the AVR32 architecture.
9
10Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
11---
12 libc/sysdeps/linux/avr32/Makefile.arch | 2 +-
13 libc/sysdeps/linux/avr32/prctl.c | 36 ++++++++++++++++++++++++++++++++
14 2 files changed, 37 insertions(+), 1 deletions(-)
15 create mode 100644 libc/sysdeps/linux/avr32/prctl.c
16
17diff --git a/libc/sysdeps/linux/avr32/Makefile.arch b/libc/sysdeps/linux/avr32/Makefile.arch
18index bc5f625..98b85a7 100644
19--- a/libc/sysdeps/linux/avr32/Makefile.arch
20+++ b/libc/sysdeps/linux/avr32/Makefile.arch
21@@ -5,7 +5,7 @@
22 # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
23 #
24
25-CSRC := brk.c clone.c mmap.c sigaction.c
26+CSRC := brk.c clone.c mmap.c prctl.c sigaction.c
27
28 SSRC := __longjmp.S setjmp.S bsd-setjmp.S bsd-_setjmp.S \
29 sigrestorer.S syscall.S vfork.S
30diff --git a/libc/sysdeps/linux/avr32/prctl.c b/libc/sysdeps/linux/avr32/prctl.c
31new file mode 100644
32index 0000000..4e146e3
33--- /dev/null
34+++ b/libc/sysdeps/linux/avr32/prctl.c
35@@ -0,0 +1,36 @@
36+/*
37+ * prctl syscall for AVR32 Linux.
38+ *
39+ * Copyright (C) 2010 Atmel Corporation
40+ *
41+ * This file is subject to the terms and conditions of the GNU Lesser General
42+ * Public License. See the file "COPYING.LIB" in the main directory of this
43+ * archive for more details.
44+ */
45+#include <sys/syscall.h>
46+#include <sys/prctl.h>
47+#include <stdarg.h>
48+
49+#ifdef __NR_prctl
50+#define __NR___syscall_prctl __NR_prctl
51+static inline _syscall5(int, __syscall_prctl, int, option, long, arg2,
52+ long, arg3, long, arg4, long, arg5);
53+
54+int prctl(int __option, ...)
55+{
56+ long arg2;
57+ long arg3;
58+ long arg4;
59+ long arg5;
60+ va_list ap;
61+
62+ va_start(ap, __option);
63+ arg2 = va_arg(ap, long);
64+ arg3 = va_arg(ap, long);
65+ arg4 = va_arg(ap, long);
66+ arg5 = va_arg(ap, long);
67+ va_end(ap);
68+
69+ return INLINE_SYSCALL(prctl, 5, __option, arg2, arg3, arg4, arg5);
70+}
71+#endif
72--
731.6.6.1
74
diff --git a/main/uclibc/0001-ldd-segfault-fix.patch b/main/uclibc/0001-ldd-segfault-fix.patch
deleted file mode 100644
index 4384fa548c..0000000000
--- a/main/uclibc/0001-ldd-segfault-fix.patch
+++ /dev/null
@@ -1,49 +0,0 @@
1From f29b6882327573ec4e694c1c852307c957d544b9 Mon Sep 17 00:00:00 2001
2From: Natanael Copa <ncopa@alpinelinux.org>
3Date: Tue, 5 May 2009 14:10:42 +0000
4Subject: [PATCH] ldd segfault fix
5
6Fixes ldd segfault on this testcase:
7
8extern void _dl_getenv(void);
9void foo(void)
10{
11 printf("foo: %x\n", &_dl_getenv);
12}
13
14linked as -shared
15---
16 utils/ldd.c | 8 +++++---
17 1 files changed, 5 insertions(+), 3 deletions(-)
18
19diff --git a/utils/ldd.c b/utils/ldd.c
20index 1f1dc25..2cd173c 100644
21--- a/utils/ldd.c
22+++ b/utils/ldd.c
23@@ -576,18 +576,20 @@ static struct library *find_elf_interpreter(ElfW(Ehdr) *ehdr)
24 }
25 newlib->name = NULL;
26 newlib->path = NULL;
27- return NULL;
28+ break;
29 }
30 }
31- if (newlib == NULL)
32+ if (newlib == NULL) {
33 newlib = malloc(sizeof(struct library));
34+ if (newlib)
35+ newlib->next = NULL;
36+ }
37 if (!newlib)
38 return NULL;
39 newlib->name = malloc(strlen(s) + 1);
40 strcpy(newlib->name, s);
41 newlib->path = strdup(newlib->name);
42 newlib->resolved = 1;
43- newlib->next = NULL;
44
45 #if 0
46 /*printf("find_elf_interpreter is adding '%s' to '%s'\n", newlib->name, newlib->path); */
47--
481.6.2.3
49
diff --git a/main/uclibc/0002-Make-use-of-macros-from-sys-asm.h-in-crt1.S.patch b/main/uclibc/0002-Make-use-of-macros-from-sys-asm.h-in-crt1.S.patch
deleted file mode 100644
index 9f04a3ae6e..0000000000
--- a/main/uclibc/0002-Make-use-of-macros-from-sys-asm.h-in-crt1.S.patch
+++ /dev/null
@@ -1,87 +0,0 @@
1From 2911103dd4a03bbd3aad11eddfce524a5c9ba9b3 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 22 Jan 2010 13:00:20 +0100
4Subject: [PATCH 2/9] Make use of macros from sys/asm.h in crt1.S
5
6Needed for mips nptl to boot once again.
7(cherry picked from commit 9c343fd4030dcd7a52616f365893177dded50346)
8
9Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
10---
11 libc/sysdeps/linux/mips/crt1.S | 46 +++++++++++----------------------------
12 1 files changed, 13 insertions(+), 33 deletions(-)
13
14diff --git a/libc/sysdeps/linux/mips/crt1.S b/libc/sysdeps/linux/mips/crt1.S
15index e851d52..6a80412 100644
16--- a/libc/sysdeps/linux/mips/crt1.S
17+++ b/libc/sysdeps/linux/mips/crt1.S
18@@ -85,29 +85,10 @@
19
20 __start:
21 #ifdef __PIC__
22-#if _MIPS_SIM == _MIPS_SIM_ABI32
23- .frame sp, 24, sp
24- .set noreorder
25- move $0, $31 /* Save old ra. */
26- bal 10f /* Find addr of cpload. */
27- nop
28-10:
29- .cpload $31
30- move $31, $0
31- .set reorder
32- .cprestore 16
33-#else
34- move $0, $31; /* Save old ra. */
35- .set noreorder
36- bal 10f /* Find addr of .cpsetup. */
37- nop
38-10:
39- .set reorder
40- .cpsetup $31, $25, 10b
41- move $31, $0
42-#endif
43+ SETUP_GPX($0)
44+ SETUP_GPX64($25,$0)
45 #else
46- la $28, _gp /* Setup GP correctly if we're non-PIC. */
47+ PTR_LA $28, _gp /* Setup GP correctly if we're non-PIC. */
48 move $31, $0
49 #endif
50
51@@ -118,18 +99,18 @@ __start:
52 /* Allocate space on the stack for seven arguments and
53 * make sure the stack is aligned to double words (8 bytes) */
54
55+ and $29, -2 * SZREG
56+
57 #if _MIPS_SIM == _MIPS_SIM_ABI32
58- and $29, -2 * 4
59- subu $29, 32
60- la $7, _init /* init */
61- la $8, _fini
62- sw $8, 16($29) /* fini */
63- sw $2, 20($29) /* rtld_fini */
64- sw $29, 24($29) /* stack_end */
65-#else
66- and $29, -2 * PTRSIZE
67+ PTR_SUBIU $29, 32
68+#endif
69 PTR_LA $7, _init /* init */
70- PTR_LA $8, _fini /* fini */
71+ PTR_LA $8, _fini
72+#if _MIPS_SIM == _MIPS_SIM_ABI32
73+ PTR_S $8, 16($29) /* fini */
74+ PTR_S $2, 20($29) /* rtld_fini */
75+ PTR_S $29, 24($29) /* stack_end */
76+#else
77 move $9, $2 /* rtld_fini */
78 move $10, $29 /* stack_end */
79 #endif
80@@ -148,4 +129,3 @@ __data_start:
81 .weak data_start
82 data_start = __data_start
83
84-
85--
861.6.6.1
87
diff --git a/main/uclibc/0003-rpc-fix-typo-in-version-mismatch-msg.patch b/main/uclibc/0003-rpc-fix-typo-in-version-mismatch-msg.patch
deleted file mode 100644
index cb0826c63e..0000000000
--- a/main/uclibc/0003-rpc-fix-typo-in-version-mismatch-msg.patch
+++ /dev/null
@@ -1,26 +0,0 @@
1From 83a09cd5c9ed9afd87a7d1d17319c2fd2203ad0f Mon Sep 17 00:00:00 2001
2From: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
3Date: Thu, 21 Jan 2010 10:36:13 +0100
4Subject: [PATCH 3/9] rpc: fix typo in version mismatch msg
5
6Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
7---
8 libc/inet/rpc/rpc_prot.c | 2 +-
9 1 files changed, 1 insertions(+), 1 deletions(-)
10
11diff --git a/libc/inet/rpc/rpc_prot.c b/libc/inet/rpc/rpc_prot.c
12index 74658e6..229f988 100644
13--- a/libc/inet/rpc/rpc_prot.c
14+++ b/libc/inet/rpc/rpc_prot.c
15@@ -229,7 +229,7 @@ rejected (enum reject_stat rjct_stat,
16 {
17 switch (rjct_stat)
18 {
19- case RPC_VERSMISMATCH:
20+ case RPC_MISMATCH:
21 error->re_status = RPC_VERSMISMATCH;
22 return;
23 case AUTH_ERROR:
24--
251.6.6.1
26
diff --git a/main/uclibc/0004-fix-make-install_-host-utils.patch b/main/uclibc/0004-fix-make-install_-host-utils.patch
deleted file mode 100644
index f5a5a95872..0000000000
--- a/main/uclibc/0004-fix-make-install_-host-utils.patch
+++ /dev/null
@@ -1,158 +0,0 @@
1From d75ad2e129b3f22296cead3db53c784527deab60 Mon Sep 17 00:00:00 2001
2From: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
3Date: Fri, 18 Sep 2009 16:07:31 +0200
4Subject: [PATCH 4/9] fix make {,install_}{,host}utils
5
6Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
7---
8 extra/locale/programs/locale.c | 3 +-
9 libc/misc/wchar/wchar.c | 88 +++++++++++++++++++++-------------------
10 2 files changed, 47 insertions(+), 44 deletions(-)
11
12diff --git a/extra/locale/programs/locale.c b/extra/locale/programs/locale.c
13index 462a579..dfd2029 100644
14--- a/extra/locale/programs/locale.c
15+++ b/extra/locale/programs/locale.c
16@@ -10,10 +10,9 @@
17 *
18 */
19
20-
21+#include <string.h>
22 #include <stdio.h>
23 #include <stdlib.h>
24-#include <string.h>
25 #include <langinfo.h>
26 #include <unistd.h>
27 #ifdef __UCLIBC_HAS_GETOPT_LONG__
28diff --git a/libc/misc/wchar/wchar.c b/libc/misc/wchar/wchar.c
29index 290e680..3ce884d 100644
30--- a/libc/misc/wchar/wchar.c
31+++ b/libc/misc/wchar/wchar.c
32@@ -171,7 +171,6 @@ extern size_t _wchar_utf8sntowcs(wchar_t *__restrict pwc, size_t wn,
33
34 extern size_t _wchar_wcsntoutf8s(char *__restrict s, size_t n,
35 const wchar_t **__restrict src, size_t wn) attribute_hidden;
36-
37 #endif /* _LIBC */
38 /**********************************************************************/
39 #ifdef L_btowc
40@@ -1201,45 +1200,6 @@ typedef struct {
41 int skip_invalid_input; /* To support iconv -c option. */
42 } _UC_iconv_t;
43
44-
45-
46-#ifdef L_iconv
47-
48-#include <iconv.h>
49-#include <string.h>
50-#include <endian.h>
51-#include <byteswap.h>
52-
53-#if (__BYTE_ORDER != __BIG_ENDIAN) && (__BYTE_ORDER != __LITTLE_ENDIAN)
54-#error unsupported endianness for iconv
55-#endif
56-
57-#ifndef __CTYPE_HAS_8_BIT_LOCALES
58-#error currently iconv requires 8 bit locales
59-#endif
60-#ifndef __CTYPE_HAS_UTF_8_LOCALES
61-#error currently iconv requires UTF-8 locales
62-#endif
63-
64-
65-enum {
66- IC_WCHAR_T = 0xe0,
67- IC_MULTIBYTE = 0xe0,
68-#if __BYTE_ORDER == __BIG_ENDIAN
69- IC_UCS_4 = 0xec,
70- IC_UTF_32 = 0xe4,
71- IC_UCS_2 = 0xe2,
72- IC_UTF_16 = 0xea,
73-#else
74- IC_UCS_4 = 0xed,
75- IC_UTF_32 = 0xe5,
76- IC_UCS_2 = 0xe3,
77- IC_UTF_16 = 0xeb,
78-#endif
79- IC_UTF_8 = 2,
80- IC_ASCII = 1
81-};
82-
83 /* For the multibyte
84 * bit 0 means swap endian
85 * bit 1 means 2 byte
86@@ -1247,8 +1207,13 @@ enum {
87 *
88 */
89
90+#if defined L_iconv && defined _LIBC
91+/* Used externally only by iconv utility */
92 extern const unsigned char __iconv_codesets[];
93 libc_hidden_proto(__iconv_codesets)
94+#endif
95+
96+#if defined L_iconv || defined L_iconv_main
97 const unsigned char __iconv_codesets[] =
98 "\x0a\xe0""WCHAR_T\x00" /* superset of UCS-4 but platform-endian */
99 #if __BYTE_ORDER == __BIG_ENDIAN
100@@ -1281,7 +1246,48 @@ const unsigned char __iconv_codesets[] =
101 "\x08\x02""UTF-8\x00"
102 "\x0b\x01""US-ASCII\x00"
103 "\x07\x01""ASCII"; /* Must be last! (special case to save a nul) */
104+#endif
105+#if defined L_iconv && defined _LIBC
106 libc_hidden_data_def(__iconv_codesets)
107+#endif
108+
109+
110+#ifdef L_iconv
111+
112+#include <iconv.h>
113+#include <string.h>
114+#include <endian.h>
115+#include <byteswap.h>
116+
117+#if (__BYTE_ORDER != __BIG_ENDIAN) && (__BYTE_ORDER != __LITTLE_ENDIAN)
118+#error unsupported endianness for iconv
119+#endif
120+
121+#ifndef __CTYPE_HAS_8_BIT_LOCALES
122+#error currently iconv requires 8 bit locales
123+#endif
124+#ifndef __CTYPE_HAS_UTF_8_LOCALES
125+#error currently iconv requires UTF-8 locales
126+#endif
127+
128+
129+enum {
130+ IC_WCHAR_T = 0xe0,
131+ IC_MULTIBYTE = 0xe0,
132+#if __BYTE_ORDER == __BIG_ENDIAN
133+ IC_UCS_4 = 0xec,
134+ IC_UTF_32 = 0xe4,
135+ IC_UCS_2 = 0xe2,
136+ IC_UTF_16 = 0xea,
137+#else
138+ IC_UCS_4 = 0xed,
139+ IC_UTF_32 = 0xe5,
140+ IC_UCS_2 = 0xe3,
141+ IC_UTF_16 = 0xeb,
142+#endif
143+ IC_UTF_8 = 2,
144+ IC_ASCII = 1
145+};
146
147 /* Experimentally off - libc_hidden_proto(strcasecmp) */
148
149@@ -1575,6 +1581,4 @@ size_t weak_function iconv(iconv_t cd, char **__restrict inbuf,
150 }
151 return nrcount;
152 }
153-
154 #endif
155-
156--
1571.6.6.1
158
diff --git a/main/uclibc/0005-host-utils-depend-on-headers.patch b/main/uclibc/0005-host-utils-depend-on-headers.patch
deleted file mode 100644
index 3a3689267f..0000000000
--- a/main/uclibc/0005-host-utils-depend-on-headers.patch
+++ /dev/null
@@ -1,35 +0,0 @@
1From 47e88c04e01299f975ff23f33035d0f34a8f6787 Mon Sep 17 00:00:00 2001
2From: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
3Date: Fri, 22 Jan 2010 13:32:44 +0100
4Subject: [PATCH 5/9] {,host}utils depend on headers
5
6Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
7---
8 Makefile.in | 4 ++--
9 1 files changed, 2 insertions(+), 2 deletions(-)
10
11diff --git a/Makefile.in b/Makefile.in
12index 4c5aecb..ec4c28e 100644
13--- a/Makefile.in
14+++ b/Makefile.in
15@@ -436,7 +436,7 @@ ifeq ($(HAVE_SHARED),y)
16 fi
17 endif
18
19-utils:
20+utils: headers
21 $(Q)$(MAKE) CROSS="$(CROSS)" CC="$(CC)" -C utils $@
22
23 # Installs helper applications, such as 'ldd' and 'ldconfig'
24@@ -445,7 +445,7 @@ install_utils: utils
25
26 endif # ifeq ($(HAVE_DOT_CONFIG),y)
27
28-hostutils:
29+hostutils: headers
30 $(Q)$(MAKE) CROSS="$(CROSS)" CC="$(CC)" HOSTCC="$(HOSTCC)" DOTHOST=.host -C utils $@
31
32 install_hostutils: hostutils
33--
341.6.6.1
35
diff --git a/main/uclibc/0006-fstatat-fix-up-behavior-on-32-64-bit-hosts.patch b/main/uclibc/0006-fstatat-fix-up-behavior-on-32-64-bit-hosts.patch
deleted file mode 100644
index 51564405a9..0000000000
--- a/main/uclibc/0006-fstatat-fix-up-behavior-on-32-64-bit-hosts.patch
+++ /dev/null
@@ -1,113 +0,0 @@
1From d43f068e84513ed88392df4ca27d49ad01145fd2 Mon Sep 17 00:00:00 2001
2From: Mike Frysinger <vapier@gentoo.org>
3Date: Sun, 6 Sep 2009 12:12:12 -0400
4Subject: [PATCH 6/9] fstatat: fix up behavior on 32/64 bit hosts
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9The fstatat() syscall is a little funky in that it sometimes changes name
10between 32 and 64 bit hosts, but it should always operate on a 64bit stat
11structure. So for the fstatat() function, make sure we convert it from a
1264bit kstat to a 32bit stat.
13
14Along these lines, we need to restore the __xstat32_conv() function.
15
16Reported-by: Timo Teräs <timo.teras@iki.fi>
17Signed-off-by: Mike Frysinger <vapier@gentoo.org>
18Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
19---
20 libc/sysdeps/linux/common/fstatat.c | 9 +++++++--
21 libc/sysdeps/linux/common/fstatat64.c | 5 +++++
22 libc/sysdeps/linux/common/xstatconv.c | 19 +++++++++++++++++++
23 libc/sysdeps/linux/common/xstatconv.h | 1 +
24 4 files changed, 32 insertions(+), 2 deletions(-)
25
26diff --git a/libc/sysdeps/linux/common/fstatat.c b/libc/sysdeps/linux/common/fstatat.c
27index 149c189..33daa7c 100644
28--- a/libc/sysdeps/linux/common/fstatat.c
29+++ b/libc/sysdeps/linux/common/fstatat.c
30@@ -10,15 +10,20 @@
31 #include <sys/stat.h>
32 #include "xstatconv.h"
33
34+/* 64bit ports tend to favor newfstatat() */
35+#ifdef __NR_newfstatat
36+# define __NR_fstatat64 __NR_newfstatat
37+#endif
38+
39 #ifdef __NR_fstatat64
40 int fstatat(int fd, const char *file, struct stat *buf, int flag)
41 {
42 int ret;
43- struct kernel_stat kbuf;
44+ struct kernel_stat64 kbuf;
45
46 ret = INLINE_SYSCALL(fstatat64, 4, fd, file, &kbuf, flag);
47 if (ret == 0)
48- __xstat_conv(&kbuf, buf);
49+ __xstat32_conv(&kbuf, buf);
50
51 return ret;
52 }
53diff --git a/libc/sysdeps/linux/common/fstatat64.c b/libc/sysdeps/linux/common/fstatat64.c
54index 5ae1fad..95627af 100644
55--- a/libc/sysdeps/linux/common/fstatat64.c
56+++ b/libc/sysdeps/linux/common/fstatat64.c
57@@ -12,6 +12,11 @@
58
59 #ifdef __UCLIBC_HAS_LFS__
60
61+/* 64bit ports tend to favor newfstatat() */
62+#ifdef __NR_newfstatat
63+# define __NR_fstatat64 __NR_newfstatat
64+#endif
65+
66 #ifdef __NR_fstatat64
67 int fstatat64(int fd, const char *file, struct stat64 *buf, int flag)
68 {
69diff --git a/libc/sysdeps/linux/common/xstatconv.c b/libc/sysdeps/linux/common/xstatconv.c
70index e575b26..50455c6 100644
71--- a/libc/sysdeps/linux/common/xstatconv.c
72+++ b/libc/sysdeps/linux/common/xstatconv.c
73@@ -46,6 +46,25 @@ void attribute_hidden __xstat_conv(struct kernel_stat *kbuf, struct stat *buf)
74 buf->st_ctim = kbuf->st_ctim;
75 }
76
77+void __xstat32_conv(struct kernel_stat64 *kbuf, struct stat *buf)
78+{
79+ /* Convert to current kernel version of `struct stat64'. */
80+ memset(buf, 0x00, sizeof(*buf));
81+ buf->st_dev = kbuf->st_dev;
82+ buf->st_ino = kbuf->st_ino;
83+ buf->st_mode = kbuf->st_mode;
84+ buf->st_nlink = kbuf->st_nlink;
85+ buf->st_uid = kbuf->st_uid;
86+ buf->st_gid = kbuf->st_gid;
87+ buf->st_rdev = kbuf->st_rdev;
88+ buf->st_size = kbuf->st_size;
89+ buf->st_blksize = kbuf->st_blksize;
90+ buf->st_blocks = kbuf->st_blocks;
91+ buf->st_atim = kbuf->st_atim;
92+ buf->st_mtim = kbuf->st_mtim;
93+ buf->st_ctim = kbuf->st_ctim;
94+}
95+
96 #ifdef __UCLIBC_HAS_LFS__
97
98 void attribute_hidden __xstat64_conv(struct kernel_stat64 *kbuf, struct stat64 *buf)
99diff --git a/libc/sysdeps/linux/common/xstatconv.h b/libc/sysdeps/linux/common/xstatconv.h
100index 57c8bcb..7568da8 100644
101--- a/libc/sysdeps/linux/common/xstatconv.h
102+++ b/libc/sysdeps/linux/common/xstatconv.h
103@@ -26,6 +26,7 @@
104 #include <bits/kernel_stat.h>
105
106 extern void __xstat_conv(struct kernel_stat *kbuf, struct stat *buf) attribute_hidden;
107+extern void __xstat32_conv(struct kernel_stat64 *kbuf, struct stat *buf) attribute_hidden;
108 #if defined __UCLIBC_HAS_LFS__
109 extern void __xstat64_conv(struct kernel_stat64 *kbuf, struct stat64 *buf) attribute_hidden;
110 #endif
111--
1121.6.6.1
113
diff --git a/main/uclibc/0007-Unbreak-build-for-sparc-on-some-config-s.patch b/main/uclibc/0007-Unbreak-build-for-sparc-on-some-config-s.patch
deleted file mode 100644
index 1d86d585c7..0000000000
--- a/main/uclibc/0007-Unbreak-build-for-sparc-on-some-config-s.patch
+++ /dev/null
@@ -1,42 +0,0 @@
1From 7b964170536951a260f7d552db99b428d1ea5026 Mon Sep 17 00:00:00 2001
2From: Austin Foxley <austinf@cetoncorp.com>
3Date: Wed, 3 Feb 2010 12:12:10 -0800
4Subject: [PATCH 7/9] Unbreak build for sparc on some config's
5
6Thanks to rob@landley.net
7
8Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
9---
10 libc/sysdeps/linux/sparc/sigaction.c | 9 ++++-----
11 1 files changed, 4 insertions(+), 5 deletions(-)
12
13diff --git a/libc/sysdeps/linux/sparc/sigaction.c b/libc/sysdeps/linux/sparc/sigaction.c
14index a22ac40..7140fd3 100644
15--- a/libc/sysdeps/linux/sparc/sigaction.c
16+++ b/libc/sysdeps/linux/sparc/sigaction.c
17@@ -34,7 +34,8 @@ _syscall5(int, rt_sigaction, int, a, int, b, int, c, int, d, int, e);
18 static void __rt_sigreturn_stub(void);
19 static void __sigreturn_stub(void);
20
21-int __libc_sigaction(int sig, const struct sigaction *act, struct sigaction *oact)
22+libc_hidden_proto(sigaction)
23+int sigaction(int sig, const struct sigaction *act, struct sigaction *oact)
24 {
25 int ret;
26 struct sigaction kact, koact;
27@@ -65,10 +66,8 @@ int __libc_sigaction(int sig, const struct sigaction *act, struct sigaction *oac
28 return ret;
29 }
30
31-#ifndef LIBC_SIGACTION
32-weak_alias(__libc_sigaction,sigaction)
33-libc_hidden_weak(sigaction)
34-#endif
35+libc_hidden_def(sigaction)
36+weak_alias(sigaction,__libc_sigaction)
37
38 static void
39 __rt_sigreturn_stub(void)
40--
411.6.6.1
42
diff --git a/main/uclibc/0008-malloc-fix-race-condition-and-other-bugs-in-the-no-m.patch b/main/uclibc/0008-malloc-fix-race-condition-and-other-bugs-in-the-no-m.patch
deleted file mode 100644
index 48e8427d28..0000000000
--- a/main/uclibc/0008-malloc-fix-race-condition-and-other-bugs-in-the-no-m.patch
+++ /dev/null
@@ -1,89 +0,0 @@
1From fa476d01f1c1990a92ee49d1f1c557b83805d0e9 Mon Sep 17 00:00:00 2001
2From: Freeman Wang <xwang@ubicom.com>
3Date: Sat, 19 Dec 2009 13:43:00 -0800
4Subject: [PATCH 8/9] malloc: fix race condition and other bugs in the no-mmu malloc
5
6Fixes multiple race conditions on mmb list. This was done by
7making the mmb_heap_lock into a recursive lock and making the
8regular heap_lock extend to cover the mmb heap handling.
9
10Also move the new_mmb allocation up to before the mmb list is
11iterated through to find the insertion point. When the mmb_heap
12also runs out and needs to be extended when the regular heap is
13just extended, the mmb list could be messed up.
14
15Signed-off-by: Freeman Wang <xwang@ubicom.com>
16Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
17---
18 libc/stdlib/malloc/free.c | 6 +++---
19 libc/stdlib/malloc/malloc.c | 7 ++++---
20 2 files changed, 7 insertions(+), 6 deletions(-)
21
22diff --git a/libc/stdlib/malloc/free.c b/libc/stdlib/malloc/free.c
23index 90e18f4..741248a 100644
24--- a/libc/stdlib/malloc/free.c
25+++ b/libc/stdlib/malloc/free.c
26@@ -179,14 +179,14 @@ __free_to_heap (void *mem, struct heap_free_area **heap
27 /* Start searching again from the end of this block. */
28 start = mmb_end;
29
30+ /* Release the descriptor block we used. */
31+ free_to_heap (mmb, &__malloc_mmb_heap, &__malloc_mmb_heap_lock);
32+
33 /* We have to unlock the heap before we recurse to free the mmb
34 descriptor, because we might be unmapping from the mmb
35 heap. */
36 __heap_unlock (heap_lock);
37
38- /* Release the descriptor block we used. */
39- free_to_heap (mmb, &__malloc_mmb_heap, &__malloc_mmb_heap_lock);
40-
41 /* Do the actual munmap. */
42 munmap ((void *)mmb_start, mmb_end - mmb_start);
43
44diff --git a/libc/stdlib/malloc/malloc.c b/libc/stdlib/malloc/malloc.c
45index 71f9e58..84a6acd 100644
46--- a/libc/stdlib/malloc/malloc.c
47+++ b/libc/stdlib/malloc/malloc.c
48@@ -48,7 +48,7 @@ struct malloc_mmb *__malloc_mmapped_blocks = 0;
49 HEAP_DECLARE_STATIC_FREE_AREA (initial_mmb_fa, 48); /* enough for 3 mmbs */
50 struct heap_free_area *__malloc_mmb_heap = HEAP_INIT_WITH_FA (initial_mmb_fa);
51 #ifdef HEAP_USE_LOCKING
52-pthread_mutex_t __malloc_mmb_heap_lock = PTHREAD_MUTEX_INITIALIZER;
53+pthread_mutex_t __malloc_mmb_heap_lock = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
54 #endif
55 #endif /* __UCLIBC_UCLINUX_BROKEN_MUNMAP__ */
56
57@@ -151,19 +151,19 @@ __malloc_from_heap (size_t size, struct heap_free_area **heap
58 /* Try again to allocate. */
59 mem = __heap_alloc (heap, &size);
60
61- __heap_unlock (heap_lock);
62
63 #if !defined(MALLOC_USE_SBRK) && defined(__UCLIBC_UCLINUX_BROKEN_MUNMAP__)
64 /* Insert a record of BLOCK in sorted order into the
65 __malloc_mmapped_blocks list. */
66
67+ new_mmb = malloc_from_heap (sizeof *new_mmb, &__malloc_mmb_heap, &__malloc_mmb_heap_lock);
68+
69 for (prev_mmb = 0, mmb = __malloc_mmapped_blocks;
70 mmb;
71 prev_mmb = mmb, mmb = mmb->next)
72 if (block < mmb->mem)
73 break;
74
75- new_mmb = malloc_from_heap (sizeof *new_mmb, &__malloc_mmb_heap, &__malloc_mmb_heap_lock);
76 new_mmb->next = mmb;
77 new_mmb->mem = block;
78 new_mmb->size = block_size;
79@@ -177,6 +177,7 @@ __malloc_from_heap (size_t size, struct heap_free_area **heap
80 (unsigned)new_mmb,
81 (unsigned)new_mmb->mem, block_size);
82 #endif /* !MALLOC_USE_SBRK && __UCLIBC_UCLINUX_BROKEN_MUNMAP__ */
83+ __heap_unlock (heap_lock);
84 }
85 }
86
87--
881.6.6.1
89
diff --git a/main/uclibc/0009-libm-enable-log2f-and-exp2f.patch b/main/uclibc/0009-libm-enable-log2f-and-exp2f.patch
deleted file mode 100644
index 88e13e328e..0000000000
--- a/main/uclibc/0009-libm-enable-log2f-and-exp2f.patch
+++ /dev/null
@@ -1,70 +0,0 @@
1From 956a0087e282e53ba9c085dbbc469391f7234944 Mon Sep 17 00:00:00 2001
2From: Aurelien Jacobs <aurel@gnuage.org>
3Date: Thu, 4 Feb 2010 09:31:40 -0800
4Subject: [PATCH 9/9] libm: enable log2f and exp2f
5
6Signed-off-by: Aurelien Jacobs <aurel@gnuage.org>
7Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
8---
9 libm/float_wrappers.c | 4 ++--
10 test/math/compile_test.c | 4 ++--
11 2 files changed, 4 insertions(+), 4 deletions(-)
12
13diff --git a/libm/float_wrappers.c b/libm/float_wrappers.c
14index dc315e7..b7317a1 100644
15--- a/libm/float_wrappers.c
16+++ b/libm/float_wrappers.c
17@@ -15,12 +15,10 @@
18
19 /* For the time being, do _NOT_ implement these functions
20 * that are defined by SuSv3 */
21-#undef L_exp2f /*float exp2f(float);*/
22 #undef L_fdimf /*float fdimf(float, float);*/
23 #undef L_fmaf /*float fmaf(float, float, float);*/
24 #undef L_fmaxf /*float fmaxf(float, float);*/
25 #undef L_fminf /*float fminf(float, float);*/
26-#undef L_log2f /*float log2f(float);*/
27 #undef L_nearbyintf /*float nearbyintf(float);*/
28 #undef L_nexttowardf /*float nexttowardf(float, long double);*/
29 #undef L_remquof /*float remquof(float, float, int *);*/
30@@ -43,6 +41,7 @@ float cosf(float);
31 float coshf(float);
32 float erfcf(float);
33 float erff(float);
34+float exp2f(float);
35 float expf(float);
36 float expm1f(float);
37 float fabsf(float);
38@@ -56,6 +55,7 @@ float lgammaf(float);
39 long long llroundf(float);
40 float log10f(float);
41 float log1pf(float);
42+float log2f(float);
43 float logbf(float);
44 float logf(float);
45 long lroundf(float);
46diff --git a/test/math/compile_test.c b/test/math/compile_test.c
47index 9990520..ee5e2e3 100644
48--- a/test/math/compile_test.c
49+++ b/test/math/compile_test.c
50@@ -18,7 +18,7 @@ r += cosf(float_x);
51 r += coshf(float_x);
52 r += erfcf(float_x);
53 r += erff(float_x);
54-/*r += exp2f(float_x); - uclibc does not have it (yet?) */
55+r += exp2f(float_x);
56 r += expf(float_x);
57 r += expm1f(float_x);
58 r += fabsf(float_x);
59@@ -38,7 +38,7 @@ r += llrintf(float_x);
60 r += llroundf(float_x);
61 r += log10f(float_x);
62 r += log1pf(float_x);
63-/*r += log2f(float_x); - uclibc does not have it (yet?) */
64+r += log2f(float_x);
65 r += logbf(float_x);
66 r += logf(float_x);
67 r += lrintf(float_x);
68--
691.6.6.1
70
diff --git a/main/uclibc/APKBUILD b/main/uclibc/APKBUILD
deleted file mode 100644
index 72b5648b3b..0000000000
--- a/main/uclibc/APKBUILD
+++ /dev/null
@@ -1,88 +0,0 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=uclibc
3pkgver=0.9.30.2
4pkgrel=2
5pkgdesc="C library for developing embedded Linux systems"
6url=http://uclibc.org
7license="LGPL-2"
8_mynamever=uClibc-$pkgver
9
10subpackages="$pkgname-dev"
11depends_dev="linux-headers=>2.6.32"
12
13source="http://uclibc.org/downloads/$_mynamever.tar.bz2
14 $pkgname-0.9.30.1-resolv.patch
15 uclibc-0.9.30.1-pthread_getattr_np.patch
16 0001-Add-dn_skipname-from-OpenBSD.patch
17 0001-ldd-segfault-fix.patch
18
19 0001-avr32-add-varargs-handling-of-prctl-syscall.patch
20 0002-Make-use-of-macros-from-sys-asm.h-in-crt1.S.patch
21 0003-rpc-fix-typo-in-version-mismatch-msg.patch
22 0004-fix-make-install_-host-utils.patch
23 0005-host-utils-depend-on-headers.patch
24 0006-fstatat-fix-up-behavior-on-32-64-bit-hosts.patch
25 0007-Unbreak-build-for-sparc-on-some-config-s.patch
26 0008-malloc-fix-race-condition-and-other-bugs-in-the-no-m.patch
27 0009-libm-enable-log2f-and-exp2f.patch
28
29 uclibc-linuxthreads-init-stdio.patch
30 pthread-new-aliasing-fix.diff
31 uclibc-resolv-cname-fix.diff
32 uclibc-i386-floating-stacks.diff
33 uclibc-fork-hidden.diff
34 uclibc-fork-hook.diff
35 uclibcconfig.x86
36 "
37
38_config="$srcdir"/uclibcconfig.${ARCH:-x86}
39
40
41prepare() {
42 local i gcc_major
43 cd "$srcdir/$_mynamever/"
44 # patches goes here
45 for i in ../*.patch ../*.diff; do
46 msg "Applying $i..."
47 patch -p1 < $i || return 1
48 done
49}
50
51build() {
52 cd "$srcdir/$_mynamever/"
53 cp "$_config" .config
54 make silentoldconfig
55 # this is a hack to get uclibc-i386-floating-stacks.diff working
56 touch libc/sysdeps/linux/i386/sysdep.h
57 make || return 1
58}
59
60package() {
61 cd "$srcdir/$_mynamever/"
62 make install DESTDIR="$pkgdir" install_utils
63 install -Dm755 extra/scripts/getent "$pkgdir"/usr/bin/getent
64 # provided by linux-headers
65 rm -f "$pkgdir"/usr/include/scsi/scsi.h
66}
67
68md5sums="e759ec855500082ac3e671dd6cacfdb0 uClibc-0.9.30.2.tar.bz2
69ea91460617601b6e084ead66bc3948f5 uclibc-0.9.30.1-resolv.patch
70cf80c0d44a41e02f389be427ee615d61 uclibc-0.9.30.1-pthread_getattr_np.patch
71c9e3df01e854db4b1118266acd9bcfbd 0001-Add-dn_skipname-from-OpenBSD.patch
724079b20c763727863bc53408e4988434 0001-ldd-segfault-fix.patch
73fe69ee3a487605b40cd7e6edadedbc45 0001-avr32-add-varargs-handling-of-prctl-syscall.patch
74045d4e110e512493fbc2040fd6a6d5c4 0002-Make-use-of-macros-from-sys-asm.h-in-crt1.S.patch
75e23edaf402ae29650205b3337b2f9ec2 0003-rpc-fix-typo-in-version-mismatch-msg.patch
76afbeb89d1fd086cec5cfbc10cc011b7a 0004-fix-make-install_-host-utils.patch
7741796dd355bc56526991410647d854f4 0005-host-utils-depend-on-headers.patch
78c78e19855a8a83f07855fe82ceaf9d21 0006-fstatat-fix-up-behavior-on-32-64-bit-hosts.patch
79d20abc16e2ce8579f77e42271008ff07 0007-Unbreak-build-for-sparc-on-some-config-s.patch
802438e999b21cfaf823139df05d06dd33 0008-malloc-fix-race-condition-and-other-bugs-in-the-no-m.patch
810b2ed68cbd2e4bb2941155bdb1f0f9b0 0009-libm-enable-log2f-and-exp2f.patch
82152bd508303e110e660fa7935411b6df uclibc-linuxthreads-init-stdio.patch
83969187e1da84d0a0a5957b392a3d5a2b pthread-new-aliasing-fix.diff
84bbb8475963e791f596c34c81ef5583d7 uclibc-resolv-cname-fix.diff
85ccf15714e089306c09d74a1a5c3cc670 uclibc-i386-floating-stacks.diff
86220260c979eca4558827d0e7ec8aa8b6 uclibc-fork-hidden.diff
8755bb709f5efd937df323f0d39a202cfd uclibc-fork-hook.diff
8836b28777f4c49af39268920fbade41b1 uclibcconfig.x86"
diff --git a/main/uclibc/pthread-new-aliasing-fix.diff b/main/uclibc/pthread-new-aliasing-fix.diff
deleted file mode 100644
index 2b2b37723a..0000000000
--- a/main/uclibc/pthread-new-aliasing-fix.diff
+++ /dev/null
@@ -1,147 +0,0 @@
1diff --git a/libpthread/linuxthreads/cancel.c b/libpthread/linuxthreads/cancel.c
2index 3435680..1412b57 100644
3--- a/libpthread/linuxthreads/cancel.c
4+++ b/libpthread/linuxthreads/cancel.c
5@@ -152,8 +152,8 @@ void pthread_testcancel(void)
6 __pthread_do_exit(PTHREAD_CANCELED, CURRENT_STACK_FRAME);
7 }
8
9-void _pthread_cleanup_push(struct _pthread_cleanup_buffer * buffer,
10- void (*routine)(void *), void * arg)
11+void __pthread_cleanup_push(struct _pthread_cleanup_buffer * buffer,
12+ void (*routine)(void *), void * arg)
13 {
14 pthread_descr self = thread_self();
15 buffer->__routine = routine;
16@@ -163,17 +163,19 @@ void _pthread_cleanup_push(struct _pthread_cleanup_buffer * buffer,
17 buffer->__prev = NULL;
18 THREAD_SETMEM(self, p_cleanup, buffer);
19 }
20+strong_alias(__pthread_cleanup_push, _pthread_cleanup_push);
21
22-void _pthread_cleanup_pop(struct _pthread_cleanup_buffer * buffer,
23- int execute)
24+void __pthread_cleanup_pop(struct _pthread_cleanup_buffer * buffer,
25+ int execute)
26 {
27 pthread_descr self = thread_self();
28 if (execute) buffer->__routine(buffer->__arg);
29 THREAD_SETMEM(self, p_cleanup, buffer->__prev);
30 }
31+strong_alias(__pthread_cleanup_pop, _pthread_cleanup_pop);
32
33-void _pthread_cleanup_push_defer(struct _pthread_cleanup_buffer * buffer,
34- void (*routine)(void *), void * arg)
35+void __pthread_cleanup_push_defer(struct _pthread_cleanup_buffer * buffer,
36+ void (*routine)(void *), void * arg)
37 {
38 pthread_descr self = thread_self();
39 buffer->__routine = routine;
40@@ -185,9 +187,10 @@ void _pthread_cleanup_push_defer(struct _pthread_cleanup_buffer * buffer,
41 THREAD_SETMEM(self, p_canceltype, PTHREAD_CANCEL_DEFERRED);
42 THREAD_SETMEM(self, p_cleanup, buffer);
43 }
44+strong_alias(__pthread_cleanup_push_defer, _pthread_cleanup_push_defer);
45
46-void _pthread_cleanup_pop_restore(struct _pthread_cleanup_buffer * buffer,
47- int execute)
48+void __pthread_cleanup_pop_restore(struct _pthread_cleanup_buffer * buffer,
49+ int execute)
50 {
51 pthread_descr self = thread_self();
52 if (execute) buffer->__routine(buffer->__arg);
53@@ -198,6 +201,7 @@ void _pthread_cleanup_pop_restore(struct _pthread_cleanup_buffer * buffer,
54 THREAD_GETMEM(self, p_canceltype) == PTHREAD_CANCEL_ASYNCHRONOUS)
55 __pthread_do_exit(PTHREAD_CANCELED, CURRENT_STACK_FRAME);
56 }
57+strong_alias(__pthread_cleanup_pop_restore, _pthread_cleanup_pop_restore);
58
59 extern void __rpc_thread_destroy(void);
60 void __pthread_perform_cleanup(char *currentframe)
61diff --git a/libpthread/linuxthreads/forward.c b/libpthread/linuxthreads/forward.c
62index f9f8ea1..385e79f 100644
63--- a/libpthread/linuxthreads/forward.c
64+++ b/libpthread/linuxthreads/forward.c
65@@ -24,6 +24,10 @@
66 /* psm: keep this before internals.h */
67 /* libc_hidden_proto(exit) */
68
69+#define hidden_strong_alias(name, aliasname) \
70+ extern __typeof (name) aliasname __attribute__ ((alias (#name), \
71+ visibility ("hidden")));
72+
73 #include "internals.h"
74
75 /* Pointers to the libc functions. */
76@@ -104,8 +108,7 @@ FORWARD (pthread_equal, (pthread_t thread1, pthread_t thread2),
77
78 /* Use an alias to avoid warning, as pthread_exit is declared noreturn. */
79 FORWARD2 (__pthread_exit, void, (void *retval), (retval), exit (EXIT_SUCCESS))
80-strong_alias (__pthread_exit, pthread_exit)
81-
82+hidden_strong_alias (__pthread_exit, pthread_exit)
83
84 FORWARD (pthread_getschedparam,
85 (pthread_t target_thread, int *policy, struct sched_param *param),
86@@ -120,16 +123,16 @@ FORWARD (pthread_mutex_destroy, (pthread_mutex_t *mutex), (mutex), 0)
87 FORWARD (pthread_mutex_init,
88 (pthread_mutex_t *mutex, const pthread_mutexattr_t *mutexattr),
89 (mutex, mutexattr), 0)
90-strong_alias(pthread_mutex_init, __pthread_mutex_init)
91+hidden_strong_alias(pthread_mutex_init, __pthread_mutex_init)
92
93 FORWARD (pthread_mutex_lock, (pthread_mutex_t *mutex), (mutex), 0)
94-strong_alias(pthread_mutex_lock, __pthread_mutex_lock)
95+hidden_strong_alias(pthread_mutex_lock, __pthread_mutex_lock)
96
97 FORWARD (pthread_mutex_trylock, (pthread_mutex_t *mutex), (mutex), 0)
98-strong_alias(pthread_mutex_trylock, __pthread_mutex_trylock)
99+hidden_strong_alias(pthread_mutex_trylock, __pthread_mutex_trylock)
100
101 FORWARD (pthread_mutex_unlock, (pthread_mutex_t *mutex), (mutex), 0)
102-strong_alias(pthread_mutex_unlock, __pthread_mutex_unlock)
103+hidden_strong_alias(pthread_mutex_unlock, __pthread_mutex_unlock)
104
105 FORWARD2 (pthread_self, pthread_t, (void), (), return 0)
106
107diff --git a/libpthread/linuxthreads/internals.h b/libpthread/linuxthreads/internals.h
108index eb0a519..4ad6a0d 100644
109--- a/libpthread/linuxthreads/internals.h
110+++ b/libpthread/linuxthreads/internals.h
111@@ -380,6 +380,17 @@ extern int __pthread_setschedparam (pthread_t thread, int policy,
112 extern int __pthread_setcancelstate (int state, int * oldstate);
113 extern int __pthread_setcanceltype (int type, int * oldtype);
114
115+extern void __pthread_cleanup_push (struct _pthread_cleanup_buffer *__buffer,
116+ void (*__routine) (void *),
117+ void *__arg) __THROW;
118+extern void __pthread_cleanup_pop (struct _pthread_cleanup_buffer *__buffer,
119+ int __execute) __THROW;
120+extern void __pthread_cleanup_push_defer (struct _pthread_cleanup_buffer *__buffer,
121+ void (*__routine) (void *),
122+ void *__arg) __THROW;
123+extern void __pthread_cleanup_pop_restore (struct _pthread_cleanup_buffer *__buffer,
124+ int __execute) __THROW;
125+
126 extern void __pthread_restart_old(pthread_descr th);
127 extern void __pthread_suspend_old(pthread_descr self);
128 extern int __pthread_timedsuspend_old(pthread_descr self, const struct timespec *abstime);
129diff --git a/libpthread/linuxthreads/pthread.c b/libpthread/linuxthreads/pthread.c
130index 4d1d906..012b74b 100644
131--- a/libpthread/linuxthreads/pthread.c
132+++ b/libpthread/linuxthreads/pthread.c
133@@ -280,10 +280,10 @@ struct pthread_functions __pthread_functions =
134 .ptr_pthread_sigaction = __pthread_sigaction,
135 .ptr_pthread_sigwait = __pthread_sigwait,
136 .ptr_pthread_raise = __pthread_raise,
137- .ptr__pthread_cleanup_push = _pthread_cleanup_push,
138- .ptr__pthread_cleanup_push_defer = _pthread_cleanup_push_defer,
139- .ptr__pthread_cleanup_pop = _pthread_cleanup_pop,
140- .ptr__pthread_cleanup_pop_restore = _pthread_cleanup_pop_restore,
141+ .ptr__pthread_cleanup_push = __pthread_cleanup_push,
142+ .ptr__pthread_cleanup_push_defer = __pthread_cleanup_push_defer,
143+ .ptr__pthread_cleanup_pop = __pthread_cleanup_pop,
144+ .ptr__pthread_cleanup_pop_restore = __pthread_cleanup_pop_restore,
145 };
146 #ifdef SHARED
147 # define ptr_pthread_functions &__pthread_functions
diff --git a/main/uclibc/uclibc-0.9.30.1-pthread_getattr_np.patch b/main/uclibc/uclibc-0.9.30.1-pthread_getattr_np.patch
deleted file mode 100644
index 28469be236..0000000000
--- a/main/uclibc/uclibc-0.9.30.1-pthread_getattr_np.patch
+++ /dev/null
@@ -1,137 +0,0 @@
1--- uClibc-0.9.30.1.orig/libpthread/linuxthreads.old/sysdeps/pthread/pthread.h 2009-03-30 15:01:48.000000000 +0000
2+++ uClibc-0.9.30.1/libpthread/linuxthreads.old/sysdeps/pthread/pthread.h 2009-03-30 15:48:16.000000000 +0000
3@@ -288,16 +288,12 @@
4 __attr, size_t *__restrict __stacksize)
5 __THROW;
6
7-#if 0
8-/* Not yet implemented in uClibc! */
9-
10 #ifdef __USE_GNU
11 /* Initialize thread attribute *ATTR with attributes corresponding to the
12 already running thread TH. It shall be called on uninitialized ATTR
13 and destroyed with pthread_attr_destroy when no longer needed. */
14 extern int pthread_getattr_np (pthread_t __th, pthread_attr_t *__attr) __THROW;
15 #endif
16-#endif
17
18 /* Functions for scheduling control. */
19
20@@ -599,6 +595,11 @@
21 cancelled. */
22 extern void pthread_testcancel (void);
23
24+/* Return the previously set address for the stack. */
25+extern int pthread_attr_getstack (__const pthread_attr_t *__restrict __attr,
26+ void **__restrict __stackaddr,
27+ size_t *__restrict __stacksize) __THROW;
28+
29
30 /* Install a cleanup handler: ROUTINE will be called with arguments ARG
31 when the thread is cancelled or calls pthread_exit. ROUTINE will also
32--- a/libpthread/linuxthreads.old/attr.c.orig 2007-11-22 16:55:08.000000000 +0000
33+++ b/libpthread/linuxthreads.old/attr.c 2009-03-30 19:15:51.000000000 +0000
34@@ -38,6 +38,14 @@
35 libpthread_hidden_proto(pthread_attr_getscope)
36 libpthread_hidden_proto(pthread_attr_setscope)
37
38+#include <sys/resource.h>
39+#include <inttypes.h>
40+#include <stdio.h>
41+#include <stdio_ext.h>
42+#include <stdlib.h>
43+#include <sys/resource.h>
44+
45+
46 /* NOTE: With uClibc I don't think we need this versioning stuff.
47 * Therefore, define the function pthread_attr_init() here using
48 * a strong symbol. */
49@@ -235,4 +243,88 @@
50 *stacksize = attr->__stacksize;
51 return 0;
52 }
53+
54+
55+extern int *__libc_stack_end;
56+
57 weak_alias (__pthread_attr_getstacksize, pthread_attr_getstacksize)
58+int pthread_getattr_np(pthread_t thread, pthread_attr_t *attr)
59+{
60+ static void *stackBase = 0;
61+ static size_t stackSize = 0;
62+ int ret = 0;
63+ /* Stack size limit. */
64+ struct rlimit rl;
65+
66+ /* The safest way to get the top of the stack is to read
67+ /proc/self/maps and locate the line into which
68+ __libc_stack_end falls. */
69+ FILE *fp = fopen("/proc/self/maps", "rc");
70+ if (fp == NULL)
71+ ret = errno;
72+ /* We need the limit of the stack in any case. */
73+ else if (getrlimit (RLIMIT_STACK, &rl) != 0)
74+ ret = errno;
75+ else {
76+ /* We need no locking. */
77+ __fsetlocking (fp, FSETLOCKING_BYCALLER);
78+
79+ /* Until we found an entry (which should always be the case)
80+ mark the result as a failure. */
81+ ret = ENOENT;
82+
83+ char *line = NULL;
84+ size_t linelen = 0;
85+ uintptr_t last_to = 0;
86+
87+ while (! feof_unlocked (fp)) {
88+ if (getdelim (&line, &linelen, '\n', fp) <= 0)
89+ break;
90+
91+ uintptr_t from;
92+ uintptr_t to;
93+ if (sscanf (line, "%x-%x", &from, &to) != 2)
94+ continue;
95+ if (from <= (uintptr_t) __libc_stack_end
96+ && (uintptr_t) __libc_stack_end < to) {
97+ /* Found the entry. Now we have the info we need. */
98+ attr->__stacksize = rl.rlim_cur;
99+#ifdef _STACK_GROWS_UP
100+ /* Don't check to enforce a limit on the __stacksize */
101+ attr->__stackaddr = (void *) from;
102+#else
103+ attr->__stackaddr = (void *) to;
104+
105+ /* The limit might be too high. */
106+ if ((size_t) attr->__stacksize > (size_t) attr->__stackaddr - last_to)
107+ attr->__stacksize = (size_t) attr->__stackaddr - last_to;
108+#endif
109+
110+ /* We succeed and no need to look further. */
111+ ret = 0;
112+ break;
113+ }
114+ last_to = to;
115+ }
116+
117+ fclose (fp);
118+ free (line);
119+ }
120+ return ret;
121+}
122+
123+int __pthread_attr_getstack (const pthread_attr_t *attr, void **stackaddr,
124+ size_t *stacksize)
125+{
126+ /* XXX This function has a stupid definition. The standard specifies
127+ no error value but what is if no stack address was set? We simply
128+ return the value we have in the member. */
129+#ifndef _STACK_GROWS_UP
130+ *stackaddr = (char *) attr->__stackaddr - attr->__stacksize;
131+#else
132+ *stackaddr = attr->__stackaddr;
133+#endif
134+ *stacksize = attr->__stacksize;
135+ return 0;
136+}
137+weak_alias (__pthread_attr_getstack, pthread_attr_getstack)
diff --git a/main/uclibc/uclibc-0.9.30.1-resolv.patch b/main/uclibc/uclibc-0.9.30.1-resolv.patch
deleted file mode 100644
index 55b7d991e1..0000000000
--- a/main/uclibc/uclibc-0.9.30.1-resolv.patch
+++ /dev/null
@@ -1,13 +0,0 @@
1diff -ru uClibc-0.9.30.1.orig/libc/inet/resolv.c uClibc-0.9.30.1/libc/inet/resolv.c
2--- uClibc-0.9.30.1.orig/libc/inet/resolv.c 2009-03-10 15:32:14.000000000 +0000
3+++ uClibc-0.9.30.1/libc/inet/resolv.c 2009-03-10 15:39:20.000000000 +0000
4@@ -1331,7 +1331,8 @@
5 i = __dns_lookup(dname, type, __nameserversXX, __nameserverXX, &packet, &a);
6
7 if (i < 0) {
8- h_errno = TRY_AGAIN;
9+ if (!h_errno) /* TODO: can this ever happen? */
10+ h_errno = TRY_AGAIN;
11 return -1;
12 }
13
diff --git a/main/uclibc/uclibc-fork-hidden.diff b/main/uclibc/uclibc-fork-hidden.diff
deleted file mode 100644
index 2a0543380e..0000000000
--- a/main/uclibc/uclibc-fork-hidden.diff
+++ /dev/null
@@ -1,115 +0,0 @@
1Index: uClibc-0.9.30.1/libc/misc/wordexp/wordexp.c
2===================================================================
3--- uClibc-0.9.30.1.orig/libc/misc/wordexp/wordexp.c 2009-08-03 16:13:20.000000000 +0300
4+++ uClibc-0.9.30.1/libc/misc/wordexp/wordexp.c 2009-08-03 16:14:23.000000000 +0300
5@@ -56,7 +56,7 @@
6 libc_hidden_proto(atoi)
7 libc_hidden_proto(fnmatch)
8 libc_hidden_proto(pipe)
9-libc_hidden_proto(fork)
10+//libc_hidden_proto(fork)
11 libc_hidden_proto(open)
12 libc_hidden_proto(close)
13 libc_hidden_proto(read)
14Index: uClibc-0.9.30.1/libc/stdio/popen.c
15===================================================================
16--- uClibc-0.9.30.1.orig/libc/stdio/popen.c 2009-08-03 16:13:20.000000000 +0300
17+++ uClibc-0.9.30.1/libc/stdio/popen.c 2009-08-03 16:14:23.000000000 +0300
18@@ -42,7 +42,7 @@
19 # define vfork fork
20 # define VFORK_LOCK ((void) 0)
21 # define VFORK_UNLOCK ((void) 0)
22-libc_hidden_proto(fork)
23+//libc_hidden_proto(fork)
24 #endif
25
26 #ifndef VFORK_LOCK
27Index: uClibc-0.9.30.1/libc/stdlib/system.c
28===================================================================
29--- uClibc-0.9.30.1.orig/libc/stdlib/system.c 2009-08-03 16:13:20.000000000 +0300
30+++ uClibc-0.9.30.1/libc/stdlib/system.c 2009-08-03 16:14:23.000000000 +0300
31@@ -21,7 +21,7 @@
32 #include <sys/syscall.h>
33 #ifndef __NR_vfork
34 # define vfork fork
35-libc_hidden_proto(fork)
36+//libc_hidden_proto(fork)
37 #endif
38
39 extern __typeof(system) __libc_system;
40Index: uClibc-0.9.30.1/libc/stdlib/unix_grantpt.c
41===================================================================
42--- uClibc-0.9.30.1.orig/libc/stdlib/unix_grantpt.c 2009-08-03 16:13:21.000000000 +0300
43+++ uClibc-0.9.30.1/libc/stdlib/unix_grantpt.c 2009-08-03 16:14:23.000000000 +0300
44@@ -39,7 +39,7 @@
45 libc_hidden_proto(chmod)
46 libc_hidden_proto(chown)
47 libc_hidden_proto(vfork)
48-libc_hidden_proto(fork)
49+//libc_hidden_proto(fork)
50 libc_hidden_proto(stat)
51 libc_hidden_proto(ptsname_r)
52 libc_hidden_proto(execle)
53Index: uClibc-0.9.30.1/libc/sysdeps/linux/common/fork.c
54===================================================================
55--- uClibc-0.9.30.1.orig/libc/sysdeps/linux/common/fork.c 2009-08-03 16:10:51.000000000 +0300
56+++ uClibc-0.9.30.1/libc/sysdeps/linux/common/fork.c 2009-08-03 16:14:23.000000000 +0300
57@@ -16,9 +16,9 @@
58 extern __typeof(fork) __libc_fork;
59 #define __NR___libc_fork __NR_fork
60 _syscall0(pid_t, __libc_fork)
61-libc_hidden_proto(fork)
62+////libc_hidden_proto(fork)
63 weak_alias(__libc_fork,fork)
64-libc_hidden_weak(fork)
65+//libc_hidden_weak(fork)
66 #endif
67
68 #elif defined __UCLIBC_HAS_STUBS__
69@@ -28,7 +28,7 @@
70 __set_errno(ENOSYS);
71 return -1;
72 }
73-libc_hidden_proto(fork)
74+////libc_hidden_proto(fork)
75 weak_alias(__libc_fork,fork)
76 libc_hidden_weak(fork)
77 link_warning(fork, "fork: this function is not implemented on no-mmu systems")
78Index: uClibc-0.9.30.1/libc/sysdeps/linux/common/vfork.c
79===================================================================
80--- uClibc-0.9.30.1.orig/libc/sysdeps/linux/common/vfork.c 2009-08-03 16:13:20.000000000 +0300
81+++ uClibc-0.9.30.1/libc/sysdeps/linux/common/vfork.c 2009-08-03 16:14:23.000000000 +0300
82@@ -12,7 +12,7 @@
83 #ifdef __ARCH_USE_MMU__
84
85 #ifdef __NR_fork
86-libc_hidden_proto(fork)
87+//libc_hidden_proto(fork)
88
89 extern __typeof(vfork) __vfork attribute_hidden;
90 pid_t __vfork(void)
91Index: uClibc-0.9.30.1/libc/sysdeps/linux/cris/fork.c
92===================================================================
93--- uClibc-0.9.30.1.orig/libc/sysdeps/linux/cris/fork.c 2009-08-03 16:13:20.000000000 +0300
94+++ uClibc-0.9.30.1/libc/sysdeps/linux/cris/fork.c 2009-08-03 16:14:23.000000000 +0300
95@@ -14,6 +14,6 @@
96 R0&-1==R0, and the child gets R0&0==0. */
97 /* i dunno what the blurb above is useful for. we just return. */
98 __asm__("ret\n\tnop");
99-libc_hidden_proto(fork)
100+//libc_hidden_proto(fork)
101 weak_alias(__libc_fork,fork)
102 libc_hidden_weak(fork)
103Index: uClibc-0.9.30.1/libc/unistd/daemon.c
104===================================================================
105--- uClibc-0.9.30.1.orig/libc/unistd/daemon.c 2009-08-03 16:13:21.000000000 +0300
106+++ uClibc-0.9.30.1/libc/unistd/daemon.c 2009-08-03 16:14:23.000000000 +0300
107@@ -54,7 +54,7 @@
108 libc_hidden_proto(dup2)
109 libc_hidden_proto(setsid)
110 libc_hidden_proto(chdir)
111-libc_hidden_proto(fork)
112+//libc_hidden_proto(fork)
113
114 int daemon( int nochdir, int noclose )
115 {
diff --git a/main/uclibc/uclibc-fork-hook.diff b/main/uclibc/uclibc-fork-hook.diff
deleted file mode 100644
index 0126918836..0000000000
--- a/main/uclibc/uclibc-fork-hook.diff
+++ /dev/null
@@ -1,36 +0,0 @@
1diff --git a/libpthread/linuxthreads/sysdeps/unix/sysv/linux/fork.c b/libpthread/linuxthreads/sysdeps/unix/sysv/linux/fork.c
2index e15b99b..70c750d 100644
3--- a/libpthread/linuxthreads/sysdeps/unix/sysv/linux/fork.c
4+++ b/libpthread/linuxthreads/sysdeps/unix/sysv/linux/fork.c
5@@ -20,6 +20,7 @@
6 #include <errno.h>
7 #include <fork.h>
8 #include <bits/libc-lock.h>
9+#include <internals.h>
10
11 struct fork_block __fork_block =
12 {
13@@ -28,3 +29,12 @@ struct fork_block __fork_block =
14 .parent_list = { &__fork_block.parent_list, &__fork_block.parent_list },
15 .child_list = { &__fork_block.child_list, &__fork_block.child_list }
16 };
17+
18+pid_t
19+__libc_fork (void)
20+{
21+ return __libc_maybe_call2 (pthread_fork, (&__fork_block), ARCH_FORK ());
22+}
23+weak_alias (__libc_fork, __fork)
24+libc_hidden_def (__fork)
25+weak_alias (__libc_fork, fork)
26diff --git a/libpthread/linuxthreads/sysdeps/unix/sysv/linux/fork.h b/libpthread/linuxthreads/sysdeps/unix/sysv/linux/fork.h
27index 85477eb..1e7379e 100644
28--- a/libpthread/linuxthreads/sysdeps/unix/sysv/linux/fork.h
29+++ b/libpthread/linuxthreads/sysdeps/unix/sysv/linux/fork.h
30@@ -54,5 +54,5 @@ extern int __register_atfork (void (*__prepare) (void),
31 void *dso_handle);
32
33 #ifndef ARCH_FORK
34-# define ARCH_FORK() __libc_fork()
35+# define ARCH_FORK() INLINE_SYSCALL (fork, 0)
36 #endif
diff --git a/main/uclibc/uclibc-i386-floating-stacks.diff b/main/uclibc/uclibc-i386-floating-stacks.diff
deleted file mode 100644
index 0ec05799aa..0000000000
--- a/main/uclibc/uclibc-i386-floating-stacks.diff
+++ /dev/null
@@ -1,23 +0,0 @@
1--- uClibc-0.9.30.1/libpthread/linuxthreads/sysdeps/i386/pt-machine.h Thu Sep 25 13:55:14 2008
2+++ /root/uClibc-0.9.30.1-patched/libpthread/linuxthreads/sysdeps/i386/pt-machine.h Wed Jun 24 13:13:31 2009
3@@ -113,6 +113,8 @@
4 }
5 #endif /* __ASSEMBLER__ */
6
7+#include "./useldt.h"
8+
9 #endif /* pt-machine.h */
10
11 #endif
12--- uClibc-0.9.30.1/libpthread/linuxthreads/sysdeps/i386/useldt.h Tue May 15 00:35:00 2007
13+++ /root/uClibc-0.9.30.1-patched/libpthread/linuxthreads/sysdeps/i386/useldt.h Wed Jun 24 13:22:38 2009
14@@ -23,7 +23,8 @@
15 #include <stddef.h> /* For offsetof. */
16 #include <stdlib.h> /* For abort(). */
17 #include <sysdep.h>
18-
19+#include <sys/syscall.h>
20+#include <bits/kernel-features.h>
21
22 /* We don't want to include the kernel header. So duplicate the
23 information. */
diff --git a/main/uclibc/uclibc-linuxthreads-init-stdio.patch b/main/uclibc/uclibc-linuxthreads-init-stdio.patch
deleted file mode 100644
index aa5ef64600..0000000000
--- a/main/uclibc/uclibc-linuxthreads-init-stdio.patch
+++ /dev/null
@@ -1,21 +0,0 @@
1diff --git a/libpthread/linuxthreads/pthread.c b/libpthread/linuxthreads/pthread.c
2index 6ae9a10..151e039 100644
3--- a/libpthread/linuxthreads/pthread.c
4+++ b/libpthread/linuxthreads/pthread.c
5@@ -409,6 +409,16 @@ cannot allocate TLS data structures for initial thread\n";
6 #endif
7
8 __libc_multiple_threads_ptr = __libc_pthread_init (ptr_pthread_functions);
9+ /* uClibc-specific stdio initialization for threads. */
10+ {
11+ FILE *fp;
12+ _stdio_user_locking = 0; /* 2 if threading not initialized */
13+ for (fp = _stdio_openlist; fp != NULL; fp = fp->__nextopen) {
14+ if (fp->__user_locking != 1) {
15+ fp->__user_locking = 0;
16+ }
17+ }
18+ }
19 }
20
21
diff --git a/main/uclibc/uclibc-resolv-cname-fix.diff b/main/uclibc/uclibc-resolv-cname-fix.diff
deleted file mode 100644
index 041e150f35..0000000000
--- a/main/uclibc/uclibc-resolv-cname-fix.diff
+++ /dev/null
@@ -1,16 +0,0 @@
1--- a/libc/inet/resolv.c.orig 2009-06-18 09:38:26.000000000 +0300
2+++ b/libc/inet/resolv.c 2009-06-18 09:38:32.000000000 +0300
3@@ -1337,10 +1337,9 @@ int res_query(const char *dname, int cla
4
5 free(a.dotted);
6
7- if (a.atype == type) { /* CNAME */
8- i = MIN(anslen, i);
9- memcpy(answer, packet, i);
10- }
11+ i = MIN(anslen, i);
12+ memcpy(answer, packet, i);
13+
14 free(packet);
15 return i;
16 }
diff --git a/main/uiconv/APKBUILD b/main/uiconv/APKBUILD
index a05aaa19d6..ec563413de 100644
--- a/main/uiconv/APKBUILD
+++ b/main/uiconv/APKBUILD
@@ -5,7 +5,7 @@ pkgrel=0
5pkgdesc="Micro iconv implementation" 5pkgdesc="Micro iconv implementation"
6url="http://git.alpinelinux.org/cgit/uiconv" 6url="http://git.alpinelinux.org/cgit/uiconv"
7license="GPL" 7license="GPL"
8depends="uclibc" 8depends=""
9source="http://git.alpinelinux.org/cgit/$pkgname/snapshots/$pkgname-$pkgver.tar.bz2" 9source="http://git.alpinelinux.org/cgit/$pkgname/snapshots/$pkgname-$pkgver.tar.bz2"
10 10
11build() { 11build() {
diff --git a/main/unarj/APKBUILD b/main/unarj/APKBUILD
index b2e0c72607..f40c7577d7 100644
--- a/main/unarj/APKBUILD
+++ b/main/unarj/APKBUILD
@@ -1,12 +1,12 @@
1# Maintainer: Leonardo Arena <rnalrd@gmail.com> 1# Maintainer: Leonardo Arena <rnalrd@gmail.com>
2pkgname=unarj 2pkgname=unarj
3pkgver=2.63a 3pkgver=2.63a
4pkgrel=0 4pkgrel=1
5pkgdesc="Extracting, testing and viewing the contents of archives created with the ARJ archiver" 5pkgdesc="Extracting, testing and viewing the contents of archives created with the ARJ archiver"
6url="http://www.arjsoftware.com" 6url="http://www.arjsoftware.com"
7license="custom" 7license="custom"
8subpackages="" 8subpackages=""
9depends="uclibc" 9depends=""
10makedepends="" 10makedepends=""
11install= 11install=
12source="http://ibiblio.org/pub/Linux/utils/compress/$pkgname-$pkgver.tar.gz" 12source="http://ibiblio.org/pub/Linux/utils/compress/$pkgname-$pkgver.tar.gz"
diff --git a/main/unfs3/APKBUILD b/main/unfs3/APKBUILD
index 28de301571..7895d99ec2 100644
--- a/main/unfs3/APKBUILD
+++ b/main/unfs3/APKBUILD
@@ -1,11 +1,11 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=unfs3 2pkgname=unfs3
3pkgver=0.9.22 3pkgver=0.9.22
4pkgrel=0 4pkgrel=1
5pkgdesc="a user-space implementation of the NFSv3 server specification" 5pkgdesc="a user-space implementation of the NFSv3 server specification"
6url="http://unfs3.sourceforge.net/" 6url="http://unfs3.sourceforge.net/"
7license='GPL' 7license='GPL'
8depends="uclibc" 8depends=""
9makedepends="flex" 9makedepends="flex"
10source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz" 10source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
11subpackages="$pkgname-doc" 11subpackages="$pkgname-doc"
diff --git a/main/unixodbc/APKBUILD b/main/unixodbc/APKBUILD
index e0ed27c971..48d2efe936 100644
--- a/main/unixodbc/APKBUILD
+++ b/main/unixodbc/APKBUILD
@@ -1,18 +1,20 @@
1# Contributor: Carlo Landmeter <clandmeter@gmail.com> 1# Contributor: Carlo Landmeter <clandmeter@gmail.com>
2# Maintainer: Carlo Landmeter <clandmeter@gmail.com> 2# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
3pkgname=unixodbc 3pkgname=unixodbc
4pkgver=2.2.14 4pkgver=2.3.0
5pkgrel=1 5pkgrel=0
6pkgdesc="ODBC is an open specification to access Data Sources" 6pkgdesc="ODBC is an open specification to access Data Sources"
7url="http://www.unixodbc.org/" 7url="http://www.unixodbc.org/"
8license="GPL2" 8license="GPL2"
9depends="readline" 9depends=
10makedepends="readline-dev" 10makedepends="readline-dev"
11subpackages="$pkgname-dev" 11subpackages="$pkgname-dev"
12source="http://www.unixodbc.org/unixODBC-${pkgver}.tar.gz" 12source="http://www.unixodbc.org/unixODBC-${pkgver}.tar.gz"
13 13
14_builddir="$srcdir/unixODBC-$pkgver"
15
14build() { 16build() {
15 cd "$srcdir/unixODBC-$pkgver" 17 cd "$_builddir"
16 18
17 ./configure --prefix=/usr \ 19 ./configure --prefix=/usr \
18 --sysconfdir=/etc \ 20 --sysconfdir=/etc \
@@ -24,9 +26,9 @@ build() {
24} 26}
25 27
26package() { 28package() {
27 cd "$srcdir/unixODBC-$pkgver" 29 cd "$_builddir"
28 make -j1 DESTDIR="$pkgdir" install 30 make -j1 DESTDIR="$pkgdir" install
29 31
30} 32}
31 33
32md5sums="f47c2efb28618ecf5f33319140a7acd0 unixODBC-2.2.14.tar.gz" 34md5sums="f2ad22cbdffe836c58987ed2332c2e99 unixODBC-2.3.0.tar.gz"
diff --git a/main/unrar/APKBUILD b/main/unrar/APKBUILD
index 1f5989d9a4..6c48217db6 100644
--- a/main/unrar/APKBUILD
+++ b/main/unrar/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 2# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
3pkgname=unrar 3pkgname=unrar
4pkgver=3.9.10 4pkgver=3.9.10
5pkgrel=0 5pkgrel=1
6pkgdesc="The RAR uncompression program" 6pkgdesc="The RAR uncompression program"
7url="http://www.rarlab.com" 7url="http://www.rarlab.com"
8license="GPL" 8license="GPL"
diff --git a/main/usbutils/APKBUILD b/main/usbutils/APKBUILD
index f3ff638fe2..a6f579b969 100644
--- a/main/usbutils/APKBUILD
+++ b/main/usbutils/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=usbutils 2pkgname=usbutils
3pkgver=0.87 3pkgver=0.87
4pkgrel=0 4pkgrel=1
5pkgdesc="USB Device Utilities" 5pkgdesc="USB Device Utilities"
6url="http://linux-usb.sourceforge.net/" 6url="http://linux-usb.sourceforge.net/"
7license="GPL" 7license="GPL"
diff --git a/main/util-linux-ng/APKBUILD b/main/util-linux-ng/APKBUILD
index 9fe1aa292b..604d924432 100644
--- a/main/util-linux-ng/APKBUILD
+++ b/main/util-linux-ng/APKBUILD
@@ -1,7 +1,7 @@
1# Contributor: Leonardo Arena <rnalrd@gmail.com> 1# Contributor: Leonardo Arena <rnalrd@gmail.com>
2# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 2# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
3pkgname=util-linux-ng 3pkgname=util-linux-ng
4pkgver=2.17.1 4pkgver=2.17.2
5pkgrel=0 5pkgrel=0
6pkgdesc="Random collection of Linux utilities" 6pkgdesc="Random collection of Linux utilities"
7arch="" 7arch=""
@@ -74,4 +74,4 @@ cfdisk() {
74 mv "$pkgdir"/sbin/cfdisk "$subpkgdir"/sbin/ 74 mv "$pkgdir"/sbin/cfdisk "$subpkgdir"/sbin/
75} 75}
76 76
77md5sums="3dbf64e961ec00441677855ae1b2e569 util-linux-ng-2.17.1.tar.gz" 77md5sums="4c810430e86d53b6ea5e7ae279b39186 util-linux-ng-2.17.2.tar.gz"
diff --git a/main/util-vserver/APKBUILD b/main/util-vserver/APKBUILD
index 5d77bca77f..8e2a53076b 100644
--- a/main/util-vserver/APKBUILD
+++ b/main/util-vserver/APKBUILD
@@ -2,7 +2,7 @@
2pkgname=util-vserver 2pkgname=util-vserver
3pkgver=0.30.216_pre2882 3pkgver=0.30.216_pre2882
4_realver=0.30.216-pre2882 4_realver=0.30.216-pre2882
5pkgrel=7 5pkgrel=8
6pkgdesc="Linux-VServer admin utilities" 6pkgdesc="Linux-VServer admin utilities"
7url="http://www.nongnu.org/util-vserver/" 7url="http://www.nongnu.org/util-vserver/"
8license="GPL" 8license="GPL"
diff --git a/main/uvncrepeater/APKBUILD b/main/uvncrepeater/APKBUILD
index d4464fe11a..c4fa4d052d 100644
--- a/main/uvncrepeater/APKBUILD
+++ b/main/uvncrepeater/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: 2# Maintainer:
3pkgname=uvncrepeater 3pkgname=uvncrepeater
4pkgver=014 4pkgver=014
5pkgrel=1 5pkgrel=2
6pkgdesc="VNC repeater based on ultravnc repeater" 6pkgdesc="VNC repeater based on ultravnc repeater"
7url="http://koti.mbnet.fi/jtko/" 7url="http://koti.mbnet.fi/jtko/"
8license="GPL-2" 8license="GPL-2"
diff --git a/main/v86d/APKBUILD b/main/v86d/APKBUILD
index 8bcdcf6181..95f726999f 100644
--- a/main/v86d/APKBUILD
+++ b/main/v86d/APKBUILD
@@ -1,10 +1,11 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=v86d 2pkgname=v86d
3pkgver=0.1.9 3pkgver=0.1.9
4pkgrel=1
4pkgdesc="userspace helper for uvesafb that runs x86 code in an emulated environment" 5pkgdesc="userspace helper for uvesafb that runs x86 code in an emulated environment"
5url="http://dev.gentoo.org/~spock/projects/uvesafb/" 6url="http://dev.gentoo.org/~spock/projects/uvesafb/"
6license="GPL2" 7license="GPL2"
7depends="uclibc" 8depends=""
8makedepends="bash" 9makedepends="bash"
9source="http://dev.gentoo.org/~spock/projects/uvesafb/archive/$pkgname-$pkgver.tar.bz2 10source="http://dev.gentoo.org/~spock/projects/uvesafb/archive/$pkgname-$pkgver.tar.bz2
10 modprobe.uvesafb" 11 modprobe.uvesafb"
@@ -14,6 +15,10 @@ build ()
14 cd "$srcdir"/v86d-$pkgver 15 cd "$srcdir"/v86d-$pkgver
15 ./configure --with-x86emu 16 ./configure --with-x86emu
16 make || return 1 17 make || return 1
18}
19
20package() {
21 cd "$srcdir"/v86d-$pkgver
17 make DESTDIR="$pkgdir" install || return 1 22 make DESTDIR="$pkgdir" install || return 1
18 install -D -m644 "$srcdir"/modprobe.uvesafb "$pkgdir"/etc/modprobe.d/uvesafb || return 1 23 install -D -m644 "$srcdir"/modprobe.uvesafb "$pkgdir"/etc/modprobe.d/uvesafb || return 1
19} 24}
diff --git a/main/vala/APKBUILD b/main/vala/APKBUILD
index 4ace140d1d..5501fbb4a1 100644
--- a/main/vala/APKBUILD
+++ b/main/vala/APKBUILD
@@ -1,6 +1,6 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=vala 2pkgname=vala
3pkgver=0.8.0 3pkgver=0.8.1
4pkgrel=0 4pkgrel=0
5pkgdesc="Compiler for the GObject type system" 5pkgdesc="Compiler for the GObject type system"
6url="http://live.gnome.org/Vala" 6url="http://live.gnome.org/Vala"
@@ -23,4 +23,4 @@ package() {
23 make DESTDIR="$pkgdir" install || return 1 23 make DESTDIR="$pkgdir" install || return 1
24} 24}
25 25
26md5sums="177662b0cf1977dcea6707292685647e vala-0.8.0.tar.gz" 26md5sums="9e3703950a84d2e57a6aa9354034705b vala-0.8.1.tar.gz"
diff --git a/main/valgrind/APKBUILD b/main/valgrind/APKBUILD
index dcba298373..0465ac4a27 100644
--- a/main/valgrind/APKBUILD
+++ b/main/valgrind/APKBUILD
@@ -1,11 +1,11 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=valgrind 2pkgname=valgrind
3pkgver=3.4.1 3pkgver=3.5.0
4pkgrel=1 4pkgrel=0
5pkgdesc="A tool to help find memory-management problems in programs" 5pkgdesc="A tool to help find memory-management problems in programs"
6url="http://valgrind.org/" 6url="http://valgrind.org/"
7license="GPL" 7license="GPL"
8depends="uclibc" 8depends=""
9# it seems like busybox sed works but the configure script requires GNU sed 9# it seems like busybox sed works but the configure script requires GNU sed
10makedepends="sed paxctl pax-utils" 10makedepends="sed paxctl pax-utils"
11# from README_PACKAGERS: 11# from README_PACKAGERS:
@@ -16,26 +16,29 @@ makedepends="sed paxctl pax-utils"
16options="!strip" 16options="!strip"
17subpackages="$pkgname-dev $pkgname-doc" 17subpackages="$pkgname-dev $pkgname-doc"
18source="http://$pkgname.org/downloads/$pkgname-$pkgver.tar.bz2 18source="http://$pkgname.org/downloads/$pkgname-$pkgver.tar.bz2
19 $pkgname-3.4.0-uclibc.patch
20 " 19 "
21 20
22build() { 21_builddir="$srcdir"/$pkgname-$pkgver
22prepare() {
23 cd "$_builddir"
23 local i 24 local i
24 cd "$srcdir/$pkgname-$pkgver" 25 for i in "$srcdir"/*.patch; do
25 for i in ../*.patch; do 26 [ -f "$i" ] || continue
26 msg "Applying $i" 27 msg "Applying $i"
27 patch -p1 < $i || return 1 28 patch -p1 < $i || return 1
28 done 29 done
30}
29 31
30 # make sure our CFLAGS are respected 32build() {
31 sed -e 's:^CFLAGS="-Wno-long-long":CFLAGS="$CFLAGS -Wno-long-long -fno-stack-protector":' \ 33 cd "$_builddir"
32 -i configure.in
33
34 ./configure --prefix=/usr \ 34 ./configure --prefix=/usr \
35 --without-mpicc \ 35 --without-mpicc \
36 --mandir=/usr/share/man || return 1 36 --mandir=/usr/share/man || return 1
37
38 make || return 1 37 make || return 1
38}
39
40package() {
41 cd "$_builddir"
39 make DESTDIR="$pkgdir" install || return 1 42 make DESTDIR="$pkgdir" install || return 1
40 43
41 # we have options=!strip above so we strip the /usr/bin/* manually 44 # we have options=!strip above so we strip the /usr/bin/* manually
@@ -46,10 +49,9 @@ build() {
46 49
47 # pax causes some issues 50 # pax causes some issues
48 # http://marc.info/?l=gentoo-hardened&m=119512627126298&w=2 51 # http://marc.info/?l=gentoo-hardened&m=119512627126298&w=2
49 scanelf "$pkgdir"/usr/lib/valgrind/x86-linux \ 52# scanelf "$pkgdir"/usr/lib/valgrind/x86-linux \
50 | awk '$1 == "ET_EXEC" {print $2}' | xargs paxctl -c -m 53# | awk '$1 == "ET_EXEC" {print $2}' | xargs paxctl -c -m
51 54
52} 55}
53 56
54md5sums="b5f039dd2271aaf9ae570ab4116f87c7 valgrind-3.4.1.tar.bz2 57md5sums="f03522a4687cf76c676c9494fcc0a517 valgrind-3.5.0.tar.bz2"
5537bc90d0783bc0f8ba5754c8407e3dcc valgrind-3.4.0-uclibc.patch"
diff --git a/main/vim/APKBUILD b/main/vim/APKBUILD
index e0cc6c1c7e..4ab3972f18 100644
--- a/main/vim/APKBUILD
+++ b/main/vim/APKBUILD
@@ -2,7 +2,7 @@
2pkgname=vim 2pkgname=vim
3_srcver=7.2 3_srcver=7.2
4_patchver=394 4_patchver=394
5pkgver=7.2.394 5pkgver=7.2.411
6pkgrel=0 6pkgrel=0
7pkgdesc="advanced text editor" 7pkgdesc="advanced text editor"
8url="http://www.vim.org" 8url="http://www.vim.org"
diff --git a/main/vsftpd/APKBUILD b/main/vsftpd/APKBUILD
index f53933cd42..a7b78362db 100644
--- a/main/vsftpd/APKBUILD
+++ b/main/vsftpd/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 2# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
3pkgname=vsftpd 3pkgname=vsftpd
4pkgver=2.2.2 4pkgver=2.2.2
5pkgrel=0 5pkgrel=2
6pkgdesc="Very secure ftpd" 6pkgdesc="Very secure ftpd"
7url="http://vsftpd.beasts.org" 7url="http://vsftpd.beasts.org"
8license="GPL" 8license="GPL"
diff --git a/main/vte/APKBUILD b/main/vte/APKBUILD
index 71620ed79b..9de94bbd4a 100644
--- a/main/vte/APKBUILD
+++ b/main/vte/APKBUILD
@@ -1,6 +1,6 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=vte 2pkgname=vte
3pkgver=0.24.0 3pkgver=0.24.1
4pkgrel=0 4pkgrel=0
5pkgdesc="Virtual Terminal Emulator library" 5pkgdesc="Virtual Terminal Emulator library"
6url="http://www.gnome.org" 6url="http://www.gnome.org"
@@ -26,4 +26,4 @@ package() {
26 cd "$srcdir"/$pkgname-$pkgver 26 cd "$srcdir"/$pkgname-$pkgver
27 make DESTDIR="$pkgdir" install || return 1 27 make DESTDIR="$pkgdir" install || return 1
28} 28}
29md5sums="c381f6019448a6e84470ec0acfd78c63 vte-0.24.0.tar.bz2" 29md5sums="3b66116e930dde00e1ddbf8277066ea7 vte-0.24.1.tar.bz2"
diff --git a/main/webkit/APKBUILD b/main/webkit/APKBUILD
index e7df9315c6..cde6457396 100644
--- a/main/webkit/APKBUILD
+++ b/main/webkit/APKBUILD
@@ -1,6 +1,6 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=webkit 2pkgname=webkit
3pkgver=1.2.0 3pkgver=1.2.1
4pkgrel=0 4pkgrel=0
5pkgdesc="portable web rendering engine WebKit for GTK+" 5pkgdesc="portable web rendering engine WebKit for GTK+"
6url="http://webkitgtk.org/" 6url="http://webkitgtk.org/"
@@ -42,4 +42,4 @@ gtklauncher() {
42 "$subpkgdir"/usr/bin/GtkLauncher 42 "$subpkgdir"/usr/bin/GtkLauncher
43} 43}
44 44
45md5sums="b2bfcbc4bbf1d0a51f848cb54c21ee66 webkit-1.2.0.tar.gz" 45md5sums="eb6f473d8d7be56ecd226e7dd55dcb9b webkit-1.2.1.tar.gz"
diff --git a/main/wget/APKBUILD b/main/wget/APKBUILD
index 8f377ecbab..55285c1fe3 100644
--- a/main/wget/APKBUILD
+++ b/main/wget/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Carlo Landmeter <clandmeter at gmail> 2# Maintainer: Carlo Landmeter <clandmeter at gmail>
3pkgname=wget 3pkgname=wget
4pkgver=1.12 4pkgver=1.12
5pkgrel=0 5pkgrel=2
6pkgdesc="A network utility to retrieve files from the Web" 6pkgdesc="A network utility to retrieve files from the Web"
7url="http://www.gnu.org/software/wget/wget.html" 7url="http://www.gnu.org/software/wget/wget.html"
8license="GPL3" 8license="GPL3"
diff --git a/testing/wine/APKBUILD b/main/wine/APKBUILD
index 35ae36341e..99e4a5bd0d 100644
--- a/testing/wine/APKBUILD
+++ b/main/wine/APKBUILD
@@ -1,6 +1,6 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=wine 2pkgname=wine
3pkgver=1.1.38 3pkgver=1.1.44
4pkgrel=0 4pkgrel=0
5pkgdesc="A compatibility layer for running Windows programs" 5pkgdesc="A compatibility layer for running Windows programs"
6url="http://www.winehq.com" 6url="http://www.winehq.com"
@@ -11,12 +11,12 @@ makedepends="fontconfig-dev openldap-dev libxslt-dev libxxf86dga-dev
11 libpng-dev jpeg-dev freetype-dev" 11 libpng-dev jpeg-dev freetype-dev"
12# lcms 12# lcms
13source="http://ibiblio.org/pub/linux/system/emulators/$pkgname/$pkgname-$pkgver.tar.bz2 13source="http://ibiblio.org/pub/linux/system/emulators/$pkgname/$pkgname-$pkgver.tar.bz2
14 libpng14.patch" 14 dn_skipname.patch"
15 15
16_builddir="$srcdir"/$pkgname-$pkgver 16_builddir="$srcdir"/$pkgname-$pkgver
17prepare() { 17prepare() {
18 cd "$_builddir" 18 cd "$_builddir"
19 patch -p1 -i "$srcdir"/libpng14.patch 19 patch -p1 -i "$srcdir"/dn_skipname.patch || return 1
20} 20}
21 21
22build() { 22build() {
@@ -32,5 +32,5 @@ package() {
32 make prefix="$pkgdir"/usr install || return 1 32 make prefix="$pkgdir"/usr install || return 1
33 mkdir -p "$pkgdir"/etc/wine 33 mkdir -p "$pkgdir"/etc/wine
34} 34}
35md5sums="ef5947bcb9667b75b8de4a2ce16d0ec2 wine-1.1.38.tar.bz2 35md5sums="f18649bd71b9099fecad22436d239cba wine-1.1.44.tar.bz2
3651f78b18168d5abd78411e9e66458d55 libpng14.patch" 366ebeaa64eddf97be3267db236ce84b71 dn_skipname.patch"
diff --git a/main/wine/dn_skipname.patch b/main/wine/dn_skipname.patch
new file mode 100644
index 0000000000..99ecf83158
--- /dev/null
+++ b/main/wine/dn_skipname.patch
@@ -0,0 +1,38 @@
1--- ./dlls/dnsapi/ns_parse.c.orig
2+++ ./dlls/dnsapi/ns_parse.c
3@@ -69,6 +69,35 @@
4 } while (0)
5
6 /* Public. */
7+#ifdef __UCLIBC__
8+int
9+dn_skipname(const u_char *comp_dn, const u_char *eom)
10+{
11+ const u_char *cp;
12+ int n;
13+
14+ cp = comp_dn;
15+ while (cp < eom && (n = *cp++)) {
16+ /*
17+ * check for indirection
18+ */
19+ switch (n & INDIR_MASK) {
20+ case 0: /* normal case, n == len */
21+ cp += n;
22+ continue;
23+ case INDIR_MASK: /* indirection */
24+ cp++;
25+ break;
26+ default: /* illegal type */
27+ return (-1);
28+ }
29+ break;
30+ }
31+ if (cp > eom)
32+ return (-1);
33+ return (cp - comp_dn);
34+}
35+#endif
36
37 static int
38 dns_ns_skiprr(const u_char *ptr, const u_char *eom, ns_sect section, int count) {
diff --git a/main/wireless-tools/APKBUILD b/main/wireless-tools/APKBUILD
index b4c726bd0f..33c0c9273c 100644
--- a/main/wireless-tools/APKBUILD
+++ b/main/wireless-tools/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: 2# Maintainer:
3pkgname=wireless-tools 3pkgname=wireless-tools
4pkgver=29 4pkgver=29
5pkgrel=1 5pkgrel=2
6pkgdesc="Open Source wireless tools" 6pkgdesc="Open Source wireless tools"
7url="http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html" 7url="http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html"
8license="GPL" 8license="GPL"
diff --git a/main/wireshark/APKBUILD b/main/wireshark/APKBUILD
index 8cd7aa0f6f..bd315fa3b8 100644
--- a/main/wireshark/APKBUILD
+++ b/main/wireshark/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Jeremy Thomerson <jeremy@thomersonfamily.com> 2# Maintainer: Jeremy Thomerson <jeremy@thomersonfamily.com>
3pkgname=wireshark 3pkgname=wireshark
4pkgver=1.2.6 4pkgver=1.2.6
5pkgrel=0 5pkgrel=2
6pkgdesc="network protocol analyzer - GTK version" 6pkgdesc="network protocol analyzer - GTK version"
7url="http://www.wireshark.org" 7url="http://www.wireshark.org"
8license="GPLv2" 8license="GPLv2"
diff --git a/main/wpa_supplicant/APKBUILD b/main/wpa_supplicant/APKBUILD
index bdcbd9bff1..3474daa147 100644
--- a/main/wpa_supplicant/APKBUILD
+++ b/main/wpa_supplicant/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=wpa_supplicant 2pkgname=wpa_supplicant
3pkgver=0.7.1 3pkgver=0.7.1
4pkgrel=0 4pkgrel=2
5pkgdesc="A utility providing key negotiation for WPA wireless networks" 5pkgdesc="A utility providing key negotiation for WPA wireless networks"
6url="http://hostap.epitest.fi/wpa_supplicant" 6url="http://hostap.epitest.fi/wpa_supplicant"
7license="GPL" 7license="GPL"
diff --git a/main/wv/APKBUILD b/main/wv/APKBUILD
index b3b48ff42c..ddaeaf07c1 100644
--- a/main/wv/APKBUILD
+++ b/main/wv/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=wv 2pkgname=wv
3pkgver=1.2.4 3pkgver=1.2.4
4pkgrel=1 4pkgrel=2
5pkgdesc="MSWord library can load and parse Word 2000, 97, 95 and 6 file formats" 5pkgdesc="MSWord library can load and parse Word 2000, 97, 95 and 6 file formats"
6url="http://sourceforge.net/projects/wvware" 6url="http://sourceforge.net/projects/wvware"
7license="GPL" 7license="GPL"
diff --git a/main/x264/APKBUILD b/main/x264/APKBUILD
index a26175f6bc..737ac4fe8f 100644
--- a/main/x264/APKBUILD
+++ b/main/x264/APKBUILD
@@ -1,6 +1,6 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=x264 2pkgname=x264
3pkgver=20100312 3pkgver=20100410
4pkgrel=0 4pkgrel=0
5pkgdesc="free library for encoding H264/AVC video streams" 5pkgdesc="free library for encoding H264/AVC video streams"
6url="http://www.videolan.org/developers/x264.html" 6url="http://www.videolan.org/developers/x264.html"
@@ -26,4 +26,4 @@ package() {
26 cd "$_builddir" 26 cd "$_builddir"
27 make DESTDIR="$pkgdir" bindir=/usr/bin libdir=/usr/lib includedir=/usr/include install || return 1 27 make DESTDIR="$pkgdir" bindir=/usr/bin libdir=/usr/lib includedir=/usr/include install || return 1
28} 28}
29md5sums="769d3755963bb95b66ea428efe1d6bc0 x264-snapshot-20100312-2245.tar.bz2" 29md5sums="13195a516eece721dc743b1dd787a02f x264-snapshot-20100410-2245.tar.bz2"
diff --git a/main/xarchiver/APKBUILD b/main/xarchiver/APKBUILD
index d114f14ca3..67081e5d19 100644
--- a/main/xarchiver/APKBUILD
+++ b/main/xarchiver/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xarchiver 2pkgname=xarchiver
3pkgver=0.5.2 3pkgver=0.5.2
4pkgrel=1 4pkgrel=2
5pkgdesc="GTK+ frontend to various command line archivers" 5pkgdesc="GTK+ frontend to various command line archivers"
6url="http://xarchiver.xfce.org/" 6url="http://xarchiver.xfce.org/"
7license="GPL" 7license="GPL"
diff --git a/main/xauth/APKBUILD b/main/xauth/APKBUILD
index 0c16b8701e..62366d9e46 100644
--- a/main/xauth/APKBUILD
+++ b/main/xauth/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xauth 2pkgname=xauth
3pkgver=1.0.4 3pkgver=1.0.4
4pkgrel=0 4pkgrel=1
5pkgdesc="X.Org authorization settings program" 5pkgdesc="X.Org authorization settings program"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/xbacklight/APKBUILD b/main/xbacklight/APKBUILD
index 6c0caaf056..1149915cb8 100644
--- a/main/xbacklight/APKBUILD
+++ b/main/xbacklight/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xbacklight 2pkgname=xbacklight
3pkgver=1.1 3pkgver=1.1
4pkgrel=1 4pkgrel=2
5pkgdesc="Sets backlight level using the RandR 1.2 BACKLIGHT output property" 5pkgdesc="Sets backlight level using the RandR 1.2 BACKLIGHT output property"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/xcb-util/APKBUILD b/main/xcb-util/APKBUILD
index 820a4e1fa5..a1812b5ef1 100644
--- a/main/xcb-util/APKBUILD
+++ b/main/xcb-util/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xcb-util 2pkgname=xcb-util
3pkgver=0.3.6 3pkgver=0.3.6
4pkgrel=0 4pkgrel=1
5pkgdesc="Utility libraries for XC Binding" 5pkgdesc="Utility libraries for XC Binding"
6url="http://xcb.freedesktop.org" 6url="http://xcb.freedesktop.org"
7license="GPL" 7license="GPL"
diff --git a/main/xchat/APKBUILD b/main/xchat/APKBUILD
index cb4bdbef65..9fe4bbe2c3 100644
--- a/main/xchat/APKBUILD
+++ b/main/xchat/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xchat 2pkgname=xchat
3pkgver=2.8.6 3pkgver=2.8.6
4pkgrel=2 4pkgrel=4
5pkgdesc="A GTK+ based IRC client" 5pkgdesc="A GTK+ based IRC client"
6url="http://www.xchat.org/" 6url="http://www.xchat.org/"
7license="GPL" 7license="GPL"
diff --git a/main/xcmsdb/APKBUILD b/main/xcmsdb/APKBUILD
index 778413b2ac..ecab4fb880 100644
--- a/main/xcmsdb/APKBUILD
+++ b/main/xcmsdb/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xcmsdb 2pkgname=xcmsdb
3pkgver=1.0.2 3pkgver=1.0.2
4pkgrel=0 4pkgrel=1
5pkgdesc="Device Color Characterization utility for X Color Management System" 5pkgdesc="Device Color Characterization utility for X Color Management System"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/xdelta3/APKBUILD b/main/xdelta3/APKBUILD
index 1ca20cae07..b2e2d281ed 100644
--- a/main/xdelta3/APKBUILD
+++ b/main/xdelta3/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xdelta3 2pkgname=xdelta3
3pkgver=3.0y 3pkgver=3.0y
4pkgrel=0 4pkgrel=1
5pkgdesc="A diff utility which works with binary files" 5pkgdesc="A diff utility which works with binary files"
6url="http://xdelta.org/" 6url="http://xdelta.org/"
7license="GPL" 7license="GPL"
diff --git a/main/xdpyinfo/APKBUILD b/main/xdpyinfo/APKBUILD
index 09f9affcc5..5342985a88 100644
--- a/main/xdpyinfo/APKBUILD
+++ b/main/xdpyinfo/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xdpyinfo 2pkgname=xdpyinfo
3pkgver=1.0.3 3pkgver=1.0.3
4pkgrel=0 4pkgrel=1
5pkgdesc="display information utility for X" 5pkgdesc="display information utility for X"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/xdriinfo/APKBUILD b/main/xdriinfo/APKBUILD
index ff9e76aa6c..c750906577 100644
--- a/main/xdriinfo/APKBUILD
+++ b/main/xdriinfo/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xdriinfo 2pkgname=xdriinfo
3pkgver=1.0.2 3pkgver=1.0.2
4pkgrel=0 4pkgrel=1
5pkgdesc="query configuration information of DRI drivers" 5pkgdesc="query configuration information of DRI drivers"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/xev/APKBUILD b/main/xev/APKBUILD
index c30c899aae..ed31bb1cd4 100644
--- a/main/xev/APKBUILD
+++ b/main/xev/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xev 2pkgname=xev
3pkgver=1.0.3 3pkgver=1.0.3
4pkgrel=0 4pkgrel=1
5pkgdesc="print contents of X events" 5pkgdesc="print contents of X events"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/xf86-input-evdev/APKBUILD b/main/xf86-input-evdev/APKBUILD
index c7461d3fca..d0946ebf70 100644
--- a/main/xf86-input-evdev/APKBUILD
+++ b/main/xf86-input-evdev/APKBUILD
@@ -1,6 +1,6 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xf86-input-evdev 2pkgname=xf86-input-evdev
3pkgver=2.3.2 3pkgver=2.4.0
4pkgrel=0 4pkgrel=0
5pkgdesc="X.org evdev input driver" 5pkgdesc="X.org evdev input driver"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
@@ -23,4 +23,4 @@ package() {
23 make DESTDIR="$pkgdir" install || return 1 23 make DESTDIR="$pkgdir" install || return 1
24 install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING 24 install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
25} 25}
26md5sums="b2bfe368022eedf2671ee28daba31efc xf86-input-evdev-2.3.2.tar.bz2" 26md5sums="1dbf4d57d99682ba466c7855ed555f19 xf86-input-evdev-2.4.0.tar.bz2"
diff --git a/main/xf86-input-keyboard/APKBUILD b/main/xf86-input-keyboard/APKBUILD
index 4c5fc14f79..5315b173ae 100644
--- a/main/xf86-input-keyboard/APKBUILD
+++ b/main/xf86-input-keyboard/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xf86-input-keyboard 2pkgname=xf86-input-keyboard
3pkgver=1.4.0 3pkgver=1.4.0
4pkgrel=1 4pkgrel=2
5pkgdesc="X.org keyboard input driver" 5pkgdesc="X.org keyboard input driver"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/xf86-input-mouse/APKBUILD b/main/xf86-input-mouse/APKBUILD
index b2aea2bb87..78eb5b4c38 100644
--- a/main/xf86-input-mouse/APKBUILD
+++ b/main/xf86-input-mouse/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xf86-input-mouse 2pkgname=xf86-input-mouse
3pkgver=1.5.0 3pkgver=1.5.0
4pkgrel=2 4pkgrel=3
5pkgdesc="X.org mouse input driver" 5pkgdesc="X.org mouse input driver"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/xf86-input-synaptics/APKBUILD b/main/xf86-input-synaptics/APKBUILD
index 05debbbab6..8ec7ca59b3 100644
--- a/main/xf86-input-synaptics/APKBUILD
+++ b/main/xf86-input-synaptics/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xf86-input-synaptics 2pkgname=xf86-input-synaptics
3pkgver=1.2.2 3pkgver=1.2.2
4pkgrel=0 4pkgrel=1
5pkgdesc="X.org synaptics input driver" 5pkgdesc="X.org synaptics input driver"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/xf86-video-apm/APKBUILD b/main/xf86-video-apm/APKBUILD
index ae0582b5ef..20eec3e3c3 100644
--- a/main/xf86-video-apm/APKBUILD
+++ b/main/xf86-video-apm/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xf86-video-apm 2pkgname=xf86-video-apm
3pkgver=1.2.2 3pkgver=1.2.2
4pkgrel=1 4pkgrel=2
5pkgdesc="Alliance ProMotion video driver" 5pkgdesc="Alliance ProMotion video driver"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/xf86-video-ark/APKBUILD b/main/xf86-video-ark/APKBUILD
index 79bb65c0f7..6f4683f969 100644
--- a/main/xf86-video-ark/APKBUILD
+++ b/main/xf86-video-ark/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xf86-video-ark 2pkgname=xf86-video-ark
3pkgver=0.7.2 3pkgver=0.7.2
4pkgrel=1 4pkgrel=2
5pkgdesc="X.Org driver for ark cards" 5pkgdesc="X.Org driver for ark cards"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/xf86-video-ast/APKBUILD b/main/xf86-video-ast/APKBUILD
index a07d4933f6..6bebdeec1d 100644
--- a/main/xf86-video-ast/APKBUILD
+++ b/main/xf86-video-ast/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xf86-video-ast 2pkgname=xf86-video-ast
3pkgver=0.89.9 3pkgver=0.89.9
4pkgrel=0 4pkgrel=1
5pkgdesc="X.Org driver for ASpeedTech cards" 5pkgdesc="X.Org driver for ASpeedTech cards"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/xf86-video-ati/APKBUILD b/main/xf86-video-ati/APKBUILD
index 44b69b132c..bef7a30b5b 100644
--- a/main/xf86-video-ati/APKBUILD
+++ b/main/xf86-video-ati/APKBUILD
@@ -1,6 +1,6 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xf86-video-ati 2pkgname=xf86-video-ati
3pkgver=6.12.192 3pkgver=6.13.0
4pkgrel=0 4pkgrel=0
5pkgdesc="ATI video driver" 5pkgdesc="ATI video driver"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
@@ -29,4 +29,4 @@ package() {
29 make DESTDIR="$pkgdir" install || return 1 29 make DESTDIR="$pkgdir" install || return 1
30 install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING 30 install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
31} 31}
32md5sums="7c331b8ca71c81f2680d065cfc181f3e xf86-video-ati-6.12.192.tar.bz2" 32md5sums="7b2642442091808002963920c7693aeb xf86-video-ati-6.13.0.tar.bz2"
diff --git a/main/xf86-video-chips/APKBUILD b/main/xf86-video-chips/APKBUILD
index 74c98f96fe..ba6ef00ddc 100644
--- a/main/xf86-video-chips/APKBUILD
+++ b/main/xf86-video-chips/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xf86-video-chips 2pkgname=xf86-video-chips
3pkgver=1.2.2 3pkgver=1.2.2
4pkgrel=0 4pkgrel=1
5pkgdesc="Chips and Technologies video driver" 5pkgdesc="Chips and Technologies video driver"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/xf86-video-cirrus/APKBUILD b/main/xf86-video-cirrus/APKBUILD
index 6b708a28a1..db531d89df 100644
--- a/main/xf86-video-cirrus/APKBUILD
+++ b/main/xf86-video-cirrus/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xf86-video-cirrus 2pkgname=xf86-video-cirrus
3pkgver=1.3.2 3pkgver=1.3.2
4pkgrel=1 4pkgrel=2
5pkgdesc="Cirrus Logic video driver" 5pkgdesc="Cirrus Logic video driver"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/xf86-video-dummy/APKBUILD b/main/xf86-video-dummy/APKBUILD
index b8f5570fd6..f3c27c4a43 100644
--- a/main/xf86-video-dummy/APKBUILD
+++ b/main/xf86-video-dummy/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xf86-video-dummy 2pkgname=xf86-video-dummy
3pkgver=0.3.3 3pkgver=0.3.3
4pkgrel=0 4pkgrel=1
5pkgdesc="X.Org driver for dummy cards" 5pkgdesc="X.Org driver for dummy cards"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/xf86-video-fbdev/APKBUILD b/main/xf86-video-fbdev/APKBUILD
index 2d001aa928..ebd7b04d4a 100644
--- a/main/xf86-video-fbdev/APKBUILD
+++ b/main/xf86-video-fbdev/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xf86-video-fbdev 2pkgname=xf86-video-fbdev
3pkgver=0.4.2 3pkgver=0.4.2
4pkgrel=0 4pkgrel=1
5pkgdesc="video driver for framebuffer device" 5pkgdesc="video driver for framebuffer device"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/xf86-video-geode/APKBUILD b/main/xf86-video-geode/APKBUILD
index 2ef39bf4dc..9e0d240bfd 100644
--- a/main/xf86-video-geode/APKBUILD
+++ b/main/xf86-video-geode/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xf86-video-geode 2pkgname=xf86-video-geode
3pkgver=2.11.6 3pkgver=2.11.6
4pkgrel=1 4pkgrel=2
5pkgdesc="AMD Geode GX and LX video driver" 5pkgdesc="AMD Geode GX and LX video driver"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/xf86-video-glint/APKBUILD b/main/xf86-video-glint/APKBUILD
index 983b820151..554fda2620 100644
--- a/main/xf86-video-glint/APKBUILD
+++ b/main/xf86-video-glint/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xf86-video-glint 2pkgname=xf86-video-glint
3pkgver=1.2.4 3pkgver=1.2.4
4pkgrel=1 4pkgrel=2
5pkgdesc="GLINT/Permedia video driver" 5pkgdesc="GLINT/Permedia video driver"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/xf86-video-i128/APKBUILD b/main/xf86-video-i128/APKBUILD
index 5374446fad..2ec4d300ce 100644
--- a/main/xf86-video-i128/APKBUILD
+++ b/main/xf86-video-i128/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xf86-video-i128 2pkgname=xf86-video-i128
3pkgver=1.3.3 3pkgver=1.3.3
4pkgrel=1 4pkgrel=2
5pkgdesc="Number 9 I128 video driver" 5pkgdesc="Number 9 I128 video driver"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/xf86-video-i740/APKBUILD b/main/xf86-video-i740/APKBUILD
index fe8db4e600..43771f60da 100644
--- a/main/xf86-video-i740/APKBUILD
+++ b/main/xf86-video-i740/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xf86-video-i740 2pkgname=xf86-video-i740
3pkgver=1.3.2 3pkgver=1.3.2
4pkgrel=1 4pkgrel=2
5pkgdesc="Intel i740 video driver" 5pkgdesc="Intel i740 video driver"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/xf86-video-intel/APKBUILD b/main/xf86-video-intel/APKBUILD
index b90dba74eb..4b3d706247 100644
--- a/main/xf86-video-intel/APKBUILD
+++ b/main/xf86-video-intel/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xf86-video-intel 2pkgname=xf86-video-intel
3pkgver=2.11.0 3pkgver=2.11.0
4pkgrel=0 4pkgrel=1
5pkgdesc="X.Org driver for Intel cards" 5pkgdesc="X.Org driver for Intel cards"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/xf86-video-mach64/APKBUILD b/main/xf86-video-mach64/APKBUILD
index ab361df528..948c053ac3 100644
--- a/main/xf86-video-mach64/APKBUILD
+++ b/main/xf86-video-mach64/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xf86-video-mach64 2pkgname=xf86-video-mach64
3pkgver=6.8.2 3pkgver=6.8.2
4pkgrel=1 4pkgrel=2
5pkgdesc="ATI Mach64 video driver" 5pkgdesc="ATI Mach64 video driver"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/xf86-video-newport/APKBUILD b/main/xf86-video-newport/APKBUILD
index bdf2f1e113..4aac546584 100644
--- a/main/xf86-video-newport/APKBUILD
+++ b/main/xf86-video-newport/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xf86-video-newport 2pkgname=xf86-video-newport
3pkgver=0.2.3 3pkgver=0.2.3
4pkgrel=0 4pkgrel=1
5pkgdesc="Newport video driver" 5pkgdesc="Newport video driver"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/xf86-video-nv/APKBUILD b/main/xf86-video-nv/APKBUILD
index d150de3615..49cc7b53d6 100644
--- a/main/xf86-video-nv/APKBUILD
+++ b/main/xf86-video-nv/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xf86-video-nv 2pkgname=xf86-video-nv
3pkgver=2.1.17 3pkgver=2.1.17
4pkgrel=0 4pkgrel=1
5pkgdesc="Nvidia video driver" 5pkgdesc="Nvidia video driver"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/xf86-video-openchrome/APKBUILD b/main/xf86-video-openchrome/APKBUILD
index f5b944c1e1..1268b7567d 100644
--- a/main/xf86-video-openchrome/APKBUILD
+++ b/main/xf86-video-openchrome/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xf86-video-openchrome 2pkgname=xf86-video-openchrome
3pkgver=0.2.904 3pkgver=0.2.904
4pkgrel=1 4pkgrel=2
5pkgdesc="X.Org driver for VIA/S3G cards" 5pkgdesc="X.Org driver for VIA/S3G cards"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/xf86-video-r128/APKBUILD b/main/xf86-video-r128/APKBUILD
index ffceb6ff9e..691331b7c6 100644
--- a/main/xf86-video-r128/APKBUILD
+++ b/main/xf86-video-r128/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xf86-video-r128 2pkgname=xf86-video-r128
3pkgver=6.8.1 3pkgver=6.8.1
4pkgrel=2 4pkgrel=3
5pkgdesc="ATI Rage128 video driver" 5pkgdesc="ATI Rage128 video driver"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/xf86-video-radeonhd/APKBUILD b/main/xf86-video-radeonhd/APKBUILD
index ebdba8c5b3..546512c0d7 100644
--- a/main/xf86-video-radeonhd/APKBUILD
+++ b/main/xf86-video-radeonhd/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xf86-video-radeonhd 2pkgname=xf86-video-radeonhd
3pkgver=1.3.0 3pkgver=1.3.0
4pkgrel=1 4pkgrel=2
5pkgdesc="Experimental Radeon HD video driver." 5pkgdesc="Experimental Radeon HD video driver."
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/xf86-video-rendition/APKBUILD b/main/xf86-video-rendition/APKBUILD
index 6722882484..1912336430 100644
--- a/main/xf86-video-rendition/APKBUILD
+++ b/main/xf86-video-rendition/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xf86-video-rendition 2pkgname=xf86-video-rendition
3pkgver=4.2.3 3pkgver=4.2.3
4pkgrel=1 4pkgrel=2
5pkgdesc="Rendition video driver" 5pkgdesc="Rendition video driver"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/xf86-video-s3/APKBUILD b/main/xf86-video-s3/APKBUILD
index 03f54d2385..bb48034b4a 100644
--- a/main/xf86-video-s3/APKBUILD
+++ b/main/xf86-video-s3/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xf86-video-s3 2pkgname=xf86-video-s3
3pkgver=0.6.3 3pkgver=0.6.3
4pkgrel=1 4pkgrel=2
5pkgdesc="X.Org driver for s3 cards" 5pkgdesc="X.Org driver for s3 cards"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/xf86-video-s3virge/APKBUILD b/main/xf86-video-s3virge/APKBUILD
index f00b0a4132..e2a62b3c77 100644
--- a/main/xf86-video-s3virge/APKBUILD
+++ b/main/xf86-video-s3virge/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xf86-video-s3virge 2pkgname=xf86-video-s3virge
3pkgver=1.10.4 3pkgver=1.10.4
4pkgrel=0 4pkgrel=1
5pkgdesc="S3 ViRGE video driver" 5pkgdesc="S3 ViRGE video driver"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/xf86-video-savage/APKBUILD b/main/xf86-video-savage/APKBUILD
index e9a6d740ec..6572053d78 100644
--- a/main/xf86-video-savage/APKBUILD
+++ b/main/xf86-video-savage/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xf86-video-savage 2pkgname=xf86-video-savage
3pkgver=2.3.1 3pkgver=2.3.1
4pkgrel=1 4pkgrel=2
5pkgdesc="S3 Savage video driver" 5pkgdesc="S3 Savage video driver"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/xf86-video-siliconmotion/APKBUILD b/main/xf86-video-siliconmotion/APKBUILD
index 52d91be125..39a34827d8 100644
--- a/main/xf86-video-siliconmotion/APKBUILD
+++ b/main/xf86-video-siliconmotion/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xf86-video-siliconmotion 2pkgname=xf86-video-siliconmotion
3pkgver=1.7.3 3pkgver=1.7.4
4pkgrel=1 4pkgrel=0
5pkgdesc="Silicon Motion video driver" 5pkgdesc="Silicon Motion video driver"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
@@ -24,4 +24,4 @@ package() {
24 make DESTDIR="$pkgdir" install || return 1 24 make DESTDIR="$pkgdir" install || return 1
25 install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING 25 install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
26} 26}
27md5sums="29fb322cd3adab52cc7f1ac86f9315bb xf86-video-siliconmotion-1.7.3.tar.bz2" 27md5sums="3059e87586e16c34da89437cc6215b49 xf86-video-siliconmotion-1.7.4.tar.bz2"
diff --git a/main/xf86-video-sis/APKBUILD b/main/xf86-video-sis/APKBUILD
index ad3589a3ef..7348977815 100644
--- a/main/xf86-video-sis/APKBUILD
+++ b/main/xf86-video-sis/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xf86-video-sis 2pkgname=xf86-video-sis
3pkgver=0.10.2 3pkgver=0.10.2
4pkgrel=0 4pkgrel=1
5pkgdesc="X.org SiS video driver" 5pkgdesc="X.org SiS video driver"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/xf86-video-sunffb/APKBUILD b/main/xf86-video-sunffb/APKBUILD
index e6a566d199..003415417e 100644
--- a/main/xf86-video-sunffb/APKBUILD
+++ b/main/xf86-video-sunffb/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xf86-video-sunffb 2pkgname=xf86-video-sunffb
3pkgver=1.2.1 3pkgver=1.2.1
4pkgrel=0 4pkgrel=1
5pkgdesc="SUNFFB video driver" 5pkgdesc="SUNFFB video driver"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/xf86-video-sunleo/APKBUILD b/main/xf86-video-sunleo/APKBUILD
index b6898904b7..ac930235b2 100644
--- a/main/xf86-video-sunleo/APKBUILD
+++ b/main/xf86-video-sunleo/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xf86-video-sunleo 2pkgname=xf86-video-sunleo
3pkgver=1.2.0 3pkgver=1.2.0
4pkgrel=2 4pkgrel=3
5pkgdesc="Leo video driver" 5pkgdesc="Leo video driver"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/xf86-video-tdfx/APKBUILD b/main/xf86-video-tdfx/APKBUILD
index 2da071fd5a..6804918933 100644
--- a/main/xf86-video-tdfx/APKBUILD
+++ b/main/xf86-video-tdfx/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xf86-video-tdfx 2pkgname=xf86-video-tdfx
3pkgver=1.4.3 3pkgver=1.4.3
4pkgrel=1 4pkgrel=2
5pkgdesc="3Dfx video driver" 5pkgdesc="3Dfx video driver"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/xf86-video-tseng/APKBUILD b/main/xf86-video-tseng/APKBUILD
index c924a7c373..288636a6c0 100644
--- a/main/xf86-video-tseng/APKBUILD
+++ b/main/xf86-video-tseng/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xf86-video-tseng 2pkgname=xf86-video-tseng
3pkgver=1.2.3 3pkgver=1.2.3
4pkgrel=1 4pkgrel=2
5pkgdesc="Tseng Labs video driver" 5pkgdesc="Tseng Labs video driver"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/xf86-video-v4l/APKBUILD b/main/xf86-video-v4l/APKBUILD
index 42c658b358..4be24ebef6 100644
--- a/main/xf86-video-v4l/APKBUILD
+++ b/main/xf86-video-v4l/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xf86-video-v4l 2pkgname=xf86-video-v4l
3pkgver=0.2.0 3pkgver=0.2.0
4pkgrel=2 4pkgrel=3
5pkgdesc="video4linux driver" 5pkgdesc="video4linux driver"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/xf86-video-vesa/APKBUILD b/main/xf86-video-vesa/APKBUILD
index 8eed0bb138..b73c82ffca 100644
--- a/main/xf86-video-vesa/APKBUILD
+++ b/main/xf86-video-vesa/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xf86-video-vesa 2pkgname=xf86-video-vesa
3pkgver=2.3.0 3pkgver=2.3.0
4pkgrel=0 4pkgrel=1
5pkgdesc="X.org vesa video driver" 5pkgdesc="X.org vesa video driver"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/xf86-video-vmware/APKBUILD b/main/xf86-video-vmware/APKBUILD
index 8bba4f31bd..e01ed3493c 100644
--- a/main/xf86-video-vmware/APKBUILD
+++ b/main/xf86-video-vmware/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xf86-video-vmware 2pkgname=xf86-video-vmware
3pkgver=11.0.1 3pkgver=11.0.1
4pkgrel=0 4pkgrel=1
5pkgdesc="X.org VMWare video driver" 5pkgdesc="X.org VMWare video driver"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/xfce-utils/APKBUILD b/main/xfce-utils/APKBUILD
index c702096d9e..600ee7fb53 100644
--- a/main/xfce-utils/APKBUILD
+++ b/main/xfce-utils/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xfce-utils 2pkgname=xfce-utils
3pkgver=4.6.1 3pkgver=4.6.1
4pkgrel=1 4pkgrel=2
5pkgdesc="Utilities for Xfce" 5pkgdesc="Utilities for Xfce"
6url="http://www.xfce.org/" 6url="http://www.xfce.org/"
7license="GPL2" 7license="GPL2"
diff --git a/main/xfce4-appfinder/APKBUILD b/main/xfce4-appfinder/APKBUILD
index 6f9f6a19ac..64238984d1 100644
--- a/main/xfce4-appfinder/APKBUILD
+++ b/main/xfce4-appfinder/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xfce4-appfinder 2pkgname=xfce4-appfinder
3pkgver=4.6.1 3pkgver=4.6.1
4pkgrel=0 4pkgrel=1
5pkgdesc="Xfce application finder" 5pkgdesc="Xfce application finder"
6url="http://www.xfce.org/" 6url="http://www.xfce.org/"
7license="GPL-2" 7license="GPL-2"
diff --git a/main/xfce4-battery-plugin/APKBUILD b/main/xfce4-battery-plugin/APKBUILD
index c0b271cff6..b18f5b3cd1 100644
--- a/main/xfce4-battery-plugin/APKBUILD
+++ b/main/xfce4-battery-plugin/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xfce4-battery-plugin 2pkgname=xfce4-battery-plugin
3pkgver=0.5.1 3pkgver=0.5.1
4pkgrel=0 4pkgrel=1
5pkgdesc="A battery monitor plugin for the Xfce panel" 5pkgdesc="A battery monitor plugin for the Xfce panel"
6url="http://goodies.xfce.org/projects/panel-plugins/xfce4-battery-plugin" 6url="http://goodies.xfce.org/projects/panel-plugins/xfce4-battery-plugin"
7license="GPL-2" 7license="GPL-2"
diff --git a/main/xfce4-cpufreq-plugin/APKBUILD b/main/xfce4-cpufreq-plugin/APKBUILD
index 4f134440ae..344fdb2ab9 100644
--- a/main/xfce4-cpufreq-plugin/APKBUILD
+++ b/main/xfce4-cpufreq-plugin/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xfce4-cpufreq-plugin 2pkgname=xfce4-cpufreq-plugin
3pkgver=0.0.1 3pkgver=0.0.1
4pkgrel=0 4pkgrel=1
5pkgdesc="CPU frequency plugin for the Xfce4 panel" 5pkgdesc="CPU frequency plugin for the Xfce4 panel"
6url="http://goodies.xfce.org/projects/panel-plugins/xfce4-cpufreq-plugin" 6url="http://goodies.xfce.org/projects/panel-plugins/xfce4-cpufreq-plugin"
7license="GPL2" 7license="GPL2"
diff --git a/main/xfce4-mixer/APKBUILD b/main/xfce4-mixer/APKBUILD
index 1541cb92be..b68c6fa1eb 100644
--- a/main/xfce4-mixer/APKBUILD
+++ b/main/xfce4-mixer/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xfce4-mixer 2pkgname=xfce4-mixer
3pkgver=4.6.1 3pkgver=4.6.1
4pkgrel=0 4pkgrel=1
5pkgdesc="The volume control plugin for the Xfce panel" 5pkgdesc="The volume control plugin for the Xfce panel"
6url="http://www.xfce.org/" 6url="http://www.xfce.org/"
7license="GPL2" 7license="GPL2"
diff --git a/main/xfce4-notifyd/APKBUILD b/main/xfce4-notifyd/APKBUILD
index 717b68470d..e708fc3f55 100644
--- a/main/xfce4-notifyd/APKBUILD
+++ b/main/xfce4-notifyd/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xfce4-notifyd 2pkgname=xfce4-notifyd
3pkgver=0.1.0 3pkgver=0.1.0
4pkgrel=0 4pkgrel=1
5pkgdesc="notification daemon for the xfce desktop" 5pkgdesc="notification daemon for the xfce desktop"
6url="http://spuriousinterrupt.org/projects/xfce4-notifyd" 6url="http://spuriousinterrupt.org/projects/xfce4-notifyd"
7license="GPL2" 7license="GPL2"
diff --git a/main/xfce4-panel/APKBUILD b/main/xfce4-panel/APKBUILD
index ba867f7f09..deac0568ec 100644
--- a/main/xfce4-panel/APKBUILD
+++ b/main/xfce4-panel/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xfce4-panel 2pkgname=xfce4-panel
3pkgver=4.6.3 3pkgver=4.6.3
4pkgrel=1 4pkgrel=2
5pkgdesc="Panel for the Xfce desktop environment" 5pkgdesc="Panel for the Xfce desktop environment"
6url="http://www.xfce.org/" 6url="http://www.xfce.org/"
7license="GPL-2" 7license="GPL-2"
diff --git a/main/xfce4-screenshooter/APKBUILD b/main/xfce4-screenshooter/APKBUILD
index cde73790c2..4b13192297 100644
--- a/main/xfce4-screenshooter/APKBUILD
+++ b/main/xfce4-screenshooter/APKBUILD
@@ -1,6 +1,6 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xfce4-screenshooter 2pkgname=xfce4-screenshooter
3pkgver=1.6.0 3pkgver=1.7.9
4pkgrel=0 4pkgrel=0
5pkgdesc="screenshot application for Xfce4" 5pkgdesc="screenshot application for Xfce4"
6url="http://goodies.xfce.org/projects/applications/xfce4-screenshooter" 6url="http://goodies.xfce.org/projects/applications/xfce4-screenshooter"
@@ -8,14 +8,12 @@ license="GPL2"
8subpackages="$pkgname-doc" 8subpackages="$pkgname-doc"
9depends= 9depends=
10makedepends="xfce4-panel-dev intltool hicolor-icon-theme libsm-dev 10makedepends="xfce4-panel-dev intltool hicolor-icon-theme libsm-dev
11 e2fsprogs-dev" 11 e2fsprogs-dev libsoup-dev libxext-dev"
12install="xfce4-screenshooter.post-install xfce4-screenshooter.post-upgrade 12install="xfce4-screenshooter.post-install xfce4-screenshooter.post-upgrade
13 xfce4-screenshooter.post-deinstall" 13 xfce4-screenshooter.post-deinstall"
14source="http://goodies.xfce.org/releases/$pkgname/$pkgname-$pkgver.tar.gz 14source="http://archive.xfce.org/src/apps/xfce4-screenshooter/${pkgver%.*}/xfce4-screenshooter-$pkgver.tar.bz2"
15 $install"
16 15
17build () 16build () {
18{
19 cd "$srcdir"/$pkgname-$pkgver 17 cd "$srcdir"/$pkgname-$pkgver
20 ./configure --prefix=/usr \ 18 ./configure --prefix=/usr \
21 --sysconfdir=/etc \ 19 --sysconfdir=/etc \
@@ -23,10 +21,11 @@ build ()
23 --localstatedir=/var \ 21 --localstatedir=/var \
24 --disable-static 22 --disable-static
25 make || return 1 23 make || return 1
24}
25
26package() {
27 cd "$srcdir"/$pkgname-$pkgver
26 make DESTDIR="$pkgdir" install || return 1 28 make DESTDIR="$pkgdir" install || return 1
27} 29}
28 30
29md5sums="331750879b966eec639eb3fe3045cb16 xfce4-screenshooter-1.6.0.tar.gz 31md5sums="c01d1cf3830bf8d60e09c0cdd223034c xfce4-screenshooter-1.7.9.tar.bz2"
30db51db79681eadc47be4932355a77c25 xfce4-screenshooter.post-install
31db51db79681eadc47be4932355a77c25 xfce4-screenshooter.post-upgrade
32db51db79681eadc47be4932355a77c25 xfce4-screenshooter.post-deinstall"
diff --git a/main/xfce4-session/APKBUILD b/main/xfce4-session/APKBUILD
index 21fe345250..8eb92efd55 100644
--- a/main/xfce4-session/APKBUILD
+++ b/main/xfce4-session/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xfce4-session 2pkgname=xfce4-session
3pkgver=4.6.1 3pkgver=4.6.1
4pkgrel=2 4pkgrel=3
5pkgdesc="A session manager for Xfce" 5pkgdesc="A session manager for Xfce"
6url="http://www.xfce.org/" 6url="http://www.xfce.org/"
7license="GPL2" 7license="GPL2"
diff --git a/main/xfce4-settings/APKBUILD b/main/xfce4-settings/APKBUILD
index ffc6ec035a..b627280230 100644
--- a/main/xfce4-settings/APKBUILD
+++ b/main/xfce4-settings/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xfce4-settings 2pkgname=xfce4-settings
3pkgver=4.6.4 3pkgver=4.6.4
4pkgrel=1 4pkgrel=2
5pkgdesc="Settings manager for xfce" 5pkgdesc="Settings manager for xfce"
6url="http://www.xfce.org/" 6url="http://www.xfce.org/"
7license="GPL-2" 7license="GPL-2"
diff --git a/main/xfce4-taskmanager/APKBUILD b/main/xfce4-taskmanager/APKBUILD
index 039ca22d37..946e59ad96 100644
--- a/main/xfce4-taskmanager/APKBUILD
+++ b/main/xfce4-taskmanager/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xfce4-taskmanager 2pkgname=xfce4-taskmanager
3pkgver=0.4.1 3pkgver=0.4.1
4pkgrel=0 4pkgrel=1
5pkgdesc="a simple taskmanager for the Xfce Desktop Environment" 5pkgdesc="a simple taskmanager for the Xfce Desktop Environment"
6url="http://goodies.xfce.org/projects/applications/xfce4-taskmanager" 6url="http://goodies.xfce.org/projects/applications/xfce4-taskmanager"
7license="GPL-2" 7license="GPL-2"
diff --git a/main/xfce4-wavelan-plugin/APKBUILD b/main/xfce4-wavelan-plugin/APKBUILD
index 27176f016a..108d74386b 100644
--- a/main/xfce4-wavelan-plugin/APKBUILD
+++ b/main/xfce4-wavelan-plugin/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xfce4-wavelan-plugin 2pkgname=xfce4-wavelan-plugin
3pkgver=0.5.5 3pkgver=0.5.5
4pkgrel=0 4pkgrel=1
5pkgdesc="plugin to monitor wifi connectivity for the Xfce4 panel" 5pkgdesc="plugin to monitor wifi connectivity for the Xfce4 panel"
6url="http://goodies.xfce.org/projects/panel-plugins/xfce4-wavelan-plugin/" 6url="http://goodies.xfce.org/projects/panel-plugins/xfce4-wavelan-plugin/"
7license="custom" 7license="custom"
diff --git a/main/xfce4-xkb-plugin/APKBUILD b/main/xfce4-xkb-plugin/APKBUILD
index 7b590a16ab..b69cb070f7 100644
--- a/main/xfce4-xkb-plugin/APKBUILD
+++ b/main/xfce4-xkb-plugin/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xfce4-xkb-plugin 2pkgname=xfce4-xkb-plugin
3pkgver=0.5.3.3 3pkgver=0.5.3.3
4pkgrel=2 4pkgrel=3
5pkgdesc="plugin to switch keyboard layouts for the Xfce4 panel" 5pkgdesc="plugin to switch keyboard layouts for the Xfce4 panel"
6url="http://goodies.xfce.org/projects/panel-plugins/xfce4-xkb-plugin" 6url="http://goodies.xfce.org/projects/panel-plugins/xfce4-xkb-plugin"
7license="custom" 7license="custom"
diff --git a/main/xfconf/APKBUILD b/main/xfconf/APKBUILD
index f84906ba4a..c267f24d73 100644
--- a/main/xfconf/APKBUILD
+++ b/main/xfconf/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xfconf 2pkgname=xfconf
3pkgver=4.6.1 3pkgver=4.6.1
4pkgrel=1 4pkgrel=2
5pkgdesc="xfconf.. thingie" 5pkgdesc="xfconf.. thingie"
6url="http://www.xfce.org/" 6url="http://www.xfce.org/"
7license="GPL-2" 7license="GPL-2"
diff --git a/main/xfdesktop/APKBUILD b/main/xfdesktop/APKBUILD
index 9634c0852c..f0a66cc0ff 100644
--- a/main/xfdesktop/APKBUILD
+++ b/main/xfdesktop/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xfdesktop 2pkgname=xfdesktop
3pkgver=4.6.1 3pkgver=4.6.1
4pkgrel=2 4pkgrel=3
5pkgdesc="A desktop manager for Xfce" 5pkgdesc="A desktop manager for Xfce"
6url="http://www.xfce.org/" 6url="http://www.xfce.org/"
7license="GPL-2" 7license="GPL-2"
diff --git a/main/xfprint/APKBUILD b/main/xfprint/APKBUILD
index f09202ab37..daa695367c 100644
--- a/main/xfprint/APKBUILD
+++ b/main/xfprint/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xfprint 2pkgname=xfprint
3pkgver=4.6.1 3pkgver=4.6.1
4pkgrel=1 4pkgrel=3
5pkgdesc="A print dialog and a printer manager for Xfce" 5pkgdesc="A print dialog and a printer manager for Xfce"
6url="http://www.xfce.org/" 6url="http://www.xfce.org/"
7license="GPL2" 7license="GPL2"
diff --git a/main/xfsprogs/APKBUILD b/main/xfsprogs/APKBUILD
index 638c4b72f0..dadad1d44c 100644
--- a/main/xfsprogs/APKBUILD
+++ b/main/xfsprogs/APKBUILD
@@ -1,6 +1,6 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xfsprogs 2pkgname=xfsprogs
3pkgver=3.1.1 3pkgver=3.1.2
4pkgrel=0 4pkgrel=0
5pkgdesc="XFS filesystem utilities" 5pkgdesc="XFS filesystem utilities"
6url="http://oss.sgi.com/projects/xfs/" 6url="http://oss.sgi.com/projects/xfs/"
@@ -36,4 +36,4 @@ package() {
36 cd "$_builddir" 36 cd "$_builddir"
37 make -j1 DIST_ROOT="$pkgdir" install install-dev 37 make -j1 DIST_ROOT="$pkgdir" install install-dev
38} 38}
39md5sums="c2308b46ee707597ac50aae418d321b8 xfsprogs-3.1.1.tar.gz" 39md5sums="86d10178ee6897cb099c97303e6d9da0 xfsprogs-3.1.2.tar.gz"
diff --git a/main/xfwm4/APKBUILD b/main/xfwm4/APKBUILD
index 5f90698e7d..9ca4fa568f 100644
--- a/main/xfwm4/APKBUILD
+++ b/main/xfwm4/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xfwm4 2pkgname=xfwm4
3pkgver=4.6.1 3pkgver=4.6.1
4pkgrel=0 4pkgrel=1
5pkgdesc="Xfce window manager, compatible with Gnome, Gnome2, KDE2, and KDE3" 5pkgdesc="Xfce window manager, compatible with Gnome, Gnome2, KDE2, and KDE3"
6url="http://www.xfce.org/" 6url="http://www.xfce.org/"
7license="GPL-2" 7license="GPL-2"
diff --git a/main/xgamma/APKBUILD b/main/xgamma/APKBUILD
index a980fcf4ce..920d2c8be3 100644
--- a/main/xgamma/APKBUILD
+++ b/main/xgamma/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xgamma 2pkgname=xgamma
3pkgver=1.0.3 3pkgver=1.0.3
4pkgrel=0 4pkgrel=1
5pkgdesc="Alter a monitor's gamma correction through the X server" 5pkgdesc="Alter a monitor's gamma correction through the X server"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/xhost/APKBUILD b/main/xhost/APKBUILD
index eb4989ed67..e1c2b65895 100644
--- a/main/xhost/APKBUILD
+++ b/main/xhost/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xhost 2pkgname=xhost
3pkgver=1.0.3 3pkgver=1.0.3
4pkgrel=0 4pkgrel=1
5pkgdesc="Controls host and/or user access to a running X server." 5pkgdesc="Controls host and/or user access to a running X server."
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/xinit/APKBUILD b/main/xinit/APKBUILD
index be135ed7a7..86eb500e51 100644
--- a/main/xinit/APKBUILD
+++ b/main/xinit/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xinit 2pkgname=xinit
3pkgver=1.1.1 3pkgver=1.1.1
4pkgrel=3 4pkgrel=4
5pkgdesc="X.Org initialisation program " 5pkgdesc="X.Org initialisation program "
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="GPL" 7license="GPL"
diff --git a/main/xkbcomp/APKBUILD b/main/xkbcomp/APKBUILD
index 13a7fd3ebe..c3eb7b4724 100644
--- a/main/xkbcomp/APKBUILD
+++ b/main/xkbcomp/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 2# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
3pkgname=xkbcomp 3pkgname=xkbcomp
4pkgver=1.1.1 4pkgver=1.1.1
5pkgrel=0 5pkgrel=1
6pkgdesc="compile XKB keyboard description" 6pkgdesc="compile XKB keyboard description"
7url="http://xorg.freedesktop.org" 7url="http://xorg.freedesktop.org"
8license="custom" 8license="custom"
diff --git a/main/xmodmap/APKBUILD b/main/xmodmap/APKBUILD
index 87d0d4ba87..35f0b361c6 100644
--- a/main/xmodmap/APKBUILD
+++ b/main/xmodmap/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xmodmap 2pkgname=xmodmap
3pkgver=1.0.4 3pkgver=1.0.4
4pkgrel=0 4pkgrel=1
5pkgdesc="utility for modifying keymaps and pointer button mappings in X" 5pkgdesc="utility for modifying keymaps and pointer button mappings in X"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/xorg-server/APKBUILD b/main/xorg-server/APKBUILD
index b62bbca10d..1dbb5b188e 100644
--- a/main/xorg-server/APKBUILD
+++ b/main/xorg-server/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xorg-server 2pkgname=xorg-server
3pkgver=1.7.6 3pkgver=1.7.6
4pkgrel=0 4pkgrel=2
5pkgdesc="X.Org X servers" 5pkgdesc="X.Org X servers"
6url="http://xorg.freedesktop.org" 6url="http://xorg.freedesktop.org"
7license="custom" 7license="custom"
diff --git a/main/xrandr/APKBUILD b/main/xrandr/APKBUILD
index fefa3aa843..c52fea1a4b 100644
--- a/main/xrandr/APKBUILD
+++ b/main/xrandr/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xrandr 2pkgname=xrandr
3pkgver=1.3.2 3pkgver=1.3.2
4pkgrel=0 4pkgrel=1
5pkgdesc="primitive command line interface to RandR extension" 5pkgdesc="primitive command line interface to RandR extension"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/xrdb/APKBUILD b/main/xrdb/APKBUILD
index 271fdb2934..0ea72ca8e7 100644
--- a/main/xrdb/APKBUILD
+++ b/main/xrdb/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xrdb 2pkgname=xrdb
3pkgver=1.0.6 3pkgver=1.0.6
4pkgrel=0 4pkgrel=1
5pkgdesc="X server resource database utility" 5pkgdesc="X server resource database utility"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/xrefresh/APKBUILD b/main/xrefresh/APKBUILD
index f82d406213..83426fc66e 100644
--- a/main/xrefresh/APKBUILD
+++ b/main/xrefresh/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xrefresh 2pkgname=xrefresh
3pkgver=1.0.3 3pkgver=1.0.3
4pkgrel=0 4pkgrel=1
5pkgdesc="refresh all or part of an X screen" 5pkgdesc="refresh all or part of an X screen"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/xset/APKBUILD b/main/xset/APKBUILD
index 2a46871db5..975c63791a 100644
--- a/main/xset/APKBUILD
+++ b/main/xset/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xset 2pkgname=xset
3pkgver=1.1.0 3pkgver=1.1.0
4pkgrel=0 4pkgrel=1
5pkgdesc="X.Org xset application" 5pkgdesc="X.Org xset application"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/xsetmode/APKBUILD b/main/xsetmode/APKBUILD
index 13e8fd3ebd..3bac795be8 100644
--- a/main/xsetmode/APKBUILD
+++ b/main/xsetmode/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xsetmode 2pkgname=xsetmode
3pkgver=1.0.0 3pkgver=1.0.0
4pkgrel=1 4pkgrel=2
5pkgdesc="set the mode for an X Input device" 5pkgdesc="set the mode for an X Input device"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/xsetroot/APKBUILD b/main/xsetroot/APKBUILD
index cfcdb26bec..8bd60aa1f4 100644
--- a/main/xsetroot/APKBUILD
+++ b/main/xsetroot/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xsetroot 2pkgname=xsetroot
3pkgver=1.0.3 3pkgver=1.0.3
4pkgrel=0 4pkgrel=1
5pkgdesc="X.Org xsetroot application" 5pkgdesc="X.Org xsetroot application"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/xtables-addons/APKBUILD b/main/xtables-addons/APKBUILD
index d31d703608..46ae1bb25c 100644
--- a/main/xtables-addons/APKBUILD
+++ b/main/xtables-addons/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xtables-addons 2pkgname=xtables-addons
3pkgver=1.21 3pkgver=1.21
4pkgrel=1 4pkgrel=2
5pkgdesc="Netfilter userspace extensions for iptables" 5pkgdesc="Netfilter userspace extensions for iptables"
6url="http://xtables-addons.sourceforge.net/" 6url="http://xtables-addons.sourceforge.net/"
7license="GPL" 7license="GPL"
diff --git a/main/xvidcore/APKBUILD b/main/xvidcore/APKBUILD
index 20a071cce4..6076bfac95 100644
--- a/main/xvidcore/APKBUILD
+++ b/main/xvidcore/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xvidcore 2pkgname=xvidcore
3pkgver=1.2.2 3pkgver=1.2.2
4pkgrel=0 4pkgrel=1
5pkgdesc="XviD is an open source MPEG-4 video codec" 5pkgdesc="XviD is an open source MPEG-4 video codec"
6url="http://www.xvid.org/" 6url="http://www.xvid.org/"
7license="GPL" 7license="GPL"
diff --git a/main/xvinfo/APKBUILD b/main/xvinfo/APKBUILD
index 7edd4d03c0..71ad0740d0 100644
--- a/main/xvinfo/APKBUILD
+++ b/main/xvinfo/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xvinfo 2pkgname=xvinfo
3pkgver=1.0.2 3pkgver=1.0.2
4pkgrel=0 4pkgrel=1
5pkgdesc="Print out X-Video extension adaptor information" 5pkgdesc="Print out X-Video extension adaptor information"
6url="http://xorg.freedesktop.org/" 6url="http://xorg.freedesktop.org/"
7license="custom" 7license="custom"
diff --git a/main/yasm/APKBUILD b/main/yasm/APKBUILD
index a0975f415d..f024570a41 100644
--- a/main/yasm/APKBUILD
+++ b/main/yasm/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=yasm 2pkgname=yasm
3pkgver=0.8.0 3pkgver=0.8.0
4pkgrel=0 4pkgrel=1
5pkgdesc="A rewrite of NASM to allow for multiple syntax supported (NASM, TASM, GAS, etc.)" 5pkgdesc="A rewrite of NASM to allow for multiple syntax supported (NASM, TASM, GAS, etc.)"
6url="http://www.tortall.net/projects/yasm/" 6url="http://www.tortall.net/projects/yasm/"
7license="custom" 7license="custom"
diff --git a/main/zip/APKBUILD b/main/zip/APKBUILD
index 4998c35b76..6733e61e56 100644
--- a/main/zip/APKBUILD
+++ b/main/zip/APKBUILD
@@ -1,11 +1,11 @@
1# Maintainer: Carlo Landmeter <clandmeter at gmail.com> 1# Maintainer: Carlo Landmeter <clandmeter at gmail.com>
2pkgname=zip 2pkgname=zip
3pkgver=3.0 3pkgver=3.0
4pkgrel=0 4pkgrel=1
5pkgdesc="Creates PKZIP-compatible .zip files" 5pkgdesc="Creates PKZIP-compatible .zip files"
6url="http://www.info-zip.org/pub/infozip/Zip.html" 6url="http://www.info-zip.org/pub/infozip/Zip.html"
7license="AS IS" 7license="AS IS"
8depends="uclibc" 8depends=""
9makedepends="" 9makedepends=""
10source="ftp://ftp.info-${pkgname}.org/pub/info${pkgname}/src/${pkgname}30.zip 10source="ftp://ftp.info-${pkgname}.org/pub/info${pkgname}/src/${pkgname}30.zip
1110-zip-3.0-build.patch 1110-zip-3.0-build.patch
diff --git a/main/zlib/APKBUILD b/main/zlib/APKBUILD
index adf584ea97..62d3ec49d5 100644
--- a/main/zlib/APKBUILD
+++ b/main/zlib/APKBUILD
@@ -1,15 +1,22 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=zlib 2pkgname=zlib
3pkgver=1.2.4 3pkgver=1.2.5
4pkgrel=0 4pkgrel=1
5pkgdesc="A compression/decompression Library" 5pkgdesc="A compression/decompression Library"
6license=custom:zlib 6license=custom:zlib
7url="http://zlib.net" 7url="http://zlib.net"
8depends= 8depends=
9source="http://zlib.net/$pkgname-$pkgver.tar.gz" 9source="http://zlib.net/$pkgname-$pkgver.tar.gz
10 zlib-1.2.5-lfs-decls.patch
11 "
10subpackages="$pkgname-dev $pkgname-doc" 12subpackages="$pkgname-dev $pkgname-doc"
11 13
12_builddir="$srcdir/$pkgname-$pkgver" 14_builddir="$srcdir/$pkgname-$pkgver"
15prepare() {
16 cd "$_builddir"
17 patch -p1 -i "$srcdir"/zlib-1.2.5-lfs-decls.patch
18}
19
13build() { 20build() {
14 cd "$_builddir" 21 cd "$_builddir"
15 # we trade size for a little more speed. 22 # we trade size for a little more speed.
@@ -31,4 +38,5 @@ dev() {
31 mv "$pkgdir"/lib/libz.a "$subpkgdir"/lib/libz.a 38 mv "$pkgdir"/lib/libz.a "$subpkgdir"/lib/libz.a
32} 39}
33 40
34md5sums="47f6ed51b3c83a8534f9228531effa18 zlib-1.2.4.tar.gz" 41md5sums="c735eab2d659a96e5a594c9e8541ad63 zlib-1.2.5.tar.gz
424cb279ea3beab621f3526bf7b7ab99e5 zlib-1.2.5-lfs-decls.patch"
diff --git a/main/zlib/gzflush.patch b/main/zlib/gzflush.patch
deleted file mode 100644
index 5e97e6573c..0000000000
--- a/main/zlib/gzflush.patch
+++ /dev/null
@@ -1,12 +0,0 @@
1--- a/gzwrite.c 2010-01-18 21:18:27.000000000 +0100
2+++ b/gzwrite.c 2010-01-28 04:37:20.330530306 +0100
3@@ -435,7 +435,8 @@
4 state = (gz_statep)file;
5
6 /* check that we're writing and that there's no error */
7- if (state->mode != GZ_WRITE|| state->err != Z_OK)
8+ if (state->mode != GZ_WRITE || state->err != Z_OK)
9+ return Z_STREAM_ERROR;
10
11 /* check flush parameter */
12 if (flush < 0 || flush > Z_FINISH)
diff --git a/main/zlib/zlib-1.2.5-lfs-decls.patch b/main/zlib/zlib-1.2.5-lfs-decls.patch
new file mode 100644
index 0000000000..36e26af035
--- /dev/null
+++ b/main/zlib/zlib-1.2.5-lfs-decls.patch
@@ -0,0 +1,13 @@
1Index: zlib-1.2.5/zlib.h
2===================================================================
3--- zlib-1.2.5.orig/zlib.h
4+++ zlib-1.2.5/zlib.h
5@@ -1578,7 +1578,7 @@ ZEXTERN int ZEXPORT inflateBackInit_ OF(
6 # define gzoffset gzoffset64
7 # define adler32_combine adler32_combine64
8 # define crc32_combine crc32_combine64
9-# ifdef _LARGEFILE64_SOURCE
10+# ifndef _LARGEFILE64_SOURCE
11 ZEXTERN gzFile ZEXPORT gzopen64 OF((const char *, const char *));
12 ZEXTERN z_off_t ZEXPORT gzseek64 OF((gzFile, z_off_t, int));
13 ZEXTERN z_off_t ZEXPORT gztell64 OF((gzFile));
diff --git a/main/zonenotify/APKBUILD b/main/zonenotify/APKBUILD
index 9709eba4ee..b442458d0a 100644
--- a/main/zonenotify/APKBUILD
+++ b/main/zonenotify/APKBUILD
@@ -1,12 +1,12 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=zonenotify 2pkgname=zonenotify
3pkgver=0.1 3pkgver=0.1
4pkgrel=0 4pkgrel=1
5pkgdesc="Utility to send NS_NOTIFY packets to slave DNS servers" 5pkgdesc="Utility to send NS_NOTIFY packets to slave DNS servers"
6arch="" 6arch=""
7url="http://www.morettoni.net/zonenotify.en.html" 7url="http://www.morettoni.net/zonenotify.en.html"
8license='BSD' 8license='BSD'
9depends="uclibc" 9depends=""
10source="http://www.morettoni.net/bsd/$pkgname-$pkgver.tar.gz" 10source="http://www.morettoni.net/bsd/$pkgname-$pkgver.tar.gz"
11 11
12build() { 12build() {
diff --git a/main/zsnes/APKBUILD b/main/zsnes/APKBUILD
index 2dcb1bd630..04a44516d3 100644
--- a/main/zsnes/APKBUILD
+++ b/main/zsnes/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=zsnes 2pkgname=zsnes
3pkgver=1.51 3pkgver=1.51
4pkgrel=1 4pkgrel=2
5pkgdesc="Super Nintendo emulator" 5pkgdesc="Super Nintendo emulator"
6url="http://www.zsnes.com/" 6url="http://www.zsnes.com/"
7license="GPL" 7license="GPL"
diff --git a/testing/alsa-utils/APKBUILD b/testing/alsa-utils/APKBUILD
index ffa912174f..8894a9cb72 100644
--- a/testing/alsa-utils/APKBUILD
+++ b/testing/alsa-utils/APKBUILD
@@ -1,6 +1,6 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=alsa-utils 2pkgname=alsa-utils
3pkgver=1.0.22 3pkgver=1.0.23
4pkgrel=0 4pkgrel=0
5pkgdesc="Advanced Linux Sound Architecture Utils (alsactl, alsamixer, etc.)" 5pkgdesc="Advanced Linux Sound Architecture Utils (alsactl, alsamixer, etc.)"
6url="http://www.alsa-project.org" 6url="http://www.alsa-project.org"
@@ -33,7 +33,7 @@ package() {
33 install -D -m755 ../alsa.initd "$pkgdir"/etc/init.d/alsa 33 install -D -m755 ../alsa.initd "$pkgdir"/etc/init.d/alsa
34 install -D -m644 ../alsa.confd "$pkgdir"/etc/conf.d/alsa 34 install -D -m644 ../alsa.confd "$pkgdir"/etc/conf.d/alsa
35} 35}
36md5sums="f7180316188552ee1e6759a03f1fe98d alsa-utils-1.0.22.tar.bz2 36md5sums="cb0cf46029ac9549cf3a31bff6a4f4e1 alsa-utils-1.0.23.tar.bz2
375e65f278b5a77e3ee2821ad955c4cd91 alsaconf.patch 375e65f278b5a77e3ee2821ad955c4cd91 alsaconf.patch
384a66dad46d5366e05098cde97f3d37b5 alsa.initd 384a66dad46d5366e05098cde97f3d37b5 alsa.initd
3985b1f1e759fe5953eca329237f4ac256 alsa.confd" 3985b1f1e759fe5953eca329237f4ac256 alsa.confd"
diff --git a/testing/atomic-ops/APKBUILD b/testing/atomic-ops/APKBUILD
index aff442f512..7c9dc2cf2f 100644
--- a/testing/atomic-ops/APKBUILD
+++ b/testing/atomic-ops/APKBUILD
@@ -1,8 +1,10 @@
1# Contributor: Natanael Copa <ncopa@alpinelinux.org> 1# Contributor: Natanael Copa <ncopa@alpinelinux.org>
2# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 2# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
3pkgname=atomic-ops 3pkgname=atomic-ops
4pkgver=1.2_p20080819 4_ver=7.2
5_realver=1.2+cvs20080819 5_suff=alpha4
6pkgver=${_ver}_${_suff}
7_realver=${_ver}${_suff}
6pkgrel=0 8pkgrel=0
7pkgdesc="A library for atomic operations" 9pkgdesc="A library for atomic operations"
8url="http://www.hpl.hp.com/research/linux/atomic_ops/download.php4" 10url="http://www.hpl.hp.com/research/linux/atomic_ops/download.php4"
@@ -11,17 +13,22 @@ depends=""
11makedepends="" 13makedepends=""
12install= 14install=
13subpackages= 15subpackages=
14source="http://ftp.de.debian.org/debian/pool/main/liba/libatomic-ops/libatomic-ops_$_realver.orig.tar.gz" 16source="http://www.hpl.hp.com/research/linux/atomic_ops/download/libatomic_ops-$_realver.tar.gz"
15 17
18_builddir="$srcdir"/libatomic_ops-${_realver}
16build() { 19build() {
17 cd "$srcdir"/libatomic_ops-${pkgver%_p*} 20 cd "$_builddir"
18 21 chmod +x install-sh
19 ./configure --prefix=/usr \ 22 ./configure --prefix=/usr \
20 --sysconfdir=/etc \ 23 --sysconfdir=/etc \
21 --mandir=/usr/share/man \ 24 --mandir=/usr/share/man \
22 --infodir=/usr/share/info 25 --infodir=/usr/share/info
23 make || return 1 26 make || return 1
27}
28
29package() {
30 cd "$_builddir"
24 make DESTDIR="$pkgdir" install 31 make DESTDIR="$pkgdir" install
25} 32}
26 33
27md5sums="bf26c062f28796e3daaab586a38abec1 libatomic-ops_1.2+cvs20080819.orig.tar.gz" 34md5sums="e82723a24fd846fe37bd6a03728776e1 libatomic_ops-7.2alpha4.tar.gz"
diff --git a/testing/bacula-client/APKBUILD b/testing/bacula-client/APKBUILD
index 998d5cc3e5..b3921077e4 100644
--- a/testing/bacula-client/APKBUILD
+++ b/testing/bacula-client/APKBUILD
@@ -3,7 +3,7 @@
3pkgname="bacula-client" 3pkgname="bacula-client"
4_realname="bacula" 4_realname="bacula"
5pkgver=5.0.0 5pkgver=5.0.0
6pkgrel=1 6pkgrel=3
7pkgdesc="Client (File Daemon) of Bacula, a network based backup program" 7pkgdesc="Client (File Daemon) of Bacula, a network based backup program"
8url="http://www.bacula.org" 8url="http://www.bacula.org"
9license="GPL2" 9license="GPL2"
diff --git a/testing/bacula/APKBUILD b/testing/bacula/APKBUILD
index ecb9dbe238..ff4161ea1c 100644
--- a/testing/bacula/APKBUILD
+++ b/testing/bacula/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Leonardo Arena <rnalrd@gmail.com> 2# Maintainer: Leonardo Arena <rnalrd@gmail.com>
3pkgname="bacula" 3pkgname="bacula"
4pkgver=5.0.1 4pkgver=5.0.1
5pkgrel=1 5pkgrel=3
6pkgdesc="Enterprise ready, network based backup program" 6pkgdesc="Enterprise ready, network based backup program"
7url="http://www.bacula.org" 7url="http://www.bacula.org"
8license="GPL2" 8license="GPL2"
diff --git a/testing/bluez-firmware/APKBUILD b/testing/bluez-firmware/APKBUILD
new file mode 100644
index 0000000000..95e03ae5c5
--- /dev/null
+++ b/testing/bluez-firmware/APKBUILD
@@ -0,0 +1,22 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=bluez-firmware
3pkgver=1.2
4pkgrel=0
5pkgdesc="Firmware for Broadcom BCM203x Blutonium devices"
6url="http://www.bluez.org/"
7license="GPL2"
8depends=""
9makedepends=""
10source="http://bluez.sf.net/download/$pkgname-$pkgver.tar.gz"
11
12build() {
13 cd "$srcdir/$pkgname-$pkgver"
14 ./configure --libdir=/lib || return 1
15 make || return 1
16}
17
18package() {
19 cd "$srcdir/$pkgname-$pkgver"
20 make DESTDIR="$pkgdir" install || return 1
21}
22md5sums="1cc3cefad872e937e05de5a0a2b390dd bluez-firmware-1.2.tar.gz"
diff --git a/testing/bluez-hcidump/APKBUILD b/testing/bluez-hcidump/APKBUILD
new file mode 100644
index 0000000000..0ee37d683d
--- /dev/null
+++ b/testing/bluez-hcidump/APKBUILD
@@ -0,0 +1,25 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=bluez-hcidump
3pkgver=1.42
4pkgrel=0
5pkgdesc="Bluetooth HCI package analyzer"
6url="http://www.bluez.org/"
7license="GPL2"
8depends=
9makedepends="bluez-dev"
10subpackages="$pkgname-doc"
11source="http://bluez.sf.net/download/$pkgname-$pkgver.tar.gz"
12
13build() {
14 cd "$srcdir"/$pkgname-$pkgver
15 ./configure --prefix=/usr \
16 --mandir=/usr/share/man \
17 || return 1
18 make || return 1
19}
20
21package() {
22 cd "$srcdir"/$pkgname-$pkgver
23 make DESTDIR="$pkgdir" install || return 1
24}
25md5sums="5704737aaf72104eeaf77335218a1827 bluez-hcidump-1.42.tar.gz"
diff --git a/testing/bluez/APKBUILD b/testing/bluez/APKBUILD
new file mode 100644
index 0000000000..b8a18a350e
--- /dev/null
+++ b/testing/bluez/APKBUILD
@@ -0,0 +1,77 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=bluez
3pkgver=4.64
4pkgrel=1
5pkgdesc="Tools for the Bluetooth protocol stack"
6url="http://www.bluez.org/"
7license="GPL2"
8depends=
9makedepends="dbus-dev gstreamer-dev alsa-lib-dev libusb-dev libnl-dev"
10subpackages="$pkgname-dev $pkgname-doc libbluetooth $pkgname-alsa $pkgname-cups
11 $pkgname-netlink"
12source="http://www.kernel.org/pub/linux/bluetooth/$pkgname-$pkgver.tar.bz2
13 bluetooth.initd
14 bluetooth.confd
15 "
16
17_builddir="$srcdir"/$pkgname-$pkgver
18build() {
19 cd "$_builddir"
20 ./configure --prefix=/usr \
21 --sysconfdir=/etc \
22 --localstatedir=/var \
23 --libexecdir=/lib \
24 --mandir=/usr/share/man \
25 --enable-gstreamer \
26 --enable-alsa \
27 --enable-usb \
28 --enable-netlink \
29 --enable-tools \
30 --enable-bccmd \
31 --enable-hid2hci \
32 --enable-dfutool \
33 --enable-hidd \
34 --enable-pand \
35 --enable-dund \
36 --enable-cups \
37 --enable-configfiles \
38 || return 1
39 make || return 1
40}
41
42package() {
43 cd "$_builddir"
44 make install DESTDIR="$pkgdir"
45 install -Dm755 "$srcdir"/bluetooth.initd "$pkgdir"/etc/init.d/bluetooth
46 install -Dm644 "$srcdir"/bluetooth.confd "$pkgdir"/etc/conf.d/bluetooth
47}
48
49libbluetooth() {
50 pkgdesc="Libraries for Bluetooth protocol stack"
51 mkdir -p "$subpkgdir"/usr/lib
52 mv "$pkgdir"/usr/lib/libbluetooth.so.* "$subpkgdir"/usr/lib/
53}
54
55alsa() {
56 pkgdesc="Bluez plugin for ALSA"
57 mkdir -p "$subpkgdir"/etc "$subpkgdir"/usr/lib
58 mv "$pkgdir"/etc/alsa* "$subpkgdir"/etc/
59 mv "$pkgdir"/usr/lib/alsa* "$subpkgdir"/usr/lib/
60}
61
62cups() {
63 pkgdesc="Bluez backend for CUPS"
64 mkdir -p "$subpkgdir"/usr/lib/
65 mv "$pkgdir"/usr/lib/cups "$subpkgdir"/usr/lib/
66}
67
68netlink() {
69 pkgdesc="Bluez netlink plugin"
70 mkdir -p "$subpkgdir"/usr/lib/bluetooth/plugins
71 mv "$pkgdir"/usr/lib/bluetooth/plugins/netlink.so \
72 "$subpkgdir"/usr/lib/bluetooth/plugins
73}
74
75md5sums="d6e60bad937fe72b0bc77e327ee470b0 bluez-4.64.tar.bz2
7666408fb89b05e7ce7e61c4c3c356d2c6 bluetooth.initd
77a159d897a057f4675548327329c4cc22 bluetooth.confd"
diff --git a/testing/bluez/bluetooth-conf.d b/testing/bluez/bluetooth-conf.d
new file mode 100644
index 0000000000..b0cc744415
--- /dev/null
+++ b/testing/bluez/bluetooth-conf.d
@@ -0,0 +1,7 @@
1# Bluetooth configuraton file
2
3# Bind rfcomm devices (allowed values are "true" and "false")
4RFCOMM_ENABLE=true
5
6# Config file for rfcomm
7RFCOMM_CONFIG="/etc/bluetooth/rfcomm.conf"
diff --git a/testing/bluez/bluetooth-init.d b/testing/bluez/bluetooth-init.d
new file mode 100644
index 0000000000..111902aaeb
--- /dev/null
+++ b/testing/bluez/bluetooth-init.d
@@ -0,0 +1,31 @@
1#!/sbin/runscript
2# Copyright 1999-2008 Gentoo Foundation
3# Distributed under the terms of the GNU General Public License v2
4# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/files/4.60/bluetooth-init.d,v 1.1 2010/02/01 19:47:46 pacho Exp $
5
6depend() {
7 after coldplug
8 need dbus localmount
9}
10
11start() {
12 ebegin "Starting Bluetooth"
13
14 udevadm trigger --subsystem-match=bluetooth
15 eend $?
16
17 if [ "${RFCOMM_ENABLE}" = "true" -a -x /usr/bin/rfcomm ]; then
18 if [ -f "${RFCOMM_CONFIG}" ]; then
19 ebegin " Starting rfcomm"
20 /usr/bin/rfcomm -f "${RFCOMM_CONFIG}" bind all
21 eend $?
22 else
23 ewarn "Not enabling rfcomm because RFCOMM_CONFIG does not exists"
24 fi
25 fi
26}
27
28stop() {
29 ebegin "Shutting down Bluetooth"
30 eend 0
31}
diff --git a/testing/bluez/bluetooth.confd b/testing/bluez/bluetooth.confd
new file mode 100644
index 0000000000..b0cc744415
--- /dev/null
+++ b/testing/bluez/bluetooth.confd
@@ -0,0 +1,7 @@
1# Bluetooth configuraton file
2
3# Bind rfcomm devices (allowed values are "true" and "false")
4RFCOMM_ENABLE=true
5
6# Config file for rfcomm
7RFCOMM_CONFIG="/etc/bluetooth/rfcomm.conf"
diff --git a/testing/bluez/bluetooth.initd b/testing/bluez/bluetooth.initd
new file mode 100644
index 0000000000..9ec58e97c4
--- /dev/null
+++ b/testing/bluez/bluetooth.initd
@@ -0,0 +1,32 @@
1#!/sbin/runscript
2# Copyright 1999-2008 Gentoo Foundation
3# Distributed under the terms of the GNU General Public License v2
4# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/files/4.60/bluetooth-init.d,v 1.1 2010/02/01 19:47:46 pacho Exp $
5
6depend() {
7 after coldplug
8 need dbus localmount
9}
10
11start() {
12 ebegin "Starting Bluetooth"
13
14 if [ -x /sbin/udevadm ]; then
15 udevadm trigger --subsystem-match=bluetooth
16 eend $?
17 fi
18
19 if [ "${RFCOMM_ENABLE}" = "true" -a -x /usr/bin/rfcomm ]; then
20 if [ -f "${RFCOMM_CONFIG}" ]; then
21 /usr/bin/rfcomm -f "${RFCOMM_CONFIG}" bind all
22 else
23 ewarn "Not enabling rfcomm because RFCOMM_CONFIG does not exists"
24 fi
25 fi
26 eend $?
27}
28
29stop() {
30 ebegin "Shutting down Bluetooth"
31 eend 0
32}
diff --git a/testing/cdparanoia/APKBUILD b/testing/cdparanoia/APKBUILD
index 7080bfc8ca..e31d894f80 100644
--- a/testing/cdparanoia/APKBUILD
+++ b/testing/cdparanoia/APKBUILD
@@ -2,11 +2,11 @@
2# Maintainer: Michael Mason <ms13sp@gmail.com> 2# Maintainer: Michael Mason <ms13sp@gmail.com>
3pkgname=cdparanoia 3pkgname=cdparanoia
4pkgver=10.2 4pkgver=10.2
5pkgrel=0 5pkgrel=1
6pkgdesc="An audio CD extraction application" 6pkgdesc="An audio CD extraction application"
7url="http://www.xiph.org/paranoia" 7url="http://www.xiph.org/paranoia"
8license="GPL" 8license="GPL"
9depends="uclibc" 9depends=
10makedepends="libtool autoconf automake" 10makedepends="libtool autoconf automake"
11install= 11install=
12subpackages="$pkgname-dev" 12subpackages="$pkgname-dev"
@@ -26,7 +26,10 @@ build() {
26 --infodir=/usr/share/info 26 --infodir=/usr/share/info
27 make || return 1 27 make || return 1
28 #make DESTDIR="$pkgdir" install 28 #make DESTDIR="$pkgdir" install
29}
29 30
31package() {
32 cd "$srcdir/$pkgname-III-$pkgver"
30 install -m755 -D "$srcdir"/"$pkgname-III-$pkgver"/cdparanoia "$pkgdir"/usr/bin/cdparanoia 33 install -m755 -D "$srcdir"/"$pkgname-III-$pkgver"/cdparanoia "$pkgdir"/usr/bin/cdparanoia
31 install -m644 -D "$srcdir"/"$pkgname-III-$pkgver"/interface/libcdda_interface.a "$pkgdir"/usr/lib/libcdda_interface.a 34 install -m644 -D "$srcdir"/"$pkgname-III-$pkgver"/interface/libcdda_interface.a "$pkgdir"/usr/lib/libcdda_interface.a
32 install -m755 -D "$srcdir"/"$pkgname-III-$pkgver"/interface/libcdda_interface.so.0."$pkgver" "$pkgdir"/usr/lib/libcdda_interface.so.0."$pkgver" 35 install -m755 -D "$srcdir"/"$pkgname-III-$pkgver"/interface/libcdda_interface.so.0."$pkgver" "$pkgdir"/usr/lib/libcdda_interface.so.0."$pkgver"
diff --git a/testing/cherokee/APKBUILD b/testing/cherokee/APKBUILD
index 47a7d43aba..7705d87ce4 100644
--- a/testing/cherokee/APKBUILD
+++ b/testing/cherokee/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Mika Havela <mika.havela@gmail.com> 2# Maintainer: Mika Havela <mika.havela@gmail.com>
3pkgname=cherokee 3pkgname=cherokee
4pkgver=0.99.41 4pkgver=0.99.41
5pkgrel=0 5pkgrel=2
6pkgdesc="A very fast, flexible and easy to configure Web Server" 6pkgdesc="A very fast, flexible and easy to configure Web Server"
7url="http://www.cherokee-project.com/" 7url="http://www.cherokee-project.com/"
8license="GPL2" 8license="GPL2"
diff --git a/testing/collectd/APKBUILD b/testing/collectd/APKBUILD
index e145a79fd8..2905922a6d 100644
--- a/testing/collectd/APKBUILD
+++ b/testing/collectd/APKBUILD
@@ -2,13 +2,13 @@
2# Maintainer: 2# Maintainer:
3pkgname=collectd 3pkgname=collectd
4pkgver=4.9.1 4pkgver=4.9.1
5pkgrel=0 5pkgrel=2
6pkgdesc="The system statistics collection daemon" 6pkgdesc="The system statistics collection daemon"
7url="http://collectd.org" 7url="http://collectd.org"
8license="GPL" 8license="GPL"
9depends= 9depends=
10makedepends="pkgconfig curl-dev net-snmp-dev postgresql-dev perl-dev 10makedepends="pkgconfig curl-dev net-snmp-dev postgresql-dev perl-dev
11 libgcrypt-dev mysql-dev zlib-dev" 11 libgcrypt-dev mysql-dev zlib-dev openssl-dev"
12install= 12install=
13subpackages="$pkgname-dev $pkgname-doc $pkgname-perl $pkgname-snmp $pkgname-curl 13subpackages="$pkgname-dev $pkgname-doc $pkgname-perl $pkgname-snmp $pkgname-curl
14 $pkgname-write_http $pkgname-nginx $pkgname-apache $pkgname-postgresql 14 $pkgname-write_http $pkgname-nginx $pkgname-apache $pkgname-postgresql
diff --git a/testing/coova-chilli/APKBUILD b/testing/coova-chilli/APKBUILD
index 256475ba6b..ab84e37318 100644
--- a/testing/coova-chilli/APKBUILD
+++ b/testing/coova-chilli/APKBUILD
@@ -5,7 +5,7 @@
5 5
6pkgname=coova-chilli 6pkgname=coova-chilli
7pkgver=1.0.14 7pkgver=1.0.14
8pkgrel=0 8pkgrel=2
9pkgdesc="CoovaChilli is an open source access controller for wireless LAN" 9pkgdesc="CoovaChilli is an open source access controller for wireless LAN"
10url="http://www.coova.org/" 10url="http://www.coova.org/"
11license="GPL" 11license="GPL"
@@ -31,6 +31,10 @@ build() {
31 --sysconfdir=/etc \ 31 --sysconfdir=/etc \
32 --with-openssl 32 --with-openssl
33 make -j1 || return 1 33 make -j1 || return 1
34}
35
36package() {
37 cd "$srcdir/$pkgname-$pkgver"
34 make DESTDIR="$pkgdir" install 38 make DESTDIR="$pkgdir" install
35} 39}
36 40
diff --git a/testing/cryptsetup/APKBUILD b/testing/cryptsetup/APKBUILD
index 4d7d4c983b..2f6fed11db 100644
--- a/testing/cryptsetup/APKBUILD
+++ b/testing/cryptsetup/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=cryptsetup 2pkgname=cryptsetup
3pkgver=1.0.7 3pkgver=1.0.7
4pkgrel=0 4pkgrel=1
5pkgdesc="Userspace setup tool for transparent encryption of block devices using the Linux 2.6 cryptoapi" 5pkgdesc="Userspace setup tool for transparent encryption of block devices using the Linux 2.6 cryptoapi"
6url="http://code.google.com/p/cryptsetup/" 6url="http://code.google.com/p/cryptsetup/"
7license="GPL" 7license="GPL"
diff --git a/testing/daemontools/APKBUILD b/testing/daemontools/APKBUILD
index 98bf995230..84ed1ded7f 100644
--- a/testing/daemontools/APKBUILD
+++ b/testing/daemontools/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=daemontools 2pkgname=daemontools
3pkgver=0.76 3pkgver=0.76
4pkgrel=0 4pkgrel=1
5pkgdesc="Collection of tools for managing UNIX services" 5pkgdesc="Collection of tools for managing UNIX services"
6url="http://cr.yp.to/daemontools.html" 6url="http://cr.yp.to/daemontools.html"
7license="public-domain" 7license="public-domain"
diff --git a/testing/dspam/APKBUILD b/testing/dspam/APKBUILD
index 1d049cfbe7..fb27610861 100644
--- a/testing/dspam/APKBUILD
+++ b/testing/dspam/APKBUILD
@@ -2,7 +2,7 @@
2pkgname=dspam 2pkgname=dspam
3pkgver=3.9.0_rc2 3pkgver=3.9.0_rc2
4_ver=3.9.0-RC2 4_ver=3.9.0-RC2
5pkgrel=0 5pkgrel=1
6pkgdesc="A statistical-algorithmic hybrid anti-spam filter" 6pkgdesc="A statistical-algorithmic hybrid anti-spam filter"
7url="http://dspam.nuclearelephant.com/" 7url="http://dspam.nuclearelephant.com/"
8pkgusers="dspam" 8pkgusers="dspam"
diff --git a/testing/ebtables/APKBUILD b/testing/ebtables/APKBUILD
index 4bdc882e5e..aedc6e8a48 100644
--- a/testing/ebtables/APKBUILD
+++ b/testing/ebtables/APKBUILD
@@ -3,7 +3,7 @@
3pkgname=ebtables 3pkgname=ebtables
4pkgver=2.0.9.1 4pkgver=2.0.9.1
5_realver=v2.0.9-1 5_realver=v2.0.9-1
6pkgrel=0 6pkgrel=1
7pkgdesc="Ethernet bridge tables - Linux Ethernet filter for the Linux bridge." 7pkgdesc="Ethernet bridge tables - Linux Ethernet filter for the Linux bridge."
8url="http://ebtables.sourceforge.net/" 8url="http://ebtables.sourceforge.net/"
9license="GPL" 9license="GPL"
diff --git a/testing/freeradius/APKBUILD b/testing/freeradius/APKBUILD
index 5163359104..8d5caa8ba3 100644
--- a/testing/freeradius/APKBUILD
+++ b/testing/freeradius/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: 2# Maintainer:
3pkgname=freeradius 3pkgname=freeradius
4pkgver=2.1.7 4pkgver=2.1.7
5pkgrel=0 5pkgrel=2
6pkgdesc="RADIUS (Remote Authentication Dial-In User Service) server" 6pkgdesc="RADIUS (Remote Authentication Dial-In User Service) server"
7url="http://freeradius.org/" 7url="http://freeradius.org/"
8license="GPL" 8license="GPL"
diff --git a/testing/freeswitch/freeswitch.initd b/testing/freeswitch/freeswitch.initd
deleted file mode 100755
index 84381d7711..0000000000
--- a/testing/freeswitch/freeswitch.initd
+++ /dev/null
@@ -1,33 +0,0 @@
1#!/sbin/runscript
2# Copyright 2007 Gentoo Foundation
3# Distributed under the terms of the GNU General Public License, v2 or later
4# $Header: $
5
6depend() {
7 need net
8}
9
10start() {
11 local OPTS
12
13 [ -n "${FREESWITCH_USER}" ] && \
14 OPTS="${OPTS} -u ${FREESWITCH_USER}"
15
16 [ -n "${FREESWITCH_GROUP}" ] && \
17 OPTS="${OPTS} -g ${FREESWITCH_GROUP}"
18
19 [ -n "${FREESWITCH_OPTS}" ] && \
20 OPTS="${OPTS} ${FREESWITCH_OPTS}"
21
22 ebegin "Starting Freeswitch"
23 start-stop-daemon --start --quiet --exec /usr/bin/freeswitch \
24 --pidfile /var/run/freeswitch.pid -- -nc ${OPTS}
25 eend $?
26}
27
28stop() {
29 ebegin "Stopping Freeswitch"
30 start-stop-daemon --stop --quiet --pidfile /var/run/freeswitch.pid
31 eend $?
32}
33
diff --git a/testing/freeswitch/freeswitch.post-deinstall b/testing/freeswitch/freeswitch.post-deinstall
deleted file mode 100755
index 5ec871cb12..0000000000
--- a/testing/freeswitch/freeswitch.post-deinstall
+++ /dev/null
@@ -1,4 +0,0 @@
1#!/bin/sh
2
3deluser freeswitch
4delgroup freeswitch
diff --git a/testing/freeswitch/freeswitch.post-install b/testing/freeswitch/freeswitch.post-install
deleted file mode 100755
index 3b1c414c6b..0000000000
--- a/testing/freeswitch/freeswitch.post-install
+++ /dev/null
@@ -1,5 +0,0 @@
1#!/bin/sh
2
3chown -R freeswitch:freeswitch /etc/freeswitch/
4chown -R freeswitch:freeswitch /var/run/freeswitch/
5
diff --git a/testing/freeswitch/freeswitch.pre-install b/testing/freeswitch/freeswitch.pre-install
deleted file mode 100755
index b8065b52b6..0000000000
--- a/testing/freeswitch/freeswitch.pre-install
+++ /dev/null
@@ -1,4 +0,0 @@
1#!/bin/sh
2
3adduser -h /dev/null -s /bin/false -D freeswitch 2>/dev/null
4mkdir /var/run/freeswitch
diff --git a/testing/fuse/APKBUILD b/testing/fuse/APKBUILD
index 52cf280bba..5f2d4eb61e 100644
--- a/testing/fuse/APKBUILD
+++ b/testing/fuse/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=fuse 2pkgname=fuse
3pkgver=2.8.1 3pkgver=2.8.1
4pkgrel=0 4pkgrel=1
5pkgdesc="A library that makes it possible to implement a filesystem in a userspace program." 5pkgdesc="A library that makes it possible to implement a filesystem in a userspace program."
6url="http://fuse.sourceforge.net/" 6url="http://fuse.sourceforge.net/"
7license="GPL2" 7license="GPL2"
diff --git a/testing/gnumeric/APKBUILD b/testing/gnumeric/APKBUILD
new file mode 100644
index 0000000000..ef7d620a46
--- /dev/null
+++ b/testing/gnumeric/APKBUILD
@@ -0,0 +1,30 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=gnumeric
3pkgver=1.10.3
4pkgrel=0
5pkgdesc="A GNOME Spreadsheet Program"
6url="http://www.gnome.org/projects/gnumeric/"
7license="GPL"
8makedepends="gtk+-dev intltool desktop-file-utils libglade-dev goffice-dev
9 rarian"
10install=
11subpackages="$pkgname-dev $pkgname-doc"
12source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/1.10/$pkgname-$pkgver.tar.bz2"
13
14_builddir="$srcdir"/$pkgname-$pkgver
15build() {
16 cd "$_builddir"
17 ./configure --prefix=/usr \
18 --sysconfdir=/etc \
19 --localstatedir=/var \
20 --disable-schemas-install \
21 --disable-static \
22 --enable-ssindex || return 1
23 make || return 1
24}
25
26package() {
27 cd "$_builddir"
28 make -j1 DESTDIR="$pkgdir" install || return 1
29}
30md5sums="7da8b0acac1395c6fb049d5be7da37ef gnumeric-1.10.3.tar.bz2"
diff --git a/testing/gtksourceview/APKBUILD b/testing/gtksourceview/APKBUILD
index c4ed809a6d..78f48202d7 100644
--- a/testing/gtksourceview/APKBUILD
+++ b/testing/gtksourceview/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=gtksourceview 2pkgname=gtksourceview
3pkgver=2.8.2 3pkgver=2.8.2
4pkgrel=0 4pkgrel=1
5pkgdesc="A text widget adding syntax highlighting and more to GNOME" 5pkgdesc="A text widget adding syntax highlighting and more to GNOME"
6url="http://live.gnome.org/GtkSourceView" 6url="http://live.gnome.org/GtkSourceView"
7license="GPL" 7license="GPL"
diff --git a/testing/hardinfo/APKBUILD b/testing/hardinfo/APKBUILD
index ac60f1dd1f..30b5794916 100644
--- a/testing/hardinfo/APKBUILD
+++ b/testing/hardinfo/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=hardinfo 2pkgname=hardinfo
3pkgver=0.5.1 3pkgver=0.5.1
4pkgrel=0 4pkgrel=1
5pkgdesc="A system information and benchmark tool." 5pkgdesc="A system information and benchmark tool."
6url="http://hardinfo.berlios.de/wiki/index.php/Main_Page" 6url="http://hardinfo.berlios.de/wiki/index.php/Main_Page"
7license="GPL-2" 7license="GPL-2"
@@ -14,6 +14,8 @@ _builddir="$srcdir"/$pkgname-$pkgver
14prepare() { 14prepare() {
15 cd "$_builddir" 15 cd "$_builddir"
16 patch -p1 < "$srcdir"/fixsensors.patch || return 1 16 patch -p1 < "$srcdir"/fixsensors.patch || return 1
17 # configure scrip says bash but bb ash works just fine
18 sed -i -e '1,1s/bash/sh/' configure
17} 19}
18 20
19build() { 21build() {
diff --git a/testing/hdparm/APKBUILD b/testing/hdparm/APKBUILD
index f9fb4bf9b4..4b69192d1f 100644
--- a/testing/hdparm/APKBUILD
+++ b/testing/hdparm/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=hdparm 2pkgname=hdparm
3pkgver=9.27 3pkgver=9.27
4pkgrel=1 4pkgrel=2
5pkgdesc="A shell utility for manipulating Linux IDE drive/driver parameters" 5pkgdesc="A shell utility for manipulating Linux IDE drive/driver parameters"
6url="http://sourceforge.net/projects/hdparm/" 6url="http://sourceforge.net/projects/hdparm/"
7license="BSD" 7license="BSD"
diff --git a/testing/hping3/APKBUILD b/testing/hping3/APKBUILD
index f55e1168b9..2479d74b6c 100644
--- a/testing/hping3/APKBUILD
+++ b/testing/hping3/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Michael Mason <ms13sp@gmail.com> 2# Maintainer: Michael Mason <ms13sp@gmail.com>
3pkgname=hping3 3pkgname=hping3
4pkgver=20051105 4pkgver=20051105
5pkgrel=0 5pkgrel=1
6pkgdesc="A ping-like TCP/IP packet assembler/analyzer" 6pkgdesc="A ping-like TCP/IP packet assembler/analyzer"
7url="http://www.hping.org" 7url="http://www.hping.org"
8license="GPL" 8license="GPL"
diff --git a/testing/icecast/APKBUILD b/testing/icecast/APKBUILD
index 0e7c70e7d9..33bffd7325 100644
--- a/testing/icecast/APKBUILD
+++ b/testing/icecast/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: 2# Maintainer:
3pkgname=icecast 3pkgname=icecast
4pkgver=2.3.2 4pkgver=2.3.2
5pkgrel=1 5pkgrel=2
6pkgdesc="Open source media server" 6pkgdesc="Open source media server"
7url="http://www.icecast.org" 7url="http://www.icecast.org"
8license="GPL" 8license="GPL"
diff --git a/testing/iproute2/APKBUILD b/testing/iproute2/APKBUILD
index 1ef20dde09..71773e5336 100644
--- a/testing/iproute2/APKBUILD
+++ b/testing/iproute2/APKBUILD
@@ -2,7 +2,7 @@
2pkgname=iproute2 2pkgname=iproute2
3pkgver=2.6.31 3pkgver=2.6.31
4_realver=2.6.31 4_realver=2.6.31
5pkgrel=0 5pkgrel=1
6pkgdesc="IP Routing Utilities" 6pkgdesc="IP Routing Utilities"
7url="http://www.linux-foundation.org/en/Net:Iproute2" 7url="http://www.linux-foundation.org/en/Net:Iproute2"
8license="GPL2" 8license="GPL2"
diff --git a/testing/ircii/APKBUILD b/testing/ircii/APKBUILD
index 221568ba40..1c16d509aa 100644
--- a/testing/ircii/APKBUILD
+++ b/testing/ircii/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Michael Mason <ms13sp@gmail.com> 2# Maintainer: Michael Mason <ms13sp@gmail.com>
3pkgname=ircii 3pkgname=ircii
4pkgver=20080314 4pkgver=20080314
5pkgrel=0 5pkgrel=1
6pkgdesc="Universal IRC for Unix systems" 6pkgdesc="Universal IRC for Unix systems"
7url="http://www.eterna.com.au/ircii/" 7url="http://www.eterna.com.au/ircii/"
8license="GPL" 8license="GPL"
diff --git a/testing/ircservices/APKBUILD b/testing/ircservices/APKBUILD
index 96b9db48a2..57d36e7099 100644
--- a/testing/ircservices/APKBUILD
+++ b/testing/ircservices/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=ircservices 2pkgname=ircservices
3pkgver=5.1.21 3pkgver=5.1.21
4pkgrel=0 4pkgrel=1
5pkgdesc="Services for IRC (NickServ, ChanServ, MemoServ)" 5pkgdesc="Services for IRC (NickServ, ChanServ, MemoServ)"
6url="http://www.ircservices.za.net/" 6url="http://www.ircservices.za.net/"
7license="GPL" 7license="GPL"
diff --git a/testing/iscsi-scst-grsec/APKBUILD b/testing/iscsi-scst-grsec/APKBUILD
new file mode 100644
index 0000000000..c8c95c158e
--- /dev/null
+++ b/testing/iscsi-scst-grsec/APKBUILD
@@ -0,0 +1,60 @@
1# Contributor: Carlo Landmeter
2# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
3
4_flavor=${FLAVOR:-grsec}
5_realname=iscsi-scst
6# source the kernel version
7if [ -f ../../main/linux-$_flavor/APKBUILD ]; then
8 . ../../main/linux-$_flavor/APKBUILD
9fi
10_kver=$pkgver
11_kernelver=$pkgver-r$pkgrel
12_abi_release=$pkgver-${_flavor}
13_kpkgrel=$pkgrel
14
15_realver=1.0.1.1
16pkgname=${_realname}-${_flavor}
17pkgver=$_kver
18_mypkgrel=0
19pkgrel=$(($_kpkgrel + $_mypkgrel))
20pkgdesc="$_flavor ISCSI for SCST $_realver"
21url="http://scst.sourceforge.net/"
22license="GPL-2"
23depends="linux-${_flavor}=${_kernelver}"
24install=
25makedepends="linux-${_flavor}-dev=${_kernelver} scst-grsec-dev"
26subpackages=
27source="http://downloads.sourceforge.net/scst/$_realname-$_realver.tar.gz
28 config.c.patch
29 "
30_ksrc=/usr/src/linux-headers-${_abi_release}
31
32_builddir="$srcdir"/$_realname-$_realver
33prepare() {
34 cd "$_builddir"
35 for i in "$srcdir"/*.patch; do
36 [ -f "$i" ] || continue
37 msg "Applying $i"
38 patch -p1 -i $i || return 1
39 done
40 # to build mods we need the headre file. fix dependency in makefile
41 sed -i -e 's/^\(mods: .*\)/\1 include\/iscsi_scst_itf_ver.h/' Makefile
42}
43
44build() {
45 cd "$_builddir"
46 unset ARCH
47 make mods \
48 KDIR="$_ksrc" \
49 SCST_INC_DIR=/usr/include/scst \
50 || return 1
51}
52
53package() {
54 cd "$_builddir"
55 install -D -m 644 kernel/iscsi-scst.ko \
56 "$pkgdir"/lib/modules/$_abi_release/extra/iscsi-scst.ko
57}
58
59md5sums="56109c01e3d4421a36d6f47efa1fb0d5 iscsi-scst-1.0.1.1.tar.gz
6048e21e3466fd819418f29e3b2487f052 config.c.patch"
diff --git a/testing/iscsi-scst-grsec/config.c.patch b/testing/iscsi-scst-grsec/config.c.patch
new file mode 100644
index 0000000000..e3b1523218
--- /dev/null
+++ b/testing/iscsi-scst-grsec/config.c.patch
@@ -0,0 +1,12 @@
1--- iscsi-scst/kernel/config.c 2009/05/11 17:24:51 841
2+++ iscsi-scst/kernel/config.c 2009/07/08 17:27:30 938
3@@ -203,7 +203,9 @@
4 goto out;
5 }
6
7+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 30)
8 proc_iscsi_dir->owner = THIS_MODULE;
9+#endif
10
11 err = iscsi_proc_log_entry_build(&iscsi_template);
12 if (err < 0)
diff --git a/testing/iscsi-scst/APKBUILD b/testing/iscsi-scst/APKBUILD
new file mode 100644
index 0000000000..1624175deb
--- /dev/null
+++ b/testing/iscsi-scst/APKBUILD
@@ -0,0 +1,39 @@
1# Contributor: Carlo Landmeter
2# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
3
4pkgname=iscsi-scst
5pkgver=1.0.1.1
6pkgrel=2
7pkgdesc="ISCSI target for SCST - userspace tools"
8url="http://iscsi-scst.sourceforge.net/"
9license="GPL-2"
10depends=
11install=
12makedepends="openssl-dev"
13subpackages=
14source="http://downloads.sourceforge.net/scst/$pkgname-$pkgver.tar.gz
15 iscsi-scst.initd
16 "
17
18_builddir="$srcdir"/$pkgname-$pkgver
19prepare() {
20 cd "$_builddir"
21 # we need the headre file. fix dependency in makefile
22 sed -i -e 's/^\(progs:.*\)/\1 include\/iscsi_scst_itf_ver.h/' Makefile
23}
24
25build() {
26 cd "$_builddir"
27 make progs
28}
29
30package() {
31 cd "$_builddir"
32 # make install is broken
33 install -D usr/iscsi-scstd "$pkgdir"/usr/sbin/iscsi-scstd
34 install -D usr/iscsi-scst-adm "$pkgdir"/iscsi-scst-adm
35 install -D -m 755 "$srcdir"/iscsi-scst.initd "$pkgdir"/etc/init.d/iscsi-scst
36}
37
38md5sums="56109c01e3d4421a36d6f47efa1fb0d5 iscsi-scst-1.0.1.1.tar.gz
393132fae1ec2f9bcc72476d9e9f36d326 iscsi-scst.initd"
diff --git a/testing/iscsi-scst/iscsi-scst.initd b/testing/iscsi-scst/iscsi-scst.initd
new file mode 100644
index 0000000000..4d4cd76b59
--- /dev/null
+++ b/testing/iscsi-scst/iscsi-scst.initd
@@ -0,0 +1,23 @@
1#!/sbin/runscript
2#
3# Start the iSCSI-SCST Target.
4#
5
6depend() {
7 need net
8 afer firewall
9}
10
11start() {
12 modprobe -q crc32c
13 modprobe -q iscsi-scst
14 ebegin "Starting iscsi-scstd"
15 start-stop-daemon --start --exec /usr/sbin/iscsi-scstd
16 eend 0
17}
18
19stop() {
20 ebegin "Stopping iscsi-scstd"
21 start-stop-daemon --stop --exec /usr/sbin/iscsi-scstd
22 eend 0
23}
diff --git a/testing/kamailio/APKBUILD b/testing/kamailio/APKBUILD
index 5e3a0c6393..604796d546 100644
--- a/testing/kamailio/APKBUILD
+++ b/testing/kamailio/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 2# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
3pkgname=kamailio 3pkgname=kamailio
4pkgver=3.0.0 4pkgver=3.0.0
5pkgrel=1 5pkgrel=2
6pkgdesc="Open Source SIP Server" 6pkgdesc="Open Source SIP Server"
7url="http://www.kamailio.org/" 7url="http://www.kamailio.org/"
8pkgusers="kamailio" 8pkgusers="kamailio"
diff --git a/testing/libelf/APKBUILD b/testing/libelf/APKBUILD
new file mode 100644
index 0000000000..88a52258bc
--- /dev/null
+++ b/testing/libelf/APKBUILD
@@ -0,0 +1,26 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libelf
3pkgver=0.8.13
4pkgrel=0
5pkgdesc="libelf is a free ELF object file access library"
6url="http://www.mr511.de/software/"
7license="GPL"
8depends=
9makedepends=
10subpackages="$pkgname-dev"
11source="http://www.mr511.de/software/$pkgname-$pkgver.tar.gz"
12
13build() {
14 cd "$srcdir"/$pkgname-$pkgver
15 ./configure --prefix=/usr \
16 --enable-shared \
17 --enable-gnu-names \
18 --enable-compat || return 1
19 make || return 1
20}
21
22package() {
23 cd "$srcdir"/$pkgname-$pkgver
24 make install prefix="$pkgdir"/usr || return 1
25}
26md5sums="4136d7b4c04df68b686570afa26988ac libelf-0.8.13.tar.gz"
diff --git a/testing/libgssglue/APKBUILD b/testing/libgssglue/APKBUILD
index 48e22d001e..4701c765cf 100644
--- a/testing/libgssglue/APKBUILD
+++ b/testing/libgssglue/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libgssglue 2pkgname=libgssglue
3pkgver=0.1 3pkgver=0.1
4pkgrel=0 4pkgrel=1
5pkgdesc="exports a gssapi interface which calls other random gssapi libraries" 5pkgdesc="exports a gssapi interface which calls other random gssapi libraries"
6url="http://www.citi.umich.edu/projects/nfsv4/linux/" 6url="http://www.citi.umich.edu/projects/nfsv4/linux/"
7license="BSD" 7license="BSD"
diff --git a/testing/libical/APKBUILD b/testing/libical/APKBUILD
new file mode 100644
index 0000000000..22ef967848
--- /dev/null
+++ b/testing/libical/APKBUILD
@@ -0,0 +1,26 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libical
3pkgver=0.44
4pkgrel=0
5pkgdesc="An open source reference implementation of the icalendar data type and serialization format"
6url="http://sourceforge.net/projects/freeassociation/"
7license="LGPL MPL"
8depends=
9makedepends="perl"
10subpackages="$pkgname-dev"
11source="http://downloads.sourceforge.net/freeassociation/$pkgname-$pkgver.tar.gz"
12
13build() {
14 cd "$srcdir"/$pkgname-$pkgver
15 ./configure --prefix=/usr \
16 --enable-shared \
17 --disable-static \
18 || return 1
19 make || return 1
20}
21
22package() {
23 cd "$srcdir"/$pkgname-$pkgver
24 make DESTDIR="$pkgdir" install
25}
26md5sums="e0403c31e1ed82569325685f8c15959c libical-0.44.tar.gz"
diff --git a/testing/libtirpc/APKBUILD b/testing/libtirpc/APKBUILD
index cbe2b64240..d77553d5b2 100644
--- a/testing/libtirpc/APKBUILD
+++ b/testing/libtirpc/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libtirpc 2pkgname=libtirpc
3pkgver=0.2.1 3pkgver=0.2.1
4pkgrel=0 4pkgrel=1
5pkgdesc="Transport Independent RPC library (SunRPC replacement)" 5pkgdesc="Transport Independent RPC library (SunRPC replacement)"
6url="http://libtirpc.sourceforge.net/" 6url="http://libtirpc.sourceforge.net/"
7license="GPL2" 7license="GPL2"
@@ -17,6 +17,8 @@ prepare() {
17 # uclibc does not provide nis.h so provide our own 17 # uclibc does not provide nis.h so provide our own
18 mkdir src/rpcsvc 18 mkdir src/rpcsvc
19 cp "$srcdir"/nis.h src/rpcsvc/ 19 cp "$srcdir"/nis.h src/rpcsvc/
20 # we dont have nsl
21 sed -i -e "/^libtirpc_la_LDFLAGS/s/-lnsl//" src/Makefile.in
20} 22}
21 23
22build() { 24build() {
diff --git a/testing/libunique/APKBUILD b/testing/libunique/APKBUILD
index 29ed8abb40..59bd45083f 100644
--- a/testing/libunique/APKBUILD
+++ b/testing/libunique/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libunique 2pkgname=libunique
3pkgver=1.1.6 3pkgver=1.1.6
4pkgrel=0 4pkgrel=1
5pkgdesc="Library for writing single instance applications" 5pkgdesc="Library for writing single instance applications"
6url="http://live.gnome.org/LibUnique" 6url="http://live.gnome.org/LibUnique"
7license="LGPL" 7license="LGPL"
diff --git a/testing/libwmf/APKBUILD b/testing/libwmf/APKBUILD
index 3f41087959..024795bd46 100644
--- a/testing/libwmf/APKBUILD
+++ b/testing/libwmf/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=libwmf 2pkgname=libwmf
3pkgver=0.2.8.4 3pkgver=0.2.8.4
4pkgrel=0 4pkgrel=1
5pkgdesc="A library for reading vector images in Microsoft's native Windows Metafile Format (WMF)." 5pkgdesc="A library for reading vector images in Microsoft's native Windows Metafile Format (WMF)."
6url="http://wvware.sourceforge.net/libwmf.html" 6url="http://wvware.sourceforge.net/libwmf.html"
7license="LGPL" 7license="LGPL"
diff --git a/testing/live-media/APKBUILD b/testing/live-media/APKBUILD
index 7f06135f37..0bd0e16714 100644
--- a/testing/live-media/APKBUILD
+++ b/testing/live-media/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=live-media 2pkgname=live-media
3pkgver=2010.01.22 3pkgver=2010.01.22
4pkgrel=0 4pkgrel=1
5pkgdesc="A set of C++ libraries for multimedia streaming" 5pkgdesc="A set of C++ libraries for multimedia streaming"
6url="http://live555.com/liveMedia" 6url="http://live555.com/liveMedia"
7license="LGPL" 7license="LGPL"
diff --git a/testing/ltrace/APKBUILD b/testing/ltrace/APKBUILD
new file mode 100644
index 0000000000..145c2a5454
--- /dev/null
+++ b/testing/ltrace/APKBUILD
@@ -0,0 +1,25 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=ltrace
3pkgver=0.5.3
4pkgrel=0
5pkgdesc="Tracks runtime library calls in dynamically linked programs"
6url="http://ltrace.alioth.debian.org/"
7license="GPL"
8depends=
9makedepends="libelf-dev"
10subpackages="$pkgname-doc"
11source="http://ftp.debian.org/debian/pool/main/l/$pkgname/${pkgname}_$pkgver.orig.tar.gz"
12
13build() {
14 cd "$srcdir"/$pkgname-$pkgver
15 ./configure --prefix=/usr \
16 --sysconfdir=/etc \
17 || return 1
18 make
19}
20
21package() {
22 cd "$srcdir"/$pkgname-$pkgver
23 make install DESTDIR="$pkgdir" || return 1
24}
25md5sums="3fa7fe715ab879db08bd06d1d59fd90f ltrace_0.5.3.orig.tar.gz"
diff --git a/testing/lua-crypto/APKBUILD b/testing/lua-crypto/APKBUILD
index 0aa67ec51c..027affb396 100644
--- a/testing/lua-crypto/APKBUILD
+++ b/testing/lua-crypto/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: 2# Maintainer:
3pkgname=lua-crypto 3pkgname=lua-crypto
4pkgver=0.2.0 4pkgver=0.2.0
5pkgrel=0 5pkgrel=2
6pkgdesc="a Lua frontend to the OpenSSL cryptographic library" 6pkgdesc="a Lua frontend to the OpenSSL cryptographic library"
7url="http://luacrypto.luaforge.net/" 7url="http://luacrypto.luaforge.net/"
8license="MIT/X11" 8license="MIT/X11"
diff --git a/testing/lua-curl/APKBUILD b/testing/lua-curl/APKBUILD
index 4440e83649..0db7be957e 100644
--- a/testing/lua-curl/APKBUILD
+++ b/testing/lua-curl/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=lua-curl 2pkgname=lua-curl
3pkgver=0.2 3pkgver=0.2
4pkgrel=0 4pkgrel=1
5pkgdesc="Lua bindings to cURL library" 5pkgdesc="Lua bindings to cURL library"
6url="http://lua-curl.luaforge.net/" 6url="http://lua-curl.luaforge.net/"
7license="MIT/X11" 7license="MIT/X11"
diff --git a/testing/lua-filesystem/APKBUILD b/testing/lua-filesystem/APKBUILD
index cf07eb5ad4..4c6d6d7b15 100644
--- a/testing/lua-filesystem/APKBUILD
+++ b/testing/lua-filesystem/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: 2# Maintainer:
3pkgname=lua-filesystem 3pkgname=lua-filesystem
4pkgver=1.4.2 4pkgver=1.4.2
5pkgrel=0 5pkgrel=1
6pkgdesc="Lua library to complement the set of functions related to file systems" 6pkgdesc="Lua library to complement the set of functions related to file systems"
7url="http://www.keplerproject.org/luafilesystem/" 7url="http://www.keplerproject.org/luafilesystem/"
8license="GPL" 8license="GPL"
diff --git a/testing/lua-nixio/APKBUILD b/testing/lua-nixio/APKBUILD
index 6e84e8c136..9a900dfb08 100644
--- a/testing/lua-nixio/APKBUILD
+++ b/testing/lua-nixio/APKBUILD
@@ -2,7 +2,7 @@
2pkgname=lua-nixio 2pkgname=lua-nixio
3_name=nixio 3_name=nixio
4pkgver=0.3 4pkgver=0.3
5pkgrel=0 5pkgrel=2
6pkgdesc="General POSIX IO library for Lua" 6pkgdesc="General POSIX IO library for Lua"
7url="http://dev.luci.freifunk-halle.net/nixio/doc/" 7url="http://dev.luci.freifunk-halle.net/nixio/doc/"
8license="Apache" 8license="Apache"
diff --git a/testing/lua-rexlib/APKBUILD b/testing/lua-rexlib/APKBUILD
index aed976bb17..4f7bce0891 100644
--- a/testing/lua-rexlib/APKBUILD
+++ b/testing/lua-rexlib/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: 2# Maintainer:
3pkgname=lua-rex 3pkgname=lua-rex
4pkgver=2.4.0 4pkgver=2.4.0
5pkgrel=0 5pkgrel=1
6pkgdesc="Lua bindings to regular expression library pcre and posix" 6pkgdesc="Lua bindings to regular expression library pcre and posix"
7url="http://lrexlib.luaforge.net/" 7url="http://lrexlib.luaforge.net/"
8license="MIT" 8license="MIT"
diff --git a/testing/madplay/APKBUILD b/testing/madplay/APKBUILD
deleted file mode 100644
index 8d2807b773..0000000000
--- a/testing/madplay/APKBUILD
+++ /dev/null
@@ -1,28 +0,0 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=madplay
3pkgver=0.15.2b
4pkgrel=0
5pkgdesc="The MAD audio player"
6url="http://www.underbit.com/products/mad/"
7license="GPL-2"
8depends=""
9makedepends="alsa-lib-dev libmad-dev libid3tag-dev"
10subpackages="$pkgname-doc"
11source="http://downloads.sourceforge.net/mad/madplay-$pkgver.tar.gz"
12
13build() {
14 cd "$srcdir"/$pkgname-$pkgver
15 ./configure --prefix=/usr \
16 --mandir=/usr/share/man \
17 --disable-nls \
18 --with-alsa \
19 || return 1
20 make
21}
22
23package() {
24 cd "$srcdir"/$pkgname-$pkgver
25 make DESTDIR="$pkgdir" install
26}
27
28md5sums="6814b47ceaa99880c754c5195aa1aac1 madplay-0.15.2b.tar.gz"
diff --git a/testing/madwimax/APKBUILD b/testing/madwimax/APKBUILD
index 70367a6756..6973265ba8 100644
--- a/testing/madwimax/APKBUILD
+++ b/testing/madwimax/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 2# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
3pkgname=madwimax 3pkgname=madwimax
4pkgver=0.1.1 4pkgver=0.1.1
5pkgrel=1 5pkgrel=2
6pkgdesc="WiMAX driver for the Samsung SWC-U200 and similar USB modems" 6pkgdesc="WiMAX driver for the Samsung SWC-U200 and similar USB modems"
7url="http://code.google.com/p/madwimax/" 7url="http://code.google.com/p/madwimax/"
8license="GPL-2" 8license="GPL-2"
diff --git a/testing/mediaproxy/APKBUILD b/testing/mediaproxy/APKBUILD
index b8077fe871..6702781dde 100644
--- a/testing/mediaproxy/APKBUILD
+++ b/testing/mediaproxy/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: 2# Maintainer:
3pkgname=mediaproxy 3pkgname=mediaproxy
4pkgver=2.3.8 4pkgver=2.3.8
5pkgrel=2 5pkgrel=3
6pkgdesc="MediaProxy" 6pkgdesc="MediaProxy"
7url="http://www.ag-projects.com/MediaProxy/" 7url="http://www.ag-projects.com/MediaProxy/"
8pkgusers="kamailio" 8pkgusers="kamailio"
diff --git a/testing/mp3info/APKBUILD b/testing/mp3info/APKBUILD
index 6a52c3b6be..92aee7238a 100644
--- a/testing/mp3info/APKBUILD
+++ b/testing/mp3info/APKBUILD
@@ -6,7 +6,7 @@ pkgrel=0
6pkgdesc="An MP3 technical info viewer and ID3 1.x tag editor" 6pkgdesc="An MP3 technical info viewer and ID3 1.x tag editor"
7url="http://www.ibiblio.org/mp3info/" 7url="http://www.ibiblio.org/mp3info/"
8license="GPL" 8license="GPL"
9depends="uclibc ncurses" 9depends=
10makedepends="ncurses-dev" 10makedepends="ncurses-dev"
11subpackages="" 11subpackages=""
12source="ftp://ftp.ibiblio.org/pub/linux/apps/sound/mp3-utils/mp3info/mp3info-0.8.5a.tgz 12source="ftp://ftp.ibiblio.org/pub/linux/apps/sound/mp3-utils/mp3info/mp3info-0.8.5a.tgz
@@ -18,6 +18,10 @@ build() {
18 patch -p1 -i "$srcdir"/escape_chars.patch || return 1 18 patch -p1 -i "$srcdir"/escape_chars.patch || return 1
19 19
20 make mp3info || return 1 20 make mp3info || return 1
21}
22
23package() {
24 cd "$srcdir/$pkgname-$pkgver"
21 install -Dm755 mp3info "$pkgdir"/usr/bin/mp3info 25 install -Dm755 mp3info "$pkgdir"/usr/bin/mp3info
22 install -Dm644 mp3info.1 "$pkgdir"/usr/share/man/man1/mp3info.1 26 install -Dm644 mp3info.1 "$pkgdir"/usr/share/man/man1/mp3info.1
23 27
diff --git a/testing/mtx/APKBUILD b/testing/mtx/APKBUILD
index 5d706bc40d..f0997c6ec0 100644
--- a/testing/mtx/APKBUILD
+++ b/testing/mtx/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Leonardo Arena <rnalrd@gmail.com> 2# Maintainer: Leonardo Arena <rnalrd@gmail.com>
3pkgname="mtx" 3pkgname="mtx"
4pkgver=1.3.12 4pkgver=1.3.12
5pkgrel=0 5pkgrel=1
6pkgdesc="SCSI Media Changer and Backup Device Control" 6pkgdesc="SCSI Media Changer and Backup Device Control"
7url="http://mtx.opensource-sw.net/" 7url="http://mtx.opensource-sw.net/"
8license="GPL2" 8license="GPL2"
diff --git a/testing/needbump b/testing/needbump
new file mode 100644
index 0000000000..66f21c4703
--- /dev/null
+++ b/testing/needbump
@@ -0,0 +1,57 @@
1alsa-utils
2bacula
3bacula-client
4cherokee
5collectd
6cryptsetup
7daemontools
8dspam
9ebtables
10fuse
11gtksourceview
12hardinfo
13hdparm
14hping3
15icecast
16iproute2
17ircii
18ircservices
19iscsi-scst
20kamailio
21libgssglue
22libtirpc
23libunique
24libwmf
25live-media
26lua-crypto
27lua-curl
28lua-filesystem
29lua-nixio
30lua-rexlib
31madplay
32madwimax
33mediaproxy
34mplayer
35mtx
36open-iscsi
37osmo
38pmacct
39pptpclient
40prosody
41psqlodbc
42python-cjson
43python-gnutls
44qemu
45rrdbot
46rtapd
47rtnppd
48sems
49sircbot
50sisctrl
51smartmontools
52swish-e
53ucspi-tcp
54udev
55umix
56wine
57
diff --git a/testing/obexd/APKBUILD b/testing/obexd/APKBUILD
new file mode 100644
index 0000000000..d6533e8941
--- /dev/null
+++ b/testing/obexd/APKBUILD
@@ -0,0 +1,25 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=obexd
3pkgver=0.25
4pkgrel=0
5pkgdesc="D-Bus service providing high-level OBEX client and server side functionality"
6url="http://www.bluez.org/"
7license="GPL2"
8depends=
9makedepends="dbus-glib-dev openobex-dev glib-dev bluez-dev libical-dev"
10source="http://www.kernel.org/pub/linux/bluetooth/$pkgname-$pkgver.tar.bz2"
11
12build ()
13{
14 cd "$srcdir"/$pkgname-$pkgver
15 ./configure --prefix=/usr \
16 --libexecdir=/usr/lib/obexd \
17 || return 1
18 make || return 1
19}
20
21package() {
22 cd "$srcdir"/$pkgname-$pkgver
23 make DESTDIR="$pkgdir" install
24}
25md5sums="d3f7d7bd77564dfb8cda906566ab2638 obexd-0.25.tar.bz2"
diff --git a/testing/open-iscsi/APKBUILD b/testing/open-iscsi/APKBUILD
index c74cf2692c..0f4076e21d 100644
--- a/testing/open-iscsi/APKBUILD
+++ b/testing/open-iscsi/APKBUILD
@@ -2,7 +2,7 @@
2pkgname=open-iscsi 2pkgname=open-iscsi
3pkgver=2.0.871 3pkgver=2.0.871
4_realver=2.0-871 4_realver=2.0-871
5pkgrel=0 5pkgrel=2
6pkgdesc="High performance, transport independent, multi-platform iSCSI initiator" 6pkgdesc="High performance, transport independent, multi-platform iSCSI initiator"
7url="http://www.open-iscsi.org" 7url="http://www.open-iscsi.org"
8license="GPL-2" 8license="GPL-2"
@@ -12,7 +12,8 @@ install=""
12subpackages="$pkgname-doc" 12subpackages="$pkgname-doc"
13source="http://www.open-iscsi.org/bits/$pkgname-$_realver.tar.gz 13source="http://www.open-iscsi.org/bits/$pkgname-$_realver.tar.gz
14 CVE-2009-1297.patch 14 CVE-2009-1297.patch
15 open-iscsi-2.0.871-makefile-cleanup.patch" 15 open-iscsi-2.0.871-makefile-cleanup.patch
16 iscsid.initd"
16 17
17_builddir="$srcdir"/$pkgname-$_realver 18_builddir="$srcdir"/$pkgname-$_realver
18 19
@@ -36,9 +37,10 @@ package() {
36 mv $pkgdir/sbin/iscsi_discovery $pkgdir/usr/bin 37 mv $pkgdir/sbin/iscsi_discovery $pkgdir/usr/bin
37 mv $pkgdir/sbin/iscsiadm $pkgdir/usr/bin 38 mv $pkgdir/sbin/iscsiadm $pkgdir/usr/bin
38 mv $pkgdir/sbin/iscsid $pkgdir/usr/sbin 39 mv $pkgdir/sbin/iscsid $pkgdir/usr/sbin
39 install -Dm755 ../../iscsid-2.0.871-r1.init.d "$pkgdir"/etc/init.d/iscsid 40 install -Dm755 ../../iscsid.initd "$pkgdir"/etc/init.d/iscsid
40} 41}
41 42
42md5sums="0c403e8c9ad41607571ba0e6e8ff196e open-iscsi-2.0-871.tar.gz 43md5sums="0c403e8c9ad41607571ba0e6e8ff196e open-iscsi-2.0-871.tar.gz
43d1584790b4e12f087e60089880b53d2b CVE-2009-1297.patch 44d1584790b4e12f087e60089880b53d2b CVE-2009-1297.patch
44734300d7b7590dc9ae9b2fb7f5b51bf0 open-iscsi-2.0.871-makefile-cleanup.patch" 45734300d7b7590dc9ae9b2fb7f5b51bf0 open-iscsi-2.0.871-makefile-cleanup.patch
463e89cb86395756dafebc4f1490f0de10 iscsid.initd"
diff --git a/testing/open-iscsi/iscsid-2.0.871-r1.init.d b/testing/open-iscsi/iscsid.initd
index 060eb9b596..572b0a6ae5 100644
--- a/testing/open-iscsi/iscsid-2.0.871-r1.init.d
+++ b/testing/open-iscsi/iscsid.initd
@@ -1,7 +1,4 @@
1#!/sbin/runscript 1#!/sbin/runscript
2# Copyright 1999-2008 Gentoo Technologies, Inc.
3# Distributed under the terms of the GNU General Public License, v2 or later
4# $Header: /var/www/viewcvs.gentoo.org/raw_cvs/gentoo-x86/sys-block/open-iscsi/files/iscsid-2.0.871-r1.init.d,v 1.1 2009/11/12 09:29:48 robbat2 Exp $
5 2
6opts="${opts} starttargets stoptargets restarttargets" 3opts="${opts} starttargets stoptargets restarttargets"
7 4
@@ -37,7 +34,7 @@ do_modules() {
37 modopts="$@" 34 modopts="$@"
38 for m in ${modules} 35 for m in ${modules}
39 do 36 do
40 if [ -n "$(modprobe -l | grep ${m})" ] 37 if [ -n "$(find /lib/modules/`uname -r` | grep ${m})" ]
41 then 38 then
42 ebegin "${msg} ${m}" 39 ebegin "${msg} ${m}"
43 modprobe ${modopts} ${m} 40 modprobe ${modopts} ${m}
diff --git a/testing/openobex/APKBUILD b/testing/openobex/APKBUILD
new file mode 100644
index 0000000000..4c83330cd6
--- /dev/null
+++ b/testing/openobex/APKBUILD
@@ -0,0 +1,34 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=openobex
3pkgver=1.5
4pkgrel=0
5pkgdesc="Implementation of the OBject EXchange (OBEX) protocol"
6url="http://dev.zuckschwerdt.org/openobex/"
7license="GPL LGPL"
8depends=
9makedepends="bluez-dev libusb-dev"
10subpackages="$pkgname-dev libopenobex"
11source="http://www.kernel.org/pub/linux/bluetooth/$pkgname-$pkgver.tar.bz2"
12
13build() {
14 cd "$srcdir/$pkgname-$pkgver"
15 ./configure --prefix=/usr \
16 --enable-apps \
17 --enable-irda \
18 --enable-bluetooth \
19 --enable-usb \
20 || return 1
21 make || return 1
22}
23
24package() {
25 cd "$srcdir/$pkgname-$pkgver"
26 make DESTDIR="$pkgdir" install || return 1
27}
28
29libopenobex() {
30 mkdir -p "$subpkgdir"/usr/lib
31 mv "$pkgdir"/usr/lib/libopenobex.so.* "$subpkgdir"/usr/lib/
32}
33
34md5sums="fce1b82eafb74bde54fe117372393ba8 openobex-1.5.tar.bz2"
diff --git a/testing/opensips-cp/APKBUILD b/testing/opensips-cp/APKBUILD
index 3d7ea8c72f..58ad2d9db2 100644
--- a/testing/opensips-cp/APKBUILD
+++ b/testing/opensips-cp/APKBUILD
@@ -14,8 +14,12 @@ options="!strip"
14source="http://downloads.sourceforge.net/$pkgname/${pkgname}_$pkgver.tgz" 14source="http://downloads.sourceforge.net/$pkgname/${pkgname}_$pkgver.tgz"
15 15
16build() { 16build() {
17 return 0
18}
19
20package() {
17 mkdir -p "$pkgdir"/usr/share/webapps 21 mkdir -p "$pkgdir"/usr/share/webapps
18 cp -r "$srcdir"/$pkgname "$pkgdir"/usr/share/webapps/$pkgname 22 cp -r "$srcdir"/$pkgname "$pkgdir"/usr/share/webapps/$pkgname
19} 23}
20 24
21md5sums="c9b4f4476e231e0d64682c2b07c66965 opensips-cp_2.0.tgz" 25md5sums="a9c3b142c7f74eb0201ae2ab0b252c32 opensips-cp_2.0.tgz"
diff --git a/testing/opensips/APKBUILD b/testing/opensips/APKBUILD
index d54b3dec28..c148ce22a7 100644
--- a/testing/opensips/APKBUILD
+++ b/testing/opensips/APKBUILD
@@ -2,16 +2,15 @@
2# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 2# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
3pkgname=opensips 3pkgname=opensips
4pkgver=1.5.0 4pkgver=1.5.0
5pkgrel=4 5pkgrel=5
6pkgdesc="Flexible and customizable sip routing engine" 6pkgdesc="Flexible and customizable sip routing engine"
7url="http://www.opensips.org/" 7url="http://www.opensips.org/"
8license="GPL" 8license="GPL"
9depends="uclibc expat" 9depends=
10makedepends="bison flex expat-dev coreutils" 10makedepends="bison flex expat-dev coreutils"
11install="$pkgname.pre-install $pkgname.post-install" 11install="$pkgname.pre-install $pkgname.post-install"
12subpackages="$pkgname-doc" 12subpackages="$pkgname-doc"
13source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver-notls_src.tar.gz 13source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver-notls_src.tar.gz
14 $install
15 $pkgname.initd" 14 $pkgname.initd"
16 15
17build() { 16build() {
@@ -25,6 +24,10 @@ build() {
25 cd .. 24 cd ..
26 25
27 make prefix=/usr || return 1 26 make prefix=/usr || return 1
27}
28
29package() {
30 cd "$srcdir/$pkgname-$pkgver-notls"
28 make prefix=/usr basedir="$pkgdir" install 31 make prefix=/usr basedir="$pkgdir" install
29 chmod 750 "$pkgdir"/etc/opensips/opensips.cfg 32 chmod 750 "$pkgdir"/etc/opensips/opensips.cfg
30 install -d "$pkgdir"/var/run/opensips 33 install -d "$pkgdir"/var/run/opensips
@@ -32,6 +35,4 @@ build() {
32} 35}
33 36
34md5sums="ba99592a6e42e8b4dc2d38964420dfec opensips-1.5.0-notls_src.tar.gz 37md5sums="ba99592a6e42e8b4dc2d38964420dfec opensips-1.5.0-notls_src.tar.gz
353a8a5d3c4c23ce9f2fc60b449ad61820 opensips.pre-install
36d9b551148d2b60466c05b4295b935091 opensips.post-install
377fb51d35517f7f10cfe6e89139f7060a opensips.initd" 387fb51d35517f7f10cfe6e89139f7060a opensips.initd"
diff --git a/testing/osmo/APKBUILD b/testing/osmo/APKBUILD
index 75a2f25ded..489874e360 100644
--- a/testing/osmo/APKBUILD
+++ b/testing/osmo/APKBUILD
@@ -1,24 +1,37 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=osmo 2pkgname=osmo
3pkgver=0.2.8 3pkgver=0.2.10
4pkgrel=0 4pkgrel=0
5pkgdesc="A handy personal organizer" 5pkgdesc="A handy personal organizer"
6url="http://clayo.org/osmo/" 6url="http://clayo.org/osmo/"
7license="GPL" 7license="GPL"
8makedepends="gtk+-dev libnotify-dev libxml2-dev" 8makedepends="gtk+-dev libnotify-dev libxml2-dev autoconf automake"
9install= 9install=
10subpackages="$pkgname-doc" 10subpackages="$pkgname-doc"
11source="http://downloads.sourceforge.net/$pkgname-pim/$pkgname-$pkgver.tar.gz" 11source="http://downloads.sourceforge.net/$pkgname-pim/$pkgname-$pkgver.tar.gz
12 osmo-0.2.10-build-mo.patch
13 "
14
15_builddir="$srcdir"/$pkgname-$pkgver
16prepare() {
17 cd "$_builddir"
18 for i in "$srcdir"/*.patch; do
19 msg "Applying ${i##*/}"
20 patch -p1 -i "$i" || return 1
21 done
22 aclocal && autoconf && automake
23}
12 24
13build() { 25build() {
14 cd "$srcdir"/$pkgname-$pkgver 26 cd "$_builddir"
15 ./configure --prefix=/usr || return 1 27 ./configure --prefix=/usr || return 1
16 make || return 1 28 make || return 1
17} 29}
18 30
19package() { 31package() {
20 cd "$srcdir"/$pkgname-$pkgver 32 cd "$_builddir"
21 make DESTDIR="$pkgdir" install || return 1 33 make -j1 DESTDIR="$pkgdir" install || return 1
22} 34}
23 35
24md5sums="7fa83efd27cd3ecc54e73f0ec4e91d81 osmo-0.2.8.tar.gz" 36md5sums="a774db748228efee96186158d553ade9 osmo-0.2.10.tar.gz
376c9939fd4df9d25e1a220585e6875c78 osmo-0.2.10-build-mo.patch"
diff --git a/testing/osmo/osmo-0.2.10-build-mo.patch b/testing/osmo/osmo-0.2.10-build-mo.patch
new file mode 100644
index 0000000000..ac1b9aa235
--- /dev/null
+++ b/testing/osmo/osmo-0.2.10-build-mo.patch
@@ -0,0 +1,20 @@
1diff --git a/po/Makefile.am b/po/Makefile.am
2index b3c904a..f0ee467 100644
3--- a/po/Makefile.am
4+++ b/po/Makefile.am
5@@ -16,8 +16,8 @@ all: $(MOFILES)
6
7 update-po: $(DOMAIN).pot $(POFILES) $(MOFILES)
8
9-%.mo: skip
10- @po=$(@:.mo=.po); if test $$po -nt $@ ; then $(MSGFMT) -c --statistics $$po -o $@; echo "$@ updated."; fi
11+%.mo: %.po
12+ @$(MSGFMT) -c --statistics $^ -o $@; echo "$@ updated."
13
14 %.po: $(DOMAIN).pot
15 $(MSGMERGE) $@ $< -o $@.in && mv $@.in $@
16@@ -41,4 +41,3 @@ uninstall-local:
17 clean-local:
18 rm -rf *.mo
19
20-skip:
diff --git a/testing/perl-carp-clan/APKBUILD b/testing/perl-carp-clan/APKBUILD
new file mode 100644
index 0000000000..e26e5d931d
--- /dev/null
+++ b/testing/perl-carp-clan/APKBUILD
@@ -0,0 +1,36 @@
1# Contributor: Mika Havela <mika.havela@gmail.com>
2# Maintainer: Mika Havela <mika.havela@gmail.com>
3pkgname=perl-carp-clan
4_realname=Carp-Clan
5pkgver=6.04
6pkgrel=0
7pkgdesc="Perl - Report errors from perspective of caller of a 'clan' of modules"
8url="http://search.cpan.org/~stbey/$_realname-$pkgver/"
9license="Artistic GPL"
10depends="perl perl-test-exception"
11makedepends="perl-dev"
12install=
13#subpackages="$pkgname-doc"
14source="http://search.cpan.org/CPAN/authors/id/S/ST/STBEY/$_realname-$pkgver.tar.gz"
15
16_builddir="$srcdir/$_realname-$pkgver"
17
18prepare() {
19 cd "$_builddir"
20}
21
22build() {
23 cd "$_builddir"
24 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
25 make || return 1
26 make test || return 1
27}
28
29package() {
30 cd "$_builddir"
31 make DESTDIR="$pkgdir" install
32 # creates file collision among perl modules
33 find "$pkgdir" -name perllocal.pod -delete
34}
35
36md5sums="b6316bc51bb530d994f2784615939fb2 Carp-Clan-6.04.tar.gz"
diff --git a/testing/perl-date-format/APKBUILD b/testing/perl-date-format/APKBUILD
new file mode 100644
index 0000000000..6615a97fbc
--- /dev/null
+++ b/testing/perl-date-format/APKBUILD
@@ -0,0 +1,36 @@
1# Contributor: Mika Havela <mika.havela@gmail.com>
2# Maintainer: Mika Havela <mika.havela@gmail.com>
3pkgname=perl-date-format
4_realname=TimeDate
5pkgver=1.20
6pkgrel=0
7pkgdesc="Perl - Date formating subroutines"
8url="http://search.cpan.org/~gbarr/$_realname-$pkgver/"
9license="Artistic GPL"
10depends="perl"
11makedepends="perl-dev"
12install=
13#subpackages="$pkgname-doc"
14source="http://search.cpan.org/CPAN/authors/id/G/GB/GBARR/$_realname-$pkgver.tar.gz"
15
16_builddir="$srcdir/$_realname-$pkgver"
17
18prepare() {
19 cd "$_builddir"
20}
21
22build() {
23 cd "$_builddir"
24 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
25 make || return 1
26 make test || return 1
27}
28
29package() {
30 cd "$_builddir"
31 make DESTDIR="$pkgdir" install
32 # creates file collision among perl modules
33 find "$pkgdir" -name perllocal.pod -delete
34}
35
36md5sums="7da7452bce4c684e4238e6d09b390200 TimeDate-1.20.tar.gz"
diff --git a/testing/perl-date-manip/APKBUILD b/testing/perl-date-manip/APKBUILD
new file mode 100644
index 0000000000..34a15d9f1e
--- /dev/null
+++ b/testing/perl-date-manip/APKBUILD
@@ -0,0 +1,34 @@
1# Contributor: Mika Havela <mika.havela@gmail.com>
2# Maintainer: Mika Havela <mika.havela@gmail.com>
3pkgname=perl-date-manip
4_realname=Date-Manip
5pkgver=6.11
6pkgrel=0
7pkgdesc="Perl - Date manipulation routines"
8url="http://search.cpan.org/~sbeck/$_realname-$pkgver/"
9license="Artistic GPL"
10depends="perl perl-test-pod perl-test-inter perl-yaml-syck perl-test-pod-coverage"
11makedepends="perl-dev"
12#subpackages="$pkgname-doc"
13source="http://search.cpan.org/CPAN/authors/id/S/SB/SBECK/$_realname-$pkgver.tar.gz"
14
15_builddir="$srcdir/$_realname-$pkgver"
16
17prepare() {
18 cd "$_builddir"
19}
20
21build() {
22 cd "$_builddir"
23 perl Build.PL || return 1
24 ./Build test || return 1
25}
26
27package() {
28 cd "$_builddir"
29 ./Build destdir="$pkgdir" install
30 # creates file collision among perl modules
31 find "$pkgdir" -name perllocal.pod -delete
32}
33
34md5sums="7880db506f14080635972eb5607fa79d Date-Manip-6.11.tar.gz"
diff --git a/testing/perl-devel-symdump/APKBUILD b/testing/perl-devel-symdump/APKBUILD
new file mode 100644
index 0000000000..16038e9a30
--- /dev/null
+++ b/testing/perl-devel-symdump/APKBUILD
@@ -0,0 +1,36 @@
1# Contributor: Mika Havela <mika.havela@gmail.com>
2# Maintainer: Mika Havela <mika.havela@gmail.com>
3pkgname=perl-devel-symdump
4_realname=Devel-Symdump
5pkgver=2.08
6pkgrel=0
7pkgdesc="Perl - Dump symbol names or the symbol table"
8url="http://search.cpan.org/~andk/$_realname-$pkgver/"
9license="Artistic GPL"
10depends="perl perl-test-pod"
11makedepends="perl-dev"
12install=
13#subpackages="$pkgname-doc"
14source="http://search.cpan.org/CPAN/authors/id/A/AN/ANDK/$_realname-$pkgver.tar.gz"
15
16_builddir="$srcdir/$_realname-$pkgver"
17
18prepare() {
19 cd "$_builddir"
20}
21
22build() {
23 cd "$_builddir"
24 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
25 make || return 1
26 make test || return 1
27}
28
29package() {
30 cd "$_builddir"
31 make DESTDIR="$pkgdir" install
32 # creates file collision among perl modules
33 find "$pkgdir" -name perllocal.pod -delete
34}
35
36md5sums="68e3a2f2f989bff295ee63aed5a2a1e5 Devel-Symdump-2.08.tar.gz"
diff --git a/testing/perl-file-tail/APKBUILD b/testing/perl-file-tail/APKBUILD
new file mode 100644
index 0000000000..9623737437
--- /dev/null
+++ b/testing/perl-file-tail/APKBUILD
@@ -0,0 +1,36 @@
1# Contributor: Mika Havela <mika.havela@gmail.com>
2# Maintainer: Mika Havela <mika.havela@gmail.com>
3pkgname=perl-file-tail
4_realname=File-Tail
5pkgver=0.99.3
6pkgrel=0
7pkgdesc="Perl - Extension for reading from continously updated files"
8url="http://search.cpan.org/~mgrabnar/$_realname-$pkgver/"
9license="Artistic GPL"
10depends="perl"
11makedepends="perl-dev"
12install=
13#subpackages="$pkgname-doc"
14source="http://search.cpan.org/CPAN/authors/id/M/MG/MGRABNAR/$_realname-$pkgver.tar.gz"
15
16_builddir="$srcdir/$_realname-$pkgver"
17
18prepare() {
19 cd "$_builddir"
20}
21
22build() {
23 cd "$_builddir"
24 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
25 make || return 1
26 make test || return 1
27}
28
29package() {
30 cd "$_builddir"
31 make DESTDIR="$pkgdir" install
32 # creates file collision among perl modules
33 find "$pkgdir" -name perllocal.pod -delete
34}
35
36md5sums="ef0fb7bcb4181ba593f4a09940f61d1c File-Tail-0.99.3.tar.gz"
diff --git a/testing/perl-pod-coverage/APKBUILD b/testing/perl-pod-coverage/APKBUILD
new file mode 100644
index 0000000000..cb17f5292c
--- /dev/null
+++ b/testing/perl-pod-coverage/APKBUILD
@@ -0,0 +1,36 @@
1# Contributor: Mika Havela <mika.havela@gmail.com>
2# Maintainer: Mika Havela <mika.havela@gmail.com>
3pkgname=perl-pod-coverage
4_realname=Pod-Coverage
5pkgver=0.20
6pkgrel=0
7pkgdesc="Perl - Checks if the documentation of a module is comprehensive"
8url="http://search.cpan.org/~rclamp/$_realname-$pkgver/"
9license="Artistic GPL"
10depends="perl perl-devel-symdump perl-test-pod"
11makedepends="perl-dev"
12install=
13#subpackages="$pkgname-doc"
14source="http://search.cpan.org/CPAN/authors/id/R/RC/RCLAMP/$_realname-$pkgver.tar.gz"
15
16_builddir="$srcdir/$_realname-$pkgver"
17
18prepare() {
19 cd "$_builddir"
20}
21
22build() {
23 cd "$_builddir"
24 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
25 make || return 1
26 make test || return 1
27}
28
29package() {
30 cd "$_builddir"
31 make DESTDIR="$pkgdir" install
32 # creates file collision among perl modules
33 find "$pkgdir" -name perllocal.pod -delete
34}
35
36md5sums="292a5b8d3a93597af441d3e6467b8ad6 Pod-Coverage-0.20.tar.gz"
diff --git a/testing/perl-sub-uplevel/APKBUILD b/testing/perl-sub-uplevel/APKBUILD
new file mode 100644
index 0000000000..10e4a49ac3
--- /dev/null
+++ b/testing/perl-sub-uplevel/APKBUILD
@@ -0,0 +1,35 @@
1# Contributor: Mika Havela <mika.havela@gmail.com>
2# Maintainer: Mika Havela <mika.havela@gmail.com>
3pkgname=perl-sub-uplevel
4_realname=Sub-Uplevel
5pkgver=0.22
6pkgrel=0
7pkgdesc="Perl - Apparently run a function in a higher stack frame"
8url="http://search.cpan.org/~dagolden/$_realname-$pkgver/"
9license="Artistic GPL"
10depends="perl "
11makedepends="perl-dev"
12#subpackages="$pkgname-doc"
13source="http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/$_realname-$pkgver.tar.gz"
14
15_builddir="$srcdir/$_realname-$pkgver"
16
17prepare() {
18 cd "$_builddir"
19}
20
21build() {
22 cd "$_builddir"
23 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
24 make || return 1
25 make test || return 1
26}
27
28package() {
29 cd "$_builddir"
30 make DESTDIR="$pkgdir" install
31 # creates file collision among perl modules
32 find "$pkgdir" -name perllocal.pod -delete
33}
34
35md5sums="c166738a97c0424a0075ebe205d285db Sub-Uplevel-0.22.tar.gz"
diff --git a/testing/perl-test-exception/APKBUILD b/testing/perl-test-exception/APKBUILD
new file mode 100644
index 0000000000..7b276c63dd
--- /dev/null
+++ b/testing/perl-test-exception/APKBUILD
@@ -0,0 +1,35 @@
1# Contributor: Mika Havela <mika.havela@gmail.com>
2# Maintainer: Mika Havela <mika.havela@gmail.com>
3pkgname=perl-test-exception
4_realname=Test-Exception
5pkgver=0.29
6pkgrel=0
7pkgdesc="Perl - Test exception based code"
8url="http://search.cpan.org/~adie/$_realname-$pkgver/"
9license="Artistic GPL"
10depends="perl perl-sub-uplevel"
11makedepends="perl-dev"
12#subpackages="$pkgname-doc"
13source="http://search.cpan.org/CPAN/authors/id/A/AD/ADIE/$_realname-$pkgver.tar.gz"
14
15_builddir="$srcdir/$_realname-$pkgver"
16
17prepare() {
18 cd "$_builddir"
19}
20
21build() {
22 cd "$_builddir"
23 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
24 make || return 1
25 make test || return 1
26}
27
28package() {
29 cd "$_builddir"
30 make DESTDIR="$pkgdir" install
31 # creates file collision among perl modules
32 find "$pkgdir" -name perllocal.pod -delete
33}
34
35md5sums="9aea475db531d4fd4ce40cf25a0acd14 Test-Exception-0.29.tar.gz"
diff --git a/testing/perl-test-inter/APKBUILD b/testing/perl-test-inter/APKBUILD
new file mode 100644
index 0000000000..29bdf21905
--- /dev/null
+++ b/testing/perl-test-inter/APKBUILD
@@ -0,0 +1,36 @@
1# Contributor: Mika Havela <mika.havela@gmail.com>
2# Maintainer: Mika Havela <mika.havela@gmail.com>
3pkgname=perl-test-inter
4_realname=Test-Inter
5pkgver=1.01
6pkgrel=0
7pkgdesc="Perl - Framework for more readable interactive test scripts"
8url="http://search.cpan.org/~sbeck/$_realname-$pkgver/"
9license="Artistic GPL"
10depends="perl perl-test-pod perl-pod-coverage perl-test-pod-coverage"
11makedepends="perl-dev"
12install=
13#subpackages="$pkgname-doc"
14source="http://search.cpan.org/CPAN/authors/id/S/SB/SBECK/$_realname-$pkgver.tar.gz"
15
16_builddir="$srcdir/$_realname-$pkgver"
17
18prepare() {
19 cd "$_builddir"
20}
21
22build() {
23 cd "$_builddir"
24 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
25 make || return 1
26 make test || return 1
27}
28
29package() {
30 cd "$_builddir"
31 make DESTDIR="$pkgdir" install
32 # creates file collision among perl modules
33 find "$pkgdir" -name perllocal.pod -delete
34}
35
36md5sums="445166a7472e609b96e4474d95552827 Test-Inter-1.01.tar.gz"
diff --git a/testing/perl-test-pod-coverage/APKBUILD b/testing/perl-test-pod-coverage/APKBUILD
new file mode 100644
index 0000000000..9a885e0be7
--- /dev/null
+++ b/testing/perl-test-pod-coverage/APKBUILD
@@ -0,0 +1,36 @@
1# Contributor: Mika Havela <mika.havela@gmail.com>
2# Maintainer: Mika Havela <mika.havela@gmail.com>
3pkgname=perl-test-pod-coverage
4_realname=Test-Pod-Coverage
5pkgver=1.08
6pkgrel=0
7pkgdesc="Perl - Check for pod coverage in your distribution."
8url="http://search.cpan.org/~petdance/$_realname-$pkgver/"
9license="Artistic GPL"
10depends="perl perl-pod-coverage perl-test-pod perl-devel-symdump"
11makedepends="perl-dev"
12install=
13#subpackages="$pkgname-doc"
14source="http://search.cpan.org/CPAN/authors/id/P/PE/PETDANCE/$_realname-$pkgver.tar.gz"
15
16_builddir="$srcdir/$_realname-$pkgver"
17
18prepare() {
19 cd "$_builddir"
20}
21
22build() {
23 cd "$_builddir"
24 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
25 make || return 1
26 make test || return 1
27}
28
29package() {
30 cd "$_builddir"
31 make DESTDIR="$pkgdir" install
32 # creates file collision among perl modules
33 find "$pkgdir" -name perllocal.pod -delete
34}
35
36md5sums="33405cca7c75b7b89c06ba30eea66692 Test-Pod-Coverage-1.08.tar.gz"
diff --git a/testing/perl-yaml-syck/APKBUILD b/testing/perl-yaml-syck/APKBUILD
new file mode 100644
index 0000000000..d1c628054d
--- /dev/null
+++ b/testing/perl-yaml-syck/APKBUILD
@@ -0,0 +1,36 @@
1# Contributor: Mika Havela <mika.havela@gmail.com>
2# Maintainer: Mika Havela <mika.havela@gmail.com>
3pkgname=perl-yaml-syck
4_realname=YAML-Syck
5pkgver=1.07
6pkgrel=0
7pkgdesc="Perl - Fast, lightweight YAML loader and dumper"
8url="http://search.cpan.org/~audreyt/$_realname-$pkgver/"
9license="Artistic GPL"
10depends="perl"
11makedepends="perl-dev"
12install=
13#subpackages="$pkgname-doc"
14source="http://search.cpan.org/CPAN/authors/id/A/AU/AUDREYT/$_realname-$pkgver.tar.gz"
15
16_builddir="$srcdir/$_realname-$pkgver"
17
18prepare() {
19 cd "$_builddir"
20}
21
22build() {
23 cd "$_builddir"
24 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
25 make || return 1
26 make test || return 1
27}
28
29package() {
30 cd "$_builddir"
31 make DESTDIR="$pkgdir" install
32 # creates file collision among perl modules
33 find "$pkgdir" -name perllocal.pod -delete
34}
35
36md5sums="410ef7e24185de2a04390e0543876cad YAML-Syck-1.07.tar.gz"
diff --git a/testing/pmacct/APKBUILD b/testing/pmacct/APKBUILD
index 9a8a05ea87..d536e264db 100644
--- a/testing/pmacct/APKBUILD
+++ b/testing/pmacct/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Leonardo Arena <rnalrd@gmail.com> 1# Maintainer: Leonardo Arena <rnalrd@gmail.com>
2pkgname=pmacct 2pkgname=pmacct
3pkgver=0.12.0 3pkgver=0.12.0
4pkgrel=1 4pkgrel=2
5pkgdesc="Measure, account, classify, aggregate and export IPv4 and IPv6 traffic" 5pkgdesc="Measure, account, classify, aggregate and export IPv4 and IPv6 traffic"
6url="http://www.pmacct.net/" 6url="http://www.pmacct.net/"
7license="GPL" 7license="GPL"
diff --git a/testing/pptpclient/APKBUILD b/testing/pptpclient/APKBUILD
index acdc734ab7..31adae3ce8 100644
--- a/testing/pptpclient/APKBUILD
+++ b/testing/pptpclient/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=pptpclient 2pkgname=pptpclient
3pkgver=1.7.2 3pkgver=1.7.2
4pkgrel=0 4pkgrel=1
5pkgdesc="Client for the proprietary Microsoft Point-to-Point Tunneling Protocol, PPTP." 5pkgdesc="Client for the proprietary Microsoft Point-to-Point Tunneling Protocol, PPTP."
6url="http://pptpclient.sourceforge.net/" 6url="http://pptpclient.sourceforge.net/"
7license="GPL" 7license="GPL"
diff --git a/testing/prosody/APKBUILD b/testing/prosody/APKBUILD
index 4f778f2e19..05996f9a06 100644
--- a/testing/prosody/APKBUILD
+++ b/testing/prosody/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Mika Havela <mika.havela@gmail.com> 2# Maintainer: Mika Havela <mika.havela@gmail.com>
3pkgname=prosody 3pkgname=prosody
4pkgver=0.4.2 4pkgver=0.4.2
5pkgrel=2 5pkgrel=4
6pkgdesc="Lua based Jabber/XMPP server" 6pkgdesc="Lua based Jabber/XMPP server"
7url="http://prosody.im/" 7url="http://prosody.im/"
8license="MIT" 8license="MIT"
diff --git a/testing/pycrypto/APKBUILD b/testing/pycrypto/APKBUILD
index 1ed827ca9d..f5a48e75c3 100644
--- a/testing/pycrypto/APKBUILD
+++ b/testing/pycrypto/APKBUILD
@@ -1,17 +1,22 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=pycrypto 2pkgname=pycrypto
3pkgver=2.0.1 3pkgver=2.0.1
4pkgrel=0 4pkgrel=2
5pkgdesc="A collection of cryptographic algorithms and protocols, implemented for use from Python." 5pkgdesc="A collection of cryptographic algorithms and protocols, implemented for use from Python."
6url="http://www.amk.ca/python/code/crypto.html" 6url="http://www.amk.ca/python/code/crypto.html"
7license="GPL" 7license="GPL"
8depends="python" 8depends="python"
9makedepends="gmp-dev python-dev" 9makedepends="gmp5-dev python-dev"
10source="http://www.amk.ca/files/python/crypto/$pkgname-$pkgver.tar.gz" 10source="http://www.amk.ca/files/python/crypto/$pkgname-$pkgver.tar.gz"
11 11
12build () 12build ()
13{ 13{
14 cd "$srcdir"/$pkgname-$pkgver 14 cd "$srcdir"/$pkgname-$pkgver
15 python setup.py build install --root="$pkgdir" 15 python setup.py build
16}
17
18package() {
19 cd "$srcdir"/$pkgname-$pkgver
20 python setup.py install --root="$pkgdir"
16} 21}
17md5sums="4d5674f3898a573691ffb335e8d749cd pycrypto-2.0.1.tar.gz" 22md5sums="4d5674f3898a573691ffb335e8d749cd pycrypto-2.0.1.tar.gz"
diff --git a/testing/python-cjson/APKBUILD b/testing/python-cjson/APKBUILD
index c6df3c178b..f3274d5fd8 100644
--- a/testing/python-cjson/APKBUILD
+++ b/testing/python-cjson/APKBUILD
@@ -3,7 +3,7 @@
3 3
4pkgname=python-cjson 4pkgname=python-cjson
5pkgver=1.0.5 5pkgver=1.0.5
6pkgrel=0 6pkgrel=1
7pkgdesc="Fast JSON encoder/decoder for Python" 7pkgdesc="Fast JSON encoder/decoder for Python"
8url="http://pypi.python.org/pypi/python-gnutls" 8url="http://pypi.python.org/pypi/python-gnutls"
9license="PSF" 9license="PSF"
diff --git a/testing/python-gnutls/APKBUILD b/testing/python-gnutls/APKBUILD
index 943d06aae9..df19c12397 100644
--- a/testing/python-gnutls/APKBUILD
+++ b/testing/python-gnutls/APKBUILD
@@ -3,7 +3,7 @@
3 3
4pkgname=python-gnutls 4pkgname=python-gnutls
5pkgver=1.1.9 5pkgver=1.1.9
6pkgrel=0 6pkgrel=1
7pkgdesc="Python wrapper for the GNUTLS library" 7pkgdesc="Python wrapper for the GNUTLS library"
8url="http://pypi.python.org/pypi/python-gnutls" 8url="http://pypi.python.org/pypi/python-gnutls"
9license="PSF" 9license="PSF"
diff --git a/testing/qemu/APKBUILD b/testing/qemu/APKBUILD
index 6361ee46bb..4d3d7100bd 100644
--- a/testing/qemu/APKBUILD
+++ b/testing/qemu/APKBUILD
@@ -1,6 +1,6 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=qemu 2pkgname=qemu
3pkgver=0.11.1 3pkgver=0.12.4
4pkgrel=0 4pkgrel=0
5pkgdesc="QEMU is a generic machine emulator and virtualizer" 5pkgdesc="QEMU is a generic machine emulator and virtualizer"
6url="http://www.nongnu.org/qemu/" 6url="http://www.nongnu.org/qemu/"
@@ -8,6 +8,24 @@ license="GPL-2 LGPL-2"
8makedepends="zlib-dev sdl-dev alsa-lib-dev gnutls-dev ncurses-dev" 8makedepends="zlib-dev sdl-dev alsa-lib-dev gnutls-dev ncurses-dev"
9depends= 9depends=
10install="qemu.pre-install" 10install="qemu.pre-install"
11subpackages="
12$pkgname-arm
13$pkgname-cris
14$pkgname-m68k
15$pkgname-microblaze
16$pkgname-mips
17$pkgname-mips64
18$pkgname-mips64el
19$pkgname-mipsel
20$pkgname-ppc
21$pkgname-ppc64
22$pkgname-ppcemb
23$pkgname-sh4
24$pkgname-sh4eb
25$pkgname-sparc
26$pkgname-sparc64
27$pkgname-x86_64
28"
11source="http://savannah.nongnu.org/download/$pkgname/$pkgname-$pkgver.tar.gz 29source="http://savannah.nongnu.org/download/$pkgname/$pkgname-$pkgver.tar.gz
12 kqemu.patch 30 kqemu.patch
13 " 31 "
@@ -23,7 +41,7 @@ prepare() {
23 Makefile Makefile.target tests/Makefile 41 Makefile Makefile.target tests/Makefile
24 sed -i 's/^VL_LDFLAGS=$/VL_LDFLAGS=-Wl,-z,execheap/' \ 42 sed -i 's/^VL_LDFLAGS=$/VL_LDFLAGS=-Wl,-z,execheap/' \
25 Makefile.target 43 Makefile.target
26 patch -p1 -i ../kqemu.patch || return 1 44# patch -p1 -i ../kqemu.patch || return 1
27} 45}
28 46
29build() { 47build() {
@@ -33,8 +51,8 @@ build() {
33 --audio-card-list=ac97,sb16,es1370,adlib \ 51 --audio-card-list=ac97,sb16,es1370,adlib \
34 --disable-darwin-user \ 52 --disable-darwin-user \
35 --disable-bsd-user \ 53 --disable-bsd-user \
36 --disable-nptl \ 54 --disable-linux-user \
37 --cc="$CC" 55 --cc="${CC:-gcc}"
38 56
39 make || return 1 57 make || return 1
40} 58}
@@ -44,5 +62,29 @@ package() {
44 make DESTDIR="$pkgdir" install || return 1 62 make DESTDIR="$pkgdir" install || return 1
45} 63}
46 64
47md5sums="193285b0bcf655a7f7577d05ffcb82b1 qemu-0.11.1.tar.gz 65_subsys() {
66 pkgdesc="Qemu $1 system emulator"
67 depend="qemu"
68 mkdir -p "$subpkgdir"/usr/bin
69 mv "$pkgdir"/usr/bin/qemu-system-$1 "$subpkgdir"/usr/bin/
70}
71
72arm() { _subsys arm; }
73cris() { _subsys cris; }
74m68k() { _subsys m68k; }
75microblaze() { _subsys microblaze; }
76mips() { _subsys mips; }
77mips64() { _subsys mips64; }
78mips64el() { _subsys mips64el; }
79mipsel() { _subsys mipsel; }
80ppc() { _subsys ppc; }
81ppc64() { _subsys ppc64; }
82ppcemb() { _subsys ppcemb; }
83sh4() { _subsys sh4; }
84sh4eb() { _subsys sh4eb; }
85sparc() { _subsys sparc; }
86sparc64() { _subsys sparc64; }
87x86_64() { _subsys x86_64; }
88
89md5sums="93e6b134dff89b2799f57b7d9e0e0fc5 qemu-0.12.4.tar.gz
48f63f7412f016d8ccddabfd02ea28e748 kqemu.patch" 90f63f7412f016d8ccddabfd02ea28e748 kqemu.patch"
diff --git a/testing/rrdbot/APKBUILD b/testing/rrdbot/APKBUILD
index d1f1e17d33..e9698a13d1 100644
--- a/testing/rrdbot/APKBUILD
+++ b/testing/rrdbot/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=rrdbot 2pkgname=rrdbot
3pkgver=0.9.6 3pkgver=0.9.6
4pkgrel=0 4pkgrel=1
5pkgdesc="an SNMP polling daemon which writes the polled values to an RRD database" 5pkgdesc="an SNMP polling daemon which writes the polled values to an RRD database"
6url="http://memberwebs.com/stef/software/rrdbot/" 6url="http://memberwebs.com/stef/software/rrdbot/"
7license="BSD" 7license="BSD"
diff --git a/testing/rrdcollect/APKBUILD b/testing/rrdcollect/APKBUILD
index cf4c623d08..c0ffb9774a 100644
--- a/testing/rrdcollect/APKBUILD
+++ b/testing/rrdcollect/APKBUILD
@@ -2,11 +2,11 @@
2# Maintainer: Michael Mason <ms13sp@gmail.com> 2# Maintainer: Michael Mason <ms13sp@gmail.com>
3pkgname=rrdcollect 3pkgname=rrdcollect
4pkgver=0.2.4 4pkgver=0.2.4
5pkgrel=0 5pkgrel=1
6pkgdesc="Read system statistical data and feed it to RRDtool" 6pkgdesc="Read system statistical data and feed it to RRDtool"
7url="http://rrdcollect.sourceforge.net/" 7url="http://rrdcollect.sourceforge.net/"
8license="GPL" 8license="GPL"
9depends="uclibc libpcap rrdtool" 9depends="rrdtool"
10makedepends="libpcap-dev" 10makedepends="libpcap-dev"
11install= 11install=
12subpackages="$pkgname-doc" 12subpackages="$pkgname-doc"
@@ -20,6 +20,10 @@ build() {
20 --mandir=/usr/share/man \ 20 --mandir=/usr/share/man \
21 --infodir=/usr/share/info 21 --infodir=/usr/share/info
22 make || return 1 22 make || return 1
23}
24
25package() {
26 cd "$srcdir/$pkgname-$pkgver"
23 make DESTDIR="$pkgdir" install 27 make DESTDIR="$pkgdir" install
24 28
25} 29}
diff --git a/testing/rtapd/APKBUILD b/testing/rtapd/APKBUILD
index f568fb7601..88db672311 100644
--- a/testing/rtapd/APKBUILD
+++ b/testing/rtapd/APKBUILD
@@ -4,7 +4,7 @@ pkgname=rtapd
4_altpkgname="rtnppd" 4_altpkgname="rtnppd"
5_builddir="$pkgname" 5_builddir="$pkgname"
6pkgver=1.7 6pkgver=1.7
7pkgrel=0 7pkgrel=1
8pkgdesc="daemon for routing packets to rtnppd" 8pkgdesc="daemon for routing packets to rtnppd"
9url="http://sourceforge.net/projects/rtnppd/" 9url="http://sourceforge.net/projects/rtnppd/"
10license="GPL" 10license="GPL"
diff --git a/testing/rtnppd/APKBUILD b/testing/rtnppd/APKBUILD
index f608ec7fcf..b2725b8ab5 100644
--- a/testing/rtnppd/APKBUILD
+++ b/testing/rtnppd/APKBUILD
@@ -3,7 +3,7 @@
3pkgname=rtnppd 3pkgname=rtnppd
4_builddir="$pkgname" 4_builddir="$pkgname"
5pkgver=1.7b 5pkgver=1.7b
6pkgrel=0 6pkgrel=1
7pkgdesc="A program route TNPP 3.8 (Telocator Network Paging Protocol) packets between serial and other links" 7pkgdesc="A program route TNPP 3.8 (Telocator Network Paging Protocol) packets between serial and other links"
8url="http://sourceforge.net/projects/rtnppd/" 8url="http://sourceforge.net/projects/rtnppd/"
9license="GPL" 9license="GPL"
diff --git a/testing/scst-grsec/APKBUILD b/testing/scst-grsec/APKBUILD
new file mode 100644
index 0000000000..144cfc07fe
--- /dev/null
+++ b/testing/scst-grsec/APKBUILD
@@ -0,0 +1,62 @@
1# Contributor: Carlo Landmeter
2# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
3
4_flavor=${FLAVOR:-grsec}
5_realname=scst
6# source the kernel version
7if [ -f ../../main/linux-$_flavor/APKBUILD ]; then
8 . ../../main/linux-$_flavor/APKBUILD
9fi
10_kver=$pkgver
11_kernelver=$pkgver-r$pkgrel
12_abi_release=$pkgver-${_flavor}
13_kpkgrel=$pkgrel
14
15_realver=1.0.1.1
16pkgname=${_realname}-${_flavor}
17pkgver=$_kver
18_mypkgrel=0
19pkgrel=$(($_kpkgrel + $_mypkgrel))
20pkgdesc="$_flavor kernel modules for SCST $_realver"
21url="http://scst.sourceforge.net/"
22license="GPL-2"
23depends="linux-${_flavor}=${_kernelver}"
24install=
25makedepends="linux-${_flavor}-dev=${_kernelver}"
26subpackages="$pkgname-dev"
27source="http://downloads.sourceforge.net/$_realname/$_realname-$_realver.tar.gz
28 scst-kernel-2.6.32.patch
29 "
30_ksrc=/usr/src/linux-headers-${_abi_release}
31
32_builddir="$srcdir"/$_realname-$_realver
33prepare() {
34 cd "$_builddir"
35 for i in "$srcdir"/*.patch; do
36 [ -f "$i" ] || continue
37 msg "Applying $i"
38 patch -p1 -i $i || return 1
39 done
40}
41
42build() {
43 cd "$_builddir"
44 unset ARCH
45 make KDIR="$_ksrc" || return 1
46}
47
48package() {
49 cd "$_builddir"
50 make KDIR="$_ksrc" \
51 INSTALL_MOD_PATH="$pkgdir" \
52 INSTALL_DIR_H="$pkgdir"/usr/include/scst \
53 install || return 1
54}
55
56# we sourced kernel apkbuild above so we need to override the dev() func
57dev() {
58 default_dev
59}
60
61md5sums="38abb5f10325911ff1374535a30a02ad scst-1.0.1.1.tar.gz
62a87b844b57f997c15c8e0099a313a98e scst-kernel-2.6.32.patch"
diff --git a/testing/scst-grsec/scst-kernel-2.6.32.patch b/testing/scst-grsec/scst-kernel-2.6.32.patch
new file mode 100644
index 0000000000..80fc8610aa
--- /dev/null
+++ b/testing/scst-grsec/scst-kernel-2.6.32.patch
@@ -0,0 +1,17 @@
1--- scst-1.0.1.1/src/dev_handlers/scst_vdisk.c.orig
2+++ scst-1.0.1.1/src/dev_handlers/scst_vdisk.c
3@@ -2071,9 +2071,13 @@
4 inode = file->f_dentry->d_inode;
5 mapping = file->f_mapping;
6
7+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 32)
8 res = sync_page_range(inode, mapping, loff, len);
9+#else
10+ res = filemap_write_and_wait_range(file->f_mapping, loff, len);
11+#endif
12 if (unlikely(res != 0)) {
13- PRINT_ERROR("sync_page_range() failed (%d)", res);
14+ PRINT_ERROR("sync range failed (%d)", res);
15 if (cmd != NULL) {
16 scst_set_cmd_error(cmd,
17 SCST_LOAD_SENSE(scst_sense_write_error));
diff --git a/testing/sems/0001-makefile-fail-on-errors.patch b/testing/sems/0001-makefile-fail-on-errors.patch
deleted file mode 100644
index 9dcbb23015..0000000000
--- a/testing/sems/0001-makefile-fail-on-errors.patch
+++ /dev/null
@@ -1,170 +0,0 @@
1From 7773c850b91d5c78679606065402caac29219dd8 Mon Sep 17 00:00:00 2001
2From: Natanael Copa <ncopa@alpinelinux.org>
3Date: Fri, 18 Dec 2009 08:57:27 +0000
4Subject: [PATCH 1/2] makefile fail on errors
5
6---
7 Makefile | 8 ++++----
8 apps/Makefile | 12 ++++++------
9 core/Makefile | 2 +-
10 core/plug-in/Makefile | 14 +++++++-------
11 core/plug-in/Makefile.app_module | 4 ++--
12 5 files changed, 20 insertions(+), 20 deletions(-)
13
14diff --git a/Makefile b/Makefile
15index 7dd01de..c210761 100644
16--- a/Makefile
17+++ b/Makefile
18@@ -28,21 +28,21 @@ clean:
19
20 .PHONY: modules
21 modules:
22- -@for r in $(modules) "" ; do \
23+ @for r in $(modules) "" ; do \
24 if [ -n "$$r" ]; then \
25 echo "" ; \
26 echo "" ; \
27- $(MAKE) -C $$r all; \
28+ $(MAKE) -C $$r all || exit 1; \
29 fi ; \
30 done
31
32 .PHONY: install
33 install:
34- -@for r in $(imodules) "" ; do \
35+ @for r in $(imodules) "" ; do \
36 if [ -n "$$r" ]; then \
37 echo "" ; \
38 echo "" ; \
39- $(MAKE) -C $$r install; \
40+ $(MAKE) -C $$r install || exit 1; \
41 fi ; \
42 done
43 -@if [ -d ser-0.9.6-sems ]; then \
44diff --git a/apps/Makefile b/apps/Makefile
45index 23c6437..57df618 100644
46--- a/apps/Makefile
47+++ b/apps/Makefile
48@@ -30,11 +30,11 @@ clean:
49
50 .PHONY: modules
51 modules:
52- -@for r in $(modules) "" ; do \
53+ @for r in $(modules) "" ; do \
54 if [ -n "$$r" ]; then \
55 echo "" ; \
56 echo "" ; \
57- COREPATH=../$(COREPATH) $(MAKE) -C $$r all; \
58+ COREPATH=../$(COREPATH) $(MAKE) -C $$r all || exit 1; \
59 fi ; \
60 done
61
62@@ -43,20 +43,20 @@ install: install-bin install-cfg
63
64 .PHONY: install-bin
65 install-bin:
66- -@for r in $(modules) "" ; do \
67+ @for r in $(modules) "" ; do \
68 if [ -n "$$r" ]; then \
69 echo "" ; \
70 echo "" ; \
71- COREPATH=../$(COREPATH) $(MAKE) -C $$r install; \
72+ COREPATH=../$(COREPATH) $(MAKE) -C $$r install || exit 1; \
73 fi ; \
74 done
75
76 .PHONY: install-cfg
77 install-cfg: $(DESTDIR)$(cfg-target)
78- -@for r in $(modules) "" ; do \
79+ @for r in $(modules) "" ; do \
80 if [ -n "$$r" ]; then \
81 echo "" ; \
82 echo "" ; \
83- COREPATH=../$(COREPATH) $(MAKE) -C $$r install-cfg; \
84+ COREPATH=../$(COREPATH) $(MAKE) -C $$r install-cfg || exit 1; \
85 fi ; \
86 done
87diff --git a/core/Makefile b/core/Makefile
88index e3734d5..e1fe274 100644
89--- a/core/Makefile
90+++ b/core/Makefile
91@@ -11,7 +11,7 @@ AUDIO_FILES=$(notdir $(wildcard wav/*.wav))
92
93 .PHONY: all
94 all: ../Makefile.defs
95- -@$(MAKE) deps && \
96+ @$(MAKE) deps && \
97 $(MAKE) $(NAME) && \
98 $(MAKE) modules
99
100diff --git a/core/plug-in/Makefile b/core/plug-in/Makefile
101index e7d988c..cc38e2f 100644
102--- a/core/plug-in/Makefile
103+++ b/core/plug-in/Makefile
104@@ -1,6 +1,6 @@
105 include ../../Makefile.defs
106
107-exclude_modules ?= g722
108+exclude_modules ?= g722 speex
109 #echo
110
111 modules = $(filter-out $(subst ;, ,$(exclude_modules)) \
112@@ -25,30 +25,30 @@ clean:
113
114 .PHONY: modules
115 modules:
116- -@for r in $(modules) "" ; do \
117+ @for r in $(modules) "" ; do \
118 if [ -n "$$r" ]; then \
119 echo "" ; \
120 echo "" ; \
121- $(MAKE) -C $$r all; \
122+ $(MAKE) -C $$r all || exit 1; \
123 fi ; \
124 done
125
126 .PHONY: install
127 install:
128- -@for r in $(modules) "" ; do \
129+ @for r in $(modules) "" ; do \
130 if [ -n "$$r" ]; then \
131 echo "" ; \
132 echo "" ; \
133- $(MAKE) -C $$r install; \
134+ $(MAKE) -C $$r install || exit 1; \
135 fi ; \
136 done
137
138 .PHONY: install-cfg
139 install-cfg: $(DESTDIR)$(cfg-target)
140- -@for r in $(modules) "" ; do \
141+ @for r in $(modules) "" ; do \
142 if [ -n "$$r" ]; then \
143 echo "" ; \
144 echo "" ; \
145- COREPATH=../$(COREPATH) $(MAKE) -C $$r install-cfg; \
146+ COREPATH=../$(COREPATH) $(MAKE) -C $$r install-cfg || exit 1; \
147 fi ; \
148 done
149diff --git a/core/plug-in/Makefile.app_module b/core/plug-in/Makefile.app_module
150index 8b7acaa..a6e1ef2 100644
151--- a/core/plug-in/Makefile.app_module
152+++ b/core/plug-in/Makefile.app_module
153@@ -27,12 +27,12 @@ depends = $(srcs:.cpp=.d)
154
155 .PHONY: all
156 all: $(extra_target)
157- -@$(MAKE) deps && \
158+ @$(MAKE) deps && \
159 $(MAKE) $(lib_full_name)
160
161 .PHONY: module_package
162 module_package: $(extra_target)
163- -@$(MAKE) deps && \
164+ @$(MAKE) deps && \
165 $(MAKE) $(lib_name)
166
167
168--
1691.6.5.6
170
diff --git a/testing/sems/0002-include-headers.patch b/testing/sems/0002-include-headers.patch
deleted file mode 100644
index 5e9a2477ae..0000000000
--- a/testing/sems/0002-include-headers.patch
+++ /dev/null
@@ -1,116 +0,0 @@
1From 43faa45d0455c5bb53a0f992ffc7bdf92c94c945 Mon Sep 17 00:00:00 2001
2From: Natanael Copa <ncopa@alpinelinux.org>
3Date: Fri, 18 Dec 2009 08:58:18 +0000
4Subject: [PATCH 2/2] include headers
5
6---
7 apps/annrecorder/AnnRecorder.cpp | 2 ++
8 apps/callback/CallBack.cpp | 1 +
9 apps/diameter_client/ServerConnection.cpp | 1 +
10 apps/diameter_client/ServerConnection.h | 1 +
11 core/AmMediaProcessor.cpp | 1 +
12 core/AmRtpReceiver.cpp | 1 +
13 core/plug-in/sipctrl/udp_trsp.cpp | 1 +
14 core/plug-in/stats/query_stats.cxx | 1 +
15 8 files changed, 9 insertions(+), 0 deletions(-)
16
17diff --git a/apps/annrecorder/AnnRecorder.cpp b/apps/annrecorder/AnnRecorder.cpp
18index b32cd58..7ba9639 100644
19--- a/apps/annrecorder/AnnRecorder.cpp
20+++ b/apps/annrecorder/AnnRecorder.cpp
21@@ -25,6 +25,8 @@
22 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23 */
24
25+#include <unistd.h>
26+
27 #include "AnnRecorder.h"
28 #include "AmConfig.h"
29 #include "AmUtils.h"
30diff --git a/apps/callback/CallBack.cpp b/apps/callback/CallBack.cpp
31index 360e698..6019705 100644
32--- a/apps/callback/CallBack.cpp
33+++ b/apps/callback/CallBack.cpp
34@@ -32,6 +32,7 @@
35 #include "AmPlugIn.h"
36
37 #include <stdlib.h>
38+#include <unistd.h>
39
40 EXPORT_SESSION_FACTORY(CallBackFactory,MOD_NAME);
41 string CallBackFactory::gw_user;
42diff --git a/apps/diameter_client/ServerConnection.cpp b/apps/diameter_client/ServerConnection.cpp
43index 4157304..3e2a14f 100644
44--- a/apps/diameter_client/ServerConnection.cpp
45+++ b/apps/diameter_client/ServerConnection.cpp
46@@ -30,6 +30,7 @@
47 #include "ampi/DiameterClientAPI.h"
48 #include "diameter_client.h"
49
50+#include <unistd.h>
51 #include <stdlib.h>
52 #include <string.h>
53 #include "log.h"
54diff --git a/apps/diameter_client/ServerConnection.h b/apps/diameter_client/ServerConnection.h
55index d797d15..0af146a 100644
56--- a/apps/diameter_client/ServerConnection.h
57+++ b/apps/diameter_client/ServerConnection.h
58@@ -38,6 +38,7 @@
59 #include <vector>
60 #include <map>
61 #include <utility>
62+#include <stdint.h>
63 using std::string;
64 using std::vector;
65 using std::map;
66diff --git a/core/AmMediaProcessor.cpp b/core/AmMediaProcessor.cpp
67index 9650c91..0da86b0 100644
68--- a/core/AmMediaProcessor.cpp
69+++ b/core/AmMediaProcessor.cpp
70@@ -29,6 +29,7 @@
71 #include "AmSession.h"
72 #include "AmRtpStream.h"
73
74+#include <unistd.h>
75 #include <assert.h>
76 #include <sys/time.h>
77 #include <signal.h>
78diff --git a/core/AmRtpReceiver.cpp b/core/AmRtpReceiver.cpp
79index 5216b15..7f7fb4a 100644
80--- a/core/AmRtpReceiver.cpp
81+++ b/core/AmRtpReceiver.cpp
82@@ -37,6 +37,7 @@
83 #include <strings.h>
84 #endif
85
86+#include <unistd.h>
87 #include <sys/time.h>
88 #include <sys/poll.h>
89
90diff --git a/core/plug-in/sipctrl/udp_trsp.cpp b/core/plug-in/sipctrl/udp_trsp.cpp
91index 49a8358..74f00ae 100644
92--- a/core/plug-in/sipctrl/udp_trsp.cpp
93+++ b/core/plug-in/sipctrl/udp_trsp.cpp
94@@ -36,6 +36,7 @@
95 #include <sys/param.h>
96 #include <arpa/inet.h>
97
98+#include <unistd.h>
99 #include <errno.h>
100 #include <string.h>
101
102diff --git a/core/plug-in/stats/query_stats.cxx b/core/plug-in/stats/query_stats.cxx
103index 674f16c..10c498a 100644
104--- a/core/plug-in/stats/query_stats.cxx
105+++ b/core/plug-in/stats/query_stats.cxx
106@@ -7,6 +7,7 @@
107 #include <netinet/in.h>
108 #include <arpa/inet.h>
109 #include <stdlib.h>
110+#include <unistd.h>
111
112 #include <map>
113 #include <string>
114--
1151.6.5.6
116
diff --git a/testing/sems/APKBUILD b/testing/sems/APKBUILD
index 51c3a0444d..2f1e6ee055 100644
--- a/testing/sems/APKBUILD
+++ b/testing/sems/APKBUILD
@@ -1,8 +1,8 @@
1# Contributor: Francesco Colista <francesco.colista@gmail.com> 1# Contributor: Francesco Colista <francesco.colista@gmail.com>
2# Maintainer: Francesco Colista <francesco.colista@gmail.com> 2# Maintainer: Francesco Colista <francesco.colista@gmail.com>
3pkgname=sems 3pkgname=sems
4pkgver=1.1.1 4pkgver=1.2.1
5pkgrel=1 5pkgrel=0
6pkgdesc="High performance, extensible media server for SIP (RFC3261) based VoIP services" 6pkgdesc="High performance, extensible media server for SIP (RFC3261) based VoIP services"
7url="http://iptel.org/sems/" 7url="http://iptel.org/sems/"
8license="GPL-2" 8license="GPL-2"
@@ -10,9 +10,7 @@ depends="kamailio"
10makedepends="python-dev openssl-dev lame-dev" 10makedepends="python-dev openssl-dev lame-dev"
11install= 11install=
12subpackages= 12subpackages=
13source="http://ftp.iptel.org/pub/$pkgname/1.1/$pkgver/src/$pkgname-$pkgver.tar.gz 13source="http://ftp.iptel.org/pub/sems/sems-$pkgver.tar.gz
14 0001-makefile-fail-on-errors.patch
15 0002-include-headers.patch
16 0003-cc-and-cflags.patch 14 0003-cc-and-cflags.patch
17 " 15 "
18 16
@@ -20,6 +18,7 @@ prepare() {
20 cd "$srcdir"/$pkgname-$pkgver 18 cd "$srcdir"/$pkgname-$pkgver
21 for i in "$srcdir"/*.patch; do 19 for i in "$srcdir"/*.patch; do
22 [ -f "$i" ] || continue 20 [ -f "$i" ] || continue
21 msg "Applying $i"
23 patch -p1 -i $i || return 1 22 patch -p1 -i $i || return 1
24 done 23 done
25 24
@@ -55,7 +54,5 @@ package() {
55# install -m644 -D "$srcdir"//$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname 54# install -m644 -D "$srcdir"//$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
56} 55}
57 56
58md5sums="4a6422d09ddadaf9eacd8cae8f0848d5 sems-1.1.1.tar.gz 57md5sums="f0545c0708849e1a723d453244c2a79e sems-1.2.1.tar.gz
59f893ceef9295b593d2b1837a538b315a 0001-makefile-fail-on-errors.patch
603d217a6d217fa8704d108f23815d4b97 0002-include-headers.patch
610054e6ed7e11393e71204876179d3199 0003-cc-and-cflags.patch" 580054e6ed7e11393e71204876179d3199 0003-cc-and-cflags.patch"
diff --git a/testing/sircbot/APKBUILD b/testing/sircbot/APKBUILD
index 136c2b7e9c..85035fc4f1 100644
--- a/testing/sircbot/APKBUILD
+++ b/testing/sircbot/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: 2# Maintainer:
3pkgname=sircbot 3pkgname=sircbot
4pkgver=0.1 4pkgver=0.1
5pkgrel=0 5pkgrel=1
6pkgdesc="Minimalistic IRC bot" 6pkgdesc="Minimalistic IRC bot"
7url="http://git.alpinelinux.org/cgit/sircbot/" 7url="http://git.alpinelinux.org/cgit/sircbot/"
8license="GPL-2" 8license="GPL-2"
diff --git a/testing/sisctrl/APKBUILD b/testing/sisctrl/APKBUILD
index 59fb485da5..926a663e70 100644
--- a/testing/sisctrl/APKBUILD
+++ b/testing/sisctrl/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=sisctrl 2pkgname=sisctrl
3pkgver=0.0.20051202 3pkgver=0.0.20051202
4pkgrel=2 4pkgrel=3
5pkgdesc="SiSCtrl is Display Control Panel for XFree86/X.org SiS driver" 5pkgdesc="SiSCtrl is Display Control Panel for XFree86/X.org SiS driver"
6url="http://www.winischhofer.net/linuxsisvga.shtml" 6url="http://www.winischhofer.net/linuxsisvga.shtml"
7license="GPL" 7license="GPL"
diff --git a/testing/smartmontools/APKBUILD b/testing/smartmontools/APKBUILD
index 8ba05087af..9650683ce4 100644
--- a/testing/smartmontools/APKBUILD
+++ b/testing/smartmontools/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=smartmontools 2pkgname=smartmontools
3pkgver=5.38 3pkgver=5.38
4pkgrel=0 4pkgrel=1
5pkgdesc="Control and monitor S.M.A.R.T. enabled ATA and SCSI Hard Drives." 5pkgdesc="Control and monitor S.M.A.R.T. enabled ATA and SCSI Hard Drives."
6url="http://smartmontools.sourceforge.net" 6url="http://smartmontools.sourceforge.net"
7license="GPL" 7license="GPL"
diff --git a/testing/spandsp/APKBUILD b/testing/spandsp/APKBUILD
index dd1f227a39..bcb5818d11 100644
--- a/testing/spandsp/APKBUILD
+++ b/testing/spandsp/APKBUILD
@@ -1,28 +1,31 @@
1# Contributor: 1# Contributor:
2# Maintainer: 2# Maintainer:
3pkgname=spandsp 3pkgname=spandsp
4pkgver=0.0.5_pre4 4pkgver=0.0.5
5_ver=0.0.5pre4
6pkgrel=0 5pkgrel=0
7pkgdesc="library to use DSP functions for telephony" 6pkgdesc="library to use DSP functions for telephony"
8url="http://www.soft-switch.org/" 7url="http://www.soft-switch.org/"
9license="GPL" 8license="GPL"
10depends="uclibc tiff" 9depends=
11makedepends="tiff-dev" 10makedepends="tiff-dev"
12install= 11install=
13subpackages="$pkgname-dev" 12subpackages="$pkgname-dev"
14source="http://www.soft-switch.org/downloads/spandsp/$pkgname-$_ver.tgz" 13source="http://www.soft-switch.org/downloads/spandsp/$pkgname-$pkgver.tgz"
15 14
15_builddir="$srcdir/$pkgname-$pkgver"
16build() { 16build() {
17 cd "$srcdir/$pkgname-0.0.5" 17 cd "$_builddir"
18
19 ./configure --prefix=/usr \ 18 ./configure --prefix=/usr \
20 --sysconfdir=/etc \ 19 --sysconfdir=/etc \
21 --mandir=/usr/share/man \ 20 --mandir=/usr/share/man \
22 --infodir=/usr/share/info 21 --infodir=/usr/share/info
23 make || return 1 22 make || return 1
23}
24
25package() {
26 cd "$_builddir"
24 make -j1 DESTDIR="$pkgdir" install 27 make -j1 DESTDIR="$pkgdir" install
25 28
26} 29}
27 30
28md5sums="fe83ed37a7831f0dd38e7ef4e7e6fd9e spandsp-0.0.5pre4.tgz" 31md5sums="fe83ed37a7831f0dd38e7ef4e7e6fd9e spandsp-0.0.5.tgz"
diff --git a/testing/swatch/APKBUILD b/testing/swatch/APKBUILD
new file mode 100644
index 0000000000..9d06df638e
--- /dev/null
+++ b/testing/swatch/APKBUILD
@@ -0,0 +1,58 @@
1# Contributor: Mika Havela <mika.havela@gmail.com>
2# Maintainer: Mika Havela <mika.havela@gmail.com>
3pkgname=swatch
4pkgver=3.2.3
5pkgrel=0
6pkgdesc="Logfile monitoring tool"
7url="http://sourceforge.net/projects/swatch/"
8license="GPL"
9depends="perl perl-date-calc perl-date-format perl-date-manip perl-file-tail perl-carp-clan"
10makedepends="perl-dev"
11install=
12subpackages="$pkgname-doc"
13source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
14 swatch.initd
15 swatch.confd
16 swatchrc"
17
18_builddir="$srcdir"/$pkgname-$pkgver
19
20prepare() {
21 cd "$_builddir"
22}
23
24build() {
25 cd "$_builddir"
26 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
27 make || return 1
28 make test || return 1
29}
30
31package() {
32 cd "$_builddir"
33 make DESTDIR="$pkgdir" install
34 make realclean || return 1
35
36 # remove perllocal.pod and .packlist
37 find "$pkgdir" -name perllocal.pod -delete
38 find "$pkgdir" -name .packlist -delete
39
40
41#echo "pkdir= $pkgdir"
42#echo "srcdir= $srcdir"
43
44 mkdir -p "$pkgdir"/etc/init.d/
45 mkdir -p "$pkgdir"/etc/conf.d/
46 mkdir -p "$pkgdir"/etc/$pkgname/
47
48 cp "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
49 cp "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
50 cp "$srcdir"/${pkgname}rc "$pkgdir"/etc/$pkgname/${pkgname}rc
51
52 chmod 755 "$pkgdir"/etc/init.d/$pkgname
53}
54
55md5sums="1162f1024cf07fc750ed4960d61ac4e8 swatch-3.2.3.tar.gz
56cc99f0831b4a069f90fdedee82495523 swatch.initd
57a02a10a0266781a1ce16cc3b5e84968c swatch.confd
588a92d37f96982030e0283dc7fe706da8 swatchrc"
diff --git a/testing/swatch/swatch.confd b/testing/swatch/swatch.confd
new file mode 100644
index 0000000000..5cbdc0a205
--- /dev/null
+++ b/testing/swatch/swatch.confd
@@ -0,0 +1,8 @@
1## tail-args
2# Arguments for tail program
3tailargs="-n 0 -F"
4
5## script-dir
6# This switch causes the temporary watcher script to be written to a file in the specified directory rather than the user's home directory.
7# It is highly advised that you do NOT use directories that are writable by others such as /tmp.
8scriptdir="/tmp/swatch"
diff --git a/testing/swatch/swatch.initd b/testing/swatch/swatch.initd
new file mode 100755
index 0000000000..ec625e4026
--- /dev/null
+++ b/testing/swatch/swatch.initd
@@ -0,0 +1,50 @@
1#!/sbin/runscript
2
3# swatch init.d file for alpine linux.
4
5name=swatch
6daemon=/usr/bin/$name
7configfile=/etc/${name}/swatchrc
8tailfile=/var/log/messages
9
10SVC="${SVCNAME#*.}"
11if [ -n "${SVC}" ] && [ "${SVCNAME}" != "${name}" ]; then
12 SVCPID="${name}.${SVC}.pid"
13 configfile="${configfile}.${SVC}"
14 tailfile=$(find /var/log -name "${SVC}" | head -1)
15 [ ! "${tailfile}" ] && tailfile="/var/log/${SVC}"
16else
17 SVCPID="${name}.pid"
18fi
19
20depend() {
21# need net
22 after syslog
23}
24
25start() {
26 ebegin "Starting ${name}"
27 einfo "Preparing to monitor ${tailfile}"
28 if [ ! -e "${tailfile}" ]; then
29 eerror "${tailfile} does not exist"
30 return 1
31 fi
32 if [ ! -e "${configfile}" ]; then
33 eerror "Configfile ${configfile} is missing"
34 return 1
35 fi
36 mkdir -p "${scriptdir}"
37 start-stop-daemon --start --quiet --background \
38 --make-pidfile --pidfile /var/run/${SVCPID} \
39 --exec ${daemon} -- \
40 --config-file="${configfile}" --script-dir="${scriptdir}" \
41 --tail-file="${tailfile}" --tail-args="${tailargs}"
42 eend $?
43}
44
45stop() {
46 ebegin "Stopping ${name}"
47 kill $(ps | grep .swatch_script.$(cat /var/run/${SVCPID}) | grep -v 'grep' | awk '{ print $1}')
48 eend $?
49}
50
diff --git a/testing/swatch/swatchrc b/testing/swatch/swatchrc
new file mode 100644
index 0000000000..3ea2615a94
--- /dev/null
+++ b/testing/swatch/swatchrc
@@ -0,0 +1,103 @@
1###############################################################################
2### Swatch example config
3#
4# The configuration file is used by the swatch(8) program to determine what
5# types of expression patterns to look for and what type of action(s) should be
6# taken when a pattern is matched.
7# Each line should contain a keyword and a, sometimes optional, value for that
8# keyword. The keyword and value are separated by a space or an equal (=) sign.
9#
10# watchfor regex
11# ignore regex
12#
13# echo [modes]
14# Echo the matched line. The text mode may be normal, bold, underscore,
15# blink, inverse, black, red, green, yellow, blue, magenta, cyan, white,
16# black_h, red_h, green_h, yellow_h, blue_h, magenta_h, cyan_h,
17# and/or white_h. The _h colors specify a highlighting color. The other
18# colors are assigned to the letters. Some modes may not work on some
19# terminals. Normal is the default.
20# bell [N]
21# Echo the matched line, and send a bell N times (default = 1).
22# exec command
23# Execute command. The command may contain variables which are substituted
24# with fields from the matched line. A $N will be replaced by the Nth field
25# in the line. A $0 or $* will be replaced by the entire line.
26# mail [addresses=address:address:...][,subject=your_text_here]
27# Send mail to address(es) containing the matched lines as they appear
28# (default address is the user who is running the program).
29# pipe command[,keep_open]
30# Pipe matched lines into command. Use the keep_open option to force the
31# pipe to stay open until a different pipe action is run or until swatch
32# exits.
33# write [user:user:...]
34# Use write(1) to send matched lines to user(s).
35# threshold track_by=key, type=<limit|threshold|both, count=number, seconds=number>
36# Thresholding can be done for the complete watchfor block and/or for
37# individual actions. Add ``threshold=on'' as an option along with the other
38# threshold options when thresholding an individual action.
39# track_by
40# The value of this should be something that is unique to the
41# watchfor regular expression. Tip: enclose unique parts of the
42# regular expression in parentheses, then use the sub matches as
43# part of the value (e.g. track_by=``$2:$4'').
44# type
45# There are three types of thresholding. They are as follows:
46# limit
47# Perform action(s) for the first "count`` matches during
48# the time interval specified by ''seconds", then ignore
49# events for the rest of the time interval (kind of like
50# throttle)
51# threshold
52# Perform action(s) on each match for up to count matches
53# during the time interval specified by seconds
54# both
55# Perform actions(s) once per time interval after "count``
56# matches occur, then ignore additional matches during the
57# time interval specified by ''seconds"
58# continue
59# Use this action to cause swatch to continue to try to match other
60# pattern/action groups after it is done with the current pattern/action
61# block.
62# quit
63# Use this action to cause swatch to clean up and quit immediately.
64###############################################################################
65
66## Successful SSH Login Attempts
67watchfor /sshd.*(: [aA]ccepted)(.*)( from )(.*)( port .*)$/
68 threshold track_by=$4,type=limit,count=1,seconds=60
69 echo bold green
70 #mail='receiver@foo.bar',SUBJECT=sshd: Accepted connection,MAILER=sendmail -t -S smtp.foo.bar -f sender\@foo.bar
71
72## Invalid SSH Login Attempts
73watchfor /sshd.*(: [iI]nvalid [uU]ser )(.*)( from )(.*)$/
74 threshold track_by=$4,type=both,count=3,seconds=60
75 echo bold red
76
77## Failed SSH Login Attempts
78watchfor /sshd.*(: [fF]ailed password for )(.*)( from )(.*)( port )(.*)$/
79 threshold track_by=$4,type=both,count=3,seconds=60
80 echo bold red
81
82## Failed SSH Login Attempts
83watchfor /([aA]uthentication [fF]ailure for [iI]llegal [uU]ser )(.*)( from )(.*)$/
84 threshold track_by=$4,type=both,count)3,seconds=60
85 echo bold red
86
87
88## Invalid sudo commands
89watchfor /sudo:.*[Cc]ommand not allowed/
90 echo bold red
91
92## File system full
93watchfor /file system full/
94 echo bold blue
95
96## System crashes and halts
97watchfor /(panic|halt)/
98 echo bold red
99
100## File system errors
101watchfor /[Mm]edia [Ee]rror/
102 echo bold yellow
103
diff --git a/testing/swish-e/APKBUILD b/testing/swish-e/APKBUILD
index 76ff7bb768..758d775512 100644
--- a/testing/swish-e/APKBUILD
+++ b/testing/swish-e/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Michael Mason <ms13sp@gmail.com> 2# Maintainer: Michael Mason <ms13sp@gmail.com>
3pkgname=swish-e 3pkgname=swish-e
4pkgver=2.4.7 4pkgver=2.4.7
5pkgrel=0 5pkgrel=1
6pkgdesc="Simple Web Indexing System for Humans - Enhanced" 6pkgdesc="Simple Web Indexing System for Humans - Enhanced"
7url="http://www.swish-e.org/" 7url="http://www.swish-e.org/"
8license="GPL" 8license="GPL"
diff --git a/testing/twisted/APKBUILD b/testing/twisted/APKBUILD
index 684db09762..5c6d8541a5 100644
--- a/testing/twisted/APKBUILD
+++ b/testing/twisted/APKBUILD
@@ -1,7 +1,7 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=twisted 2pkgname=twisted
3pkgver=8.2.0 3pkgver=8.2.0
4pkgrel=1 4pkgrel=2
5pkgdesc="Asynchronous networking framework written in Python." 5pkgdesc="Asynchronous networking framework written in Python."
6url="http://twistedmatrix.com/" 6url="http://twistedmatrix.com/"
7license="MIT" 7license="MIT"
diff --git a/testing/ucspi-tcp/APKBUILD b/testing/ucspi-tcp/APKBUILD
index 9cdca87524..9b6f578a45 100644
--- a/testing/ucspi-tcp/APKBUILD
+++ b/testing/ucspi-tcp/APKBUILD
@@ -3,7 +3,7 @@
3 3
4pkgname=ucspi-tcp 4pkgname=ucspi-tcp
5pkgver=0.88 5pkgver=0.88
6pkgrel=0 6pkgrel=1
7pkgdesc="Easy-to-use command-line tools for building TCP client-server applications." 7pkgdesc="Easy-to-use command-line tools for building TCP client-server applications."
8url="http://cr.yp.to/ucspi-tcp.html" 8url="http://cr.yp.to/ucspi-tcp.html"
9license="public-domain" 9license="public-domain"
diff --git a/testing/udev/APKBUILD b/testing/udev/APKBUILD
index d25b5faa49..0d55e6fd65 100644
--- a/testing/udev/APKBUILD
+++ b/testing/udev/APKBUILD
@@ -1,12 +1,12 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org> 1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=udev 2pkgname=udev
3pkgver=142 3pkgver=142
4pkgrel=0 4pkgrel=1
5pkgdesc="The userspace dev tools (udev)" 5pkgdesc="The userspace dev tools (udev)"
6url="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html" 6url="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html"
7license="GPL" 7license="GPL"
8subpackages="$pkgname-dev $pkgname-doc" 8subpackages="$pkgname-dev $pkgname-doc"
9depends="uclibc" 9depends=
10makedepends="" 10makedepends=""
11install= 11install=
12source="http://www.kernel.org/pub/linux/utils/kernel/hotplug/$pkgname-$pkgver.tar.bz2 12source="http://www.kernel.org/pub/linux/utils/kernel/hotplug/$pkgname-$pkgver.tar.bz2
diff --git a/testing/ulogd/APKBUILD b/testing/ulogd/APKBUILD
index 6dad6b8deb..52ba2dd030 100644
--- a/testing/ulogd/APKBUILD
+++ b/testing/ulogd/APKBUILD
@@ -2,7 +2,7 @@
2pkgname=ulogd 2pkgname=ulogd
3pkgver=2.0.0_beta3 3pkgver=2.0.0_beta3
4_pkgver=2.0.0beta3 4_pkgver=2.0.0beta3
5pkgrel=1 5pkgrel=2
6pkgdesc="A userspace logging daemon for netfilter/iptables related logging" 6pkgdesc="A userspace logging daemon for netfilter/iptables related logging"
7url="http://netfilter.org/projects/ulogd/index.html" 7url="http://netfilter.org/projects/ulogd/index.html"
8license="GPL" 8license="GPL"
@@ -21,6 +21,10 @@ build() {
21 --mandir=/usr/share/man \ 21 --mandir=/usr/share/man \
22 --infodir=/usr/share/info 22 --infodir=/usr/share/info
23 make || return 1 23 make || return 1
24}
25
26package() {
27 cd "$srcdir/$pkgname-$_pkgver"
24 make DESTDIR="$pkgdir" install 28 make DESTDIR="$pkgdir" install
25 install -Dm644 ulogd.conf "$pkgdir"/etc/ulogd.conf 29 install -Dm644 ulogd.conf "$pkgdir"/etc/ulogd.conf
26 install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname 30 install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
diff --git a/testing/umix/APKBUILD b/testing/umix/APKBUILD
index 7eb262f7f1..d057b39081 100644
--- a/testing/umix/APKBUILD
+++ b/testing/umix/APKBUILD
@@ -2,7 +2,7 @@
2# Maintainer: Michael Mason <ms13sp@gmail.com> 2# Maintainer: Michael Mason <ms13sp@gmail.com>
3pkgname=umix 3pkgname=umix
4pkgver=1.0.2 4pkgver=1.0.2
5pkgrel=0 5pkgrel=1
6pkgdesc="Program for adjusting soundcard volumes" 6pkgdesc="Program for adjusting soundcard volumes"
7url="http://umix.sf.net" 7url="http://umix.sf.net"
8license="GPL" 8license="GPL"
diff --git a/testing/wine/libpng14.patch b/testing/wine/libpng14.patch
deleted file mode 100644
index 14f6ddc079..0000000000
--- a/testing/wine/libpng14.patch
+++ /dev/null
@@ -1,76 +0,0 @@
1diff --git a/programs/winemenubuilder/winemenubuilder.c b/programs/winemenubuilder/winemenubuilder.c
2index e14fe81..62165f6 100644
3--- a/programs/winemenubuilder/winemenubuilder.c
4+++ b/programs/winemenubuilder/winemenubuilder.c
5@@ -188,8 +188,10 @@ static void *libpng_handle;
6 MAKE_FUNCPTR(png_create_info_struct);
7 MAKE_FUNCPTR(png_create_write_struct);
8 MAKE_FUNCPTR(png_destroy_write_struct);
9+MAKE_FUNCPTR(png_get_error_ptr);
10 MAKE_FUNCPTR(png_init_io);
11 MAKE_FUNCPTR(png_set_bgr);
12+MAKE_FUNCPTR(png_set_error_fn);
13 MAKE_FUNCPTR(png_set_text);
14 MAKE_FUNCPTR(png_set_IHDR);
15 MAKE_FUNCPTR(png_write_end);
16@@ -209,8 +211,10 @@ static void *load_libpng(void)
17 LOAD_FUNCPTR(png_create_info_struct);
18 LOAD_FUNCPTR(png_create_write_struct);
19 LOAD_FUNCPTR(png_destroy_write_struct);
20+ LOAD_FUNCPTR(png_get_error_ptr);
21 LOAD_FUNCPTR(png_init_io);
22 LOAD_FUNCPTR(png_set_bgr);
23+ LOAD_FUNCPTR(png_set_error_fn);
24 LOAD_FUNCPTR(png_set_IHDR);
25 LOAD_FUNCPTR(png_set_text);
26 LOAD_FUNCPTR(png_write_end);
27@@ -221,6 +225,23 @@ static void *load_libpng(void)
28 return libpng_handle;
29 }
30
31+static void user_error_fn(png_structp png_ptr, png_const_charp error_message)
32+{
33+ jmp_buf *pjmpbuf;
34+
35+ /* This uses setjmp/longjmp just like the default. We can't use the
36+ * default because there's no way to access the jmp buffer in the png_struct
37+ * that works in 1.2 and 1.4 and allows us to dynamically load libpng. */
38+ WINE_ERR("PNG error: %s\n", wine_dbgstr_an(error_message, -1));
39+ pjmpbuf = ppng_get_error_ptr(png_ptr);
40+ longjmp(*pjmpbuf, 1);
41+}
42+
43+static void user_warning_fn(png_structp png_ptr, png_const_charp warning_message)
44+{
45+ WINE_WARN("PNG warning: %s\n", wine_dbgstr_an(warning_message, -1));
46+}
47+
48 static BOOL SaveIconResAsPNG(const BITMAPINFO *pIcon, const char *png_filename, LPCWSTR commentW)
49 {
50 static const char comment_key[] = "Created from";
51@@ -234,6 +255,7 @@ static BOOL SaveIconResAsPNG(const BITMAPINFO *pIcon, const char *png_filename,
52 int nWidth = pIcon->bmiHeader.biWidth;
53 int nHeight = pIcon->bmiHeader.biHeight;
54 int nBpp = pIcon->bmiHeader.biBitCount;
55+ jmp_buf jmpbuf;
56
57 switch (nBpp)
58 {
59@@ -306,12 +328,12 @@ static BOOL SaveIconResAsPNG(const BITMAPINFO *pIcon, const char *png_filename,
60 !(info_ptr = ppng_create_info_struct(png_ptr)))
61 goto error;
62
63- if (setjmp(png_jmpbuf(png_ptr)))
64+ if (setjmp(jmpbuf))
65 {
66 /* All future errors jump here */
67- WINE_ERR("png error\n");
68 goto error;
69 }
70+ ppng_set_error_fn(png_ptr, &jmpbuf, user_error_fn, user_warning_fn);
71
72 ppng_init_io(png_ptr, fp);
73 ppng_set_IHDR(png_ptr, info_ptr, nWidth, nHeight, 8,
74--
751.6.3.3
76
diff --git a/testing/xf86-video-openchrome-svn/APKBUILD b/testing/xf86-video-openchrome-svn/APKBUILD
deleted file mode 100644
index 692af749da..0000000000
--- a/testing/xf86-video-openchrome-svn/APKBUILD
+++ /dev/null
@@ -1,33 +0,0 @@
1# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
2pkgname=xf86-video-openchrome-svn
3pkgver=811
4pkgrel=0
5pkgdesc="X.Org driver for VIA/S3G cards"
6url="http://xorg.freedesktop.org/"
7license="custom"
8subpackages="$pkgname-dev $pkgname-doc"
9depends=
10makedepends="pkgconfig xorg-server-dev libxi-dev libxvmc-dev fontsproto glproto
11 randrproto videoproto renderproto xf86driproto mesa-dev subversion
12 automake autoconf libtool"
13
14source=
15
16build ()
17{
18 cd "$srcdir"
19 if [ -d openchrome ]; then
20 cd openchrome
21 svn up
22 else
23 svn co -r $pkgver http://svn.openchrome.org/svn/trunk openchrome
24 cd openchrome
25 fi
26 export GCC_SPECS=/usr/share/gcc/hardenednoznow.specs
27
28 ./autogen.sh
29 ./configure --prefix=/usr || return 1
30 make || return 1
31 make DESTDIR="$pkgdir" install || return 1
32 install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
33}
diff --git a/testing/vlc/APKBUILD b/unstable/vlc/APKBUILD
index d28ddf074c..d28ddf074c 100644
--- a/testing/vlc/APKBUILD
+++ b/unstable/vlc/APKBUILD
diff --git a/testing/vlc/uclibc.patch b/unstable/vlc/uclibc.patch
index f71b189a4c..f71b189a4c 100644
--- a/testing/vlc/uclibc.patch
+++ b/unstable/vlc/uclibc.patch
diff --git a/testing/wzdftpd/APKBUILD b/unstable/wzdftpd-svn/APKBUILD
index b9b4626564..b9b4626564 100644
--- a/testing/wzdftpd/APKBUILD
+++ b/unstable/wzdftpd-svn/APKBUILD
diff --git a/testing/wzdftpd/wzdftpd-svn.initd b/unstable/wzdftpd-svn/wzdftpd-svn.initd
index 25f4da6f47..25f4da6f47 100644
--- a/testing/wzdftpd/wzdftpd-svn.initd
+++ b/unstable/wzdftpd-svn/wzdftpd-svn.initd