diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2006-07-16 21:50:59 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2006-07-16 21:50:59 +0000 |
commit | ef7e3122b69b9fabf373452523dfdfcb49cd9f72 (patch) | |
tree | 33317504bb81c4fded51a4a251de68bb012c1ccf /sys/dev/firmload.c | |
parent | 4323463cc9ee7772047d6fe389dbe4113061d09d (diff) |
Use a global variable for the console ibm561 state, and use it when the
real device attach, instead of using malloc (we can not use malloc at
console initialization time).
This gets rid of the following stack offense:
/usr/src/sys/dev/ic/ibm561.c: In function `ibm561_cninit':
/usr/src/sys/dev/ic/ibm561.c:193: warning: stack usage is 4768 bytes
Diffstat (limited to 'sys/dev/firmload.c')
0 files changed, 0 insertions, 0 deletions