Project

General

Profile

Bug #11461

arm64: crc32 macro not available on older kernel

Added by Noah Watkins almost 9 years ago. Updated almost 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Commit 60762338a2bf888d2c20dc221f67c1bbc3142748 adds check for HWCAP_CRC32 on arm64. On Linux 3.13 this macro isn't found in the kernel user space api headers. On Ubuntu.

arch/arm.c: In function 'ceph_arch_arm_probe':
arch/arm.c:51:43: error: 'HWCAP_CRC32' undeclared (first use in this function)
  ceph_arch_aarch64_crc32 = (get_hwcap() & HWCAP_CRC32) == HWCAP_CRC32;

Associated revisions

Revision fdcc0072 (diff)
Added by Sage Weil almost 9 years ago

arm: fix build on older kernels

that don't define HWCAP_CRC32

Fixes: #11461
Signed-off-by: Sage Weil <>

History

#1 Updated by Sage Weil almost 9 years ago

  • Status changed from New to Fix Under Review
  • Regression set to No

#2 Updated by Noah Watkins almost 9 years ago

  • Status changed from Fix Under Review to Resolved

Resolved a8500ce981c563ece34e7171571b6b56663ae6b5

Also available in: Atom PDF