git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1dee92b
)
sh: correct definitions to access stack pointers
author
Roel Kluin
<roel.kluin@gmail.com>
Sat, 1 Jan 2011 18:36:36 +0000
(18:36 +0000)
committer
Paul Mundt
<lethal@linux-sh.org>
Wed, 5 Jan 2011 07:58:19 +0000
(16:58 +0900)
A definition like:
#define regs_return_value(regs) ((regs)->regs[0])
called with regs_return_value(foo) will be preprocessed to:
((foo)->foo[0])
^^^
So to fix this to ensure the preprocessor compiles such calls correctly.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
No differences found