Skip to content

Commit

Permalink
Merge tag 'openrisc-for-linus-v4.9-rc5' of git://git.kernel.org/pub/s…
Browse files Browse the repository at this point in the history
…cm/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
  • Loading branch information
Linus Torvalds committed Nov 7, 2016
2 parents 8cebec4 + 2c7a5c5 commit 17ce1b2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/openrisc/include/asm/cache.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
* they shouldn't be hard-coded!
*/

#define __ro_after_init __read_mostly

#define L1_CACHE_BYTES 16
#define L1_CACHE_SHIFT 4

Expand Down

0 comments on commit 17ce1b2

Please sign in to comment.