cpufeature.h (054efb6467f84490bdf92afab6d9dbd5102e620a) cpufeature.h (c109bf95992b391bb40bc37c5d309d13fead99b5)
1#ifndef _ASM_X86_CPUFEATURE_H
2#define _ASM_X86_CPUFEATURE_H
3
4#include <asm/processor.h>
5
6#if defined(__KERNEL__) && !defined(__ASSEMBLY__)
7
8#include <asm/asm.h>

--- 107 unchanged lines hidden (view full) ---

116#define setup_force_cpu_cap(bit) do { \
117 set_cpu_cap(&boot_cpu_data, bit); \
118 set_bit(bit, (unsigned long *)cpu_caps_set); \
119} while (0)
120
121#define cpu_has_fpu boot_cpu_has(X86_FEATURE_FPU)
122#define cpu_has_pse boot_cpu_has(X86_FEATURE_PSE)
123#define cpu_has_tsc boot_cpu_has(X86_FEATURE_TSC)
1#ifndef _ASM_X86_CPUFEATURE_H
2#define _ASM_X86_CPUFEATURE_H
3
4#include <asm/processor.h>
5
6#if defined(__KERNEL__) && !defined(__ASSEMBLY__)
7
8#include <asm/asm.h>

--- 107 unchanged lines hidden (view full) ---

116#define setup_force_cpu_cap(bit) do { \
117 set_cpu_cap(&boot_cpu_data, bit); \
118 set_bit(bit, (unsigned long *)cpu_caps_set); \
119} while (0)
120
121#define cpu_has_fpu boot_cpu_has(X86_FEATURE_FPU)
122#define cpu_has_pse boot_cpu_has(X86_FEATURE_PSE)
123#define cpu_has_tsc boot_cpu_has(X86_FEATURE_TSC)
124#define cpu_has_pge boot_cpu_has(X86_FEATURE_PGE)
125#define cpu_has_apic boot_cpu_has(X86_FEATURE_APIC)
126#define cpu_has_fxsr boot_cpu_has(X86_FEATURE_FXSR)
127#define cpu_has_xmm boot_cpu_has(X86_FEATURE_XMM)
128#define cpu_has_aes boot_cpu_has(X86_FEATURE_AES)
129#define cpu_has_avx boot_cpu_has(X86_FEATURE_AVX)
130#define cpu_has_avx2 boot_cpu_has(X86_FEATURE_AVX2)
131#define cpu_has_pat boot_cpu_has(X86_FEATURE_PAT)
132#define cpu_has_xsave boot_cpu_has(X86_FEATURE_XSAVE)

--- 85 unchanged lines hidden ---
124#define cpu_has_apic boot_cpu_has(X86_FEATURE_APIC)
125#define cpu_has_fxsr boot_cpu_has(X86_FEATURE_FXSR)
126#define cpu_has_xmm boot_cpu_has(X86_FEATURE_XMM)
127#define cpu_has_aes boot_cpu_has(X86_FEATURE_AES)
128#define cpu_has_avx boot_cpu_has(X86_FEATURE_AVX)
129#define cpu_has_avx2 boot_cpu_has(X86_FEATURE_AVX2)
130#define cpu_has_pat boot_cpu_has(X86_FEATURE_PAT)
131#define cpu_has_xsave boot_cpu_has(X86_FEATURE_XSAVE)

--- 85 unchanged lines hidden ---