summaryrefslogtreecommitdiff
path: root/arch/tile
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@tilera.com>2012-04-11 12:45:20 -0400
committerChris Metcalf <cmetcalf@tilera.com>2012-04-11 12:45:20 -0400
commite72d5c7e9c831f6e393c71dcd62acafbac2b58d0 (patch)
tree0738f5a2e71bffa4c7b17cc4217f254cb0e39432 /arch/tile
parentd1640130cda146ed925f12434bfe579ee7d80a1c (diff)
downloadlinux-3.10-e72d5c7e9c831f6e393c71dcd62acafbac2b58d0.tar.gz
linux-3.10-e72d5c7e9c831f6e393c71dcd62acafbac2b58d0.tar.bz2
linux-3.10-e72d5c7e9c831f6e393c71dcd62acafbac2b58d0.zip
arch/tile: avoid unused variable warning in proc.c for tilegx
Until we push the unaligned access support for tilegx, it's silly to have arch/tile/kernel/proc.c generate a warning about an unused variable. Extend the #ifdef to cover all the code and data for now. Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Diffstat (limited to 'arch/tile')
-rw-r--r--arch/tile/kernel/proc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/tile/kernel/proc.c b/arch/tile/kernel/proc.c
index 7a932704640..446a7f52cc1 100644
--- a/arch/tile/kernel/proc.c
+++ b/arch/tile/kernel/proc.c
@@ -146,7 +146,6 @@ static ctl_table unaligned_table[] = {
},
{}
};
-#endif
static struct ctl_path tile_path[] = {
{ .procname = "tile" },
@@ -155,10 +154,9 @@ static struct ctl_path tile_path[] = {
static int __init proc_sys_tile_init(void)
{
-#ifndef __tilegx__ /* FIXME: GX: no support for unaligned access yet */
register_sysctl_paths(tile_path, unaligned_table);
-#endif
return 0;
}
arch_initcall(proc_sys_tile_init);
+#endif