Skip to content

Commit

Permalink
Merge pull request #64 from HiGarfield/for-kernel-version-from-4.1.0
Browse files Browse the repository at this point in the history
exfat: fix ALIGN_DOWN undefined error
  • Loading branch information
namjaejeon authored Dec 30, 2023
2 parents ee8b3d9 + e9aa9b7 commit 68072a2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions balloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@
#error "BITS_PER_LONG not 32 or 64"
#endif

#ifndef ALIGN_DOWN
#define ALIGN_DOWN(x, a) __ALIGN_KERNEL((x) - ((a) - 1), (a))
#endif

/*
* Allocation Bitmap Management Functions
*/
Expand Down

0 comments on commit 68072a2

Please sign in to comment.