aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-arm/numa.h
Commit message (Collapse)AuthorAgeFilesLines
* xen/arm: nuke some stray hard tabs.Ian Campbell2013-05-011-1/+1
| | | | | Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
* Fix emacs local variable block to use correct C style variable.David Vrabel2013-02-211-1/+1
| | | | | | | The emacs variable to set the C style from a local variable block is c-file-style, not c-set-style. Signed-off-by: David Vrabel <david.vrabel@citrix.com
* xen: move XEN_SYSCTL_physinfo, XEN_SYSCTL_numainfo and ↵Stefano Stabellini2013-02-151-0/+4
| | | | | | | | | | | | | | | | | | | | | XEN_SYSCTL_topologyinfo to common code Move XEN_SYSCTL_physinfo, XEN_SYSCTL_numainfo and XEN_SYSCTL_topologyinfo from x86/sysctl.c to common/sysctl.c. The implementation of XEN_SYSCTL_physinfo is mostly generic but needs to fill in few arch specific details: introduce arch_do_physinfo to do that. The implementation of XEN_SYSCTL_physinfo relies on two global variables: total_pages and cpu_khz. Make them available on ARM. Implement node_spanned_pages and __node_distance on ARM, assuming 1 numa node for now. Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Acked-by: Keir Fraser <keir@xen.org> Acked-by: Ian Campbell <ian.campbell@citrix.com> Committed-by: Ian Campbell <ian.campbell@citrix.com>
* xen: arm: define node_online_map.Ian Campbell2012-12-191-1/+1
| | | | | | | | | | For now just initialise it as a single online node, which is what asm-arm/numa.h assumes anyway. Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Acked-by: Tim Deegan <tim@xen.org> Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Committed-by: Ian Campbell <ian.campbell@citrix.com>
* arm: remove hard tabsIan Campbell2012-03-221-2/+2
| | | | | | | | The only hard tabs remaining in xen/arch/arm and xen/include/asm-arm are now only in .S files and .[ch] imported from Linux Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Committed-by: Ian Campbell <ian.campbell@citrix.com>
* arm: fixup hard tabsIan Campbell2012-02-131-1/+1
| | | | | | | | | | | | | | Unfortunately the tool I was using to apply patches mangles hard tabs. This patch corrects this in the effected files (which is fortunately only a subset of .S or files imported from Linux). This commit fixes this error such that the tree represents the state it would have been in had I correctly committed what I was sent. "git diff" and "git diff -b" vs. Stefano's v6 branch now contain the same output -- i.e. only the intervening development Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
* arm: header filesStefano Stabellini2012-02-091-0/+21
A simple implementation of everything under asm-arm and arch-arm.h; some of these files are shamelessly taken from Linux. Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com> Committed-by: Ian Campbell <ian.campbell@citrix.com>