Skip to content
Snippets Groups Projects
Select Git revision
  • 3e4b6ab58d614934e7ca99bdf448089695d34ffa
  • openEuler-1.0-LTS default protected
  • openEuler-22.09
  • OLK-5.10
  • openEuler-22.03-LTS
  • openEuler-22.03-LTS-Ascend
  • master
  • openEuler-22.03-LTS-LoongArch-NW
  • openEuler-22.09-HCK
  • openEuler-20.03-LTS-SP3
  • openEuler-21.09
  • openEuler-21.03
  • openEuler-20.09
  • 4.19.90-2210.5.0
  • 5.10.0-123.0.0
  • 5.10.0-60.63.0
  • 5.10.0-60.62.0
  • 4.19.90-2210.4.0
  • 5.10.0-121.0.0
  • 5.10.0-60.61.0
  • 4.19.90-2210.3.0
  • 5.10.0-60.60.0
  • 5.10.0-120.0.0
  • 5.10.0-60.59.0
  • 5.10.0-119.0.0
  • 4.19.90-2210.2.0
  • 4.19.90-2210.1.0
  • 5.10.0-118.0.0
  • 5.10.0-106.19.0
  • 5.10.0-60.58.0
  • 4.19.90-2209.6.0
  • 5.10.0-106.18.0
  • 5.10.0-106.17.0
33 results

tipc_netlink.h

Blame
  • processor.h 24.08 KiB
    /* SPDX-License-Identifier: GPL-2.0 */
    #ifndef _ASM_X86_PROCESSOR_H
    #define _ASM_X86_PROCESSOR_H
    
    #include <asm/processor-flags.h>
    
    /* Forward declaration, a strange C thing */
    struct task_struct;
    struct mm_struct;
    struct vm86;
    
    #include <asm/math_emu.h>
    #include <asm/segment.h>
    #include <asm/types.h>
    #include <uapi/asm/sigcontext.h>
    #include <asm/current.h>
    #include <asm/cpufeatures.h>
    #include <asm/page.h>
    #include <asm/pgtable_types.h>
    #include <asm/percpu.h>
    #include <asm/msr.h>
    #include <asm/desc_defs.h>
    #include <asm/nops.h>
    #include <asm/special_insns.h>
    #include <asm/fpu/types.h>
    #include <asm/unwind_hints.h>
    
    #include <linux/personality.h>
    #include <linux/cache.h>
    #include <linux/threads.h>
    #include <linux/math64.h>
    #include <linux/err.h>
    #include <linux/irqflags.h>
    #include <linux/mem_encrypt.h>
    
    /*
     * We handle most unaligned accesses in hardware.  On the other hand
     * unaligned DMA can be quite expensive on some Nehalem processors.
     *
     * Based on this we disable the IP header alignment in network drivers.
     */
    #define NET_IP_ALIGN	0
    
    #define HBP_NUM 4
    /*
     * Default implementation of macro that returns current
     * instruction pointer ("program counter").
     */
    static inline void *current_text_addr(void)
    {
    	void *pc;
    
    	asm volatile("mov $1f, %0; 1:":"=r" (pc));
    
    	return pc;
    }
    
    /*
     * These alignment constraints are for performance in the vSMP case,
     * but in the task_struct case we must also meet hardware imposed
     * alignment requirements of the FPU state:
     */
    #ifdef CONFIG_X86_VSMP
    # define ARCH_MIN_TASKALIGN		(1 << INTERNODE_CACHE_SHIFT)
    # define ARCH_MIN_MMSTRUCT_ALIGN	(1 << INTERNODE_CACHE_SHIFT)
    #else
    # define ARCH_MIN_TASKALIGN		__alignof__(union fpregs_state)
    # define ARCH_MIN_MMSTRUCT_ALIGN	0
    #endif