diff options
| author | Heiko Schocher <[email protected]> | 2011-01-20 22:56:39 +0000 |
|---|---|---|
| committer | Albert Aribaud <[email protected]> | 2011-02-02 00:54:45 +0100 |
| commit | c9ac3ba129b242b5977b03c17ed8d2f0d000e085 (patch) | |
| tree | 15731603c91122c1960fb365738e70e4f78b4b15 /include/netdev.h | |
| parent | 009b54079e65ddf004041ccaccef3b8647ce8a0b (diff) | |
arm926ejs: timer: Replace bss variable by gdr
Reuse the gd->tbl value for timestamp and add gd->lastinc for lastinc bss
values in the arm926ejs timers implementation.
The usage of bss values in drivers before initialisation of bss is forbidden.
In that special case some data in .rel.dyn gets corrupted.
This patch is similiar to the patch Dirk Behme posted
for the armv7/omap-common/timer.c and added suggestions
from Reinhard Meyer.
Tested on the arm926ejs mx27 based magnesium board
Tested on the arm926ejs kirkwood based suen3 board
Signed-off-by: Heiko Schocher <[email protected]>
cc: Albert ARIBAUD <[email protected]>
cc: Prafulla Wadaskar <[email protected]>
cc: Stefano Babic <[email protected]>
cc: Reinhard Meyer <[email protected]>
Diffstat (limited to 'include/netdev.h')
0 files changed, 0 insertions, 0 deletions
