mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-18 02:20:59 +03:00
eb7c7f44e8
Added necessary include for PAGE_SHIFT.
11 lines
210 B
C
11 lines
210 B
C
#ifndef _SPL_PARAM_H
|
|
#define _SPL_PARAM_H
|
|
|
|
#include <asm/page.h>
|
|
|
|
/* Pages to bytes and back */
|
|
#define ptob(pages) (pages << PAGE_SHIFT)
|
|
#define btop(bytes) (bytes >> PAGE_SHIFT)
|
|
|
|
#endif /* SPL_PARAM_H */
|