pxe: use core for atomic modification of certain volatileslwipsyslinux-4.10-pre22
commit79312306de0150ef64213ef9fbc5aa8580544f03
authorH. Peter Anvin <hpa@zytor.com>
Wed, 30 May 2012 04:08:20 +0000 (29 21:08 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Wed, 30 May 2012 04:08:20 +0000 (29 21:08 -0700)
treee3d85a50932195f16a7ff4eb572893b501f6c989
parent6d8a787f6795a40cd4b285ee5fda78306d51b55d
pxe: use core for atomic modification of certain volatiles

pxe_need_poll and pxe_irq_count can be accessed from an interrupt
handler, so make sure that we modify them in a way that is locally
atomic.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
core/fs/pxe/isr.c
core/lwip/src/netif/undiif.c