History

coresight: Make device to CPU mapping generic

The CoreSight components ETM and CPU-Debug are always associated with CPUs. Replace the of_coresight_get_cpu() with a platform agnostic helper, in preparation to add ACPI support.

Suzuki K Poulose committed 7 years ago

Commit 91824db1 parent f03631d3 files · +15 −13Browse files

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

Unified · Split

include/linux/coresight.h+1−6
@@ -292,12 +292,7 @@ static inline void coresight_disclaim_device_unlocked(void __iomem *base) {} · 291 unmodified lines
292292
293293 #endif
294294
295−#ifdef CONFIG_OF
296−extern int of_coresight_get_cpu(const struct device_node *node);
297−#else
298−static inline int of_coresight_get_cpu(const struct device_node *node)
299−{ return 0; }
300−#endif
295+extern int coresight_get_cpu(struct device *dev);
301296
302297 struct coresight_platform_data *coresight_get_platform_data(struct device *dev);
303298

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