diff options
author | Ulf Carlsson <md1ulfc@mdstud.chalmers.se> | 1999-07-23 21:13:59 +0000 |
---|---|---|
committer | Ulf Carlsson <md1ulfc@mdstud.chalmers.se> | 1999-07-23 21:13:59 +0000 |
commit | fdd536f345ba8d0c0149fbf6cf5c48981bb37aaa (patch) | |
tree | 7f43a47856d9ee58f097cb5524930ef37e374705 /drivers/sgi | |
parent | 4491c31cc9d5031d755f5d897ff3bd4ea5f137b5 (diff) |
Moved around a symbol.
Diffstat (limited to 'drivers/sgi')
-rw-r--r-- | drivers/sgi/char/graphics_syms.c | 3 | ||||
-rw-r--r-- | drivers/sgi/char/newport.c | 8 |
2 files changed, 4 insertions, 7 deletions
diff --git a/drivers/sgi/char/graphics_syms.c b/drivers/sgi/char/graphics_syms.c index 59c457bc9..6e07d3b8b 100644 --- a/drivers/sgi/char/graphics_syms.c +++ b/drivers/sgi/char/graphics_syms.c @@ -33,5 +33,4 @@ EXPORT_SYMBOL(disable_gconsole); EXPORT_SYMBOL(enable_gconsole); EXPORT_SYMBOL(remove_mapping); - - +EXPORT_SYMBOL(npregs); diff --git a/drivers/sgi/char/newport.c b/drivers/sgi/char/newport.c index 023a228c2..7693933a4 100644 --- a/drivers/sgi/char/newport.c +++ b/drivers/sgi/char/newport.c @@ -17,8 +17,6 @@ struct newport_regs *npregs; -EXPORT_SYMBOL(npregs); - /* Kernel routines for supporting graphics context switching */ void newport_save (void *y) @@ -27,7 +25,7 @@ void newport_save (void *y) newport_wait (); #define LOAD(val) x->val = npregs->set.val; -#define LOADI(val) x->val = npregs->set.val.i; +#define LOADI(val) x->val = npregs->set.val.word; #define LOADC(val) x->val = npregs->cset.val; LOAD(drawmode1); @@ -90,7 +88,7 @@ void newport_save (void *y) newport_bfwait (); LOAD (dcbmode); newport_bfwait (); - x->dcbdata0 = npregs->set.dcbdata0.all; + x->dcbdata0 = npregs->set.dcbdata0.byword; newport_bfwait (); LOAD(dcbdata1); } @@ -110,7 +108,7 @@ void newport_restore (void *y) { newport_ctx *x = y; #define STORE(val) npregs->set.val = x->val -#define STOREI(val) npregs->set.val.i = x->val +#define STOREI(val) npregs->set.val.word = x->val #define STOREC(val) npregs->cset.val = x->val newport_wait (); |