projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e40152e
)
[IA64] removing redundant ifdef
author
Jiri Olsa
<jolsa@redhat.com>
Thu, 6 May 2010 17:36:06 +0000
(19:36 +0200)
committer
Tony Luck
<tony.luck@intel.com>
Tue, 18 May 2010 21:45:52 +0000
(14:45 -0700)
Pointless to use #ifdef CONFIG_NUMA in code that is
already inside another #ifdef CONFIG_NUMA.
Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/include/asm/mmzone.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/ia64/include/asm/mmzone.h
b/arch/ia64/include/asm/mmzone.h
index f2ca32069b3ff5e2b4f97925cabf6540f0d3dea7..e0de61709cf13bc937869e61d436a18b5d6bf6b6 100644
(file)
--- a/
arch/ia64/include/asm/mmzone.h
+++ b/
arch/ia64/include/asm/mmzone.h
@@
-19,16
+19,12
@@
static inline int pfn_to_nid(unsigned long pfn)
{
-#ifdef CONFIG_NUMA
extern int paddr_to_nid(unsigned long);
int nid = paddr_to_nid(pfn << PAGE_SHIFT);
if (nid < 0)
return 0;
else
return nid;
-#else
- return 0;
-#endif
}
#ifdef CONFIG_IA64_DIG /* DIG systems are small */