summaryrefslogtreecommitdiffstats
path: root/package/devel/oprofile/patches/100-use_insmod_instead_of_modprobe.patch
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-10-10 13:26:27 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-10-10 13:26:27 +0000
commitcc7c892f5b74db49d4bdd6e3817e7340f128aa45 (patch)
treee122261a54fddf11d3c6b143290ab5c5e59892f3 /package/devel/oprofile/patches/100-use_insmod_instead_of_modprobe.patch
parent2a60c880ff2fa433cae35ef436a866c3d90ee9ee (diff)
move a few development packages to trunk and add myself as a maintainer
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33705 3c298f89-4303-0410-b956-a3cf2f4a3e73
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.patch20
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 000000000..10107980a
--- /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