exfat: fix ALIGN_DOWN undefined error

This commit is contained in:
HiGarfield 2023-12-30 01:05:35 +08:00
parent b1cc7d5aa3
commit e9aa9b7d67

View File

@ -30,6 +30,10 @@
#error "BITS_PER_LONG not 32 or 64" #error "BITS_PER_LONG not 32 or 64"
#endif #endif
#ifndef ALIGN_DOWN
#define ALIGN_DOWN(x, a) __ALIGN_KERNEL((x) - ((a) - 1), (a))
#endif
/* /*
* Allocation Bitmap Management Functions * Allocation Bitmap Management Functions
*/ */