Patchwork perf_3.4 do_compile error

login
register
mail settings
Submitter Sandoval Gonzalez Leonardo-B42214
Date April 10, 2013, 10:28 p.m.
Message ID <44DF7CDEDF8FFF4BB93AB22C1AA1823B858D78@039-SN2MPN1-021.039d.mgd.msft.net>
Download mbox | patch
Permalink /patch/47885/
State Changes Requested
Delegated to: Otavio Salvador
Headers show

Comments

Sandoval Gonzalez Leonardo-B42214 - April 10, 2013, 10:28 p.m.
This fixes the issue

I will prepare a patch and send it soon.

Leo

Patch

diff --git a/recipes-kernel/linux/linux-imx-3.0.35/imx6qsabrelite/sync-boundary-changes.patch b/recipes-kernel/linux/linux-imx-3.0.35/imx6qsabrelite/sync-boundary-changes.patch
index 48cf7a7..ac4fcd0 100644
--- a/recipes-kernel/linux/linux-imx-3.0.35/imx6qsabrelite/sync-boundary-changes.patch
+++ b/recipes-kernel/linux/linux-imx-3.0.35/imx6qsabrelite/sync-boundary-changes.patch
@@ -7309,17 +7309,4 @@  index fd05514..45191d1 100644

snd_soc_write(codec, SGTL5000_CHIP_DAC_VOL, 0x6060);
snd_soc_write(codec, SGTL5000_CHIP_ANA_ADC_CTRL,
-diff --git a/tools/perf/util/include/linux/compiler.h b/tools/perf/util/include/linux/compiler.h
-index 547628e..791f9dd 100644
---- a/tools/perf/util/include/linux/compiler.h
-+++ b/tools/perf/util/include/linux/compiler.h
-@@ -5,9 +5,7 @@
- #define __always_inline inline
- #endif
- #define __user
--#ifndef __attribute_const__
- #define __attribute_const__
--#endif
-
- #define __used __attribute__((__unused__))