Intel Partition Table: Remove dummy atomic_add.
This dummy was intended for boot code, however, atomic_add seems to be already properly defined in boot code. Signed-off-by: Jérôme Duval <[email protected]>
This commit is contained in:
committed by
Jérôme Duval
parent
a1c015a924
commit
3d916a2cd7
@@ -53,20 +53,6 @@
|
||||
|
||||
using std::nothrow;
|
||||
|
||||
// TODO: This doesn't belong here!
|
||||
// no atomic_add() in the boot loader
|
||||
#ifdef _BOOT_MODE
|
||||
|
||||
inline int32
|
||||
atomic_add(int32* a, int32 num)
|
||||
{
|
||||
int32 oldA = *a;
|
||||
*a += num;
|
||||
return oldA;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
#ifndef _BOOT_MODE
|
||||
|
||||
|
||||
Reference in New Issue
Block a user