2 * arch/ubicom32/include/asm/cpu.h
3 * CPU definitions for Ubicom32 architecture.
5 * (C) Copyright 2009, Ubicom, Inc.
6 * Copyright (C) 2004-2005 ARM Ltd.
8 * This file is part of the Ubicom32 Linux Kernel Port.
10 * The Ubicom32 Linux Kernel Port is free software: you can redistribute
11 * it and/or modify it under the terms of the GNU General Public License
12 * as published by the Free Software Foundation, either version 2 of the
13 * License, or (at your option) any later version.
15 * The Ubicom32 Linux Kernel Port is distributed in the hope that it
16 * will be useful, but WITHOUT ANY WARRANTY; without even the implied
17 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
18 * the GNU General Public License for more details.
20 * You should have received a copy of the GNU General Public License
21 * along with the Ubicom32 Linux Kernel Port. If not,
22 * see <http://www.gnu.org/licenses/>.
24 * Ubicom32 implementation derived from (with many thanks):
29 #ifndef _ASM_UBICOM32_CPU_H
30 #define _ASM_UBICOM32_CPU_H
32 #include <linux/percpu.h>
34 struct cpuinfo_ubicom32 {
35 unsigned long tid; /* Hardware thread number */
38 volatile unsigned long ipi_pending; /* Bit map of operations to execute */
39 unsigned long ipi_count; /* Number of IPI(s) taken on this cpu */
43 DECLARE_PER_CPU(struct cpuinfo_ubicom32, cpu_data);
45 #endif /* _ASM_UBICOM32_CPU_H */