Specify 1U over 1 for bitmaps
This commit is contained in:
@@ -55,11 +55,11 @@
|
||||
|
||||
/* Align address to a (compat) word boundary. */
|
||||
#define WORDALIGN(_a, _r) \
|
||||
(((_a) + ((long)(_r).wordsize - 1L)) & ~((long)(_r).wordsize - 1L))
|
||||
(((_a) + ((unsigned long)(_r).wordsize - 1UL)) & ~((unsigned long)(_r).wordsize - 1UL))
|
||||
|
||||
/* Align pointer to a native word boundary. */
|
||||
#define LONGALIGN(_p) \
|
||||
(((unsigned long)(_p) + (sizeof(long) - 1)) & ~(sizeof(long) - 1))
|
||||
(((unsigned long)(_p) + (sizeof(unsigned long) - 1UL)) & ~(sizeof(unsigned long) - 1UL))
|
||||
|
||||
/*
|
||||
* See syscall(2) for a list of registers used in system calls.
|
||||
|
Reference in New Issue
Block a user