Skip to contentSkip to conversation

avr32: Remove unnessary variables from page.h

PATCH In review Nicholas Krause 2 participants 3 messages Jul 23, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 avr32: Remove unnessary variables from page.h

This removes the unneeded variables memory_start and memory_end in order to fix this fix me message.

---
 arch/avr32/include/asm/page.h | 2 --
 1 file changed, 2 deletions(-)
arch/avr32/include/asm/page.h +0 -2
index f805d1c..701006f 100644
@@ -42,8 +42,6 @@ typedef struct page *pgtable_t;
 #define __pgd(x)		((pgd_t) { (x) })
 #define __pgprot(x)		((pgprot_t) { (x) })
 
-/* FIXME: These should be removed soon */
-extern unsigned long memory_start, memory_end;
 
 /* Pure 2^n version of get_order */
 static inline int get_order(unsigned long size)
Signature · 1 line
1.9.1
#1 lore raw
Quoted 4 lines · Nicholas Krause

This removes the unneeded variables memory_start and memory_end in order to fix this fix me message.

This is already applied to my local for-linus branch, it will be pushed once Linus opens up for merges after 3.16 is released.

Quoted 17 lines
---
 arch/avr32/include/asm/page.h | 2 --
 1 file changed, 2 deletions(-)
arch/avr32/include/asm/page.h +0 -2
index f805d1c..701006f 100644
@@ -42,8 +42,6 @@ typedef struct page *pgtable_t;
 #define __pgd(x)		((pgd_t) { (x) })
 #define __pgprot(x)		((pgprot_t) { (x) })
 
-/* FIXME: These should be removed soon */
-extern unsigned long memory_start, memory_end;
 
 /* Pure 2^n version of get_order */
 static inline int get_order(unsigned long size)
Signature · 2 lines
mvh
Hans-Christian Egtvedt
#2 lore raw
Quoted 21 lines · Hans-Christian Egtvedt
Quoted 4 lines · Nicholas Krause

This removes the unneeded variables memory_start and memory_end in order to fix this fix me message.

This is already applied to my local for-linus branch, it will be pushed once Linus opens up for merges after 3.16 is released.

Quoted 12 lines
---
 arch/avr32/include/asm/page.h | 2 --
 1 file changed, 2 deletions(-)
arch/avr32/include/asm/page.h +0 -0
index f805d1c..701006f 100644
@@ -42,8 +42,6 @@ typedef struct page *pgtable_t;
 #define __pgd(x)             ((pgd_t) { (x) })
 #define __pgprot(x)          ((pgprot_t) { (x) })
 
Quoted 8 lines

arch/avr32/include/asm/page.h typedef struct page *pgtable_t; · line 47

Quoted 5 lines
arch/avr32/include/asm/page.h +0 -2
-/* FIXME: These should be removed soon */
-extern unsigned long memory_start, memory_end;
 
 /* Pure 2^n version of get_order */
 static inline int get_order(unsigned long size)

--
mvh
Hans-Christian Egtvedt

I wasn't sure if I had sent this out. Seems I have :). Cheers Nick