forked from rpms/kernel
		
	Add various patches to fix perf build on non-x86 arches
This commit is contained in:
		
							parent
							
								
									4dd0505711
								
							
						
					
					
						commit
						ad6cd36832
					
				
							
								
								
									
										14
									
								
								kernel.spec
									
									
									
									
									
								
							
							
						
						
									
										14
									
								
								kernel.spec
									
									
									
									
									
								
							| @ -62,7 +62,7 @@ Summary: The Linux kernel | |||||||
| # For non-released -rc kernels, this will be appended after the rcX and | # 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" | # 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} | %global fedora_build %{baserelease} | ||||||
| 
 | 
 | ||||||
| # base_sublevel is the kernel version we're starting with and patching | # base_sublevel is the kernel version we're starting with and patching | ||||||
| @ -538,7 +538,10 @@ BuildRequires: sparse >= 0.4.1 | |||||||
| %endif | %endif | ||||||
| %if %{with_perf} | %if %{with_perf} | ||||||
| BuildRequires: elfutils-devel zlib-devel binutils-devel newt-devel python-devel perl(ExtUtils::Embed) bison | 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 | %endif | ||||||
| %if %{with_tools} | %if %{with_tools} | ||||||
| BuildRequires: pciutils-devel gettext | BuildRequires: pciutils-devel gettext | ||||||
| @ -764,6 +767,8 @@ Patch22067: selinux-Fix-sel_netnode_insert-suspicious-rcu-dereference.patch | |||||||
| Patch22070: irqnr-build.patch | Patch22070: irqnr-build.patch | ||||||
| Patch22071: uapi-prefix-fix.patch | Patch22071: uapi-prefix-fix.patch | ||||||
| 
 | 
 | ||||||
|  | Patch22073: perf-uapi-fixes2.patch | ||||||
|  | 
 | ||||||
| # END OF PATCH DEFINITIONS | # END OF PATCH DEFINITIONS | ||||||
| 
 | 
 | ||||||
| %endif | %endif | ||||||
| @ -1471,6 +1476,8 @@ ApplyPatch selinux-Fix-sel_netnode_insert-suspicious-rcu-dereference.patch | |||||||
| ApplyPatch irqnr-build.patch | ApplyPatch irqnr-build.patch | ||||||
| ApplyPatch uapi-prefix-fix.patch | ApplyPatch uapi-prefix-fix.patch | ||||||
| 
 | 
 | ||||||
|  | ApplyPatch perf-uapi-fixes2.patch | ||||||
|  | 
 | ||||||
| # END OF PATCH APPLICATIONS | # END OF PATCH APPLICATIONS | ||||||
| 
 | 
 | ||||||
| %endif | %endif | ||||||
| @ -2338,6 +2345,9 @@ fi | |||||||
| #                 ||----w | | #                 ||----w | | ||||||
| #                 ||     || | #                 ||     || | ||||||
| %changelog | %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 | * Mon Nov 19 2012 Josh Boyer <jwboyer@redhat.com> - 3.7.0-0.rc6.git1.1 | ||||||
| - Linux v3.7-rc6-21-g3587b1b | - Linux v3.7-rc6-21-g3587b1b | ||||||
| - Reenable debugging options. | - Reenable debugging options. | ||||||
|  | |||||||
							
								
								
									
										1132
									
								
								perf-uapi-fixes2.patch
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1132
									
								
								perf-uapi-fixes2.patch
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
		Loading…
	
		Reference in New Issue
	
	Block a user