Commit 0e29bb1a authored by Stephen Rothwell's avatar Stephen Rothwell

powerpc: move iSeries/HvCallHpt.h to platforms/iseries/call_hpt.h

Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
parent 20f48ccf
/* /*
* HvCallHpt.h
* Copyright (C) 2001 Mike Corrigan IBM Corporation * Copyright (C) 2001 Mike Corrigan IBM Corporation
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
...@@ -16,8 +15,8 @@ ...@@ -16,8 +15,8 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/ */
#ifndef _HVCALLHPT_H #ifndef _PLATFORMS_ISERIES_CALL_HPT_H
#define _HVCALLHPT_H #define _PLATFORMS_ISERIES_CALL_HPT_H
/* /*
* This file contains the "hypervisor call" interface which is used to * This file contains the "hypervisor call" interface which is used to
...@@ -99,4 +98,4 @@ static inline void HvCallHpt_addValidate(u32 hpteIndex, u32 hBit, hpte_t *hpte) ...@@ -99,4 +98,4 @@ static inline void HvCallHpt_addValidate(u32 hpteIndex, u32 hBit, hpte_t *hpte)
HvCall4(HvCallHptAddValidate, hpteIndex, hBit, hpte->v, hpte->r); HvCall4(HvCallHptAddValidate, hpteIndex, hBit, hpte->v, hpte->r);
} }
#endif /* _HVCALLHPT_H */ #endif /* _PLATFORMS_ISERIES_CALL_HPT_H */
...@@ -14,10 +14,11 @@ ...@@ -14,10 +14,11 @@
#include <asm/pgtable.h> #include <asm/pgtable.h>
#include <asm/mmu.h> #include <asm/mmu.h>
#include <asm/mmu_context.h> #include <asm/mmu_context.h>
#include <asm/iSeries/HvCallHpt.h>
#include <asm/abs_addr.h> #include <asm/abs_addr.h>
#include <linux/spinlock.h> #include <linux/spinlock.h>
#include "call_hpt.h"
static spinlock_t iSeries_hlocks[64] __cacheline_aligned_in_smp = static spinlock_t iSeries_hlocks[64] __cacheline_aligned_in_smp =
{ [0 ... 63] = SPIN_LOCK_UNLOCKED}; { [0 ... 63] = SPIN_LOCK_UNLOCKED};
......
...@@ -45,7 +45,6 @@ ...@@ -45,7 +45,6 @@
#include <asm/cache.h> #include <asm/cache.h>
#include <asm/sections.h> #include <asm/sections.h>
#include <asm/abs_addr.h> #include <asm/abs_addr.h>
#include <asm/iSeries/HvCallHpt.h>
#include <asm/iSeries/HvLpConfig.h> #include <asm/iSeries/HvLpConfig.h>
#include <asm/iSeries/HvCallEvent.h> #include <asm/iSeries/HvCallEvent.h>
#include <asm/iSeries/HvCallXm.h> #include <asm/iSeries/HvCallXm.h>
...@@ -60,6 +59,7 @@ ...@@ -60,6 +59,7 @@
#include "processor_vpd.h" #include "processor_vpd.h"
#include "main_store.h" #include "main_store.h"
#include "call_sm.h" #include "call_sm.h"
#include "call_hpt.h"
extern void hvlog(char *fmt, ...); extern void hvlog(char *fmt, ...);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment