smp.h (2a267e7c41aa88215de2b542de797d03d16ecdfd) | smp.h (262afe92fa8c7d64118948d98667c102c7d16174) |
---|---|
1/* 2 * Copyright (C) 2012 ARM Ltd. 3 * 4 * This program is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License version 2 as 6 * published by the Free Software Foundation. 7 * 8 * This program is distributed in the hope that it will be useful, --- 39 unchanged lines hidden (view full) --- 48 * We don't use this_cpu_read(cpu_number) as that has implicit writes to 49 * preempt_count, and associated (compiler) barriers, that we'd like to avoid 50 * the expense of. If we're preemptible, the value can be stale at use anyway. 51 * And we can't use this_cpu_ptr() either, as that winds up recursing back 52 * here under CONFIG_DEBUG_PREEMPT=y. 53 */ 54#define raw_smp_processor_id() (*raw_cpu_ptr(&cpu_number)) 55 | 1/* 2 * Copyright (C) 2012 ARM Ltd. 3 * 4 * This program is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License version 2 as 6 * published by the Free Software Foundation. 7 * 8 * This program is distributed in the hope that it will be useful, --- 39 unchanged lines hidden (view full) --- 48 * We don't use this_cpu_read(cpu_number) as that has implicit writes to 49 * preempt_count, and associated (compiler) barriers, that we'd like to avoid 50 * the expense of. If we're preemptible, the value can be stale at use anyway. 51 * And we can't use this_cpu_ptr() either, as that winds up recursing back 52 * here under CONFIG_DEBUG_PREEMPT=y. 53 */ 54#define raw_smp_processor_id() (*raw_cpu_ptr(&cpu_number)) 55 |
56/* 57 * Logical CPU mapping. 58 */ 59extern u64 __cpu_logical_map[NR_CPUS]; 60#define cpu_logical_map(cpu) __cpu_logical_map[cpu] 61 |
|
56struct seq_file; 57 58/* 59 * generate IPI list text 60 */ 61extern void show_ipi_list(struct seq_file *p, int prec); 62 63/* --- 100 unchanged lines hidden --- | 62struct seq_file; 63 64/* 65 * generate IPI list text 66 */ 67extern void show_ipi_list(struct seq_file *p, int prec); 68 69/* --- 100 unchanged lines hidden --- |