summaryrefslogtreecommitdiffstats
path: root/arch/m68k/amiga/pcmcia.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/m68k/amiga/pcmcia.c')
-rw-r--r--arch/m68k/amiga/pcmcia.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/m68k/amiga/pcmcia.c b/arch/m68k/amiga/pcmcia.c
index 7106f0c363..63cce6b590 100644
--- a/arch/m68k/amiga/pcmcia.c
+++ b/arch/m68k/amiga/pcmcia.c
@@ -26,11 +26,10 @@ static unsigned char cfg_byte = GAYLE_CFG_0V|GAYLE_CFG_150NS;
void pcmcia_reset(void)
{
unsigned long reset_start_time = jiffies;
- unsigned char b;
gayle_reset = 0x00;
while (time_before(jiffies, reset_start_time + 1*HZ/100));
- b = gayle_reset;
+ READ_ONCE(gayle_reset);
}
EXPORT_SYMBOL(pcmcia_reset);