[Top] [All Lists]

Fwd: check_for_high_segbits not used when 32bit

To: linux-mips <>, Ralf Baechle <>, Ralf Rösch <>
Subject: Fwd: check_for_high_segbits not used when 32bit
From: David Daney <>
Date: Fri, 30 Apr 2010 09:57:46 -0700
Original-recipient: rfc822;
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20100330 Fedora/3.0.4-1.fc12 Thunderbird/3.0.4
Sorry about that.

Perhaps you can send it with a Signed-off-by: to lmo.

David Daney

-------- Original Message --------
Subject: check_for_high_segbits not used when 32bit
Date: Fri, 30 Apr 2010 17:57:53 +0200
From: Ralf Rösch <>

Hi David,

check_for_high_segbits are only used when 64 bit kernel.

CC      arch/mips/mm/tlbex.o
cc1: warnings being treated as errors
/pub/build/linux-mips/work-2.6/arch/mips/mm/tlbex.c:172: error:
‘check_for_high_segbits’ defined but not used
make[6]: *** [arch/mips/mm/tlbex.o] Fehler 1


diff --git a/arch/mips/mm/tlbex.c b/arch/mips/mm/tlbex.c
index e60ea35..86f004d 100644
--- a/arch/mips/mm/tlbex.c
+++ b/arch/mips/mm/tlbex.c
@@ -169,7 +169,9 @@ static u32 tlb_handler[128] __cpuinitdata;
 static struct uasm_label labels[128] __cpuinitdata;
 static struct uasm_reloc relocs[128] __cpuinitdata;

+#ifdef CONFIG_64BIT
 static int check_for_high_segbits __cpuinitdata;


Roesch&  Walter___________________________________________
Industrie-Elektronik GmbH * Tel.: +49-7824 / 6628-0
Wörtelweg 2b/c            * Fax:  +49-7824 / 6628-29
D-77963 Schwanau          *
Germany                   * WWW:
Amtsgericht Freiburg i.Br. HRB 391345
Geschäftsführer: Dipl.Ing.(FH) Ralf Rösch, Dipl.Ing.(FH) Martin Walter

<Prev in Thread] Current Thread [Next in Thread>