Commit 2cc90523 authored by Greg Gallagher via Xenomai's avatar Greg Gallagher via Xenomai Committed by Jan Kiszka

kernel: cobalt: Fix up elf_hwcap

Update to use ELF_HWCAP instead of elf_hwcap directly.
Signed-off-by: Greg Gallagher's avatarGreg Gallagher <greg@embeddedgreg.com>
[Jan: rebased]
Signed-off-by: Jan Kiszka's avatarJan Kiszka <jan.kiszka@siemens.com>
parent 5c9cbcfc
......@@ -23,7 +23,7 @@
#include <asm/hwcap.h>
#ifdef CONFIG_VFP
#define have_vfp (elf_hwcap & HWCAP_VFP)
#define have_vfp (ELF_HWCAP & HWCAP_VFP)
#else /* !CONFIG_VFP */
#define have_vfp 0
#endif /* !CONFIG_VFP */
......
......@@ -23,7 +23,7 @@
#include <asm/xenomai/uapi/fptest.h>
#include <asm/hwcap.h>
#define have_fp (elf_hwcap & HWCAP_FP)
#define have_fp (ELF_HWCAP & HWCAP_FP)
static inline int fp_kernel_supported(void)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment