Make private/bionic_page.h available as platform/bionic/page.h.
Bug: http://b/145825270 Test: treehugger Change-Id: I52958f370c0df2c02cb8250e2cf0705d4e93e908
This commit is contained in:
parent
cad05d2e21
commit
cdb52fc147
6 changed files with 6 additions and 9 deletions
|
@ -40,8 +40,8 @@
|
|||
#include <async_safe/log.h>
|
||||
#include <async_safe/CHECK.h>
|
||||
|
||||
#include "platform/bionic/page.h"
|
||||
#include "private/bionic_macros.h"
|
||||
#include "private/bionic_page.h"
|
||||
|
||||
//
|
||||
// BionicAllocator is a general purpose allocator designed to provide the same
|
||||
|
|
|
@ -39,11 +39,11 @@
|
|||
#include "libc_init_common.h"
|
||||
#include "pthread_internal.h"
|
||||
|
||||
#include "platform/bionic/page.h"
|
||||
#include "private/bionic_call_ifunc_resolver.h"
|
||||
#include "private/bionic_elf_tls.h"
|
||||
#include "private/bionic_globals.h"
|
||||
#include "private/bionic_macros.h"
|
||||
#include "private/bionic_page.h"
|
||||
#include "private/bionic_tls.h"
|
||||
#include "private/KernelArgumentBlock.h"
|
||||
|
||||
|
|
|
@ -14,8 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef _BIONIC_PAGE_H_
|
||||
#define _BIONIC_PAGE_H_
|
||||
#pragma once
|
||||
|
||||
// Get PAGE_SIZE and PAGE_MASK.
|
||||
#include <sys/user.h>
|
||||
|
@ -29,5 +28,3 @@
|
|||
// Returns the address of the next page after address 'x', unless 'x' is
|
||||
// itself at the start of a page.
|
||||
#define PAGE_END(x) PAGE_START((x) + (PAGE_SIZE-1))
|
||||
|
||||
#endif // _BIONIC_PAGE_H_
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
#include <stdint.h>
|
||||
|
||||
#include "private/bionic_page.h"
|
||||
#include "platform/bionic/page.h"
|
||||
#include "private/bionic_macros.h"
|
||||
|
||||
constexpr unsigned kLibraryAlignmentBits = 18;
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
#include <sys/stat.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "private/bionic_page.h"
|
||||
#include "platform/bionic/page.h"
|
||||
#include "linked_list.h"
|
||||
#include "linker_common_types.h"
|
||||
#include "linker_logger.h"
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
|
||||
#include "linker_debug.h"
|
||||
#include "linker_globals.h"
|
||||
#include "private/bionic_page.h"
|
||||
#include "platform/bionic/page.h"
|
||||
|
||||
#include <sys/mman.h>
|
||||
#include <sys/prctl.h>
|
||||
|
|
Loading…
Reference in a new issue