lkml.org 
[lkml]   [1999]   [Nov]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject'Succesful' 2.3.26 build on PPC
I just could build and boot a stock 2.3.26-kernel with a minor patch.
The default config was pmac_config with the ramdisk support disabled.
The system comes up and top or free reports 2GB of ram (real 96MB) as
since 2.3.24. In dmesg the memory is detected correct.

The machine is a Wallstreet I 250MHz.

The change I had to do: O_LARGEFILE was not defined, so I did this like
in asm-i386/fcntl. Is this correct? It works so far.

Andreas

--- fcntl.h.orig Tue Nov 9 19:28:30 1999
+++ fcntl.h Tue Nov 9 19:31:37 1999
@@ -16,8 +16,11 @@
#define O_NDELAY O_NONBLOCK
#define O_SYNC 010000
#define FASYNC 020000 /* fcntl, for BSD compatibility */
-#define O_DIRECTORY 040000 /* must be a directory */
-#define O_NOFOLLOW 0100000 /* don't follow links */
+#define O_DIRECT 040000 /* direct access hint -currently ignored */
+#define O_LARGEFILE 0100000
+#define O_DIRECTORY 0200000 /* must be a directory */
+#define O_NOFOLLOW 0400000 /* don't follow links */

#define F_DUPFD 0 /* dup */
#define F_GETFD 1 /* get f_flags */

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.025 / U:0.168 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site