commit | ab78475c76bd8c54375d8a778200c59314973d30 | [log] [tgz] |
---|---|---|
author | Alexander Graf <agraf@suse.de> | Sun Apr 06 23:31:48 2014 +0200 |
committer | Alexander Graf <agraf@suse.de> | Mon Apr 28 12:35:42 2014 +0200 |
tree | 42e7a42ad33f030e89bcebb8bce7f6aff8a608e7 | |
parent | 0a8eccefcb3423b45dc0a5a527b4799520e2bc94 [diff] |
KVM: PPC: Book3S: ifdef on CONFIG_KVM_BOOK3S_32_HANDLER for 32bit The book3s_32 target can get built as module which means we don't see the config define for it in code. Instead, check on the bool define CONFIG_KVM_BOOK3S_32_HANDLER whenever we want to know whether we're building for a book3s_32 host. This fixes running book3s_32 kvm as a module for me. Signed-off-by: Alexander Graf <agraf@suse.de> Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>