x86/platform/uv: Remove the uv_partition_coherence_id() macro
uv_partition_coherence_id() is only used once. Just open code it in the only user. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Not-acked-by: Dimitri Sivanich <sivanich@hpe.com> Cc: Russ Anderson <rja@hpe.com> Link: https://lkml.kernel.org/r/20200504171527.2845224-3-hch@lst.de
Этот коммит содержится в:

коммит произвёл
Thomas Gleixner

родитель
30ad8db3a2
Коммит
32988cfd57
@@ -21,7 +21,7 @@ static ssize_t partition_id_show(struct kobject *kobj,
|
||||
static ssize_t coherence_id_show(struct kobject *kobj,
|
||||
struct kobj_attribute *attr, char *buf)
|
||||
{
|
||||
return snprintf(buf, PAGE_SIZE, "%ld\n", uv_partition_coherence_id());
|
||||
return snprintf(buf, PAGE_SIZE, "%ld\n", sn_coherency_id);
|
||||
}
|
||||
|
||||
static struct kobj_attribute partition_id_attr =
|
||||
|
Ссылка в новой задаче
Block a user