smp.c (3b5d1afd1f13bcab85eaa28223ad396694f929e3) smp.c (b3545192e2b4647234254c5122f8cbfddbcbdaa0)
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * SMP Support
4 *
5 * Copyright (C) 1999 Walt Drummond <drummond@valinux.com>
6 * Copyright (C) 1999, 2001, 2003 David Mosberger-Tang <davidm@hpl.hp.com>
7 *
8 * Lots of stuff stolen from arch/alpha/kernel/smp.c

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

41#include <asm/page.h>
42#include <asm/pgalloc.h>
43#include <asm/processor.h>
44#include <asm/ptrace.h>
45#include <asm/sal.h>
46#include <asm/tlbflush.h>
47#include <asm/unistd.h>
48#include <asm/mca.h>
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * SMP Support
4 *
5 * Copyright (C) 1999 Walt Drummond <drummond@valinux.com>
6 * Copyright (C) 1999, 2001, 2003 David Mosberger-Tang <davidm@hpl.hp.com>
7 *
8 * Lots of stuff stolen from arch/alpha/kernel/smp.c

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

41#include <asm/page.h>
42#include <asm/pgalloc.h>
43#include <asm/processor.h>
44#include <asm/ptrace.h>
45#include <asm/sal.h>
46#include <asm/tlbflush.h>
47#include <asm/unistd.h>
48#include <asm/mca.h>
49#include <asm/xtp.h>
49
50/*
51 * Note: alignment of 4 entries/cacheline was empirically determined
52 * to be a good tradeoff between hot cachelines & spreading the array
53 * across too many cacheline.
54 */
55static struct local_tlb_flush_counts {
56 unsigned int count;

--- 285 unchanged lines hidden ---
50
51/*
52 * Note: alignment of 4 entries/cacheline was empirically determined
53 * to be a good tradeoff between hot cachelines & spreading the array
54 * across too many cacheline.
55 */
56static struct local_tlb_flush_counts {
57 unsigned int count;

--- 285 unchanged lines hidden ---