2009-04-01 13:33:21

by Alexander Beregalov

[permalink] [raw]
Subject: [PATCH] befs: fix build on parisc

Fix this build error on parisc:
fs/befs/super.c:85: error: 'PAGE_SIZE' undeclared

Signed-off-by: Alexander Beregalov <[email protected]>
---

fs/befs/super.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/fs/befs/super.c b/fs/befs/super.c
index 41f2b4d..ca40f82 100644
--- a/fs/befs/super.c
+++ b/fs/befs/super.c
@@ -8,6 +8,7 @@
*/

#include <linux/fs.h>
+#include <asm/page.h> /* for PAGE_SIZE */

#include "befs.h"
#include "super.h"


2009-04-08 21:33:15

by Martin Michlmayr

[permalink] [raw]
Subject: Re: [PATCH] befs: fix build on parisc

* Alexander Beregalov <[email protected]> [2009-04-01 17:32]:
> Fix this build error on parisc:
> fs/befs/super.c:85: error: 'PAGE_SIZE' undeclared

Same on ARM and MIPS, and your patch fixes it. I hope this will go in
soon.

Tested-by: Martin Michlmayr <[email protected]>

> Signed-off-by: Alexander Beregalov <[email protected]>
> ---
>
> fs/befs/super.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/fs/befs/super.c b/fs/befs/super.c
> index 41f2b4d..ca40f82 100644
> --- a/fs/befs/super.c
> +++ b/fs/befs/super.c
> @@ -8,6 +8,7 @@
> */
>
> #include <linux/fs.h>
> +#include <asm/page.h> /* for PAGE_SIZE */
>
> #include "befs.h"
> #include "super.h"
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/

--
Martin Michlmayr
http://www.cyrius.com/