From cc54f0aebad529c1abfa49d2d9e319267d57cb9f Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Wed, 30 Jul 2014 23:19:43 -0400 Subject: provide PAGE_SIZE as a constant value of 8192 on or1k according to Stefan Kristiansson, or1k page size is not actually variable and the value of 8192 is part of the ABI. --- arch/or1k/bits/limits.h | 1 + 1 file changed, 1 insertion(+) (limited to 'arch') diff --git a/arch/or1k/bits/limits.h b/arch/or1k/bits/limits.h index fbc6d238..483b6749 100644 --- a/arch/or1k/bits/limits.h +++ b/arch/or1k/bits/limits.h @@ -1,5 +1,6 @@ #if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \ || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE) +#define PAGE_SIZE 8192 #define LONG_BIT 32 #endif -- cgit v1.2.1