My Linux and Open Source Software Penguin Logo Linux and Open Source News and Reviews
The Hungry Penguin
My Linux Blog    What is Linux?    What is Open Source?

Sidebar

Web Directory
Partition Recovery
Sedona Vortex
Webmaster Forum
Technology Blog



Dedicated Servers

linux-next: build failure after merge of the percpu tree

Click here for the complete article (lkml.org)
Stephen Rothwell writes: (Summary) Hi all,

After merging the percpu tree, today's linux-next build (x86_64 allmodconfig) failed like this:

In file included from drivers/vhost/net.c:26:
include/linux/if_macvlan.h: In function 'macvlan_count_rx': include/linux/if_macvlan.h:69: error: read-only variable 'tcp_ptr__' used as 'asm' output In file included from drivers/net/macvlan.c:30:
include/linux/if_macvlan.h: In function 'macvlan_count_rx': include/linux/if_macvlan.h:69: error: read-only variable 'tcp_ptr__' used as 'asm' output In file included from drivers/net/macvtap.c:2:
include/linux/if_macvlan.h: In function 'macvlan_count_rx': include/linux/if_macvlan.h:69: error: read-only variable 'tcp_ptr__' used as 'asm' output
Caused by commit 7f56c13698abfb1bdf6cf2b5cfcd80626d44c12e ("x86, percpu: Optimize this_cpu_ptr").

That line in if_macvlan.h is:

rx_stats = this_cpu_ptr(vlan->rx_stats);

Where vlan is a "const struct macvlan_dev *".

Linux News | Linux Articles | Linux Distributions | Linux Apps | Linux Kernel | Free Linux Download | My Linux Blog
Free Press Release Service | Bible Study Tool | New Covenant Workshop | Gary Sims
Press Releases and SEO

The original content of these pages (not the syndicated items) is licensed under a Creative Commons License.
News and media about the Linux operating system, open source software, Unix, Apache, LAMP, PHP, RSS, GNU and much more.