|
@@ -646,7 +646,7 @@ static struct clocksource clocksource_counter = {
|
|
|
.flags = CLOCK_SOURCE_IS_CONTINUOUS,
|
|
.flags = CLOCK_SOURCE_IS_CONTINUOUS,
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
-static struct cyclecounter cyclecounter = {
|
|
|
|
|
|
|
+static struct cyclecounter cyclecounter __ro_after_init = {
|
|
|
.read = arch_counter_read_cc,
|
|
.read = arch_counter_read_cc,
|
|
|
.mask = CLOCKSOURCE_MASK(56),
|
|
.mask = CLOCKSOURCE_MASK(56),
|
|
|
};
|
|
};
|