diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-10-10 13:26:27 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-10-10 13:26:27 +0000 |
commit | c6b27e2885ab53a2de14e21044e9749082079fa2 (patch) | |
tree | e6c6a5ba072ebfbbecaeeffb52b305bf9e4bd216 /package/devel/oprofile/patches/100-use_insmod_instead_of_modprobe.patch | |
parent | 936c1b9424ec53f450a3b62ac2d8a9155d45ae88 (diff) | |
download | upstream-c6b27e2885ab53a2de14e21044e9749082079fa2.tar.gz upstream-c6b27e2885ab53a2de14e21044e9749082079fa2.tar.bz2 upstream-c6b27e2885ab53a2de14e21044e9749082079fa2.zip |
move a few development packages to trunk and add myself as a maintainer
SVN-Revision: 33705
Diffstat (limited to 'package/devel/oprofile/patches/100-use_insmod_instead_of_modprobe.patch')
-rw-r--r-- | package/devel/oprofile/patches/100-use_insmod_instead_of_modprobe.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/package/devel/oprofile/patches/100-use_insmod_instead_of_modprobe.patch b/package/devel/oprofile/patches/100-use_insmod_instead_of_modprobe.patch new file mode 100644 index 0000000000..10107980a5 --- /dev/null +++ b/package/devel/oprofile/patches/100-use_insmod_instead_of_modprobe.patch @@ -0,0 +1,20 @@ +--- a/utils/opcontrol ++++ b/utils/opcontrol +@@ -248,7 +248,7 @@ load_module_26() + { + grep oprofilefs /proc/filesystems >/dev/null + if test "$?" -ne 0; then +- modprobe oprofile ++ insmod oprofile + if test "$?" != "0"; then + # couldn't load the module + return +@@ -278,7 +278,7 @@ load_module_24() + { + grep oprof /proc/devices >/dev/null + if test "$?" -ne 0; then +- modprobe oprofile ++ insmod oprofile + if test "$?" != "0"; then + # couldn't load a module + return |