aboutsummaryrefslogtreecommitdiffstats
path: root/samples/hidraw/ssh:/git@git.zx2c4.com/git:
diff options
context:
space:
mode:
authorStafford Horne <shorne@gmail.com>2017-02-05 18:55:40 +0900
committerStafford Horne <shorne@gmail.com>2017-02-25 05:08:47 +0900
commita4d4426635804379d618dd28e29f574a2bc11184 (patch)
tree38ef4394a132b84ebac0db16ca86d1792311c9da /samples/hidraw/ssh:/git@git.zx2c4.com/git:
parentopenrisc: Export ioremap symbols used by modules (diff)
openrisc: head: Init r0 to 0 on start
Originally openrisc spec 0 specified that r0 would be wired to ground. This is no longer the case. r0 is not guaranteed to be 0 at init, so we need to initialize it to 0 before using it. Also, if we are clearing r0 we cant use r0 to clear itself. Change the the CLEAR_GPR macro to use movhi for clearing. Reported-by: Jakob Viketoft <jakob.viketoft@aacmicrotec.com> Signed-off-by: Stafford Horne <shorne@gmail.com>
Diffstat (limited to 'samples/hidraw/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions