Skip to content

Commit 17ce1b2

Browse files
committed
Merge tag 'openrisc-for-linus-v4.9-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging
Pull openrisc fix from Guenter Roeck: "Fix openrisc crash caused by ro_init changes" * tag 'openrisc-for-linus-v4.9-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging: openrisc: Define __ro_after_init to avoid crash
2 parents 8cebec4 + 2c7a5c5 commit 17ce1b2

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

arch/openrisc/include/asm/cache.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
* they shouldn't be hard-coded!
2424
*/
2525

26+
#define __ro_after_init __read_mostly
27+
2628
#define L1_CACHE_BYTES 16
2729
#define L1_CACHE_SHIFT 4
2830

0 commit comments

Comments
 (0)