mirror of
https://github.com/torvalds/linux.git
synced 2026-09-21 20:17:00 -04:00
Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus
* 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus: [MIPS] Fix build. [MIPS] Fix use of smp_processor_id() in preemptible code.
This commit is contained in:
@@ -207,13 +207,13 @@
|
||||
#endif
|
||||
|
||||
#ifndef cpu_dcache_line_size
|
||||
#define cpu_dcache_line_size() current_cpu_data.dcache.linesz
|
||||
#define cpu_dcache_line_size() cpu_data[0].dcache.linesz
|
||||
#endif
|
||||
#ifndef cpu_icache_line_size
|
||||
#define cpu_icache_line_size() current_cpu_data.icache.linesz
|
||||
#define cpu_icache_line_size() cpu_data[0].icache.linesz
|
||||
#endif
|
||||
#ifndef cpu_scache_line_size
|
||||
#define cpu_scache_line_size() current_cpu_data.scache.linesz
|
||||
#define cpu_scache_line_size() cpu_data[0].scache.linesz
|
||||
#endif
|
||||
|
||||
#endif /* __ASM_CPU_FEATURES_H */
|
||||
|
||||
Reference in New Issue
Block a user