cregit-Linux how code gets into the kernel

Release 4.14 arch/ia64/include/asm/cache.h

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _ASM_IA64_CACHE_H

#define _ASM_IA64_CACHE_H


/*
 * Copyright (C) 1998-2000 Hewlett-Packard Co
 *      David Mosberger-Tang <davidm@hpl.hp.com>
 */

/* Bytes per L1 (data) cache line.  */

#define L1_CACHE_SHIFT		CONFIG_IA64_L1_CACHE_SHIFT

#define L1_CACHE_BYTES		(1 << L1_CACHE_SHIFT)

#ifdef CONFIG_SMP

# define SMP_CACHE_SHIFT	L1_CACHE_SHIFT

# define SMP_CACHE_BYTES	L1_CACHE_BYTES
#else
  /*
   * The "aligned" directive can only _increase_ alignment, so this is
   * safe and provides an easy way to avoid wasting space on a
   * uni-processor:
   */

# define SMP_CACHE_SHIFT	3

# define SMP_CACHE_BYTES	(1 << 3)
#endif


#define __read_mostly __attribute__((__section__(".data..read_mostly")))

#endif /* _ASM_IA64_CACHE_H */

Overall Contributors

PersonTokensPropCommitsCommitProp
Linus Torvalds (pre-git)4185.42%337.50%
Kyle McMartin36.25%112.50%
Denys Vlasenko12.08%112.50%
Linus Torvalds12.08%112.50%
David Mosberger-Tang12.08%112.50%
Greg Kroah-Hartman12.08%112.50%
Total48100.00%8100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.