Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264590AbTIDDce (ORCPT ); Wed, 3 Sep 2003 23:32:34 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S264605AbTIDDav (ORCPT ); Wed, 3 Sep 2003 23:30:51 -0400 Received: from dp.samba.org ([66.70.73.150]:18880 "EHLO lists.samba.org") by vger.kernel.org with ESMTP id S264609AbTIDDaT (ORCPT ); Wed, 3 Sep 2003 23:30:19 -0400 From: Rusty Trivial Russell To: torvalds@transmeta.com, linux-kernel@vger.kernel.org Subject: [TRIVIAL] Documentation_vm_hugetlbfs.txt Date: Thu, 04 Sep 2003 13:20:27 +1000 Message-Id: <20030904033017.D77DA2C018@lists.samba.org> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1219 Lines: 38 From: Maciej Soltysiak Hi Rusty, here's a patch to change the hugetlbfs examples actually being possible to compile. errno is being used while it's not included. Regards, Maciej --- trivial-2.6.0-test4-bk5/Documentation/vm/hugetlbpage.txt.orig 2003-09-04 13:01:50.000000000 +1000 +++ trivial-2.6.0-test4-bk5/Documentation/vm/hugetlbpage.txt 2003-09-04 13:01:50.000000000 +1000 @@ -107,6 +107,7 @@ #include #include #include +#include extern int errno; #define SHM_HUGETLB 04000 @@ -167,6 +168,7 @@ #include #include #include +#include #define FILE_NAME "/mnt/hugepagefile" #define LENGTH (256*1024*1024) -- What is this? http://www.kernel.org/pub/linux/kernel/people/rusty/trivial/ Don't blame me: the Monkey is driving File: Maciej Soltysiak : [TRIVIAL][2.6] Documentation_vm_hugetlbfs.txt - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/