History

rcu: Don't include <linux/ktime.h> in rcutiny.h

The kbuild reported a built failure due to a header loop when RCUTINY is enabled with my pending riscv-nommu port. Switch rcutiny.h to only include the minimal required header to get HZ instead.

Christoph Hellwig committed 7 years ago

Commit 24691061 parent 07f038a1 file · +1 −1Browse files

Showing the changes to include/linux (1 of 1 file). Show all

Unified · Split

include/linux/rcutiny.h+1−1
@@ -12,7 +12,7 @@ · 11 unmodified lines
12#ifndef __LINUX_TINY_H12#ifndef __LINUX_TINY_H
13#define __LINUX_TINY_H13#define __LINUX_TINY_H
14 14
15#include <linux/ktime.h>15#include <asm/param.h> /* for HZ */
16 16
17/* Never flag non-existent other CPUs! */17/* Never flag non-existent other CPUs! */
18static inline bool rcu_eqs_special_set(int cpu) { return false; }18static inline bool rcu_eqs_special_set(int cpu) { return false; }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t