Add various patches to fix perf build on non-x86 arches

This commit is contained in:
Josh Boyer 2012-11-19 14:17:23 -05:00
parent 4dd0505711
commit ad6cd36832
2 changed files with 1144 additions and 2 deletions

View File

@ -62,7 +62,7 @@ Summary: The Linux kernel
# For non-released -rc kernels, this will be appended after the rcX and
# gitX tags, so a 3 here would become part of release "0.rcX.gitX.3"
#
%global baserelease 1
%global baserelease 2
%global fedora_build %{baserelease}
# base_sublevel is the kernel version we're starting with and patching
@ -538,7 +538,10 @@ BuildRequires: sparse >= 0.4.1
%endif
%if %{with_perf}
BuildRequires: elfutils-devel zlib-devel binutils-devel newt-devel python-devel perl(ExtUtils::Embed) bison
BuildRequires: audit-libs-devel libunwind-devel
BuildRequires: audit-libs-devel
%ifnarch s390 s390x
BuildRequires: libunwind-devel
%endif
%endif
%if %{with_tools}
BuildRequires: pciutils-devel gettext
@ -764,6 +767,8 @@ Patch22067: selinux-Fix-sel_netnode_insert-suspicious-rcu-dereference.patch
Patch22070: irqnr-build.patch
Patch22071: uapi-prefix-fix.patch
Patch22073: perf-uapi-fixes2.patch
# END OF PATCH DEFINITIONS
%endif
@ -1471,6 +1476,8 @@ ApplyPatch selinux-Fix-sel_netnode_insert-suspicious-rcu-dereference.patch
ApplyPatch irqnr-build.patch
ApplyPatch uapi-prefix-fix.patch
ApplyPatch perf-uapi-fixes2.patch
# END OF PATCH APPLICATIONS
%endif
@ -2338,6 +2345,9 @@ fi
# ||----w |
# || ||
%changelog
* Mon Nov 19 2012 Josh Boyer <jwboyer@redhat.com>
- Add various patches to fix perf build on non-x86 arches
* Mon Nov 19 2012 Josh Boyer <jwboyer@redhat.com> - 3.7.0-0.rc6.git1.1
- Linux v3.7-rc6-21-g3587b1b
- Reenable debugging options.

1132
perf-uapi-fixes2.patch Normal file

File diff suppressed because it is too large Load Diff