diff options
author | Ulf Samuelsson <ulf.samuelsson@atmel.com> | 2009-01-21 07:09:41 +0000 |
---|---|---|
committer | Ulf Samuelsson <ulf.samuelsson@atmel.com> | 2009-01-21 07:09:41 +0000 |
commit | 6e20da741b77f3e5c9b8a96e3101fcc4ab9cfee2 (patch) | |
tree | 358f20bb2914d10383dd81161184379de96bc50b /package/oprofile/oprofile-0.9.4-avr32-enable-lookup_dcookie.patch | |
parent | 98186f1d474b5dcc2cd32d5b6d7194c2ec385b5d (diff) | |
download | buildroot-novena-6e20da741b77f3e5c9b8a96e3101fcc4ab9cfee2.tar.gz buildroot-novena-6e20da741b77f3e5c9b8a96e3101fcc4ab9cfee2.zip |
Remove reference to query_modules in oprofile, does not exist in linux-2.6. oprofile now builds for ARM
Diffstat (limited to 'package/oprofile/oprofile-0.9.4-avr32-enable-lookup_dcookie.patch')
-rw-r--r-- | package/oprofile/oprofile-0.9.4-avr32-enable-lookup_dcookie.patch | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/package/oprofile/oprofile-0.9.4-avr32-enable-lookup_dcookie.patch b/package/oprofile/oprofile-0.9.4-avr32-enable-lookup_dcookie.patch deleted file mode 100644 index 7c4138946..000000000 --- a/package/oprofile/oprofile-0.9.4-avr32-enable-lookup_dcookie.patch +++ /dev/null @@ -1,24 +0,0 @@ -Index: oprofile-0.9.4/daemon/opd_cookie.c -=================================================================== ---- oprofile-0.9.4.orig/daemon/opd_cookie.c 2008-07-25 16:00:17.000000000 +0200 -+++ oprofile-0.9.4/daemon/opd_cookie.c 2008-07-25 16:00:20.000000000 +0200 -@@ -78,6 +78,19 @@ - (unsigned long)(cookie & 0xffffffff), - (unsigned long)(cookie >> 32), buf, size); - } -+#elif (defined(__avr32__)) -+static inline int lookup_dcookie(cookie_t cookie, char * buf, size_t size) -+{ -+ /* On avr32, the first 64bit arg (cookie) is expected to be in -+ * r11(MSW)/r10(LSW) which normally hold arg 2 and arg 3. The second arg -+ * (buf) is then expected to be in r12 which normally holds the first -+ * arg. Third arg (size) is at the right position. -+ */ -+ return syscall(__NR_lookup_dcookie, buf, -+ (unsigned long)(cookie >> 32), -+ (unsigned long)(cookie & 0xffffffff), -+ size); -+} - #else - static inline int lookup_dcookie(cookie_t cookie, char * buf, size_t size) - { |