|
@@ -27,7 +27,8 @@
|
|
* We use 'broadcast', CPU->CPU IPIs and self-IPIs too.
|
|
* We use 'broadcast', CPU->CPU IPIs and self-IPIs too.
|
|
*/
|
|
*/
|
|
|
|
|
|
-static inline unsigned int __prepare_ICR (unsigned int shortcut, int vector, unsigned int dest)
|
|
|
|
|
|
+static inline unsigned int __prepare_ICR(unsigned int shortcut, int vector,
|
|
|
|
+ unsigned int dest)
|
|
{
|
|
{
|
|
unsigned int icr = shortcut | dest;
|
|
unsigned int icr = shortcut | dest;
|
|
|
|
|
|
@@ -42,12 +43,13 @@ static inline unsigned int __prepare_ICR (unsigned int shortcut, int vector, uns
|
|
return icr;
|
|
return icr;
|
|
}
|
|
}
|
|
|
|
|
|
-static inline int __prepare_ICR2 (unsigned int mask)
|
|
|
|
|
|
+static inline int __prepare_ICR2(unsigned int mask)
|
|
{
|
|
{
|
|
return SET_APIC_DEST_FIELD(mask);
|
|
return SET_APIC_DEST_FIELD(mask);
|
|
}
|
|
}
|
|
|
|
|
|
-static inline void __send_IPI_shortcut(unsigned int shortcut, int vector, unsigned int dest)
|
|
|
|
|
|
+static inline void __send_IPI_shortcut(unsigned int shortcut, int vector,
|
|
|
|
+ unsigned int dest)
|
|
{
|
|
{
|
|
/*
|
|
/*
|
|
* Subtle. In the case of the 'never do double writes' workaround
|
|
* Subtle. In the case of the 'never do double writes' workaround
|
|
@@ -78,7 +80,8 @@ static inline void __send_IPI_shortcut(unsigned int shortcut, int vector, unsign
|
|
* This is used to send an IPI with no shorthand notation (the destination is
|
|
* This is used to send an IPI with no shorthand notation (the destination is
|
|
* specified in bits 56 to 63 of the ICR).
|
|
* specified in bits 56 to 63 of the ICR).
|
|
*/
|
|
*/
|
|
-static inline void __send_IPI_dest_field(unsigned int mask, int vector, unsigned int dest)
|
|
|
|
|
|
+static inline void __send_IPI_dest_field(unsigned int mask, int vector,
|
|
|
|
+ unsigned int dest)
|
|
{
|
|
{
|
|
unsigned long cfg;
|
|
unsigned long cfg;
|
|
|
|
|