Avoid including system <asm/page.h>, based on patch by Aurelien Jarno

git-svn-id: svn://coreboot.org/openbios/openbios-devel@248 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
Blue Swirl
2008-11-09 19:15:08 +00:00
parent 93a1b8f583
commit 0734bf85e6

View File

@@ -128,9 +128,10 @@ enum machine_type {
#endif #endif
#ifdef linux #ifdef linux
#include <asm/page.h>
#if defined(__i386__) || defined(__mc68000__) #if defined(__i386__) || defined(__mc68000__)
#define SEGMENT_SIZE 1024 #define SEGMENT_SIZE 1024
#elif defined(__sparc__)
#define SEGMENT_SIZE 4096
#else #else
#ifndef SEGMENT_SIZE #ifndef SEGMENT_SIZE
#define SEGMENT_SIZE PAGE_SIZE #define SEGMENT_SIZE PAGE_SIZE