x86/mm/pat: Don't report PAT on CPUs that don't support it
[linux/fpc-iii.git] / arch / tile / include / asm / hardwall.h
blob44d2765bde2bfb337e7552e3e6201f3bfe6fc2c5
1 /*
2 * Copyright 2010 Tilera Corporation. All Rights Reserved.
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation, version 2.
8 * This program is distributed in the hope that it will be useful, but
9 * WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or
11 * NON INFRINGEMENT. See the GNU General Public License for
12 * more details.
14 * Provide methods for access control of per-cpu resources like
15 * UDN, IDN, or IPI.
17 #ifndef _ASM_TILE_HARDWALL_H
18 #define _ASM_TILE_HARDWALL_H
20 #include <uapi/asm/hardwall.h>
22 /* /proc hooks for hardwall. */
23 struct proc_dir_entry;
24 #ifdef CONFIG_HARDWALL
25 void proc_tile_hardwall_init(struct proc_dir_entry *root);
26 int proc_pid_hardwall(struct seq_file *m, struct pid_namespace *ns, struct pid *pid, struct task_struct *task);
27 #else
28 static inline void proc_tile_hardwall_init(struct proc_dir_entry *root) {}
29 #endif
30 #endif /* _ASM_TILE_HARDWALL_H */